Changeset 204 for branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO
- Timestamp:
- May 20, 2009, 6:46:53 PM (16 years ago)
- Location:
- branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO
- Files:
-
- 63 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/AccessControls.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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#id2603577">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2603772">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604123">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604246">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2604911">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2604944">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605311">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605647">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2605984">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606132">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2606479">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606485">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606532">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606602">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606746">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606961">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607118">Interaction with the Standard Samba “<span class="quote">create mask</span>” Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607487">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607560">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2607972">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2607984">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2608306">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#id2608352">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2603408"></a> 3 <a class="indexterm" name="id2603415"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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#id2603591">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2603786">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604136">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604259">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2604925">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2604958">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605324">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605660">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2605997">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606146">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2606492">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606498">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606545">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606616">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606759">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606974">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607131">Interaction with the Standard Samba “<span class="quote">create mask</span>” Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607500">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607573">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2607985">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2607997">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2608319">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#id2608365">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></div><p> 4 2 <a class="indexterm" name="id2603421"></a> 5 3 <a class="indexterm" name="id2603428"></a> 4 <a class="indexterm" name="id2603435"></a> 5 <a class="indexterm" name="id2603442"></a> 6 6 Advanced MS Windows users are frequently perplexed when file, directory, and share manipulation of 7 7 resources shared via Samba do not behave in the manner they might expect. MS Windows network … … 9 9 provide users with the access they need while protecting resources from unauthorized access. 10 10 </p><p> 11 <a class="indexterm" name="id26034 45"></a>12 <a class="indexterm" name="id26034 52"></a>11 <a class="indexterm" name="id2603458"></a> 12 <a class="indexterm" name="id2603465"></a> 13 13 Many UNIX administrators are unfamiliar with the MS Windows environment and in particular 14 14 have difficulty in visualizing what the MS Windows user wishes to achieve in attempts to set file 15 15 and directory access permissions. 16 16 </p><p> 17 <a class="indexterm" name="id2603466"></a>18 <a class="indexterm" name="id2603473"></a>19 17 <a class="indexterm" name="id2603480"></a> 20 <a class="indexterm" name="id2603487"></a> 18 <a class="indexterm" name="id2603486"></a> 19 <a class="indexterm" name="id2603493"></a> 20 <a class="indexterm" name="id2603500"></a> 21 21 The problem lies in the differences in how file and directory permissions and controls work 22 22 between the two environments. This difference is one that Samba cannot completely hide, even 23 23 though it does try to bridge the chasm to a degree. 24 24 </p><p> 25 <a class="indexterm" name="id26035 00"></a>26 <a class="indexterm" name="id26035 07"></a>27 <a class="indexterm" name="id26035 16"></a>28 <a class="indexterm" name="id26035 23"></a>25 <a class="indexterm" name="id2603513"></a> 26 <a class="indexterm" name="id2603520"></a> 27 <a class="indexterm" name="id2603529"></a> 28 <a class="indexterm" name="id2603536"></a> 29 29 POSIX Access Control List technology has been available (along with extended attributes) 30 30 for UNIX for many years, yet there is little evidence today of any significant use. This … … 33 33 decade-old MS Windows NT operating system. 34 34 </p><p> 35 <a class="indexterm" name="id26035 40"></a>35 <a class="indexterm" name="id2603554"></a> 36 36 The purpose of this chapter is to present each of the points of control that are possible with 37 37 Samba-3 in the hope that this will help the network administrator to find the optimum method 38 38 for delivering the best environment for MS Windows desktop users. 39 39 </p><p> 40 <a class="indexterm" name="id26035 55"></a>41 <a class="indexterm" name="id26035 62"></a>40 <a class="indexterm" name="id2603568"></a> 41 <a class="indexterm" name="id2603575"></a> 42 42 This is an opportune point to mention that Samba was created to provide a means of interoperability 43 43 and interchange of data between differing operating environments. Samba has no intent to change … … 45 45 level of exchange of data between the two environments. What is available today extends well 46 46 beyond 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="id26035 77"></a>Features and Benefits</h2></div></div></div><p>47 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2603591"></a>Features and Benefits</h2></div></div></div><p> 48 48 Samba offers much flexibility in file system access management. These are the key access control 49 49 facilities present in Samba today: 50 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="id2603 598"></a>51 <a class="indexterm" name="id2603612"></a> 52 52 <span class="emphasis"><em>UNIX File and Directory Permissions</em></span> 53 53 </p><p> 54 <a class="indexterm" name="id26036 15"></a>55 <a class="indexterm" name="id26036 22"></a>56 <a class="indexterm" name="id26036 29"></a>54 <a class="indexterm" name="id2603628"></a> 55 <a class="indexterm" name="id2603635"></a> 56 <a class="indexterm" name="id2603642"></a> 57 57 Samba honors and implements UNIX file system access controls. Users 58 58 who access a Samba server will do so as a particular MS Windows user. … … 65 65 <span class="emphasis"><em>Samba Share Definitions</em></span> 66 66 </p><p> 67 <a class="indexterm" name="id26036 66"></a>67 <a class="indexterm" name="id2603679"></a> 68 68 In configuring share settings and controls in the <code class="filename">smb.conf</code> file, 69 69 the network administrator can exercise overrides to native file … … 74 74 </p></li><li><p> 75 75 <span class="emphasis"><em>Samba Share ACLs</em></span> 76 <a class="indexterm" name="id2603 697"></a>77 </p><p> 78 <a class="indexterm" name="id26037 10"></a>76 <a class="indexterm" name="id2603711"></a> 77 </p><p> 78 <a class="indexterm" name="id2603723"></a> 79 79 Just as it is possible in MS Windows NT to set ACLs on shares 80 80 themselves, so it is possible to do in Samba. … … 83 83 do so with minimum invasiveness compared with other methods. 84 84 </p></li><li><p> 85 <a class="indexterm" name="id26037 27"></a>86 <a class="indexterm" name="id26037 37"></a>85 <a class="indexterm" name="id2603741"></a> 86 <a class="indexterm" name="id2603750"></a> 87 87 <span class="emphasis"><em>MS Windows ACLs through UNIX POSIX ACLs</em></span> 88 88 </p><p> 89 <a class="indexterm" name="id26037 53"></a>89 <a class="indexterm" name="id2603766"></a> 90 90 The use of POSIX ACLs on UNIX/Linux is possible only if the underlying 91 91 operating system supports them. If not, then this option will not be … … 95 95 extended attributes enabled. This chapter has pertinent information 96 96 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="id26037 72"></a>File System Access Controls</h2></div></div></div><p>97 </p></li></ul></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2603786"></a>File System Access Controls</h2></div></div></div><p> 98 98 Perhaps the most important recognition to be made is the simple fact that MS Windows NT4/200x/XP 99 99 implement a totally divergent file system technology from what is provided in the UNIX operating system 100 100 environment. First we consider what the most significant differences are, then we look 101 101 at how Samba helps to bridge the differences. 102 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2603787"></a>MS Windows NTFS Comparison with UNIX File Systems</h3></div></div></div><p> 103 <a class="indexterm" name="id2603796"></a> 104 <a class="indexterm" name="id2603802"></a> 102 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2603801"></a>MS Windows NTFS Comparison with UNIX File Systems</h3></div></div></div><p> 105 103 <a class="indexterm" name="id2603809"></a> 106 <a class="indexterm" name="id2603818"></a> 104 <a class="indexterm" name="id2603816"></a> 105 <a class="indexterm" name="id2603823"></a> 106 <a class="indexterm" name="id2603832"></a> 107 107 Samba operates on top of the UNIX file system. This means it is subject to UNIX file system conventions 108 108 and permissions. It also means that if the MS Windows networking environment requires file system … … 115 115 the depths of control ability should review the <code class="filename">smb.conf</code> man page. 116 116 </p><p>The following compares file system features for UNIX with those of MS Windows NT/200x: 117 <a class="indexterm" name="id26038 54"></a>117 <a class="indexterm" name="id2603867"></a> 118 118 119 119 </p><div class="variablelist"><dl><dt><span class="term">Name Space</span></dt><dd><p> … … 124 124 What MS Windows calls a folder, UNIX calls a directory. 125 125 </p></dd><dt><span class="term">Case Sensitivity</span></dt><dd><p> 126 <a class="indexterm" name="id2603 898"></a>127 <a class="indexterm" name="id26039 05"></a>126 <a class="indexterm" name="id2603912"></a> 127 <a class="indexterm" name="id2603919"></a> 128 128 MS Windows file names are generally uppercase if made up of 8.3 (8-character file name 129 129 and 3 character extension. File names that are longer than 8.3 are case preserving and case … … 152 152 file listing. 153 153 </p></dd><dt><span class="term">Directory Separators</span></dt><dd><p> 154 <a class="indexterm" name="id26039 69"></a>154 <a class="indexterm" name="id2603983"></a> 155 155 MS Windows and DOS use the backslash <code class="constant">\</code> as a directory delimiter, and UNIX uses 156 156 the forward-slash <code class="constant">/</code> as its directory delimiter. This is handled transparently by Samba. 157 157 </p></dd><dt><span class="term">Drive Identification</span></dt><dd><p> 158 <a class="indexterm" name="id260 3997"></a>158 <a class="indexterm" name="id2604011"></a> 159 159 MS Windows products support a notion of drive letters, like <code class="literal">C:</code>, to represent 160 160 disk partitions. UNIX has no concept of separate identifiers for file partitions; each … … 163 163 <code class="constant">C:\</code>. 164 164 </p></dd><dt><span class="term">File Naming Conventions</span></dt><dd><p> 165 <a class="indexterm" name="id26040 34"></a>165 <a class="indexterm" name="id2604047"></a> 166 166 MS Windows generally never experiences file names that begin with a dot (<code class="constant">.</code>), while in UNIX these 167 167 are commonly found in a user's home directory. Files that begin with a dot (<code class="constant">.</code>) are typically … … 169 169 startup configuration data. 170 170 </p></dd><dt><span class="term">Links and Short-Cuts</span></dt><dd><p> 171 <a class="indexterm" name="id26040 64"></a>172 <a class="indexterm" name="id26040 73"></a>173 <a class="indexterm" name="id26040 82"></a>171 <a class="indexterm" name="id2604077"></a> 172 <a class="indexterm" name="id2604087"></a> 173 <a class="indexterm" name="id2604096"></a> 174 174 MS Windows make use of <span class="emphasis"><em>links and shortcuts</em></span> that are actually special types of files that will 175 175 redirect an attempt to execute the file to the real location of the file. UNIX knows of file and directory … … 184 184 in the process of becoming familiar with UNIX/Linux. These are best left for a text that is dedicated to the 185 185 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="id2604123"></a>Managing Directories</h3></div></div></div><p> 187 <a class="indexterm" name="id2604131"></a> 188 <a class="indexterm" name="id2604138"></a> 186 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2604136"></a>Managing Directories</h3></div></div></div><p> 189 187 <a class="indexterm" name="id2604144"></a> 188 <a class="indexterm" name="id2604151"></a> 189 <a class="indexterm" name="id2604158"></a> 190 190 There are three basic operations for managing directories: <code class="literal">create</code>, <code class="literal">delete</code>, 191 191 <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 192 192 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="id26042 46"></a>File and Directory Access Control</h3></div></div></div><p>194 <a class="indexterm" name="id26042 54"></a>195 <a class="indexterm" name="id26042 63"></a>196 <a class="indexterm" name="id26042 70"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2604259"></a>File and Directory Access Control</h3></div></div></div><p> 194 <a class="indexterm" name="id2604268"></a> 195 <a class="indexterm" name="id2604277"></a> 196 <a class="indexterm" name="id2604284"></a> 197 197 The network administrator is strongly advised to read basic UNIX training manuals and reference materials 198 198 regarding file and directory permissions maintenance. Much can be achieved with the basic UNIX permissions … … 227 227 Any bit flag may be unset. An unset bit flag is the equivalent of "cannot" and is represented 228 228 as a “<span class="quote">-</span>” character (see <a class="link" href="AccessControls.html#access2" title="Example 16.1. Example File">“Example File”</a>) 229 <a class="indexterm" name="id2604412"></a>230 <a class="indexterm" name="id2604418"></a>231 229 <a class="indexterm" name="id2604425"></a> 232 230 <a class="indexterm" name="id2604432"></a> 233 231 <a class="indexterm" name="id2604439"></a> 234 232 <a class="indexterm" name="id2604446"></a> 233 <a class="indexterm" name="id2604452"></a> 234 <a class="indexterm" name="id2604459"></a> 235 235 </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"> 236 236 -rwxr-x--- Means: … … 239 239 ^^^ everyone else cannot do anything with it. 240 240 </pre></div></div><br class="example-break"><p> 241 <a class="indexterm" name="id2604475"></a>242 <a class="indexterm" name="id2604482"></a>243 241 <a class="indexterm" name="id2604489"></a> 244 242 <a class="indexterm" name="id2604496"></a> 243 <a class="indexterm" name="id2604502"></a> 244 <a class="indexterm" name="id2604509"></a> 245 245 Additional possibilities in the [type] field are c = character device, b = block device, p = pipe device, 246 246 s = UNIX Domain Socket. 247 247 </p><p> 248 <a class="indexterm" name="id2604508"></a>249 <a class="indexterm" name="id2604515"></a>250 248 <a class="indexterm" name="id2604522"></a> 251 249 <a class="indexterm" name="id2604529"></a> 252 <a class="indexterm" name="id2604536"></a> 250 <a class="indexterm" name="id2604535"></a> 251 <a class="indexterm" name="id2604542"></a> 252 <a class="indexterm" name="id2604549"></a> 253 253 The letters <code class="constant">rwxXst</code> set permissions for the user, group, and others as read (r), write (w), 254 254 execute (or access for directories) (x), execute only if the file is a directory or already has execute 255 255 permission for some user (X), set user (SUID) or group ID (SGID) on execution (s), sticky (t). 256 256 </p><p> 257 <a class="indexterm" name="id2604554"></a>258 <a class="indexterm" name="id2604561"></a>259 257 <a class="indexterm" name="id2604568"></a> 260 <a class="indexterm" name="id2604575"></a> 258 <a class="indexterm" name="id2604574"></a> 259 <a class="indexterm" name="id2604581"></a> 260 <a class="indexterm" name="id2604588"></a> 261 261 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. 262 262 Without the sticky bit, anyone able to write to the directory can delete or rename files. The sticky bit is commonly found on 263 263 directories, such as <code class="filename">/tmp</code>, that are world-writable. 264 264 </p><p> 265 <a class="indexterm" name="id2604596"></a>266 <a class="indexterm" name="id2604603"></a>267 265 <a class="indexterm" name="id2604610"></a> 268 <a class="indexterm" name="id2604617"></a> 269 <a class="indexterm" name="id2604626"></a> 266 <a class="indexterm" name="id2604616"></a> 267 <a class="indexterm" name="id2604623"></a> 268 <a class="indexterm" name="id2604630"></a> 269 <a class="indexterm" name="id2604639"></a> 270 270 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 271 271 group whose `set user or group' bit is set. This can be helpful in setting up directories for which it is desired that … … 277 277 directory but cannot create new files. If files in the directory are set to be readable and writable for the group, then 278 278 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="id2604658"></a>Protecting Directories and Files from Deletion</h4></div></div></div><p> 280 <a class="indexterm" name="id2604666"></a> 281 <a class="indexterm" name="id2604673"></a> 279 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2604671"></a>Protecting Directories and Files from Deletion</h4></div></div></div><p> 282 280 <a class="indexterm" name="id2604680"></a> 283 281 <a class="indexterm" name="id2604687"></a> 282 <a class="indexterm" name="id2604694"></a> 283 <a class="indexterm" name="id2604701"></a> 284 284 People have asked on the Samba mailing list how is it possible to protect files or directories from deletion by users. 285 285 For example, Windows NT/2K/XP provides the capacity to set access controls on a directory into which people can … … 289 289 directory that contains a file and has write permission for it has the capability to delete it. 290 290 </p><p> 291 <a class="indexterm" name="id26047 09"></a>292 <a class="indexterm" name="id26047 16"></a>293 <a class="indexterm" name="id26047 23"></a>291 <a class="indexterm" name="id2604722"></a> 292 <a class="indexterm" name="id2604729"></a> 293 <a class="indexterm" name="id2604736"></a> 294 294 For the record, in the UNIX environment the ability to delete a file is controlled by the permissions on 295 295 the directory that the file is in. In other words, a user can delete a file in a directory to which that 296 296 user has write access, even if that user does not own the file. 297 297 </p><p> 298 <a class="indexterm" name="id2604738"></a>299 <a class="indexterm" name="id2604745"></a>300 298 <a class="indexterm" name="id2604751"></a> 301 299 <a class="indexterm" name="id2604758"></a> 300 <a class="indexterm" name="id2604765"></a> 301 <a class="indexterm" name="id2604772"></a> 302 302 Of necessity, Samba is subject to the file system semantics of the host operating system. Samba is therefore 303 303 limited in the file system capabilities that can be made available through Windows ACLs, and therefore performs … … 306 306 the appropriate extended attribute. 307 307 </p><p> 308 <a class="indexterm" name="id2604780"></a>309 <a class="indexterm" name="id2604786"></a>310 308 <a class="indexterm" name="id2604793"></a> 311 309 <a class="indexterm" name="id2604800"></a> 310 <a class="indexterm" name="id2604807"></a> 311 <a class="indexterm" name="id2604814"></a> 312 312 The specific semantics of the extended attributes are not consistent across UNIX and UNIX-like systems such as Linux. 313 313 For example, it is possible on some implementations of the extended attributes to set a flag that prevents the directory … … 323 323 A simple test can be done to check if the immutible flag is supported on files in the file system of the Samba host 324 324 server. 325 </p><div class="procedure"><a name="id26048 38"></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"><a name="id2604852"></a><p class="title"><b>Procedure 16.1. Test for File Immutibility Support</b></p><ol type="1"><li><p> 326 326 Create a file called <code class="filename">filename</code>. 327 327 </p></li><li><p> … … 341 341 immutable directories are writable. If they are not, then the entire directory and its contents will effectively 342 342 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="id26049 11"></a>Share Definition Access Controls</h2></div></div></div><p>344 <a class="indexterm" name="id26049 19"></a>343 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2604925"></a>Share Definition Access Controls</h2></div></div></div><p> 344 <a class="indexterm" name="id2604933"></a> 345 345 The following parameters in the <code class="filename">smb.conf</code> file sections define a share control or affect access controls. 346 346 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="id26049 44"></a>User- and Group-Based Controls</h3></div></div></div><p>347 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2604958"></a>User- and Group-Based Controls</h3></div></div></div><p> 348 348 User- and group-based controls can prove quite useful. In some situations it is distinctly desirable to 349 349 force all file system operations as if a single user were doing so. The use of the … … 386 386 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#WRITELIST">write list</a></td><td align="justify"><p> 387 387 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="id26053 11"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2605324"></a>File and Directory Permissions-Based Controls</h3></div></div></div><p> 389 389 Directory permission-based controls, if misused, can result in considerable difficulty in diagnosing the causes of 390 390 misconfiguration. Use them sparingly and carefully. By gradually introducing each, one at a time, undesirable side … … 417 417 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#SECURITYMASK">security mask</a></td><td align="justify"><p> 418 418 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="id26056 47"></a>Miscellaneous Controls</h3></div></div></div><p>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="id2605660"></a>Miscellaneous Controls</h3></div></div></div><p> 420 420 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 421 421 in ways that create inadvertent barriers to file access. Such are the consequences of not understanding the … … 450 450 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#VETOFILES">veto files</a></td><td align="justify"><p> 451 451 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="id26059 84"></a>Access Controls on Shares</h2></div></div></div><p>453 <a class="indexterm" name="id260 5992"></a>454 <a class="indexterm" name="id260 5999"></a>455 <a class="indexterm" name="id26060 06"></a>456 <a class="indexterm" name="id26060 13"></a>457 <a class="indexterm" name="id26060 20"></a>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="id2605997"></a>Access Controls on Shares</h2></div></div></div><p> 453 <a class="indexterm" name="id2606005"></a> 454 <a class="indexterm" name="id2606012"></a> 455 <a class="indexterm" name="id2606019"></a> 456 <a class="indexterm" name="id2606026"></a> 457 <a class="indexterm" name="id2606033"></a> 458 458 This section deals with how to configure Samba per-share access control restrictions. 459 459 By default, Samba sets no restrictions on the share itself. Restrictions on the share itself … … 462 462 the global user <code class="constant">Everyone - Full Control</code> (full control, change and read). 463 463 </p><p> 464 <a class="indexterm" name="id26060 43"></a>465 <a class="indexterm" name="id26060 50"></a>466 <a class="indexterm" name="id26060 57"></a>464 <a class="indexterm" name="id2606056"></a> 465 <a class="indexterm" name="id2606063"></a> 466 <a class="indexterm" name="id2606070"></a> 467 467 At this time Samba does not provide a tool for configuring access control settings on the share 468 468 itself the only way to create those settings is to use either the NT4 Server Manager or the Windows 200x … … 470 470 this capability in the Samba command-line tool set. 471 471 </p><p> 472 <a class="indexterm" name="id26060 73"></a>473 <a class="indexterm" name="id26060 80"></a>474 <a class="indexterm" name="id2606 087"></a>475 <a class="indexterm" name="id2606 094"></a>472 <a class="indexterm" name="id2606086"></a> 473 <a class="indexterm" name="id2606093"></a> 474 <a class="indexterm" name="id2606100"></a> 475 <a class="indexterm" name="id2606107"></a> 476 476 Samba stores the per-share access control settings in a file called <code class="filename">share_info.tdb</code>. 477 477 The location of this file on your system will depend on how Samba was compiled. The default location … … 479 479 utility has been compiled and installed on your system, then you can examine the contents of this file 480 480 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="id26061 32"></a>Share Permissions Management</h3></div></div></div><p>481 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2606146"></a>Share Permissions Management</h3></div></div></div><p> 482 482 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="id26061 44"></a>Windows NT4 Workstation/Server</h4></div></div></div><p>484 <a class="indexterm" name="id26061 52"></a>485 <a class="indexterm" name="id26061 59"></a>486 <a class="indexterm" name="id26061 66"></a>487 <a class="indexterm" name="id26061 73"></a>483 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2606157"></a>Windows NT4 Workstation/Server</h4></div></div></div><p> 484 <a class="indexterm" name="id2606165"></a> 485 <a class="indexterm" name="id2606172"></a> 486 <a class="indexterm" name="id2606179"></a> 487 <a class="indexterm" name="id2606186"></a> 488 488 The tool you need to manage share permissions on a Samba server from a Windows NT4 Workstation or Server 489 489 is the NT Server Manager. Server Manager is shipped with Windows NT4 Server products but not with Windows 490 490 NT4 Workstation. You can obtain the NT Server Manager for MS Windows NT4 Workstation from the Microsoft 491 491 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="id2606 193"></a><p class="title"><b>Procedure 16.2. Instructions</b></p><ol type="1"><li><p>492 </p><div class="procedure"><a name="id2606207"></a><p class="title"><b>Procedure 16.2. Instructions</b></p><ol type="1"><li><p> 493 493 Launch the <span class="application">NT4 Server Manager</span> and click on the Samba server you want to 494 494 administer. From the menu select <span class="guimenu">Computer</span>, then click on … … 497 497 Click on the share that you wish to manage and click the <span class="guilabel">Properties</span> tab, then click 498 498 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="id2606249"></a>Windows 200x/XP</h4></div></div></div><p> 500 <a class="indexterm" name="id2606257"></a> 501 <a class="indexterm" name="id2606264"></a> 499 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2606262"></a>Windows 200x/XP</h4></div></div></div><p> 502 500 <a class="indexterm" name="id2606270"></a> 503 501 <a class="indexterm" name="id2606277"></a> 502 <a class="indexterm" name="id2606284"></a> 503 <a class="indexterm" name="id2606291"></a> 504 504 On <span class="application">MS Windows NT4/200x/XP</span> systems, ACLs on the share itself are set using 505 505 tools like the MS Explorer. For example, in Windows 200x, right-click on the shared folder, … … 507 507 Windows NT4/200x permissions allow the group "Everyone" full control on the share. 508 508 </p><p> 509 <a class="indexterm" name="id26063 10"></a>510 <a class="indexterm" name="id26063 17"></a>511 <a class="indexterm" name="id26063 24"></a>509 <a class="indexterm" name="id2606323"></a> 510 <a class="indexterm" name="id2606330"></a> 511 <a class="indexterm" name="id2606337"></a> 512 512 MS Windows 200x and later versions come with a tool called the <span class="application">Computer Management</span> 513 513 snap-in for the MMC. This tool can be accessed via <span class="guimenu">Control Panel -> 514 514 Administrative Tools -> Computer Management</span>. 515 </p><div class="procedure"><a name="id26063 47"></a><p class="title"><b>Procedure 16.3. Instructions</b></p><ol type="1"><li><p>515 </p><div class="procedure"><a name="id2606361"></a><p class="title"><b>Procedure 16.3. Instructions</b></p><ol type="1"><li><p> 516 516 After launching the MMC with the Computer Management snap-in, click the menu item <span class="guimenuitem">Action</span> 517 517 and select <span class="guilabel">Connect to another computer</span>. If you are not logged onto a domain you will be prompted … … 524 524 <span class="guilabel">Shared Folders</span> in the left panel. 525 525 </p></li><li><p> 526 <a class="indexterm" name="id26064 28"></a>526 <a class="indexterm" name="id2606442"></a> 527 527 In the right panel, double-click on the share on which you wish to set access control permissions. 528 528 Then click the tab <span class="guilabel">Share Permissions</span>. It is now possible to add access control entities … … 535 535 part of the group <code class="constant">Everyone</code> will have no access even if she is given explicit full 536 536 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="id26064 79"></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="id2606485"></a>Managing UNIX Permissions Using NT Security Dialogs</h3></div></div></div><p>538 <a class="indexterm" name="id2606 493"></a>537 </p></div></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2606492"></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="id2606498"></a>Managing UNIX Permissions Using NT Security Dialogs</h3></div></div></div><p> 538 <a class="indexterm" name="id2606507"></a> 539 539 Windows NT clients can use their native security settings dialog box to view and modify the 540 540 underlying UNIX permissions. … … 550 550 user as it is presented by Samba at the point of file access. This can best be determined from the 551 551 Samba log files. 552 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26065 32"></a>Viewing File Security on a Samba Share</h3></div></div></div><p>552 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2606545"></a>Viewing File Security on a Samba Share</h3></div></div></div><p> 553 553 From an NT4/2000/XP client, right-click on any file or directory in a Samba-mounted drive letter 554 554 or UNC path. When the menu pops up, click on the <span class="guilabel">Properties</span> entry at the bottom … … 561 561 nonfunctional with a Samba share at this time, because the only useful button, the <span class="guibutton">Add</span> 562 562 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="id26066 02"></a>Viewing File Ownership</h3></div></div></div><p>563 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2606616"></a>Viewing File Ownership</h3></div></div></div><p> 564 564 Clicking on the <span class="guibutton">Ownership</span> button brings up a dialog box telling you who owns 565 565 the given file. The owner name will be displayed like this: … … 575 575 the file owner will be shown as the NT user <span class="emphasis"><em>Everyone</em></span>. 576 576 </p><p> 577 <a class="indexterm" name="id26066 76"></a>577 <a class="indexterm" name="id2606690"></a> 578 578 The <span class="guibutton">Take Ownership</span> button will not allow you to change the ownership of this file to 579 579 yourself (clicking it will display a dialog box complaining that the user as whom you are currently logged onto … … 583 583 not work with Samba at this time. 584 584 </p><p> 585 <a class="indexterm" name="id26067 05"></a>586 <a class="indexterm" name="id26067 12"></a>587 <a class="indexterm" name="id26067 19"></a>585 <a class="indexterm" name="id2606718"></a> 586 <a class="indexterm" name="id2606725"></a> 587 <a class="indexterm" name="id2606732"></a> 588 588 There is an NT <code class="literal">chown</code> command that will work with Samba and allow a user with administrator 589 589 privilege connected to a Samba server as root to change the ownership of files on both a local NTFS file system 590 590 or remote mounted NTFS or Samba drive. This is available as part of the <span class="application">Seclib</span> NT 591 591 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="id26067 46"></a>Viewing File or Directory Permissions</h3></div></div></div><p>592 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2606759"></a>Viewing File or Directory Permissions</h3></div></div></div><p> 593 593 The third button is the <span class="guibutton">Permissions</span> button. Clicking on it brings up a dialog box 594 594 that shows both the permissions and the UNIX owner of the file or directory. The owner is displayed like this: … … 604 604 </p><p> 605 605 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="id26068 29"></a>File Permissions</h4></div></div></div><p>606 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2606842"></a>File Permissions</h4></div></div></div><p> 607 607 The standard UNIX user/group/world triplet and the corresponding <code class="constant">read, write, 608 608 execute</code> permissions triplets are mapped by Samba into a three-element NT ACL with the … … 622 622 no permissions as having the NT <code class="literal">O</code> bit set. This was chosen, of course, to make it look 623 623 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="id26069 23"></a>Directory Permissions</h4></div></div></div><p>624 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2606936"></a>Directory Permissions</h4></div></div></div><p> 625 625 Directories on an NT NTFS file system have two different sets of permissions. The first set is the ACL set on the 626 626 directory itself, which is usually displayed in the first set of parentheses in the normal <code class="constant">RW</code> … … 633 633 Samba synthesizes these inherited permissions for NT by returning as an NT ACL the UNIX permission mode that a new file 634 634 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="id26069 61"></a>Modifying File or Directory Permissions</h3></div></div></div><p>635 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2606974"></a>Modifying File or Directory Permissions</h3></div></div></div><p> 636 636 Modifying file and directory permissions is as simple as changing the displayed permissions in the dialog box 637 637 and clicking on <span class="guibutton">OK</span>. However, there are limitations that a user needs to be aware of, … … 666 666 component and click on the <span class="guibutton">Remove</span> button or set the component to only have the special 667 667 <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="id26071 18"></a>Interaction with the Standard Samba “<span class="quote">create mask</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:668 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2607131"></a>Interaction with the Standard Samba “<span class="quote">create mask</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: 669 669 670 670 … … 720 720 then set the following parameters in the <code class="filename">smb.conf</code> file in that 721 721 share-specific section: 722 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26074 38"></a><em class="parameter"><code>security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2607450"></a><em class="parameter"><code>force security mode = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2607461"></a><em class="parameter"><code>directory security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2607474"></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="id2607487"></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>722 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2607452"></a><em class="parameter"><code>security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2607463"></a><em class="parameter"><code>force security mode = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2607475"></a><em class="parameter"><code>directory security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2607487"></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="id2607500"></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 723 Samba maps some of the DOS attribute bits (such as “<span class="quote">read-only</span>”) 724 724 into the UNIX permissions of a file. This means there can … … 741 741 rather than <span class="guibutton">OK</span> to ensure that your changes 742 742 are not overridden. 743 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26075 60"></a>Windows NT/200X ACLs and POSIX ACLs Limitations</h3></div></div></div><p>743 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2607573"></a>Windows NT/200X ACLs and POSIX ACLs Limitations</h3></div></div></div><p> 744 744 Windows administrators are familiar with simple ACL controls, and they typically 745 745 consider that UNIX user/group/other (ugo) permissions are inadequate and not … … 769 769 that permit normal ugo and ACLs functionality to be overrided. This further complicates 770 770 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="id26076 18"></a>UNIX POSIX ACL Overview</h4></div></div></div><p>771 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2607631"></a>UNIX POSIX ACL Overview</h4></div></div></div><p> 772 772 In examining POSIX ACLs we must consider the manner in which they operate for 773 773 both files and directories. File ACLs have the following significance: … … 798 798 default:other:--- <-- inherited permissions for everyone (other) 799 799 </pre><p> 800 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26076 79"></a>Mapping of Windows File ACLs to UNIX POSIX ACLs</h4></div></div></div><p>800 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2607692"></a>Mapping of Windows File ACLs to UNIX POSIX ACLs</h4></div></div></div><p> 801 801 Microsoft Windows NT4/200X ACLs must of necessity be mapped to POSIX ACLs. 802 802 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 … … 817 817 The Windows administrator is more restricted in that it is not possible from within 818 818 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="id26079 48"></a>Mapping of Windows Directory ACLs to UNIX POSIX ACLs</h4></div></div></div><p>819 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2607961"></a>Mapping of Windows Directory ACLs to UNIX POSIX ACLs</h4></div></div></div><p> 820 820 Interesting things happen in the mapping of UNIX POSIX directory permissions and 821 821 UNIX POSIX ACLs to Windows ACEs (Access Control Entries, the discrete components of … … 825 825 there are some notable exceptions and a few peculiarities that the astute administrator 826 826 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="id26079 72"></a>Common Errors</h2></div></div></div><p>827 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2607985"></a>Common Errors</h2></div></div></div><p> 828 828 File, directory, and share access problems are common topics on the mailing list. The following 829 829 are examples recently taken from the mailing list. 830 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26079 84"></a>Users Cannot Write to a Public Share</h3></div></div></div><p>830 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2607997"></a>Users Cannot Write to a Public Share</h3></div></div></div><p> 831 831 The following complaint has frequently been voiced on the Samba mailing list: 832 832 “<span class="quote"> … … 888 888 If the user that must have write permission in the directory is not a member of the group 889 889 <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="id2608 290"></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="id26083 06"></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 class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2608304"></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="id2608319"></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> 892 892 When you have a user in <a class="link" href="smb.conf.5.html#ADMINUSERS">admin users</a>, Samba will always do file operations for 893 893 this user as <span class="emphasis"><em>root</em></span>, even if <a class="link" href="smb.conf.5.html#FORCEUSER">force user</a> has been set. 894 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26083 52"></a>MS Word with Samba Changes Owner of File</h3></div></div></div><p>894 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2608365"></a>MS Word with Samba Changes Owner of File</h3></div></div></div><p> 895 895 <span class="emphasis"><em>Question:</em></span> “<span class="quote">When user B saves a word document that is owned by user A, 896 896 the updated file is now owned by user B. Why is Samba doing this? How do I fix this?</span>” … … 907 907 be created with the group that owns the directory. In <code class="filename">smb.conf</code> share declaration section set: 908 908 </p><p> 909 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26084 21"></a><em class="parameter"><code>force create mode = 0660</code></em></td></tr><tr><td><a class="indexterm" name="id2608433"></a><em class="parameter"><code>force directory mode = 0770</code></em></td></tr></table><p>909 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2608434"></a><em class="parameter"><code>force create mode = 0660</code></em></td></tr><tr><td><a class="indexterm" name="id2608446"></a><em class="parameter"><code>force directory mode = 0770</code></em></td></tr></table><p> 910 910 </p><p> 911 911 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.2.x/docs/htmldocs/Samba3-HOWTO/AdvancedNetworkManagement.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id26506 03">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650630">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650773">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651176">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2651362">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651587">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651630">Limiting Logon Connections</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id2650 591"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2650617">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650643">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650787">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651190">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2651375">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651601">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651644">Limiting Logon Connections</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2650605"></a> 3 3 This section documents peripheral issues that are of great importance to network 4 4 administrators who want to improve network resource access control, to automate the user 5 5 environment, 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="id26506 03"></a>Features and Benefits</h2></div></div></div><p>6 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2650617"></a>Features and Benefits</h2></div></div></div><p> 7 7 Often the difference between a working network environment and a well-appreciated one can 8 8 best be measured by the <span class="emphasis"><em>little things</em></span> that make everything work more … … 14 14 This chapter presents information on each of these areas. They are placed here, and not in 15 15 other 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="id2650630"></a>Remote Server Administration</h2></div></div></div><p>“<span class="quote">How do I get User Manager and Server Manager?</span>”</p><p> 17 <a class="indexterm" name="id2650643"></a> 18 <a class="indexterm" name="id2650650"></a> 16 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2650643"></a>Remote Server Administration</h2></div></div></div><p>“<span class="quote">How do I get User Manager and Server Manager?</span>”</p><p> 19 17 <a class="indexterm" name="id2650657"></a> 18 <a class="indexterm" name="id2650664"></a> 19 <a class="indexterm" name="id2650671"></a> 20 20 Since I do not need to buy an <span class="application">NT4 server</span>, how do I get the User Manager for Domains 21 21 and the Server Manager? 22 22 </p><p> 23 <a class="indexterm" name="id26506 75"></a>24 <a class="indexterm" name="id26506 82"></a>23 <a class="indexterm" name="id2650688"></a> 24 <a class="indexterm" name="id2650695"></a> 25 25 Microsoft distributes a version of these tools called <code class="filename">Nexus.exe</code> for installation 26 26 on <span class="application">Windows 9x/Me</span> systems. The tools set includes: … … 28 28 Download the archived file at the Microsoft <a class="ulink" href="ftp://ftp.microsoft.com/Softlib/MSLFILES/NEXUS.EXE" target="_top">Nexus</a> link. 29 29 </p><p> 30 <a class="indexterm" name="id26507 36"></a>31 <a class="indexterm" name="id26507 43"></a>32 <a class="indexterm" name="id26507 50"></a>30 <a class="indexterm" name="id2650749"></a> 31 <a class="indexterm" name="id2650756"></a> 32 <a class="indexterm" name="id2650763"></a> 33 33 The <span class="application">Windows NT 4.0</span> version of the User Manager for 34 34 Domains and Server Manager are available from Microsoft 35 35 <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="id26507 73"></a>Remote Desktop Management</h2></div></div></div><p>37 <a class="indexterm" name="id26507 81"></a>38 <a class="indexterm" name="id2650 788"></a>36 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2650787"></a>Remote Desktop Management</h2></div></div></div><p> 37 <a class="indexterm" name="id2650795"></a> 38 <a class="indexterm" name="id2650802"></a> 39 39 There are a number of possible remote desktop management solutions that range from free 40 40 through costly. Do not let that put you off. Sometimes the most costly solution is the 41 41 most cost effective. In any case, you will need to draw your own conclusions as to which 42 42 is the best tool in your network environment. 43 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26508 01"></a>Remote Management from NoMachine.Com</h3></div></div></div><p>44 <a class="indexterm" name="id26508 10"></a>43 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2650815"></a>Remote Management from NoMachine.Com</h3></div></div></div><p> 44 <a class="indexterm" name="id2650823"></a> 45 45 The following information was posted to the Samba mailing list at Apr 3 23:33:50 GMT 2003. 46 46 It is presented in slightly edited form (with author details omitted for privacy reasons). 47 47 The entire answer is reproduced below with some comments removed. 48 48 </p><p>“<span class="quote"> 49 <a class="indexterm" name="id26508 25"></a>49 <a class="indexterm" name="id2650839"></a> 50 50 I have a wonderful Linux/Samba server running as PDC for a network. Now I would like to add remote 51 51 desktop capabilities so users outside could login to the system and get their desktop up from home or 52 52 another country. 53 53 </span>”</p><p>“<span class="quote"> 54 <a class="indexterm" name="id2650840"></a>55 <a class="indexterm" name="id2650848"></a>56 54 <a class="indexterm" name="id2650854"></a> 57 55 <a class="indexterm" name="id2650861"></a> 56 <a class="indexterm" name="id2650868"></a> 57 <a class="indexterm" name="id2650874"></a> 58 58 Is there a way to accomplish this? Do I need a Windows Terminal server? Do I need to configure it so 59 59 it is a member of the domain or a BDC or PDC? Are there any hacks for MS Windows XP to enable remote login … … 63 63 <a class="ulink" href="http://www.nomachine.com/" target="_top">NoMachine</a>. 64 64 </p><p> 65 <a class="indexterm" name="id2650891"></a>66 <a class="indexterm" name="id2650898"></a>67 65 <a class="indexterm" name="id2650905"></a> 66 <a class="indexterm" name="id2650912"></a> 67 <a class="indexterm" name="id2650919"></a> 68 68 It implements an easy-to-use interface to the Remote X protocol as 69 69 well as incorporating VNC/RFB and rdesktop/RDP into it, but at a speed 70 70 performance much better than anything you may have ever seen. 71 71 </p><p> 72 <a class="indexterm" name="id26509 19"></a>72 <a class="indexterm" name="id2650932"></a> 73 73 Remote X is not new at all, but what they did achieve successfully is 74 74 a new way of compression and caching technologies that makes the thing 75 75 fast enough to run even over slow modem/ISDN connections. 76 76 </p><p> 77 <a class="indexterm" name="id2650932"></a>78 <a class="indexterm" name="id2650939"></a>79 77 <a class="indexterm" name="id2650946"></a> 80 78 <a class="indexterm" name="id2650953"></a> 79 <a class="indexterm" name="id2650960"></a> 80 <a class="indexterm" name="id2650966"></a> 81 81 I test drove their (public) Red Hat machine in Italy, over a loaded 82 82 Internet connection, with enabled thumbnail previews in KDE konqueror, … … 86 86 that my score was 631,750 points at first try. 87 87 </p><p> 88 <a class="indexterm" name="id2650972"></a>89 <a class="indexterm" name="id2650978"></a>90 88 <a class="indexterm" name="id2650985"></a> 91 89 <a class="indexterm" name="id2650992"></a> 90 <a class="indexterm" name="id2650999"></a> 91 <a class="indexterm" name="id2651006"></a> 92 92 NX performs better on my local LAN than any of the other “<span class="quote">pure</span>” 93 93 connection methods I use from time to time: TightVNC, rdesktop or … … 95 95 two nodes. 96 96 </p><p> 97 <a class="indexterm" name="id2651009"></a>98 <a class="indexterm" name="id2651016"></a>99 97 <a class="indexterm" name="id2651023"></a> 98 <a class="indexterm" name="id2651030"></a> 99 <a class="indexterm" name="id2651036"></a> 100 100 I even got sound playing from the Remote X app to my local boxes, and 101 101 had a working “<span class="quote">copy'n'paste</span>” from an NX window (running a KDE session … … 119 119 at all). 120 120 </p><p> 121 <a class="indexterm" name="id26510 72"></a>121 <a class="indexterm" name="id2651086"></a> 122 122 Now the best thing for last: All the core compression and caching 123 123 technologies are released under the GPL and available as source code … … 141 141 but you can buy a comfortable (proprietary) NX GUI front end for money. 142 142 </p></li><li><p> 143 <a class="indexterm" name="id26511 36"></a>144 <a class="indexterm" name="id26511 42"></a>145 <a class="indexterm" name="id26511 49"></a>146 <a class="indexterm" name="id26511 55"></a>147 <a class="indexterm" name="id26511 62"></a>143 <a class="indexterm" name="id2651150"></a> 144 <a class="indexterm" name="id2651156"></a> 145 <a class="indexterm" name="id2651163"></a> 146 <a class="indexterm" name="id2651169"></a> 147 <a class="indexterm" name="id2651176"></a> 148 148 NoMachine is encouraging and offering help to OSS/Free Software implementations 149 149 for such a front-end too, even if it means competition to them (they have written 150 150 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="id26511 76"></a>Remote Management with ThinLinc</h3></div></div></div><p>151 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2651190"></a>Remote Management with ThinLinc</h3></div></div></div><p> 152 152 Another alternative for remote access is <span class="emphasis"><em>ThinLinc</em></span> from Cendio. 153 153 </p><p> 154 <a class="indexterm" name="id2651192"></a>155 <a class="indexterm" name="id2651199"></a>156 154 <a class="indexterm" name="id2651206"></a> 157 155 <a class="indexterm" name="id2651213"></a> 158 156 <a class="indexterm" name="id2651220"></a> 159 157 <a class="indexterm" name="id2651227"></a> 160 <a class="indexterm" name="id265123 3"></a>158 <a class="indexterm" name="id2651234"></a> 161 159 <a class="indexterm" name="id2651240"></a> 160 <a class="indexterm" name="id2651247"></a> 161 <a class="indexterm" name="id2651253"></a> 162 162 ThinLinc is a terminal server solution that is available for Linux and Solaris based on standard 163 163 protocols such as SSH, TightVNC, NFS and PulseAudio. 164 164 </p><p> 165 <a class="indexterm" name="id26512 52"></a>166 <a class="indexterm" name="id26512 59"></a>165 <a class="indexterm" name="id2651266"></a> 166 <a class="indexterm" name="id2651273"></a> 167 167 ThinLinc an be used both in the LAN environment to implement a Thin Client strategy for an organization, and as 168 168 secure remote access solution for people working from remote locations, even over smallband connections. 169 169 ThinLinc is free to use for a single concurrent user. 170 170 </p><p> 171 <a class="indexterm" name="id26512 74"></a>172 <a class="indexterm" name="id26512 80"></a>173 <a class="indexterm" name="id2651 288"></a>171 <a class="indexterm" name="id2651287"></a> 172 <a class="indexterm" name="id2651294"></a> 173 <a class="indexterm" name="id2651301"></a> 174 174 The product can also be used as a frontend to access Windows Terminal Server or Citrix farms, or even Windows 175 175 XP machines, securing the connection via the ssh protocol. The client is available both for Linux (supporting … … 186 186 <a class="ulink" href="http://www.python.org" target="_top">Python</a> and 187 187 <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="id26513 62"></a>Network Logon Script Magic</h2></div></div></div><p>188 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2651375"></a>Network Logon Script Magic</h2></div></div></div><p> 189 189 There are several opportunities for creating a custom network startup configuration environment. 190 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 … … 196 196 The following listings are from the genlogon directory. 197 197 </p><p> 198 <a class="indexterm" name="id26514 32"></a>198 <a class="indexterm" name="id2651446"></a> 199 199 This is the <code class="filename">genlogon.pl</code> file: 200 200 … … 275 275 </p><p> 276 276 Those 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="id2651 587"></a>Adding Printers without User Intervention</h3></div></div></div><p>278 <a class="indexterm" name="id2651 595"></a>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="id2651601"></a>Adding Printers without User Intervention</h3></div></div></div><p> 278 <a class="indexterm" name="id2651609"></a> 279 279 Printers may be added automatically during logon script processing through the use of: 280 280 </p><pre class="screen"> … … 283 283 284 284 See 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="id26516 30"></a>Limiting Logon Connections</h3></div></div></div><p>285 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2651644"></a>Limiting Logon Connections</h3></div></div></div><p> 286 286 Sometimes it is necessary to limit the number of concurrent connections to a 287 287 Samba shared resource. For example, a site may wish to permit only one network -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/Appendix.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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#id26805 28">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2680534">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2680576">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2680767">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680842">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680980">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2681217">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#id2681487">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2681707">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#id2682092">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682195">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682234">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682376">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682419">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682481">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2682487">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#id2682662">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2682746">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2682752">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682872">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682928">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683021">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683027">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683110">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683136">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683194">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683226">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#id2683283">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683352">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683373">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2683569">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#id2683676">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683715">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683811">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683855">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683903">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683928">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683994">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684046">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684070">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684091">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684182">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684278">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#id2685467">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2685685">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#id2685838">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2686016">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2686107">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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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#id2680542">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2680548">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2680589">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2680781">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680855">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680993">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2681231">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#id2681501">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2681721">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#id2682105">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682209">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682248">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682390">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682433">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682495">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2682500">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#id2682676">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2682760">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2682766">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682886">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682942">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683035">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683041">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683124">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683150">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683208">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683240">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#id2683297">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683366">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683387">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2683583">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#id2683690">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683729">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683825">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683869">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683917">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683942">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684008">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684060">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684084">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684105">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684196">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684292">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#id2685480">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2685699">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#id2685852">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2686030">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2686121">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.2.x/docs/htmldocs/Samba3-HOWTO/Backup.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2664368">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2664412">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2664509">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664681">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664850">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664899">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="id2664368"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2664376"></a> 3 <a class="indexterm" name="id2664382"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2664381">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2664426">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2664523">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664694">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664864">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664912">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="id2664381"></a>Features and Benefits</h2></div></div></div><p> 4 2 <a class="indexterm" name="id2664389"></a> 5 3 <a class="indexterm" name="id2664396"></a> 4 <a class="indexterm" name="id2664403"></a> 5 <a class="indexterm" name="id2664410"></a> 6 6 The Samba project is over 10 years old. During the early history 7 7 of Samba, UNIX administrators were its key implementors. UNIX administrators … … 10 10 taken an interest in Samba. This is reflected in the questions about backup 11 11 in 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="id26644 12"></a>Discussion of Backup Solutions</h2></div></div></div><p>13 <a class="indexterm" name="id26644 20"></a>14 <a class="indexterm" name="id26644 27"></a>12 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2664426"></a>Discussion of Backup Solutions</h2></div></div></div><p> 13 <a class="indexterm" name="id2664434"></a> 14 <a class="indexterm" name="id2664441"></a> 15 15 During discussions at a Microsoft Windows training course, one of 16 16 the pro-UNIX delegates stunned the class when he pointed out that Windows … … 19 19 and, in combination, capable of achieving any desired outcome. 20 20 </p><p> 21 <a class="indexterm" name="id26644 43"></a>22 <a class="indexterm" name="id26644 50"></a>21 <a class="indexterm" name="id2664456"></a> 22 <a class="indexterm" name="id2664464"></a> 23 23 One of the Windows networking advocates retorted that if she wanted a 24 24 Meccano set, she would buy one. She made it clear that a complex single … … 26 26 intent is preferred by some like her. 27 27 </p><p> 28 <a class="indexterm" name="id2664464"></a>29 <a class="indexterm" name="id2664471"></a>30 28 <a class="indexterm" name="id2664478"></a> 29 <a class="indexterm" name="id2664485"></a> 30 <a class="indexterm" name="id2664492"></a> 31 31 Please note that all information here is provided as is and without recommendation 32 32 of fitness or suitability. The network administrator is strongly encouraged to … … 39 39 </p><p> 40 40 The 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="id26645 09"></a>BackupPC</h3></div></div></div><p>42 <a class="indexterm" name="id26645 17"></a>43 <a class="indexterm" name="id26645 24"></a>44 <a class="indexterm" name="id26645 31"></a>41 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664523"></a>BackupPC</h3></div></div></div><p> 42 <a class="indexterm" name="id2664531"></a> 43 <a class="indexterm" name="id2664538"></a> 44 <a class="indexterm" name="id2664544"></a> 45 45 BackupPC version 2.0.0 has been released on <a class="ulink" href="http://backuppc.sourceforge.net" target="_top">SourceForge</a>. 46 46 New features include support for <code class="literal">rsync/rsyncd</code> and internationalization of the CGI interface 47 47 (including English, French, Spanish, and German). 48 48 </p><p> 49 <a class="indexterm" name="id2664555"></a>50 <a class="indexterm" name="id2664562"></a>51 49 <a class="indexterm" name="id2664569"></a> 52 <a class="indexterm" name="id266457 5"></a>53 <a class="indexterm" name="id266458 2"></a>50 <a class="indexterm" name="id2664576"></a> 51 <a class="indexterm" name="id2664583"></a> 54 52 <a class="indexterm" name="id2664589"></a> 55 <a class="indexterm" name="id266459 5"></a>53 <a class="indexterm" name="id2664596"></a> 56 54 <a class="indexterm" name="id2664602"></a> 55 <a class="indexterm" name="id2664609"></a> 56 <a class="indexterm" name="id2664616"></a> 57 57 BackupPC is a high-performance Perl-based package for backing up Linux, 58 58 UNIX, and Windows PCs and laptops to a server's disk. BackupPC is highly … … 61 61 are used to extract client data. 62 62 </p><p> 63 <a class="indexterm" name="id2664634"></a>64 <a class="indexterm" name="id2664641"></a>65 63 <a class="indexterm" name="id2664648"></a> 64 <a class="indexterm" name="id2664654"></a> 65 <a class="indexterm" name="id2664661"></a> 66 66 Given the ever-decreasing cost of disks and RAID systems, it is now 67 67 practical and cost effective to backup a large number of machines onto … … 72 72 to browse backups and restore files. 73 73 </p><p> 74 <a class="indexterm" name="id26646 68"></a>74 <a class="indexterm" name="id2664682"></a> 75 75 BackupPC is free software distributed under a GNU GPL license. 76 76 BackupPC runs on Linux/UNIX/freenix servers and has been tested 77 77 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="id2664681"></a>Rsync</h3></div></div></div><p> 79 <a class="indexterm" name="id2664688"></a> 80 <a class="indexterm" name="id2664695"></a> 78 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664694"></a>Rsync</h3></div></div></div><p> 81 79 <a class="indexterm" name="id2664702"></a> 82 <a class="indexterm" name="id266470 8"></a>80 <a class="indexterm" name="id2664709"></a> 83 81 <a class="indexterm" name="id2664715"></a> 84 82 <a class="indexterm" name="id2664722"></a> 83 <a class="indexterm" name="id2664729"></a> 84 <a class="indexterm" name="id2664736"></a> 85 85 <code class="literal">rsync</code> is a flexible program for efficiently copying files or 86 86 directory trees.</p><p><code class="literal">rsync</code> has many options to select which files will be copied 87 87 and how they are to be transferred. It may be used as an 88 88 alternative to <code class="literal">ftp, http, scp</code>, or <code class="literal">rcp</code>.</p><p> 89 <a class="indexterm" name="id26647 61"></a>90 <a class="indexterm" name="id26647 68"></a>91 <a class="indexterm" name="id26647 76"></a>89 <a class="indexterm" name="id2664775"></a> 90 <a class="indexterm" name="id2664782"></a> 91 <a class="indexterm" name="id2664789"></a> 92 92 The rsync remote-update protocol allows rsync to transfer just 93 93 the differences between two sets of files across the network link, … … 108 108 Support for anonymous or authenticated rsync servers (ideal for 109 109 mirroring). 110 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26648 50"></a>Amanda</h3></div></div></div><p>111 <a class="indexterm" name="id26648 58"></a>112 <a class="indexterm" name="id26648 65"></a>113 <a class="indexterm" name="id26648 72"></a>110 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664864"></a>Amanda</h3></div></div></div><p> 111 <a class="indexterm" name="id2664872"></a> 112 <a class="indexterm" name="id2664879"></a> 113 <a class="indexterm" name="id2664886"></a> 114 114 Amanda, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that 115 115 allows the administrator of a LAN to set up a single master backup server to back up … … 120 120 For more information regarding Amanda, please check the <a class="ulink" href="http://www.amanda.org/" target="_top"> 121 121 www.amanda.org/ site</a>. 122 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664 899"></a>BOBS: Browseable Online Backup System</h3></div></div></div><p>123 <a class="indexterm" name="id26649 07"></a>122 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664912"></a>BOBS: Browseable Online Backup System</h3></div></div></div><p> 123 <a class="indexterm" name="id2664921"></a> 124 124 Browseable Online Backup System (BOBS) is a complete online backup system. Uses large 125 125 disks for storing backups and lets users browse the files using a Web browser. Handles -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/CUPS-printing.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH <br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:kpfeifle@danka.de">kpfeifle@danka.de</a>></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"><<a class="email" href="mailto:CVizitiu@gbif.org">CVizitiu@gbif.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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#id26259 45">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2625951">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626011">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2626130">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2626245">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626492">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626737">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627113">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2627130">Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627181">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627416">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable “<span class="quote">raw</span>” Printing for <span class="emphasis"><em>application/octet-stream</em></span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627703">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627824">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#id2628016">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628194">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#id2628553">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628706">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628790">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628909">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2628949">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629612">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629820">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629977">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630164">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630332">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630602">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630686">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630906">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631245">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631480">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631493"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631562">“<span class="quote">Raw</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631670">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631949">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632232"><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#id2632569">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632997">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633120">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633215">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633231">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633294">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633365">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633470">Network Printing (Windows Clients and UNIX/Samba Print2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633 488">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633679">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633759">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633848">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633893">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633961">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633975">Printer Drivers Running in “<span class="quote">Kernel Mode</span>” Cause Many3 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id26340 14">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634032">CUPS: A “<span class="quote">Magical Stone</span>”?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634075">PostScript Drivers with No Major Problems, Even in Kernel4 Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id26341 62">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634184"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634282">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#id2634563">CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634802">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634920">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634946">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635008">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635308">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635526">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635666">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635858">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636002">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636124">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636205">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636286">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#id2636521">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636695">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636866">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636971">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637104">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637328">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638287">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638430">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2638633">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638700">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638766">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638817">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638937">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639112">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639939">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640411">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640447">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640501">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640542">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640682">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640826">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640892">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640932">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640946">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641163">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641239">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641324">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641463">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2641511">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641806">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641918">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641924">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">cupsaddsmb</span>” Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642000">“<span class="quote">cupsaddsmb</span>” or “<span class="quote">rpcclient addriver</span>” Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642038">“<span class="quote">cupsaddsmb</span>” Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642112">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642137">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642228">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642279">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642317">Can't Use “<span class="quote">cupsaddsmb</span>” on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642352">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642387">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642420">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642461">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642487">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642533">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#id2642816">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642872"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642921">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#id2643020">Print Queue Called “<span class="quote">lp</span>” Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643089">Location of Adobe PostScript Driver Files for “<span class="quote">cupsaddsmb</span>”</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2643142">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="id2625945"></a>Introduction</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2625951"></a>Features and Benefits</h3></div></div></div><p>5 <a class="indexterm" name="id26259 59"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH <br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:kpfeifle@danka.de">kpfeifle@danka.de</a>></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"><<a class="email" href="mailto:CVizitiu@gbif.org">CVizitiu@gbif.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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#id2625959">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2625964">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626024">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2626143">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2626258">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626505">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626750">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627126">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2627144">Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627194">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627429">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable “<span class="quote">raw</span>” Printing for <span class="emphasis"><em>application/octet-stream</em></span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627716">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627838">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#id2628029">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628207">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#id2628566">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628720">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628803">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628923">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2628962">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629626">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629833">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629990">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630178">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630345">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630615">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630700">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630919">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631258">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631493">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631506"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631575">“<span class="quote">Raw</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631683">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631962">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632245"><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#id2632582">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633010">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633133">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633228">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633245">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633307">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633379">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633484">Network Printing (Windows Clients and UNIX/Samba Print 2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633502">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633693">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633772">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633862">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633907">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633975">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633989">Printer Drivers Running in “<span class="quote">Kernel Mode</span>” Cause Many 3 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634028">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634045">CUPS: A “<span class="quote">Magical Stone</span>”?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634088">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#id2634176">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634198"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634296">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#id2634576">CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634815">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634934">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634959">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635022">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635322">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635539">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635680">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635871">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636015">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636137">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636218">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636299">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#id2636534">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636708">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636880">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636985">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637117">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637342">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638300">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638444">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2638646">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638713">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638780">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638830">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638950">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639125">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639953">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640425">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640461">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640515">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640555">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640696">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640840">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640906">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640946">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640960">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641177">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641253">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641338">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641477">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2641524">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641820">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641932">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641937">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">cupsaddsmb</span>” Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642014">“<span class="quote">cupsaddsmb</span>” or “<span class="quote">rpcclient addriver</span>” Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642052">“<span class="quote">cupsaddsmb</span>” Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642126">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642150">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642242">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642293">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642330">Can't Use “<span class="quote">cupsaddsmb</span>” on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642366">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642401">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642434">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642475">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642500">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642547">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#id2642830">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642885"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642935">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#id2643033">Print Queue Called “<span class="quote">lp</span>” Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643102">Location of Adobe PostScript Driver Files for “<span class="quote">cupsaddsmb</span>”</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2643156">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="id2625959"></a>Introduction</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2625964"></a>Features and Benefits</h3></div></div></div><p> 5 <a class="indexterm" name="id2625972"></a> 6 6 The Common UNIX Print System (<a class="ulink" href="http://www.cups.org/" target="_top">CUPS</a>) 7 7 has become quite popular. All major Linux distributions now ship it as their default printing … … 12 12 that is also relevant to CUPS. 13 13 </p><p> 14 <a class="indexterm" name="id262 5994"></a>14 <a class="indexterm" name="id2626007"></a> 15 15 CUPS sports quite a few unique and powerful features. While its basic functions may be grasped quite 16 16 easily, they are also new. Because it is different from other, more traditional printing systems, it is best … … 18 18 the beginning. This documentation will lead you to a complete understanding of CUPS. Let's start with the most 19 19 basic things first. 20 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2626011"></a>Overview</h3></div></div></div><p> 21 <a class="indexterm" name="id2626019"></a> 22 <a class="indexterm" name="id2626026"></a> 23 <a class="indexterm" name="id2626033"></a> 24 <a class="indexterm" name="id2626040"></a> 20 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2626024"></a>Overview</h3></div></div></div><p> 21 <a class="indexterm" name="id2626032"></a> 22 <a class="indexterm" name="id2626039"></a> 25 23 <a class="indexterm" name="id2626046"></a> 26 <a class="indexterm" name="id2626056"></a> 27 <a class="indexterm" name="id2626066"></a> 28 <a class="indexterm" name="id2626072"></a> 24 <a class="indexterm" name="id2626053"></a> 25 <a class="indexterm" name="id2626060"></a> 26 <a class="indexterm" name="id2626069"></a> 27 <a class="indexterm" name="id2626079"></a> 28 <a class="indexterm" name="id2626085"></a> 29 29 CUPS is more than just a print spooling system. It is a complete printer management system that 30 30 complies with the new Internet Printing Protocol (IPP). IPP is an industry and Internet Engineering Task Force … … 34 34 like KDE's overwhelming <a class="ulink" href="http://printing.kde.org/" target="_top">KDEPrint</a>). 35 35 </p><p> 36 <a class="indexterm" name="id2626 098"></a>37 <a class="indexterm" name="id26261 05"></a>36 <a class="indexterm" name="id2626111"></a> 37 <a class="indexterm" name="id2626118"></a> 38 38 CUPS allows creation of <span class="emphasis"><em>raw</em></span> printers (i.e., no print file format translation) as 39 39 well as <span class="emphasis"><em>smart</em></span> printers (i.e., CUPS does file format conversion as required for the … … 41 41 course, if you are a CUPS advocate, you would argue that CUPS is better! In any case, let us now explore how 42 42 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="id2626130"></a>Basic CUPS Support Configuration</h2></div></div></div><p> 44 <a class="indexterm" name="id2626138"></a> 45 <a class="indexterm" name="id2626144"></a> 43 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2626143"></a>Basic CUPS Support Configuration</h2></div></div></div><p> 46 44 <a class="indexterm" name="id2626151"></a> 47 45 <a class="indexterm" name="id2626158"></a> 48 <a class="indexterm" name="id2626165"></a> 46 <a class="indexterm" name="id2626164"></a> 47 <a class="indexterm" name="id2626171"></a> 48 <a class="indexterm" name="id2626178"></a> 49 49 Printing 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 50 50 parameters: <a class="link" href="smb.conf.5.html#PRINTING">printing = cups</a> and <a class="link" href="smb.conf.5.html#PRINTCAP">printcap = cups</a>. CUPS does not need a printcap file. However, the … … 56 56 cupsd.conf</code> and other CUPS-related documentation, like the wealth of documents regarding the CUPS 57 57 server 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="id26262 45"></a>Linking smbd with libcups.so</h3></div></div></div><p>59 <a class="indexterm" name="id26262 53"></a>58 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2626258"></a>Linking smbd with libcups.so</h3></div></div></div><p> 59 <a class="indexterm" name="id2626266"></a> 60 60 Samba has a special relationship to CUPS. Samba can be compiled with CUPS library support. 61 61 Most recent installations have this support enabled. By default, CUPS linking is compiled … … 64 64 there are some differences in required or supported configuration. 65 65 </p><p> 66 <a class="indexterm" name="id26262 78"></a>67 <a class="indexterm" name="id26262 85"></a>66 <a class="indexterm" name="id2626292"></a> 67 <a class="indexterm" name="id2626298"></a> 68 68 When Samba is compiled and linked with <code class="filename">libcups</code>, <a class="link" href="smb.conf.5.html#PRINTCAP">printcap = cups</a> 69 69 uses the CUPS API to list printers, submit jobs, query queues, and so on. Otherwise it maps to the System V … … 80 80 </pre><p> 81 81 </p><p> 82 <a class="indexterm" name="id26263 55"></a>82 <a class="indexterm" name="id2626369"></a> 83 83 The line <code class="computeroutput">libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000)</code> shows 84 84 there is CUPS support compiled into this version of Samba. If this is the case, and printing = cups … … 96 96 <a class="link" href="smb.conf.5.html#QUEUEPAUSECOMMAND">queuepause command</a> and 97 97 <a class="link" href="smb.conf.5.html#QUEUERESUMECOMMAND">queue resume command</a>). 98 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2626 492"></a>Simple <code class="filename">smb.conf</code> Settings for CUPS</h3></div></div></div><p>98 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2626505"></a>Simple <code class="filename">smb.conf</code> Settings for CUPS</h3></div></div></div><p> 99 99 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 100 100 <code class="filename">smb.conf</code> file</a> shows the simplest printing-related setup for <code class="filename">smb.conf</code> to 101 101 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="id26265 52"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626563"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2626575"></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="id2626596"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2626608"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2626619"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2626631"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626642"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2626654"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626666"></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="id26266 81"></a>104 <a class="indexterm" name="id2626 688"></a>105 <a class="indexterm" name="id2626 695"></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 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="id2626565"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626577"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2626588"></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="id2626609"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2626621"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2626632"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2626644"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626656"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2626667"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626679"></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="id2626694"></a> 104 <a class="indexterm" name="id2626701"></a> 105 <a class="indexterm" name="id2626708"></a> 106 106 This is all you need for basic printing setup for CUPS. It will print all graphic, text, PDF, and PostScript 107 107 files submitted from Windows clients. However, most of your Windows users would not know how to send these … … 113 113 PostScript device, the print data stream is “<span class="quote">binary,</span>” sensible only for the target printer. Read 114 114 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="id26267 37"></a>More Complex CUPS <code class="filename">smb.conf</code> Settings</h3></div></div></div><p>115 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2626750"></a>More Complex CUPS <code class="filename">smb.conf</code> Settings</h3></div></div></div><p> 116 116 <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> 117 117 is a slightly more complex printing-related setup for <code class="filename">smb.conf</code>. It enables general CUPS printing 118 118 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="id2626 794"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2626805"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2626817"></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="id2626837"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2626849"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2626861"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626872"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2626884"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626896"></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="id2626917"></a><em class="parameter"><code>comment = A special printer with his own settings</code></em></td></tr><tr><td><a class="indexterm" name="id2626929"></a><em class="parameter"><code>path = /var/spool/samba-special</code></em></td></tr><tr><td><a class="indexterm" name="id2626941"></a><em class="parameter"><code>printing = sysv</code></em></td></tr><tr><td><a class="indexterm" name="id2626953"></a><em class="parameter"><code>printcap = lpstat</code></em></td></tr><tr><td><a class="indexterm" name="id2626964"></a><em class="parameter"><code>print command = echo "NEW: `date`: printfile %f" >> /tmp/smbprn.log ; echo " `date`: p-%p s-%s f-%f" >> /tmp/smbprn.log ; echo " `date`: j-%j J-%J z-%z c-%c" >> /tmp/smbprn.log ; rm %f </code></em></td></tr><tr><td><a class="indexterm" name="id2626981"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2626992"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2627004"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2627016"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2627028"></a><em class="parameter"><code>hosts deny = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2627039"></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 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="id2626807"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2626818"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2626830"></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="id2626850"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2626862"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2626873"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626885"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2626897"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626908"></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="id2626930"></a><em class="parameter"><code>comment = A special printer with his own settings</code></em></td></tr><tr><td><a class="indexterm" name="id2626942"></a><em class="parameter"><code>path = /var/spool/samba-special</code></em></td></tr><tr><td><a class="indexterm" name="id2626954"></a><em class="parameter"><code>printing = sysv</code></em></td></tr><tr><td><a class="indexterm" name="id2626965"></a><em class="parameter"><code>printcap = lpstat</code></em></td></tr><tr><td><a class="indexterm" name="id2626977"></a><em class="parameter"><code>print command = echo "NEW: `date`: printfile %f" >> /tmp/smbprn.log ; echo " `date`: p-%p s-%s f-%f" >> /tmp/smbprn.log ; echo " `date`: j-%j J-%J z-%z c-%c" >> /tmp/smbprn.log ; rm %f </code></em></td></tr><tr><td><a class="indexterm" name="id2626993"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2627005"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2627017"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2627028"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2627040"></a><em class="parameter"><code>hosts deny = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2627052"></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> 120 120 This special share is only for testing purposes. It does not write the print job to a file. It just logs the job parameters 121 121 known to Samba into the <code class="filename">/tmp/smbprn.log</code> file and deletes the job-file. Moreover, the … … 124 124 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 125 125 <a class="link" href="smb.conf.5.html#PRINTING">printing = sysv</a> and <a class="link" href="smb.conf.5.html#PRINTCAP">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="id26271 13"></a>Advanced Configuration</h2></div></div></div><p>126 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2627126"></a>Advanced Configuration</h2></div></div></div><p> 127 127 Before we delve into all the configuration options, let us clarify a few points. <span class="emphasis"><em>Network printing 128 128 needs to be organized and set up correctly</em></span>. This frequently doesn't happen. Legacy systems or small 129 129 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="id26271 30"></a>Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</h3></div></div></div><p>131 <a class="indexterm" name="id26271 42"></a>132 <a class="indexterm" name="id26271 48"></a>133 <a class="indexterm" name="id26271 58"></a>130 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2627144"></a>Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</h3></div></div></div><p> 131 <a class="indexterm" name="id2627155"></a> 132 <a class="indexterm" name="id2627162"></a> 133 <a class="indexterm" name="id2627171"></a> 134 134 Many small office or home networks, as well as badly organized larger environments, allow each client a direct 135 135 access to available network printers. This is generally a bad idea. It often blocks one client's access to the … … 139 139 central system, which responds immediately, takes jobs from multiple concurrent clients, and transfers them to 140 140 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="id26271 81"></a>Raw Print Serving: Vendor Drivers on Windows Clients</h3></div></div></div><p>142 <a class="indexterm" name="id2627 190"></a>143 <a class="indexterm" name="id2627 196"></a>141 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2627194"></a>Raw Print Serving: Vendor Drivers on Windows Clients</h3></div></div></div><p> 142 <a class="indexterm" name="id2627203"></a> 143 <a class="indexterm" name="id2627209"></a> 144 144 Most traditionally configured UNIX print servers acting on behalf of 145 145 Samba's Windows clients represented a really simple setup. Their only … … 150 150 be installed on each and every client for the target device. 151 151 </p><p> 152 <a class="indexterm" name="id26272 18"></a>153 <a class="indexterm" name="id26272 24"></a>152 <a class="indexterm" name="id2627231"></a> 153 <a class="indexterm" name="id2627238"></a> 154 154 It is possible to configure CUPS, Samba, and your Windows clients in the 155 155 same traditional and simple way. When CUPS printers are configured … … 165 165 attached to the Windows client. You then redirect output to a raw network 166 166 print queue. This procedure may be followed to achieve this: 167 </p><div class="procedure"><a name="id26272 49"></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="id26272 61"></a>167 </p><div class="procedure"><a name="id2627262"></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="id2627274"></a> 169 169 Edit <code class="filename">/etc/cups/mime.types</code> to uncomment the line 170 170 near the end of the file that has: … … 173 173 </pre><p> 174 174 </p></li><li><p> 175 <a class="indexterm" name="id2627 288"></a>175 <a class="indexterm" name="id2627301"></a> 176 176 Do the same for the file <code class="filename">/etc/cups/mime.convs</code>. 177 177 </p></li><li><p> … … 194 194 Here, the name <code class="constant">raw_q</code> is the name you gave the print 195 195 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="id26274 16"></a>Installation of Windows Client Drivers</h3></div></div></div><p>196 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2627429"></a>Installation of Windows Client Drivers</h3></div></div></div><p> 197 197 The printer drivers on the Windows clients may be installed 198 198 in two functionally different ways: … … 201 201 printing and uses a <code class="filename">\\sambaserver\printershare</code> 202 202 type of connection.</p></li><li><p> 203 <a class="indexterm" name="id26274 45"></a>203 <a class="indexterm" name="id2627459"></a> 204 204 Deposit and prepare the drivers (for later download) on 205 205 the print server (Samba); this enables the clients to use … … 212 212 are used accidentally. 213 213 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="cups-raw"></a>Explicitly Enable “<span class="quote">raw</span>” Printing for <span class="emphasis"><em>application/octet-stream</em></span></h3></div></div></div><p> 214 <a class="indexterm" name="id2627 492"></a>215 <a class="indexterm" name="id2627 499"></a>216 <a class="indexterm" name="id26275 06"></a>214 <a class="indexterm" name="id2627505"></a> 215 <a class="indexterm" name="id2627512"></a> 216 <a class="indexterm" name="id2627519"></a> 217 217 If you use the first option (drivers are installed on the client 218 218 side), there is one setting to take care of: CUPS needs to be told … … 226 226 application/octet-stream 227 227 </pre><p> 228 <a class="indexterm" name="id26275 60"></a>229 <a class="indexterm" name="id26275 68"></a>228 <a class="indexterm" name="id2627574"></a> 229 <a class="indexterm" name="id2627581"></a> 230 230 In <code class="filename">/etc/cups/mime.convs</code>, have this line: 231 <a class="indexterm" name="id26275 81"></a>231 <a class="indexterm" name="id2627595"></a> 232 232 </p><pre class="programlisting"> 233 233 application/octet-stream application/vnd.cups-raw 0 - … … 240 240 not <span class="emphasis"><em>enforce</em></span> “<span class="quote">raw</span>” printing, it only <span class="emphasis"><em>allows</em></span> it. 241 241 </p></div><p><b>Background. </b> 242 <a class="indexterm" name="id26276 45"></a>243 <a class="indexterm" name="id26276 52"></a>242 <a class="indexterm" name="id2627658"></a> 243 <a class="indexterm" name="id2627665"></a> 244 244 That CUPS is a more security-aware printing system than traditional ones does not by default allow a user to 245 245 send deliberate (possibly binary) data to printing devices. This could be easily abused to launch a … … 255 255 more advanced CUPS/Samba printing, simply skip the remaining sections 256 256 of this chapter. 257 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26277 03"></a>Driver Upload Methods</h3></div></div></div><p>257 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2627716"></a>Driver Upload Methods</h3></div></div></div><p> 258 258 This section describes three familiar methods, plus one new one, by which 259 259 printer drivers may be uploaded. 260 260 </p><p> 261 <a class="indexterm" name="id26277 16"></a>261 <a class="indexterm" name="id2627730"></a> 262 262 If you want to use the MS-RPC-type printing, you must upload the 263 263 drivers onto the Samba server first (<em class="parameter"><code>[print$]</code></em> … … 268 268 three methods of preparing the client drivers on the Samba server: 269 269 </p><div class="itemizedlist"><ul type="disc"><li><p> 270 <a class="indexterm" name="id26277 54"></a>270 <a class="indexterm" name="id2627767"></a> 271 271 The GUI, “<span class="quote">Add Printer Wizard</span>” <span class="emphasis"><em>upload-from-a-Windows-client</em></span> method. 272 272 </p></li><li><p> 273 273 The command line, “<span class="quote">smbclient/rpcclient</span>” upload-from-a-UNIX-workstation method. 274 274 </p></li><li><p> 275 <a class="indexterm" name="id26277 82"></a>275 <a class="indexterm" name="id2627795"></a> 276 276 The Imprints tool set method. 277 277 </p></li></ul></div><p> 278 <a class="indexterm" name="id2627 794"></a>278 <a class="indexterm" name="id2627807"></a> 279 279 These three methods apply to CUPS all the same. The <code class="literal">cupsaddsmb</code> utility is a new and more 280 280 convenient way to load the Windows drivers into Samba and is provided if you use CUPS. … … 282 282 <code class="literal">cupsaddsmb</code> is discussed in much detail later in this chapter. But we first 283 283 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="id26278 24"></a>Advanced Intelligent Printing with PostScript Driver Download</h2></div></div></div><p>285 <a class="indexterm" name="id26278 33"></a>284 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2627838"></a>Advanced Intelligent Printing with PostScript Driver Download</h2></div></div></div><p> 285 <a class="indexterm" name="id2627846"></a> 286 286 We now know how to set up a “<span class="quote">dump</span>” print server, that is, a server that spools 287 287 print jobs “<span class="quote">raw</span>”, leaving the print data untouched. 288 288 </p><p> 289 289 You might need to set up CUPS in a smarter way. The reasons could be manifold: 290 </p><a class="indexterm" name="id26278 57"></a><a class="indexterm" name="id2627864"></a><a class="indexterm" name="id2627871"></a><div class="itemizedlist"><ul type="disc"><li><p>Maybe your boss wants to get monthly statistics: Which290 </p><a class="indexterm" name="id2627870"></a><a class="indexterm" name="id2627877"></a><a class="indexterm" name="id2627884"></a><div class="itemizedlist"><ul type="disc"><li><p>Maybe your boss wants to get monthly statistics: Which 291 291 printer did how many pages? What was the average data size of a job? 292 292 What was the average print run per day? What are the typical hourly … … 304 304 CUPS filtering system, how it works, and how you can tweak it. 305 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="id26279 41"></a>307 <a class="indexterm" name="id26279 47"></a>306 <a class="indexterm" name="id2627954"></a> 307 <a class="indexterm" name="id2627961"></a> 308 308 Network printing is one of the most complicated and error-prone 309 309 day-to-day tasks any user or administrator may encounter. This is 310 310 true for all OS platforms, and there are reasons it is so. 311 311 </p><p> 312 <a class="indexterm" name="id2627961"></a> 313 <a class="indexterm" name="id2627967"></a> 314 <a class="indexterm" name="id2627974"></a> 315 <a class="indexterm" name="id2627980"></a> 312 <a class="indexterm" name="id2627974"></a> 313 <a class="indexterm" name="id2627980"></a> 316 314 <a class="indexterm" name="id2627987"></a> 315 <a class="indexterm" name="id2627994"></a> 316 <a class="indexterm" name="id2628001"></a> 317 317 You can't expect to throw just any file format at a printer and have it get printed. A file format conversion 318 318 must take place. The problem is that there is no common standard for print file formats across all … … 321 321 used page description languages (PDLs), there are still many manufacturers who “<span class="quote">roll their own</span>” 322 322 (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="id26280 16"></a>Windows Drivers, GDI, and EMF</h3></div></div></div><p>324 <a class="indexterm" name="id26280 24"></a>325 <a class="indexterm" name="id26280 31"></a>326 <a class="indexterm" name="id26280 37"></a>327 <a class="indexterm" name="id26280 44"></a>323 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2628029"></a>Windows Drivers, GDI, and EMF</h3></div></div></div><p> 324 <a class="indexterm" name="id2628038"></a> 325 <a class="indexterm" name="id2628044"></a> 326 <a class="indexterm" name="id2628051"></a> 327 <a class="indexterm" name="id2628057"></a> 328 328 In Windows OS, the format conversion job is done by the printer drivers. On MS Windows OS platforms all 329 329 application programmers have at their disposal a built-in API, the graphical device interface (GDI), as part … … 336 336 driver and converted to the printer-specific file format. 337 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="id26280 79"></a>339 <a class="indexterm" name="id26280 86"></a>340 <a class="indexterm" name="id2628 093"></a>338 <a class="indexterm" name="id2628093"></a> 339 <a class="indexterm" name="id2628099"></a> 340 <a class="indexterm" name="id2628106"></a> 341 341 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="id26281 03"></a> <a class="indexterm" name="id2628110"></a>343 <a class="indexterm" name="id26281 17"></a> <a class="indexterm" name="id2628123"></a> systems.342 for its (BSD-UNIX-based, did you know?) Mac OS X and Darwin operating <a class="indexterm" name="id2628116"></a> <a class="indexterm" name="id2628123"></a> 343 <a class="indexterm" name="id2628130"></a> <a class="indexterm" name="id2628136"></a> systems. 344 344 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. 345 345 </p></div><p> 346 346 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 347 347 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="id2628194"></a>UNIX Printfile Conversion and GUI Basics</h3></div></div></div><p> 349 <a class="indexterm" name="id2628202"></a> 350 <a class="indexterm" name="id2628209"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2628207"></a>UNIX Printfile Conversion and GUI Basics</h3></div></div></div><p> 351 349 <a class="indexterm" name="id2628216"></a> 352 350 <a class="indexterm" name="id2628222"></a> 351 <a class="indexterm" name="id2628229"></a> 352 <a class="indexterm" name="id2628236"></a> 353 353 In UNIX and Linux, there is no comparable layer built into the OS kernel(s) or the X (screen display) server. 354 354 Every application is responsible for itself to create its print output. Fortunately, most use PostScript and … … 364 364 your system; there are separate ones for fonts used for X display and fonts to be used on paper. 365 365 </p><p><b>Background. </b> 366 <a class="indexterm" name="id2628273"></a> 367 <a class="indexterm" name="id2628279"></a> 368 <a class="indexterm" name="id2628286"></a> 366 <a class="indexterm" name="id2628286"></a> 369 367 <a class="indexterm" name="id2628293"></a> 370 368 <a class="indexterm" name="id2628300"></a> 371 <a class="indexterm" name="id262830 7"></a>369 <a class="indexterm" name="id2628306"></a> 372 370 <a class="indexterm" name="id2628313"></a> 373 371 <a class="indexterm" name="id2628320"></a> 374 372 <a class="indexterm" name="id2628327"></a> 375 373 <a class="indexterm" name="id2628334"></a> 374 <a class="indexterm" name="id2628340"></a> 375 <a class="indexterm" name="id2628347"></a> 376 376 The PostScript programming language is an “<span class="quote">invention</span>” by Adobe, but its specifications have been 377 377 published extensively. Its strength lies in its powerful abilities to describe graphical objects (fonts, … … 385 385 program or on paper by a printer. 386 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="id26283 84"></a>388 <a class="indexterm" name="id2628 391"></a>389 <a class="indexterm" name="id26284 00"></a>390 <a class="indexterm" name="id26284 09"></a>391 <a class="indexterm" name="id26284 16"></a>387 <a class="indexterm" name="id2628397"></a> 388 <a class="indexterm" name="id2628404"></a> 389 <a class="indexterm" name="id2628413"></a> 390 <a class="indexterm" name="id2628422"></a> 391 <a class="indexterm" name="id2628429"></a> 392 392 So UNIX is lacking a common ground for printing on paper and displaying on screen. Despite this unfavorable 393 393 legacy for UNIX, basic printing is fairly easy if you have PostScript printers at your disposal. The reason is … … 398 398 different than PostScript printing a file from a Windows origin. 399 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="id26284 45"></a>401 <a class="indexterm" name="id26284 51"></a>402 <a class="indexterm" name="id26284 58"></a>400 <a class="indexterm" name="id2628458"></a> 401 <a class="indexterm" name="id2628465"></a> 402 <a class="indexterm" name="id2628472"></a> 403 403 Traditional UNIX programs and printing systems while using PostScript are largely not 404 404 PPD-aware. PPDs are “<span class="quote">PostScript Printer Description</span>” files. They enable you to specify and … … 407 407 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>. 408 408 </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="id26285 37"></a>409 <a class="indexterm" name="id2628550"></a> 410 410 However, there are other types of printers out there. These do not know how to print PostScript. They use 411 411 their own PDL, often proprietary. To print to them is much more demanding. Since your UNIX applications mostly 412 412 produce PostScript, and since these devices do not understand PostScript, you need to convert the print files 413 413 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="id26285 53"></a>Ghostscript: The Software RIP for Non-PostScript Printers</h3></div></div></div><p>415 <a class="indexterm" name="id26285 61"></a>414 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2628566"></a>Ghostscript: The Software RIP for Non-PostScript Printers</h3></div></div></div><p> 415 <a class="indexterm" name="id2628575"></a> 416 416 Here is where Ghostscript kicks in. Ghostscript is the traditional (and quite powerful) PostScript interpreter 417 417 used on UNIX platforms. It is a RIP in software, capable of doing a <span class="emphasis"><em>lot</em></span> of file format … … 420 420 <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 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="id2628632"></a>423 <a class="indexterm" name="id2628638"></a>424 422 <a class="indexterm" name="id2628645"></a> 423 <a class="indexterm" name="id2628652"></a> 424 <a class="indexterm" name="id2628659"></a> 425 425 Use the “<span class="quote">gs -h</span>” command to check for all built-in “<span class="quote">devices</span>” on your Ghostscript 426 426 version. If you specify a parameter of <em class="parameter"><code>-sDEVICE=png256</code></em> on your Ghostscript command … … 430 430 initially put under the “<span class="quote">AFPL</span>” license, but re-released under the GNU GPL as soon as the next 431 431 AFPL version appears. GNU Ghostscript is probably the version installed on most Samba systems. But it has some 432 deficiencies. <a class="indexterm" name="id26286 84"></a> Therefore, ESP Ghostscript was developed as an enhancement over GNU Ghostscript,432 deficiencies. <a class="indexterm" name="id2628697"></a> Therefore, ESP Ghostscript was developed as an enhancement over GNU Ghostscript, 433 433 with lots of bug-fixes, additional devices, and improvements. It is jointly maintained by developers from 434 434 CUPS, Gutenprint, MandrakeSoft, SuSE, Red Hat, and Debian. It includes the “<span class="quote">cups</span>” device 435 435 (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="id26287 06"></a>PostScript Printer Description (PPD) Specification</h3></div></div></div><p>437 <a class="indexterm" name="id26287 15"></a>438 <a class="indexterm" name="id26287 21"></a>439 <a class="indexterm" name="id26287 28"></a>436 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2628720"></a>PostScript Printer Description (PPD) Specification</h3></div></div></div><p> 437 <a class="indexterm" name="id2628728"></a> 438 <a class="indexterm" name="id2628735"></a> 439 <a class="indexterm" name="id2628741"></a> 440 440 While PostScript in essence is a PDL to represent the page layout in a device-independent way, real-world 441 441 print jobs are always ending up being output on hardware with device-specific features. To take care of all … … 459 459 file created by the driver. 460 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="id26287 68"></a>462 <a class="indexterm" name="id26287 74"></a>461 <a class="indexterm" name="id2628781"></a> 462 <a class="indexterm" name="id2628788"></a> 463 463 A PostScript file that was created to contain device-specific commands 464 464 for achieving a certain print job output (e.g., duplexed, stapled, and … … 466 466 may not be printable at all on other models; it also may not be fit 467 467 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="id2628790"></a>Using Windows-Formatted Vendor PPDs</h3></div></div></div><p> 469 <a class="indexterm" name="id2628798"></a> 470 <a class="indexterm" name="id2628804"></a> 468 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2628803"></a>Using Windows-Formatted Vendor PPDs</h3></div></div></div><p> 471 469 <a class="indexterm" name="id2628811"></a> 470 <a class="indexterm" name="id2628818"></a> 471 <a class="indexterm" name="id2628825"></a> 472 472 CUPS can handle all spec-compliant PPDs as supplied by the manufacturers for their PostScript models. Even if 473 473 a vendor does not mention our favorite OS in his or her manuals and brochures, you can safely trust this: … … 480 480 first pit stops. 481 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="id26288 51"></a>483 <a class="indexterm" name="id26288 58"></a>482 <a class="indexterm" name="id2628864"></a> 483 <a class="indexterm" name="id2628871"></a> 484 484 For real PostScript printers, <span class="emphasis"><em>do not</em></span> use the <span class="emphasis"><em>Foomatic</em></span> or 485 485 <span class="emphasis"><em>cupsomatic</em></span> PPDs from Linuxprinting.org. With these devices, the original vendor-provided 486 486 PPDs are always the first choice. 487 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="id26288 82"></a>488 <a class="indexterm" name="id2628896"></a> 489 489 If you are looking for an original vendor-provided PPD of a specific device, and you know that an NT4 box (or 490 490 any other Windows box) on your LAN has the PostScript driver installed, just use <code class="literal">smbclient 491 491 //NT4-box/print\$ -U username</code> to access the Windows directory where all printer driver files are 492 492 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="id2628909"></a>CUPS Also Uses PPDs for Non-PostScript Printers</h3></div></div></div><p> 494 <a class="indexterm" name="id2628918"></a> 495 <a class="indexterm" name="id2628925"></a> 493 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2628923"></a>CUPS Also Uses PPDs for Non-PostScript Printers</h3></div></div></div><p> 496 494 <a class="indexterm" name="id2628931"></a> 495 <a class="indexterm" name="id2628938"></a> 496 <a class="indexterm" name="id2628944"></a> 497 497 CUPS also uses specially crafted PPDs to handle non-PostScript printers. These PPDs are usually not available 498 498 from the vendors (and no, you can't just take the PPD of a PostScript printer with the same model name and 499 499 hope it works for the non-PostScript version too). To understand how these PPDs work for non-PS printers, we 500 500 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="id2628949"></a>The CUPS Filtering Architecture</h2></div></div></div><p> 502 <a class="indexterm" name="id2628957"></a> 503 <a class="indexterm" name="id2628964"></a> 501 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2628962"></a>The CUPS Filtering Architecture</h2></div></div></div><p> 504 502 <a class="indexterm" name="id2628970"></a> 505 503 <a class="indexterm" name="id2628977"></a> 506 504 <a class="indexterm" name="id2628984"></a> 505 <a class="indexterm" name="id2628991"></a> 506 <a class="indexterm" name="id2628998"></a> 507 507 The core of the CUPS filtering system is based on Ghostscript. In addition to Ghostscript, CUPS uses some 508 508 other filters of its own. You (or your OS vendor) may have plugged in even more filters. CUPS handles all data … … 515 515 If CUPS rasterizes a PostScript file natively to a bitmap, this is done in two stages: 516 516 </p><div class="itemizedlist"><ul type="disc"><li><p> 517 <a class="indexterm" name="id26290 14"></a>518 <a class="indexterm" name="id26290 21"></a>517 <a class="indexterm" name="id2629027"></a> 518 <a class="indexterm" name="id2629034"></a> 519 519 The first stage uses a Ghostscript device named “<span class="quote">cups</span>” 520 520 (this is since version 1.1.15) and produces a generic raster format 521 521 called “<span class="quote">CUPS raster</span>”. 522 522 </p></li><li><p> 523 <a class="indexterm" name="id26290 41"></a>523 <a class="indexterm" name="id2629055"></a> 524 524 The second stage uses a “<span class="quote">raster driver</span>” that converts 525 525 the generic CUPS raster to a device-specific raster. 526 526 </p></li></ul></div><p> 527 <a class="indexterm" name="id26290 58"></a>528 <a class="indexterm" name="id26290 65"></a>529 <a class="indexterm" name="id26290 72"></a>527 <a class="indexterm" name="id2629071"></a> 528 <a class="indexterm" name="id2629078"></a> 529 <a class="indexterm" name="id2629085"></a> 530 530 Make sure your Ghostscript version has the “<span class="quote">cups</span>” device compiled in (check with <code class="literal">gs -h | 531 531 grep cups</code>). Otherwise you may encounter the dreaded <code class="computeroutput">Unable to convert file 532 532 0</code> in your CUPS error_log file. To have “<span class="quote">cups</span>” as a device in your Ghostscript, 533 533 you either need to patch GNU Ghostscript and recompile or use 534 <a class="indexterm" name="id26291 02"></a><a class="ulink" href="http://www.cups.org/ghostscript.php" target="_top">ESP Ghostscript</a>. The superior alternative is ESP534 <a class="indexterm" name="id2629116"></a><a class="ulink" href="http://www.cups.org/ghostscript.php" target="_top">ESP Ghostscript</a>. The superior alternative is ESP 535 535 Ghostscript. It supports not just CUPS, but 300 other devices (while GNU Ghostscript supports only about 180). 536 536 Because of this broad output device support, ESP Ghostscript is the first choice for non-CUPS spoolers, too. 537 537 It is now recommended by Linuxprinting.org for all spoolers. 538 538 </p><p> 539 <a class="indexterm" name="id26291 25"></a>540 <a class="indexterm" name="id26291 32"></a>541 <a class="indexterm" name="id26291 39"></a>542 <a class="indexterm" name="id26291 46"></a>539 <a class="indexterm" name="id2629138"></a> 540 <a class="indexterm" name="id2629145"></a> 541 <a class="indexterm" name="id2629152"></a> 542 <a class="indexterm" name="id2629159"></a> 543 543 CUPS printers may be set up to use external rendering paths. One of the most common is provided by the 544 544 Foomatic/cupsomatic concept from <a class="ulink" href="http://www.linuxprinting.org/" target="_top">Linuxprinting.org</a>. This 545 545 uses the classical Ghostscript approach, doing everything in one step. It does not use the 546 546 “<span class="quote">cups</span>” device, but one of the many others. However, even for Foomatic/cupsomatic usage, best 547 results and <a class="indexterm" name="id26291 68"></a> broadest printer547 results and <a class="indexterm" name="id2629181"></a> broadest printer 548 548 model support is provided by ESP Ghostscript (more about Foomatic/cupsomatic, particularly the new version 549 549 called 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="id2629184"></a>MIME Types and CUPS Filters</h3></div></div></div><p> 551 <a class="indexterm" name="id2629192"></a> 552 <a class="indexterm" name="id2629202"></a> 553 <a class="indexterm" name="id2629208"></a> 554 <a class="indexterm" name="id2629215"></a> 550 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2629198"></a>MIME Types and CUPS Filters</h3></div></div></div><p> 551 <a class="indexterm" name="id2629206"></a> 552 <a class="indexterm" name="id2629215"></a> 555 553 <a class="indexterm" name="id2629222"></a> 554 <a class="indexterm" name="id2629229"></a> 555 <a class="indexterm" name="id2629236"></a> 556 556 CUPS reads the file <code class="filename">/etc/cups/mime.types</code> (and all other files carrying a 557 557 <code class="filename">*.types</code> suffix in the same directory) upon startup. These files contain the MIME type … … 559 559 man page for <code class="filename">mime.types</code> and in the comments section of the 560 560 <code class="filename">mime.types</code> file itself. A simple rule reads like this: 561 <a class="indexterm" name="id26292 59"></a>561 <a class="indexterm" name="id2629272"></a> 562 562 </p><pre class="programlisting"> 563 563 application/pdf pdf string(0,%PDF) 564 564 </pre><p> 565 <a class="indexterm" name="id26292 72"></a>566 <a class="indexterm" name="id26292 79"></a>565 <a class="indexterm" name="id2629286"></a> 566 <a class="indexterm" name="id2629292"></a> 567 567 This means if a filename has a <code class="filename">.pdf</code> suffix or if the magic string 568 568 <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 … … 571 571 application/postscript ai eps ps string(0,%!) string(0,<04>%!) 572 572 </pre><p> 573 <a class="indexterm" name="id2629312"></a>574 <a class="indexterm" name="id2629319"></a>575 573 <a class="indexterm" name="id2629326"></a> 576 <a class="indexterm" name="id262933 3"></a>574 <a class="indexterm" name="id2629332"></a> 577 575 <a class="indexterm" name="id2629339"></a> 578 576 <a class="indexterm" name="id2629346"></a> 577 <a class="indexterm" name="id2629353"></a> 578 <a class="indexterm" name="id2629360"></a> 579 579 If the filename has one of the suffixes <code class="filename">.ai</code>, <code class="filename">.eps</code>, 580 580 <code class="filename">.ps</code>, or if the file itself starts with one of the strings <span class="emphasis"><em>%!</em></span> or … … 582 582 (<em class="parameter"><code>application/postscript</code></em>). 583 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="id2629 390"></a>584 <a class="indexterm" name="id2629403"></a> 585 585 Don't confuse the other mime.types files your system might be using 586 586 with the one in the <code class="filename">/etc/cups/</code> directory. 587 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="id2629409"></a> 589 <a class="indexterm" name="id2629416"></a> 590 <a class="indexterm" name="id2629423"></a> 591 <a class="indexterm" name="id2629430"></a> 588 <a class="indexterm" name="id2629422"></a> 589 <a class="indexterm" name="id2629429"></a> 592 590 <a class="indexterm" name="id2629436"></a> 591 <a class="indexterm" name="id2629443"></a> 592 <a class="indexterm" name="id2629449"></a> 593 593 There is an important difference between two similar MIME types in CUPS: one is 594 594 <em class="parameter"><code>application/postscript</code></em>, the other is … … 601 601 <em class="parameter"><code>pstops</code></em> filter. pstops uses information contained in the PPD to do the transformation. 602 602 </p></div><p> 603 <a class="indexterm" name="id2629499"></a>604 <a class="indexterm" name="id2629505"></a>605 603 <a class="indexterm" name="id2629512"></a> 606 604 <a class="indexterm" name="id2629519"></a> … … 610 608 <a class="indexterm" name="id2629545"></a> 611 609 <a class="indexterm" name="id2629552"></a> 612 <a class="indexterm" name="id262955 9"></a>613 <a class="indexterm" name="id262956 6"></a>610 <a class="indexterm" name="id2629558"></a> 611 <a class="indexterm" name="id2629565"></a> 614 612 <a class="indexterm" name="id2629572"></a> 615 613 <a class="indexterm" name="id2629579"></a> … … 617 615 <a class="indexterm" name="id2629593"></a> 618 616 <a class="indexterm" name="id2629600"></a> 617 <a class="indexterm" name="id2629606"></a> 618 <a class="indexterm" name="id2629613"></a> 619 619 CUPS can handle ASCII text, HP-GL, PDF, PostScript, DVI, and 620 620 many image formats (GIF, PNG, TIFF, JPEG, Photo-CD, SUN-Raster, 621 621 PNM, PBM, SGI-RGB, and more) and their associated MIME types 622 622 with its filters. 623 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26296 12"></a>MIME Type Conversion Rules</h3></div></div></div><p>624 <a class="indexterm" name="id26296 20"></a>625 <a class="indexterm" name="id26296 27"></a>626 <a class="indexterm" name="id26296 34"></a>627 <a class="indexterm" name="id26296 41"></a>628 <a class="indexterm" name="id26296 48"></a>623 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2629626"></a>MIME Type Conversion Rules</h3></div></div></div><p> 624 <a class="indexterm" name="id2629634"></a> 625 <a class="indexterm" name="id2629640"></a> 626 <a class="indexterm" name="id2629647"></a> 627 <a class="indexterm" name="id2629654"></a> 628 <a class="indexterm" name="id2629661"></a> 629 629 CUPS reads the file <code class="filename">/etc/cups/mime.convs</code> 630 630 (and all other files named with a <code class="filename">*.convs</code> … … 637 637 application/pdf application/postscript 33 pdftops 638 638 </pre><p> 639 <a class="indexterm" name="id26296 80"></a>639 <a class="indexterm" name="id2629693"></a> 640 640 This means that the <em class="parameter"><code>pdftops</code></em> filter will take 641 641 <em class="parameter"><code>application/pdf</code></em> as input and produce … … 643 643 cost of this operation is 33 CUPS-$. The next filter is more 644 644 expensive, costing 66 CUPS-$: 645 <a class="indexterm" name="id26297 08"></a>645 <a class="indexterm" name="id2629721"></a> 646 646 </p><pre class="programlisting"> 647 647 application/vnd.hp-HPGL application/postscript 66 hpgltops 648 648 </pre><p> 649 <a class="indexterm" name="id26297 21"></a>649 <a class="indexterm" name="id2629735"></a> 650 650 This is the <em class="parameter"><code>hpgltops</code></em>, which processes HP-GL 651 651 plotter files to PostScript. 652 <a class="indexterm" name="id26297 35"></a>652 <a class="indexterm" name="id2629749"></a> 653 653 </p><pre class="programlisting"> 654 654 application/octet-stream 655 655 </pre><p> 656 656 Here are two more examples: 657 <a class="indexterm" name="id26297 49"></a>658 <a class="indexterm" name="id26297 56"></a>659 <a class="indexterm" name="id26297 63"></a>660 <a class="indexterm" name="id26297 70"></a>657 <a class="indexterm" name="id2629762"></a> 658 <a class="indexterm" name="id2629769"></a> 659 <a class="indexterm" name="id2629776"></a> 660 <a class="indexterm" name="id2629783"></a> 661 661 </p><pre class="programlisting"> 662 662 application/x-shell application/postscript 33 texttops 663 663 text/plain application/postscript 33 texttops 664 664 </pre><p> 665 <a class="indexterm" name="id26297 84"></a>665 <a class="indexterm" name="id2629798"></a> 666 666 The last two examples name the <em class="parameter"><code>texttops</code></em> filter to work on 667 667 <em class="parameter"><code>text/plain</code></em> as well as on <em class="parameter"><code>application/x-shell</code></em>. (Hint: This 668 668 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="id26298 20"></a>Filtering Overview</h3></div></div></div><p>670 <a class="indexterm" name="id26298 28"></a>669 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2629833"></a>Filtering Overview</h3></div></div></div><p> 670 <a class="indexterm" name="id2629841"></a> 671 671 There are many more combinations named in <code class="filename">mime.convs</code>. However, you are not limited to use 672 672 the ones predefined there. You can plug in any filter you like to the CUPS framework. It must meet, or must be … … 674 674 sure it complies with what CUPS needs and put in the right lines in <code class="filename">mime.types</code> and 675 675 <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="id26298 60"></a>Filter Requirements</h4></div></div></div><p>676 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2629874"></a>Filter Requirements</h4></div></div></div><p> 677 677 The “<span class="quote">CUPS requirements</span>” for filters are simple. Take filenames or <code class="filename">stdin</code> as 678 678 input and write to <code class="filename">stdout</code>. They should take these arguments: … … 693 693 fed through <code class="filename">stdin</code>). In most cases, it is easy to 694 694 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="id26299 77"></a>Prefilters</h3></div></div></div><p>696 <a class="indexterm" name="id26299 85"></a>697 <a class="indexterm" name="id26 29991"></a>698 <a class="indexterm" name="id26 29998"></a>695 </p></dd></dl></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2629990"></a>Prefilters</h3></div></div></div><p> 696 <a class="indexterm" name="id2629998"></a> 697 <a class="indexterm" name="id2630005"></a> 698 <a class="indexterm" name="id2630012"></a> 699 699 As previously stated, PostScript is the central file format to any UNIX-based 700 700 printing system. From PostScript, CUPS generates raster data to feed 701 701 non-PostScript printers. 702 702 </p><p> 703 <a class="indexterm" name="id2630012"></a>704 <a class="indexterm" name="id2630018"></a>705 703 <a class="indexterm" name="id2630025"></a> 706 704 <a class="indexterm" name="id2630032"></a> … … 708 706 <a class="indexterm" name="id2630045"></a> 709 707 <a class="indexterm" name="id2630052"></a> 710 <a class="indexterm" name="id263005 9"></a>711 <a class="indexterm" name="id263006 6"></a>708 <a class="indexterm" name="id2630058"></a> 709 <a class="indexterm" name="id2630065"></a> 712 710 <a class="indexterm" name="id2630072"></a> 711 <a class="indexterm" name="id2630079"></a> 712 <a class="indexterm" name="id2630086"></a> 713 713 But what happens if you send one of the supported non-PS formats to print? Then CUPS runs 714 714 “<span class="quote">prefilters</span>” on these input formats to generate PostScript first. There are prefilters to create … … 720 720 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 721 721 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="id26301 64"></a>pstops</h3></div></div></div><p>723 <a class="indexterm" name="id26301 72"></a>724 <a class="indexterm" name="id26301 79"></a>725 <a class="indexterm" name="id26301 86"></a>726 <a class="indexterm" name="id2630 193"></a>727 <a class="indexterm" name="id26302 00"></a>728 <a class="indexterm" name="id26302 07"></a>729 <a class="indexterm" name="id26302 14"></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="id2630178"></a>pstops</h3></div></div></div><p> 723 <a class="indexterm" name="id2630185"></a> 724 <a class="indexterm" name="id2630192"></a> 725 <a class="indexterm" name="id2630199"></a> 726 <a class="indexterm" name="id2630206"></a> 727 <a class="indexterm" name="id2630213"></a> 728 <a class="indexterm" name="id2630220"></a> 729 <a class="indexterm" name="id2630227"></a> 730 730 <span class="emphasis"><em>pstops</em></span> is a filter that is used to convert <em class="parameter"><code>application/postscript</code></em> to 731 731 <em class="parameter"><code>application/vnd.cups-postscript</code></em>. As stated earlier, this filter inserts all … … 743 743 </p></li><li><p>Counting the pages of the job to insert the accounting 744 744 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="id2630332"></a>pstoraster</h3></div></div></div><p> 746 <a class="indexterm" name="id2630340"></a> 747 <a class="indexterm" name="id2630346"></a> 745 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2630345"></a>pstoraster</h3></div></div></div><p> 748 746 <a class="indexterm" name="id2630353"></a> 747 <a class="indexterm" name="id2630360"></a> 748 <a class="indexterm" name="id2630367"></a> 749 749 <em class="parameter"><code>pstoraster</code></em> is at the core of the CUPS filtering system. It is responsible for the first 750 750 stage of the rasterization process. Its input is of MIME type application/vnd.cups-postscript; its output is … … 754 754 Intermediate Raster Format diagram</a>. 755 755 </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="id2630430"></a>757 <a class="indexterm" name="id2630436"></a>758 756 <a class="indexterm" name="id2630443"></a> 759 757 <a class="indexterm" name="id2630450"></a> 758 <a class="indexterm" name="id2630457"></a> 759 <a class="indexterm" name="id2630463"></a> 760 760 CUPS raster is a generic raster format with powerful features. It is able to include per-page information, 761 761 color profiles, and more, to be used by the downstream raster drivers. Its MIME type is registered with IANA … … 767 767 Ghostscript illustration</a>. 768 768 </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="id2630523"></a>770 <a class="indexterm" name="id2630529"></a>771 769 <a class="indexterm" name="id2630536"></a> 772 770 <a class="indexterm" name="id2630543"></a> 771 <a class="indexterm" name="id2630550"></a> 772 <a class="indexterm" name="id2630557"></a> 773 773 CUPS versions before version 1.1.15 shipped a binary (or source code) standalone filter, named 774 774 <em class="parameter"><code>pstoraster</code></em>. <em class="parameter"><code>pstoraster</code></em>, which was derived from GNU Ghostscript … … 781 781 If your Ghostscript fails when this command is executed: <code class="literal">gs -h |grep cups</code>, you might not 782 782 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="id26306 02"></a>imagetops and imagetoraster</h3></div></div></div><p>784 <a class="indexterm" name="id26306 10"></a>785 <a class="indexterm" name="id26306 16"></a>783 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2630615"></a>imagetops and imagetoraster</h3></div></div></div><p> 784 <a class="indexterm" name="id2630623"></a> 785 <a class="indexterm" name="id2630630"></a> 786 786 In the section about prefilters, we mentioned the prefilter 787 787 that generates PostScript from image formats. The <em class="parameter"><code>imagetoraster</code></em> … … 790 790 mentioned prefilters. We summarize in a flowchart the image file 791 791 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="id2630686"></a>rasterto [printers specific]</h3></div></div></div><p> 793 <a class="indexterm" name="id2630694"></a> 794 <a class="indexterm" name="id2630701"></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="id2630700"></a>rasterto [printers specific]</h3></div></div></div><p> 795 793 <a class="indexterm" name="id2630708"></a> 796 794 <a class="indexterm" name="id2630715"></a> 797 <a class="indexterm" name="id263072 2"></a>798 <a class="indexterm" name="id263072 9"></a>799 <a class="indexterm" name="id263073 6"></a>800 <a class="indexterm" name="id263074 3"></a>795 <a class="indexterm" name="id2630721"></a> 796 <a class="indexterm" name="id2630728"></a> 797 <a class="indexterm" name="id2630735"></a> 798 <a class="indexterm" name="id2630742"></a> 801 799 <a class="indexterm" name="id2630749"></a> 802 800 <a class="indexterm" name="id2630756"></a> 803 801 <a class="indexterm" name="id2630763"></a> 802 <a class="indexterm" name="id2630770"></a> 803 <a class="indexterm" name="id2630777"></a> 804 804 CUPS ships with quite a variety of raster drivers for processing CUPS raster. On my system, I find in 805 805 /usr/lib/cups/filter/ the following: <em class="parameter"><code>rastertoalps</code></em>, <em class="parameter"><code>rastertobj</code></em>, … … 812 812 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 813 813 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="id26309 06"></a>CUPS Backends</h3></div></div></div><p>815 <a class="indexterm" name="id26309 14"></a>816 <a class="indexterm" name="id26309 21"></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="id2630919"></a>CUPS Backends</h3></div></div></div><p> 815 <a class="indexterm" name="id2630927"></a> 816 <a class="indexterm" name="id2630934"></a> 817 817 The last part of any CUPS filtering chain is a backend. Backends 818 818 are special programs that send the print-ready file to the final … … 888 888 printer name.) 889 889 </p><p> 890 <a class="indexterm" name="id26312 01"></a>891 <a class="indexterm" name="id26312 07"></a>890 <a class="indexterm" name="id2631214"></a> 891 <a class="indexterm" name="id2631221"></a> 892 892 Not all of the mentioned backends may be present on your system or 893 893 usable (depending on your hardware configuration). One test for all … … 897 897 </p><pre class="screen"> 898 898 <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="id26312 45"></a>The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></h3></div></div></div><p>900 <a class="indexterm" name="id26312 57"></a>901 <a class="indexterm" name="id26312 64"></a>902 <a class="indexterm" name="id26312 71"></a>903 <a class="indexterm" name="id26312 78"></a>904 <a class="indexterm" name="id26312 85"></a>899 </pre></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631258"></a>The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></h3></div></div></div><p> 900 <a class="indexterm" name="id2631271"></a> 901 <a class="indexterm" name="id2631277"></a> 902 <a class="indexterm" name="id2631284"></a> 903 <a class="indexterm" name="id2631291"></a> 904 <a class="indexterm" name="id2631298"></a> 905 905 <em class="parameter"><code>cupsomatic</code></em> filters may be the most widely used on CUPS 906 906 installations. You must be clear that these were not … … 926 926 the print job. 927 927 </p><p> 928 <a class="indexterm" name="id2631351"></a> 929 <a class="indexterm" name="id2631358"></a> 930 <a class="indexterm" name="id2631365"></a> 931 <a class="indexterm" name="id2631372"></a> 932 <a class="indexterm" name="id2631379"></a> 933 <a class="indexterm" name="id2631386"></a> 928 <a class="indexterm" name="id2631364"></a> 929 <a class="indexterm" name="id2631371"></a> 930 <a class="indexterm" name="id2631378"></a> 931 <a class="indexterm" name="id2631385"></a> 934 932 <a class="indexterm" name="id2631392"></a> 935 933 <a class="indexterm" name="id2631399"></a> 936 934 <a class="indexterm" name="id2631406"></a> 937 935 <a class="indexterm" name="id2631413"></a> 938 <a class="indexterm" name="id2631420"></a> 936 <a class="indexterm" name="id2631419"></a> 937 <a class="indexterm" name="id2631426"></a> 938 <a class="indexterm" name="id2631433"></a> 939 939 However, <em class="parameter"><code>cupsomatic</code></em> is now deprecated. Its PPDs (especially the first 940 940 generation of them, still in heavy use out there) are not meeting the … … 958 958 legacy spoolers too (like LPRng, BSD-LPD, PDQ, PPR, and so on), providing 959 959 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="id26314 80"></a>The Complete Picture</h3></div></div></div><p>960 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631493"></a>The Complete Picture</h3></div></div></div><p> 961 961 If you want to see an overview of all the filters and how they 962 962 relate to each other, the complete picture of the puzzle is at the end 963 963 of this chapter. 964 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631 493"></a><code class="filename">mime.convs</code></h3></div></div></div><p>964 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631506"></a><code class="filename">mime.convs</code></h3></div></div></div><p> 965 965 CUPS autoconstructs all possible filtering chain paths for any given 966 966 MIME type and every printer installed. But how does it decide in … … 972 972 a total “<span class="quote">filter cost.</span>” CUPS decides for the most “<span class="quote">inexpensive</span>” route. 973 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="id26315 24"></a>975 <a class="indexterm" name="id26315 31"></a>974 <a class="indexterm" name="id2631538"></a> 975 <a class="indexterm" name="id2631544"></a> 976 976 Setting <em class="parameter"><code>FilterLimit 1000</code></em> in 977 977 <code class="filename">cupsd.conf</code> will not allow more filters to … … 981 981 200 allows roughly one job at a time, while a FilterLimit of 1000 allows 982 982 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="id2631562"></a>“<span class="quote">Raw</span>” Printing</h3></div></div></div><p> 984 <a class="indexterm" name="id2631571"></a> 985 <a class="indexterm" name="id2631578"></a> 983 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631575"></a>“<span class="quote">Raw</span>” Printing</h3></div></div></div><p> 986 984 <a class="indexterm" name="id2631585"></a> 985 <a class="indexterm" name="id2631591"></a> 986 <a class="indexterm" name="id2631598"></a> 987 987 You can tell CUPS to print (nearly) any file “<span class="quote">raw</span>”. “<span class="quote">Raw</span>” means it will not be 988 988 filtered. CUPS will send the file to the printer “<span class="quote">as is</span>” without bothering if the printer is able … … 1002 1002 only send known MIME types (as defined in its own mime.types file) and 1003 1003 refuse others. 1004 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26316 70"></a>application/octet-stream Printing</h3></div></div></div><p>1005 <a class="indexterm" name="id26316 78"></a>1006 <a class="indexterm" name="id26316 85"></a>1004 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631683"></a>application/octet-stream Printing</h3></div></div></div><p> 1005 <a class="indexterm" name="id2631691"></a> 1006 <a class="indexterm" name="id2631698"></a> 1007 1007 Any MIME type with no rule in the <code class="filename">/etc/cups/mime.types</code> file is regarded as unknown 1008 1008 or <em class="parameter"><code>application/octet-stream</code></em> and will not be … … 1017 1017 these two files: 1018 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="id26317 50"></a>1019 <a class="indexterm" name="id2631764"></a> 1020 1020 Both contain entries (at the end of the respective files) that must be uncommented to allow raw mode 1021 1021 operation for <em class="parameter"><code>application/octet-stream</code></em>. In <code class="filename">/etc/cups/mime.types</code> 1022 1022 make sure this line is present: 1023 <a class="indexterm" name="id26317 72"></a>1023 <a class="indexterm" name="id2631786"></a> 1024 1024 </p><pre class="programlisting"> 1025 1025 application/octet-stream … … 1032 1032 application/octet-stream application/vnd.cups-raw 0 - 1033 1033 </pre><p> 1034 <a class="indexterm" name="id26318 07"></a>1034 <a class="indexterm" name="id2631820"></a> 1035 1035 This line tells CUPS to use the <span class="emphasis"><em>Null Filter</em></span> 1036 1036 (denoted as “<span class="quote">-</span>”, doing nothing at all) on … … 1043 1043 <span class="emphasis"><em>enforce</em></span> “<span class="quote">raw</span>” printing, it only <span class="emphasis"><em>allows</em></span> it. 1044 1044 </p></div><p><b>Background. </b> 1045 <a class="indexterm" name="id2631874"></a>1046 <a class="indexterm" name="id2631881"></a>1047 1045 <a class="indexterm" name="id2631887"></a> 1048 1046 <a class="indexterm" name="id2631894"></a> 1047 <a class="indexterm" name="id2631901"></a> 1048 <a class="indexterm" name="id2631908"></a> 1049 1049 That CUPS is a more security-aware printing system than traditional ones 1050 1050 does not by default allow one to send deliberate (possibly binary) … … 1058 1058 recognizes MIME types. The file <code class="filename">/etc/cups/mime.convs</code> decides which file 1059 1059 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="id2631949"></a>PostScript Printer Descriptions for Non-PostScript Printers</h3></div></div></div><p> 1061 <a class="indexterm" name="id2631957"></a> 1062 <a class="indexterm" name="id2631964"></a> 1063 <a class="indexterm" name="id2631971"></a> 1064 <a class="indexterm" name="id2631978"></a> 1060 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631962"></a>PostScript Printer Descriptions for Non-PostScript Printers</h3></div></div></div><p> 1061 <a class="indexterm" name="id2631971"></a> 1062 <a class="indexterm" name="id2631977"></a> 1065 1063 <a class="indexterm" name="id2631984"></a> 1066 1064 <a class="indexterm" name="id2631991"></a> 1065 <a class="indexterm" name="id2631997"></a> 1066 <a class="indexterm" name="id2632004"></a> 1067 1067 Originally PPDs were meant to be used for PostScript printers 1068 1068 only. Here, they help to send device-specific commands and settings … … 1077 1077 PPDs for a non-PostScript printer have a few lines that are unique to 1078 1078 CUPS. The most important one looks similar to this: 1079 <a class="indexterm" name="id26320 13"></a>1079 <a class="indexterm" name="id2632027"></a> 1080 1080 </p><pre class="programlisting"> 1081 1081 *cupsFilter: application/vnd.cups-raster 66 rastertoprinter … … 1095 1095 different paper trays, or you may get larger margins than your 1096 1096 specific model supports. See Table 21.1<a class="link" href="CUPS-printing.html#cups-ppds" title="Table 22.1. PPDs Shipped with CUPS">“PPDs Shipped with CUPS”</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="id26322 32"></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="id26322 46"></a>1099 <a class="indexterm" name="id26322 53"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632245"></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="id2632259"></a> 1099 <a class="indexterm" name="id2632266"></a> 1100 1100 Native CUPS rasterization works in two steps: 1101 1101 </p><div class="itemizedlist"><ul type="disc"><li><p> 1102 <a class="indexterm" name="id26322 67"></a>1102 <a class="indexterm" name="id2632280"></a> 1103 1103 First is the <em class="parameter"><code>pstoraster</code></em> step. It uses the special CUPS 1104 <a class="indexterm" name="id26322 81"></a>1104 <a class="indexterm" name="id2632294"></a> 1105 1105 device from ESP Ghostscript 7.05.x as its tool. 1106 1106 </p></li><li><p> … … 1117 1117 way. Note that <em class="parameter"><code>cupsomatic</code></em> is <span class="emphasis"><em>not</em></span> made by the CUPS 1118 1118 developers. It is an independent contribution to printing development, 1119 made by people from Linuxprinting.org.<sup>[<a name="id26323 84" href="#ftn.id2632384" class="footnote">6</a>]</sup>1119 made by people from Linuxprinting.org.<sup>[<a name="id2632397" href="#ftn.id2632397" class="footnote">6</a>]</sup> 1120 1120 <em class="parameter"><code>cupsomatic</code></em> is no longer developed, maintained, or supported. It now been 1121 1121 replaced by <em class="parameter"><code>foomatic-rip</code></em>. <em class="parameter"><code>foomatic-rip</code></em> is a complete rewrite … … 1125 1125 too. 1126 1126 </p><p> 1127 <a class="indexterm" name="id26324 33"></a>1128 <a class="indexterm" name="id26324 40"></a>1127 <a class="indexterm" name="id2632446"></a> 1128 <a class="indexterm" name="id2632453"></a> 1129 1129 Like the old <em class="parameter"><code>cupsomatic</code></em> method, the <em class="parameter"><code>foomatic-rip</code></em> (new) method 1130 1130 from Linuxprinting.org uses the traditional Ghostscript print file processing, doing everything in a single … … 1136 1136 different queues) and find out which works best for you. 1137 1137 </p><p> 1138 <a class="indexterm" name="id2632475"></a>1139 <a class="indexterm" name="id2632482"></a>1140 1138 <a class="indexterm" name="id2632489"></a> 1141 <a class="indexterm" name="id2632496"></a> 1142 <a class="indexterm" name="id2632503"></a> 1143 <a class="indexterm" name="id2632510"></a> 1139 <a class="indexterm" name="id2632495"></a> 1140 <a class="indexterm" name="id2632502"></a> 1141 <a class="indexterm" name="id2632509"></a> 1142 <a class="indexterm" name="id2632516"></a> 1143 <a class="indexterm" name="id2632523"></a> 1144 1144 <em class="parameter"><code>cupsomatic</code></em> kidnaps the print file after the 1145 1145 <em class="parameter"><code>application/vnd.cups-postscript</code></em> stage and deviates it through the CUPS-external, … … 1150 1150 CUPS</a>, illustrates the difference between native CUPS rendering and the 1151 1151 <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="id26325 69"></a>Examples for Filtering Chains</h3></div></div></div><p>1152 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632582"></a>Examples for Filtering Chains</h3></div></div></div><p> 1153 1153 Here are a few examples of commonly occurring filtering chains to 1154 1154 illustrate the workings of CUPS. 1155 1155 </p><p> 1156 <a class="indexterm" name="id26325 82"></a>1157 <a class="indexterm" name="id2632 589"></a>1158 <a class="indexterm" name="id2632 596"></a>1159 <a class="indexterm" name="id26326 03"></a>1156 <a class="indexterm" name="id2632595"></a> 1157 <a class="indexterm" name="id2632602"></a> 1158 <a class="indexterm" name="id2632609"></a> 1159 <a class="indexterm" name="id2632616"></a> 1160 1160 Assume you want to print a PDF file to an HP JetDirect-connected 1161 1161 PostScript printer, but you want to print pages 3-5, 7, and 11-13 … … 1176 1176 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 1177 1177 illustration</a>. 1178 </p><a class="indexterm" name="id2632713"></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="id2632763"></a> 1180 <a class="indexterm" name="id2632770"></a> 1178 </p><a class="indexterm" name="id2632727"></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> 1181 1179 <a class="indexterm" name="id2632777"></a> 1180 <a class="indexterm" name="id2632784"></a> 1181 <a class="indexterm" name="id2632790"></a> 1182 1182 Assume you want to print the same filter to an USB-connected Epson Stylus Photo Printer installed with the CUPS 1183 1183 <code class="filename">stphoto2.ppd</code>. The first few filtering stages are nearly the same: … … 1189 1189 <em class="parameter"><code>application/pdf</code></em>. 1190 1190 </p></li><li><p> 1191 <a class="indexterm" name="id26328 17"></a>1192 <a class="indexterm" name="id26328 24"></a>1191 <a class="indexterm" name="id2632831"></a> 1192 <a class="indexterm" name="id2632837"></a> 1193 1193 The file must first pass the <em class="parameter"><code>pdftops</code></em> prefilter, which produces PostScript 1194 1194 MIME type <em class="parameter"><code>application/postscript</code></em> (a preview here would still show all 1195 1195 pages of the original PDF). 1196 1196 </p></li><li><p> 1197 <a class="indexterm" name="id26328 50"></a>1198 <a class="indexterm" name="id26328 56"></a>1197 <a class="indexterm" name="id2632863"></a> 1198 <a class="indexterm" name="id2632870"></a> 1199 1199 The file then passes the “<span class="quote">pstops</span>” filter that applies 1200 1200 the command line options: it selects the pages 2-5, 7, and 11-13, … … 1208 1208 <em class="parameter"><code>application/cups-raster</code></em>. 1209 1209 </p></li><li><p> 1210 <a class="indexterm" name="id26329 11"></a>1210 <a class="indexterm" name="id2632925"></a> 1211 1211 Finally, the <em class="parameter"><code>rastertoepson</code></em> filter 1212 1212 does its work (as indicated in the printer's PPD), creating the … … 1218 1218 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 1219 1219 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="id263 2997"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633010"></a>Sources of CUPS Drivers/PPDs</h3></div></div></div><p> 1221 1221 On the Internet you can now find many thousands of CUPS-PPD files 1222 1222 (with their companion filters), in many national languages 1223 1223 supporting more than 1,000 non-PostScript models. 1224 </p><div class="itemizedlist"><a class="indexterm" name="id26330 11"></a><a class="indexterm" name="id2633020"></a><ul type="disc"><li><p>1224 </p><div class="itemizedlist"><a class="indexterm" name="id2633025"></a><a class="indexterm" name="id2633034"></a><ul type="disc"><li><p> 1225 1225 <a class="ulink" href="http://www.easysw.com/printpro/" target="_top">ESP PrintPro</a> 1226 1226 (commercial, non-free) is packaged with more than 3,000 PPDs, ready for … … 1250 1250 (LPGL, free) from Linuxprinting.org provide PPDs for practically every Ghostscript 1251 1251 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="id26331 20"></a>Printing with Interface Scripts</h3></div></div></div><p>1253 <a class="indexterm" name="id26331 28"></a>1254 <a class="indexterm" name="id26331 35"></a>1252 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633133"></a>Printing with Interface Scripts</h3></div></div></div><p> 1253 <a class="indexterm" name="id2633141"></a> 1254 <a class="indexterm" name="id2633148"></a> 1255 1255 CUPS also supports the use of “<span class="quote">interface scripts</span>” as known from 1256 1256 System V AT&T printing systems. These are often used for PCL … … 1274 1274 <a class="ulink" href="http://playground.sun.com/printing/documentation/interface.html" target="_top"> 1275 1275 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="id26332 15"></a>Network Printing (Purely Windows)</h2></div></div></div><p>1276 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2633228"></a>Network Printing (Purely Windows)</h2></div></div></div><p> 1277 1277 Network printing covers a lot of ground. To understand what exactly 1278 1278 goes on with Samba when it is printing on behalf of its Windows 1279 1279 clients, let's first look at a “<span class="quote">purely Windows</span>” setup: Windows clients 1280 1280 with a Windows NT print server. 1281 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26332 31"></a>From Windows Clients to an NT Print Server</h3></div></div></div><p>1281 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633245"></a>From Windows Clients to an NT Print Server</h3></div></div></div><p> 1282 1282 Windows clients printing to an NT-based print server have two 1283 1283 options. They may: 1284 <a class="indexterm" name="id26332 41"></a>1285 <a class="indexterm" name="id26332 48"></a>1284 <a class="indexterm" name="id2633254"></a> 1285 <a class="indexterm" name="id2633261"></a> 1286 1286 </p><div class="itemizedlist"><ul type="disc"><li><p>Execute the driver locally and render the GDI output 1287 1287 (EMF) into the printer-specific format on their own. … … 1292 1292 Print Driver Execution on the Client</a>, and 1293 1293 <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="id2633 294"></a>Driver Execution on the Client</h3></div></div></div><p>1294 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633307"></a>Driver Execution on the Client</h3></div></div></div><p> 1295 1295 In the first case, the print server must spool the file as raw, meaning it shouldn't touch the job file and try 1296 1296 to convert it in any way. This is what a traditional UNIX-based print server can do too, and at a better … … 1300 1300 installed 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 1301 1301 Client 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="id2633365"></a>Driver Execution on the Server</h3></div></div></div><p> 1303 <a class="indexterm" name="id2633374"></a> 1304 <a class="indexterm" name="id2633380"></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="id2633379"></a>Driver Execution on the Server</h3></div></div></div><p> 1305 1303 <a class="indexterm" name="id2633387"></a> 1306 1304 <a class="indexterm" name="id2633394"></a> 1307 1305 <a class="indexterm" name="id2633400"></a> 1306 <a class="indexterm" name="id2633407"></a> 1307 <a class="indexterm" name="id2633414"></a> 1308 1308 The other path executes the printer driver on the server. The client transfers print files in EMF format to 1309 1309 the server. The server uses the PostScript, PCL, ESC/P, or other driver to convert the EMF file into the … … 1313 1313 </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> 1314 1314 However, 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="id26334 70"></a>Network Printing (Windows Clients and UNIX/Samba Print1315 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2633484"></a>Network Printing (Windows Clients and UNIX/Samba Print 1316 1316 Servers)</h2></div></div></div><p> 1317 1317 Since UNIX print servers <span class="emphasis"><em>cannot</em></span> execute the Win32 … … 1320 1320 much. On the contrary, you may have a way here to implement printing 1321 1321 features that are not possible otherwise. 1322 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633 488"></a>From Windows Clients to a CUPS/Samba Print Server</h3></div></div></div><p>1322 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633502"></a>From Windows Clients to a CUPS/Samba Print Server</h3></div></div></div><p> 1323 1323 Here is a simple recipe showing how you can take advantage of CUPS's 1324 1324 powerful features for the benefit of your Windows network printing … … 1332 1332 First, to enable CUPS-based printing through Samba, the following options should be set in your <code class="filename">smb.conf</code> 1333 1333 file <em class="parameter"><code>[global]</code></em> section: 1334 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26335 43"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2633555"></a><em class="parameter"><code>printcap = cups</code></em></td></tr></table><p>1334 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2633557"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2633568"></a><em class="parameter"><code>printcap = cups</code></em></td></tr></table><p> 1335 1335 When these parameters are specified, all manually set print directives (like <a class="link" href="smb.conf.5.html#PRINTCOMMAND">print command</a> or <a class="link" href="smb.conf.5.html#LPPAUSECOMMAND">lppause command</a>) in <code class="filename">smb.conf</code> (as well as in Samba itself) will be 1336 1336 ignored. Instead, Samba will directly interface with CUPS through its application program interface (API), as … … 1340 1340 commands to work with a Samba server that has CUPS support compiled in, simply use <a class="link" href="smb.conf.5.html#CLASSICALPRINTING">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 1341 1341 CUPS/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="id26336 79"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633693"></a>Samba Receiving Job-Files and Passing Them to CUPS</h3></div></div></div><p> 1343 1343 Samba <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">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 1344 1344 into the spool directory of CUPS (the CUPS spool directory is set by the <em class="parameter"><code>RequestRoot</code></em> … … 1352 1352 allow “<span class="quote">localhost</span>” to print. If it runs on different machines, you 1353 1353 need 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="id26337 59"></a>Network PostScript RIP</h2></div></div></div><p>1354 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2633772"></a>Network PostScript RIP</h2></div></div></div><p> 1355 1355 This section discusses the use of CUPS filters on the server configuration where 1356 1356 clients make use of a PostScript driver with CUPS-PPDs. 1357 1357 </p><p> 1358 <a class="indexterm" name="id26337 76"></a>1359 <a class="indexterm" name="id26337 82"></a>1360 <a class="indexterm" name="id2633 788"></a>1358 <a class="indexterm" name="id2633789"></a> 1359 <a class="indexterm" name="id2633795"></a> 1360 <a class="indexterm" name="id2633802"></a> 1361 1361 PPDs can control all print device options. They are usually provided by the manufacturer if you own 1362 1362 a PostScript printer, that is. PPD files are always a component of PostScript printer drivers on MS Windows or … … 1371 1371 different GUI front-ends on Linux/UNIX, which can present PPD options to users. PPD options are normally meant 1372 1372 to 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="id26338 48"></a>PPDs for Non-PS Printers on UNIX</h3></div></div></div><p>1374 <a class="indexterm" name="id26338 57"></a>1373 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633862"></a>PPDs for Non-PS Printers on UNIX</h3></div></div></div><p> 1374 <a class="indexterm" name="id2633870"></a> 1375 1375 CUPS does not limit itself to “<span class="quote">real</span>” PostScript printers in its use of PPDs. The CUPS developers 1376 1376 have extended the scope of the PPD concept to also describe available device and driver options for … … 1384 1384 devices to its clients, because it can act as a PostScript RIP for those printers, processing the received 1385 1385 PostScript 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="id2633 893"></a>PPDs for Non-PS Printers on Windows</h3></div></div></div><p>1387 <a class="indexterm" name="id26339 01"></a>1386 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633907"></a>PPDs for Non-PS Printers on Windows</h3></div></div></div><p> 1387 <a class="indexterm" name="id2633915"></a> 1388 1388 CUPS-PPDs can also be used on Windows clients, on top of a “<span class="quote">core</span>” PostScript driver (now 1389 1389 recommended is the CUPS PostScript Driver for Windows NT/200x/XP; you can also use the Adobe one, with … … 1399 1399 </p></li></ul></div><p> 1400 1400 Using 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="id26339 61"></a>Windows Terminal Servers (WTS) as CUPS Clients</h2></div></div></div><p>1401 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2633975"></a>Windows Terminal Servers (WTS) as CUPS Clients</h2></div></div></div><p> 1402 1402 This setup may be of special interest to people experiencing major problems in WTS environments. WTS often 1403 1403 need a multitude of non-PostScript drivers installed to run their clients' variety of different printer 1404 1404 models. 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="id26339 75"></a>Printer Drivers Running in “<span class="quote">Kernel Mode</span>” Cause Many1405 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633989"></a>Printer Drivers Running in “<span class="quote">Kernel Mode</span>” Cause Many 1406 1406 Problems</h3></div></div></div><p> 1407 1407 Windows NT printer drivers, which run in “<span class="quote">kernel mode</span>”, introduce a high risk for the stability … … 1415 1415 one from Adobe and the one from Microsoft. Both are well-tested and are as stable as you can imagine on 1416 1416 Windows. 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="id26340 14"></a>Workarounds Impose Heavy Limitations</h3></div></div></div><p>1417 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634028"></a>Workarounds Impose Heavy Limitations</h3></div></div></div><p> 1418 1418 In an attempt to work around problems, site administrators have resorted to restricting the 1419 1419 allowed drivers installed on their WTS to one generic PCL and one PostScript driver. This, however, restricts 1420 1420 the number of printer options available for clients to use. Often they can't get out more than simplex 1421 1421 prints 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="id26340 32"></a>CUPS: A “<span class="quote">Magical Stone</span>”?</h3></div></div></div><p>1423 <a class="indexterm" name="id26340 43"></a>1424 <a class="indexterm" name="id26340 49"></a>1422 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634045"></a>CUPS: A “<span class="quote">Magical Stone</span>”?</h3></div></div></div><p> 1423 <a class="indexterm" name="id2634056"></a> 1424 <a class="indexterm" name="id2634063"></a> 1425 1425 Using a PostScript driver, enabled with a CUPS-PPD, seems to be a very elegant way to overcome all these 1426 1426 shortcomings. There are, depending on the version of Windows OS you use, up to three different PostScript … … 1431 1431 “<span class="quote">raw spooling</span>” device. Plus, this setup is not yet widely tested, although the first feedbacks 1432 1432 look very promising. 1433 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26340 75"></a>PostScript Drivers with No Major Problems, Even in Kernel1433 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634088"></a>PostScript Drivers with No Major Problems, Even in Kernel 1434 1434 Mode</h3></div></div></div><p> 1435 <a class="indexterm" name="id2634083"></a>1436 <a class="indexterm" name="id2634090"></a>1437 1435 <a class="indexterm" name="id2634097"></a> 1438 1436 <a class="indexterm" name="id2634104"></a> 1439 <a class="indexterm" name="id2634111"></a> 1440 <a class="indexterm" name="id2634118"></a> 1437 <a class="indexterm" name="id2634110"></a> 1438 <a class="indexterm" name="id2634117"></a> 1439 <a class="indexterm" name="id2634124"></a> 1440 <a class="indexterm" name="id2634131"></a> 1441 1441 More recent printer drivers on W200x and XP no longer run in kernel mode (unlike Windows NT). However, both 1442 1442 operating systems can still use the NT drivers, running in kernel mode (you can roughly tell which is which as … … 1450 1450 the GPL, and if you are the owner of an “<span class="quote">MS DDK for Windows NT,</span>” you can check the driver 1451 1451 yourself. 1452 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26341 62"></a>Configuring CUPS for Driver Download</h2></div></div></div><p>1452 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2634176"></a>Configuring CUPS for Driver Download</h2></div></div></div><p> 1453 1453 As we have said before, all previously known methods to prepare client printer drivers on the Samba server for 1454 1454 download and Point'n'Print convenience of Windows workstations are working with CUPS, too. These methods were 1455 1455 described in <a class="link" href="classicalprinting.html" title="Chapter 21. Classical Printing Support">Classical Printing</a>. In reality, this is a pure Samba 1456 1456 business 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="id26341 84"></a><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</h3></div></div></div><p>1458 <a class="indexterm" name="id2634 195"></a>1457 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634198"></a><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</h3></div></div></div><p> 1458 <a class="indexterm" name="id2634208"></a> 1459 1459 The <em class="parameter"><code>cupsaddsmb</code></em> utility (shipped with all current CUPS versions) is an alternative 1460 1460 method to transfer printer drivers into the Samba <em class="parameter"><code>[print$]</code></em> share. Remember, this … … 1473 1473 CUPS drivers. You will also need to get the respective part of the Adobe driver 1474 1474 if 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="id26342 82"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634296"></a>Prepare Your <code class="filename">smb.conf</code> for <code class="literal">cupsaddsmb</code></h3></div></div></div><p> 1476 1476 Prior to running <code class="literal">cupsaddsmb</code>, you need the settings in 1477 1477 <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="id26343 52"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634363"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2634375"></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="id2634396"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2634408"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2634419"></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="id2634435"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634446"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2634458"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634470"></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="id2634490"></a><em class="parameter"><code>comment = Printer Drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2634502"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2634514"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634526"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2634537"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634549"></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="id2634563"></a>CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</h3></div></div></div><p>1479 <a class="indexterm" name="id26345 73"></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="id2634365"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634377"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2634388"></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="id2634409"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2634421"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2634433"></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="id2634448"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634460"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2634472"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634483"></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="id2634504"></a><em class="parameter"><code>comment = Printer Drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2634516"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2634527"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634539"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2634551"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634562"></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="id2634576"></a>CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</h3></div></div></div><p> 1479 <a class="indexterm" name="id2634587"></a> 1480 1480 CUPS 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 1481 1481 from the CUPS-based software files, tagged as CUPS 1.1.x Windows NT/200x/XP Printer Driver for Samba (tar.gz, … … 1490 1490 cups-samba.ss 1491 1491 </pre><p> 1492 <a class="indexterm" name="id26346 20"></a>1493 <a class="indexterm" name="id26346 29"></a>1492 <a class="indexterm" name="id2634633"></a> 1493 <a class="indexterm" name="id2634642"></a> 1494 1494 These have been packaged with the ESP meta-packager software EPM. The <code class="filename">*.install</code> and 1495 1495 <code class="filename">*.remove</code> files are simple shell scripts, which untar the <code class="filename">*.ss</code> (the … … 1523 1523 the correct place. 1524 1524 </p></div><p> 1525 <a class="indexterm" name="id26347 81"></a>1525 <a class="indexterm" name="id2634794"></a> 1526 1526 This new CUPS PostScript driver is currently binary only, but free of charge. No complete source code is 1527 1527 provided (yet). The reason is that it has been developed with the help of the Microsoft DDK and compiled with … … 1529 1529 free software. However, CUPS developers released the “<span class="quote">diff</span>” in source code under the GPL, so 1530 1530 anybody 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="id26348 02"></a>Recognizing Different Driver Files</h3></div></div></div><p>1531 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634815"></a>Recognizing Different Driver Files</h3></div></div></div><p> 1532 1532 The CUPS drivers do not support the older Windows 95/98/Me, but only the Windows NT/2000/XP client. 1533 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> … … 1536 1536 different platforms. 1537 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="id2634 899"></a>1538 <a class="indexterm" name="id2634913"></a> 1539 1539 If both the Adobe driver files and the CUPS driver files for the support of Windows NT/200x/XP are presently 1540 1540 installed on the server, the Adobe files will be ignored and the CUPS files will be used. If you prefer 1541 1541 for whatever reason to use Adobe-only drivers, move away the three CUPS driver files. 1542 1542 The 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="id26349 20"></a>Acquiring the Adobe Driver Files</h3></div></div></div><p>1543 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634934"></a>Acquiring the Adobe Driver Files</h3></div></div></div><p> 1544 1544 Acquiring the Adobe driver files seems to be unexpectedly difficult for many users. They are not available on 1545 1545 the Adobe Web site as single files, and the self-extracting and/or self-installing Windows-.exe is not easy to … … 1547 1547 client once. This will install the drivers (and one generic PostScript printer) locally on the client. When 1548 1548 they 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="id26349 46"></a>ESP Print Pro PostScript Driver for Windows NT/200x/XP</h3></div></div></div><p>1550 <a class="indexterm" name="id26349 54"></a>1549 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634959"></a>ESP Print Pro PostScript Driver for Windows NT/200x/XP</h3></div></div></div><p> 1550 <a class="indexterm" name="id2634968"></a> 1551 1551 Users of the ESP Print Pro software are able to install the ESP print drivers package as an alternative to the 1552 1552 Adobe PostScript drivers. To do so, retrieve the driver files from the normal download area of the ESP Print … … 1558 1558 the <em class="parameter"><code>[print$]</code></em> share, and so on. The ESP Print Pro package includes the CUPS driver 1559 1559 files 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="id2635008"></a>Caveats to Be Considered</h3></div></div></div><p> 1561 <a class="indexterm" name="id2635016"></a> 1562 <a class="indexterm" name="id2635023"></a> 1560 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635022"></a>Caveats to Be Considered</h3></div></div></div><p> 1563 1561 <a class="indexterm" name="id2635030"></a> 1564 <a class="indexterm" name="id2635037"></a> 1562 <a class="indexterm" name="id2635036"></a> 1563 <a class="indexterm" name="id2635043"></a> 1564 <a class="indexterm" name="id2635050"></a> 1565 1565 Once you have run the install script (and possibly manually moved the <code class="filename">cups.hlp</code> file to 1566 1566 <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 … … 1569 1569 1.1.16). 1570 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="id2635 095"></a>1572 <a class="indexterm" name="id26351 02"></a>1571 <a class="indexterm" name="id2635109"></a> 1572 <a class="indexterm" name="id2635116"></a> 1573 1573 You may need to put root into the smbpasswd file by running <code class="literal">smbpasswd</code>; this is especially 1574 1574 important if you should run this whole procedure for the first time and are not working in an environment … … 1585 1585 1.1.16) will automatically prefer its own drivers if it finds both. 1586 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="id26351 78"></a>1588 <a class="indexterm" name="id26351 85"></a>1587 <a class="indexterm" name="id2635192"></a> 1588 <a class="indexterm" name="id2635198"></a> 1589 1589 Should your Windows clients have had the old <code class="filename">ADOBE*.*</code> files for the Adobe PostScript 1590 1590 driver installed, the download and installation of the new CUPS PostScript driver for Windows NT/200x/XP will … … 1600 1600 privileges to do this. 1601 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="id26352 60"></a>1603 <a class="indexterm" name="id26352 69"></a>1602 <a class="indexterm" name="id2635274"></a> 1603 <a class="indexterm" name="id2635283"></a> 1604 1604 Once you have successfully downloaded the CUPS PostScript driver to a client, you can easily switch all 1605 1605 printers to this one by proceeding as described in <a class="link" href="classicalprinting.html" title="Chapter 21. Classical Printing Support">Classical Printing … … 1607 1607 Properties</span> dialog, or use <code class="literal">rpcclient</code> with the <code class="literal">setdriver</code> 1608 1608 subcommand. 1609 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26353 08"></a>Windows CUPS PostScript Driver Versus Adobe Driver</h3></div></div></div><p>1609 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635322"></a>Windows CUPS PostScript Driver Versus Adobe Driver</h3></div></div></div><p> 1610 1610 Are you interested in a comparison between the CUPS and the Adobe PostScript drivers? For our purposes, these 1611 1611 are the most important items that weigh in favor of CUPS: 1612 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, “<span class="quote">Where do I 1613 1613 get the ADOBE*.* driver files?</span>”</p></li><li><p> 1614 <a class="indexterm" name="id26353 39"></a>1614 <a class="indexterm" name="id2635352"></a> 1615 1615 The Adobe drivers (on request of the printer PPD associated with them) often put a PJL header in front of the 1616 1616 main PostScript part of the print file. Thus, the print file starts with <em class="parameter"><code><1B … … 1618 1618 <em class="parameter"><code>%!PS</code></em>. This leads to the CUPS daemon autotyping the incoming file as a print-ready file, 1619 1619 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="id26353 77"></a>1620 regarded as the generic MIME-type <a class="indexterm" name="id2635390"></a> 1621 1621 <em class="parameter"><code>application/postscript</code></em>, but as the more special MIME type 1622 <a class="indexterm" name="id2635 391"></a>1622 <a class="indexterm" name="id2635404"></a> 1623 1623 <em class="parameter"><code>application/cups.vnd-postscript</code></em>), which therefore also leads to the page accounting in 1624 1624 <em class="parameter"><code>/var/log/cups/page_log</code></em> not receiving the exact number of pages; instead the dummy page 1625 1625 number of “<span class="quote">1</span>” is logged in a standard setup). 1626 1626 </p></li><li><p>The Adobe driver has more options to misconfigure the 1627 <a class="indexterm" name="id26354 22"></a>1627 <a class="indexterm" name="id2635435"></a> 1628 1628 PostScript generated by it (like setting it inadvertently to 1629 1629 <span class="guilabel">Optimize for Speed</span> instead of 1630 1630 <span class="guilabel">Optimize for Portability</span>, which 1631 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="id26354 48"></a>1632 <a class="indexterm" name="id2635462"></a> 1633 1633 clients to the CUPS server is guaranteed to autotype 1634 1634 as the generic MIME type <em class="parameter"><code>application/postscript</code></em>, … … 1636 1636 correct number of pages in the <code class="filename">page_log</code> for 1637 1637 accounting and quota purposes.</p></li><li><p> 1638 <a class="indexterm" name="id26354 81"></a>1638 <a class="indexterm" name="id2635495"></a> 1639 1639 The CUPS PostScript driver supports the sending of additional standard (IPP) print options by Windows 1640 1640 NT/200x/XP clients. Such additional print options are naming the CUPS standard <span class="emphasis"><em>banner … … 1649 1649 and simply ignore it).</p></li><li><p>The CUPS PostScript driver will be the heart of the 1650 1650 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="id26355 26"></a>Run cupsaddsmb (Quiet Mode)</h3></div></div></div><p>1652 <a class="indexterm" name="id26355 34"></a>1653 <a class="indexterm" name="id26355 41"></a>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="id2635539"></a>Run cupsaddsmb (Quiet Mode)</h3></div></div></div><p> 1652 <a class="indexterm" name="id2635547"></a> 1653 <a class="indexterm" name="id2635554"></a> 1654 1654 The <code class="literal">cupsaddsmb</code> command copies the needed files into your <em class="parameter"><code>[print$]</code></em> 1655 1655 share. Additionally, the PPD associated with this printer is copied from <code class="filename">/etc/cups/ppd/</code> … … 1659 1659 </p><p> 1660 1660 Here is an example of a successfully run <code class="literal">cupsaddsmb</code> command: 1661 <a class="indexterm" name="id2635 599"></a>1662 <a class="indexterm" name="id26356 06"></a>1661 <a class="indexterm" name="id2635612"></a> 1662 <a class="indexterm" name="id2635619"></a> 1663 1663 </p><pre class="screen"> 1664 1664 <code class="prompt">root# </code><strong class="userinput"><code>cupsaddsmb -U root infotec_IS2027</code></strong> 1665 1665 Password for root required to access localhost via Samba: <strong class="userinput"><code>['secret']</code></strong> 1666 1666 </pre><p> 1667 <a class="indexterm" name="id26356 38"></a>1667 <a class="indexterm" name="id2635651"></a> 1668 1668 To share <span class="emphasis"><em>all</em></span> printers and drivers, use the 1669 1669 <code class="option">-a</code> parameter instead of a printer name. Since 1670 1670 <code class="literal">cupsaddsmb</code> “<span class="quote">exports</span>” the printer drivers to Samba, it should be 1671 1671 obvious 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="id26356 66"></a>Run cupsaddsmb with Verbose Output</h3></div></div></div><p>1673 <a class="indexterm" name="id26356 74"></a>1672 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635680"></a>Run cupsaddsmb with Verbose Output</h3></div></div></div><p> 1673 <a class="indexterm" name="id2635688"></a> 1674 1674 Probably you want to see what's going on. Use the 1675 1675 <code class="option">-v</code> parameter to get a more verbose output. The … … 1677 1677 a line indicate that I inserted an artificial line break plus some 1678 1678 indentation here: 1679 <a class="indexterm" name="id2635 692"></a>1680 <a class="indexterm" name="id26357 01"></a>1679 <a class="indexterm" name="id2635705"></a> 1680 <a class="indexterm" name="id2635715"></a> 1681 1681 </p><pre class="screen"> 1682 1682 <code class="prompt">root# </code><strong class="userinput"><code>cupsaddsmb -U root -v infotec_2105</code></strong> … … 1747 1747 This will occur when the directories WIN40 and W32X86 already existed in the <em class="parameter"><code>[print$]</code></em> 1748 1748 driver 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="id26358 58"></a>Understanding cupsaddsmb</h3></div></div></div><p>1750 <a class="indexterm" name="id26358 66"></a>1749 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635871"></a>Understanding cupsaddsmb</h3></div></div></div><p> 1750 <a class="indexterm" name="id2635879"></a> 1751 1751 What has happened? What did <code class="literal">cupsaddsmb</code> do? There are five stages of the procedure: 1752 1752 </p><div class="orderedlist"><ol type="1"><li><p> 1753 <a class="indexterm" name="id2635 891"></a>1753 <a class="indexterm" name="id2635904"></a> 1754 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 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="id26359 27"></a>1756 <a class="indexterm" name="id2635941"></a> 1757 1757 Connect via rpcclient to the Samba server and execute the <code class="literal">adddriver</code> command with the correct parameters. 1758 1758 </p></li><li><p> 1759 <a class="indexterm" name="id26359 49"></a>1759 <a class="indexterm" name="id2635962"></a> 1760 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> 1761 1761 You can run the <code class="literal">cupsaddsmb</code> utility with parameters to specify one remote host as Samba host … … 1766 1766 <code class="prompt">root# </code><strong class="userinput"><code>cupsaddsmb -H sambaserver -h cupsserver -v printer</code></strong> 1767 1767 </pre><p> 1768 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26360 02"></a>How to Recognize If cupsaddsmb Completed Successfully</h3></div></div></div><p>1768 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636015"></a>How to Recognize If cupsaddsmb Completed Successfully</h3></div></div></div><p> 1769 1769 You <span class="emphasis"><em>must</em></span> always check if the utility completed 1770 1770 successfully in all fields. You need at minimum these three messages … … 1795 1795 Therefore, we strongly recommend against use of the default quiet mode. It will hide any problems from you that 1796 1796 might occur. 1797 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26361 24"></a>cupsaddsmb with a Samba PDC</h3></div></div></div><p>1798 <a class="indexterm" name="id26361 32"></a>1799 <a class="indexterm" name="id26361 39"></a>1797 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636137"></a>cupsaddsmb with a Samba PDC</h3></div></div></div><p> 1798 <a class="indexterm" name="id2636145"></a> 1799 <a class="indexterm" name="id2636152"></a> 1800 1800 Can't get the standard <code class="literal">cupsaddsmb</code> command to run on a Samba PDC? Are you asked for the 1801 1801 password credential again and again, and the command just will not take off at all? Try one of these … … 1807 1807 </pre><p> 1808 1808 (Note the two backslashes: the first one is required to “<span class="quote">escape</span>” the second one). 1809 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26362 05"></a>cupsaddsmb Flowchart</h3></div></div></div><p>1810 <a class="indexterm" name="id26362 13"></a>1811 <a class="indexterm" name="id26362 20"></a>1809 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636218"></a>cupsaddsmb Flowchart</h3></div></div></div><p> 1810 <a class="indexterm" name="id2636226"></a> 1811 <a class="indexterm" name="id2636233"></a> 1812 1812 <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 1813 1813 data flows of the <code class="literal">cupaddsmb</code> command. Note again: cupsaddsmb is 1814 1814 not 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="id26362 86"></a>Installing the PostScript Driver on a Client</h3></div></div></div><p>1816 <a class="indexterm" name="id2636 294"></a>1817 <a class="indexterm" name="id26363 01"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636299"></a>Installing the PostScript Driver on a Client</h3></div></div></div><p> 1816 <a class="indexterm" name="id2636308"></a> 1817 <a class="indexterm" name="id2636315"></a> 1818 1818 After <code class="literal">cupsaddsmb</code> is completed, your driver is prepared for the clients to use. Here are the 1819 1819 steps you must perform to download and install it via Point'n'Print. From a Windows client, browse to the 1820 1820 CUPS/Samba server: 1821 1821 </p><div class="itemizedlist"><ul type="disc"><li><p> 1822 <a class="indexterm" name="id26363 24"></a>1822 <a class="indexterm" name="id2636337"></a> 1823 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 1824 1824 <span class="guimenuitem">Install...</span> or … … 1831 1831 <code class="filename">\\SambaServer\PrinterName</code> entry in the drop-down list of available printers. 1832 1832 </p><p> 1833 <a class="indexterm" name="id2636393"></a>1834 <a class="indexterm" name="id2636400"></a>1835 1833 <a class="indexterm" name="id2636407"></a> 1834 <a class="indexterm" name="id2636413"></a> 1835 <a class="indexterm" name="id2636420"></a> 1836 1836 <code class="literal">cupsaddsmb</code> will only reliably work with CUPS version 1.1.15 or higher and with Samba 1837 1837 version 2.2.4, or later. If it does not work, or if the automatic printer driver download to the clients does … … 1862 1862 instead of 3 (the latest ESP Ghostscript package handles Level 3 PostScript very well; Adobe). 1863 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="id26365 21"></a>Installing PostScript Driver Files Manually Using rpcclient</h2></div></div></div><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="id2636534"></a>Installing PostScript Driver Files Manually Using rpcclient</h2></div></div></div><p> 1865 1865 Of course, you can run all the commands that are embedded into the 1866 1866 cupsaddsmb convenience utility yourself, one by one, and upload … … 1868 1868 </p><div class="orderedlist"><ol type="1"><li><p>Prepare Samba (a CUPS print queue with the name of the 1869 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="id26365 60"></a>1870 <a class="indexterm" name="id2636573"></a> 1871 1871 Run <code class="literal">rpcclient adddriver</code> 1872 1872 (for each client architecture you want to support).</p></li><li><p> 1873 <a class="indexterm" name="id26365 81"></a>1873 <a class="indexterm" name="id2636594"></a> 1874 1874 Run <code class="literal">rpcclient setdriver.</code></p></li></ol></div><p> 1875 <a class="indexterm" name="id2636 599"></a>1876 <a class="indexterm" name="id26366 08"></a>1877 <a class="indexterm" name="id26366 18"></a>1878 <a class="indexterm" name="id26366 27"></a>1879 <a class="indexterm" name="id26366 36"></a>1875 <a class="indexterm" name="id2636613"></a> 1876 <a class="indexterm" name="id2636622"></a> 1877 <a class="indexterm" name="id2636631"></a> 1878 <a class="indexterm" name="id2636640"></a> 1879 <a class="indexterm" name="id2636650"></a> 1880 1880 We are going to do this now. First, read the man page on <em class="parameter"><code>rpcclient</code></em> to get a first idea. 1881 1881 Look at all the printing-related subcommands: <code class="literal">enumprinters</code>, <code class="literal">enumdrivers</code>, … … 1884 1884 You can use it to query (and command) a Windows NT (or 200x/XP) PC, too. MS-RPC is used by Windows clients, 1885 1885 among 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="id2636 695"></a>A Check of the rpcclient man Page</h3></div></div></div><p>1886 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636708"></a>A Check of the rpcclient man Page</h3></div></div></div><p> 1887 1887 First let's check the <em class="parameter"><code>rpcclient</code></em> man page. Here are two relevant passages: 1888 1888 </p><p> 1889 <a class="indexterm" name="id2636713"></a>1890 <a class="indexterm" name="id2636720"></a>1891 1889 <a class="indexterm" name="id2636727"></a> 1890 <a class="indexterm" name="id2636733"></a> 1891 <a class="indexterm" name="id2636740"></a> 1892 1892 <code class="literal">adddriver <arch> <config></code> Execute an <code class="literal">AddPrinterDriver()</code> RPC 1893 1893 to install the printer driver information on the server. The driver files should already exist in the … … 1912 1912 RPC will fail. 1913 1913 </p><p> 1914 <a class="indexterm" name="id26368 05"></a>1915 <a class="indexterm" name="id26368 12"></a>1914 <a class="indexterm" name="id2636818"></a> 1915 <a class="indexterm" name="id2636825"></a> 1916 1916 <code class="literal">setdriver <printername> <drivername></code> Execute a <code class="literal">SetPrinter()</code> 1917 1917 command to update the printer driver associated with an installed printer. The printer driver must already be 1918 1918 correctly installed on the print server. 1919 1919 </p><p> 1920 <a class="indexterm" name="id26368 37"></a>1921 <a class="indexterm" name="id26368 44"></a>1920 <a class="indexterm" name="id2636851"></a> 1921 <a class="indexterm" name="id2636858"></a> 1922 1922 See also the <code class="literal">enumprinters</code> and <code class="literal">enumdrivers</code> commands to 1923 1923 obtain 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="id26368 66"></a>Understanding the rpcclient man Page</h3></div></div></div><p>1925 <a class="indexterm" name="id26368 75"></a>1924 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636880"></a>Understanding the rpcclient man Page</h3></div></div></div><p> 1925 <a class="indexterm" name="id2636888"></a> 1926 1926 The <span class="emphasis"><em>exact</em></span> format isn't made too clear by the man page, since you have to deal with some 1927 1927 parameters containing spaces. Here is a better description for it. We have line-broken the command and … … 1947 1947 access it from a UNIX workstation. We will query it with <code class="literal">rpcclient</code> to see what it tells us 1948 1948 and 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="id26369 71"></a>Producing an Example by Querying a Windows Box</h3></div></div></div><p>1950 <a class="indexterm" name="id26369 80"></a>1951 <a class="indexterm" name="id263 6989"></a>1949 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636985"></a>Producing an Example by Querying a Windows Box</h3></div></div></div><p> 1950 <a class="indexterm" name="id2636993"></a> 1951 <a class="indexterm" name="id2637002"></a> 1952 1952 We could run <code class="literal">rpcclient</code> with a <code class="literal">getdriver</code> or a 1953 1953 <code class="literal">getprinter</code> subcommand (in level 3 verbosity) against it. Just sit down at a UNIX or Linux … … 1957 1957 </pre><p> 1958 1958 From the result it should become clear which is which. Here is an example from my installation: 1959 <a class="indexterm" name="id26370 40"></a>1959 <a class="indexterm" name="id2637053"></a> 1960 1960 </p><pre class="screen"> 1961 1961 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient -U'Danka%xxxx' W200xSERVER \ … … 1988 1988 drivers, we do not need any (nor would we for the Adobe PostScript driver); therefore, the field will get a 1989 1989 “<span class="quote">NULL</span>” entry. 1990 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26371 04"></a>Requirements for adddriver and setdriver to Succeed</h3></div></div></div><p>1991 <a class="indexterm" name="id26371 12"></a>1992 <a class="indexterm" name="id26371 21"></a>1993 <a class="indexterm" name="id26371 28"></a>1990 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2637117"></a>Requirements for adddriver and setdriver to Succeed</h3></div></div></div><p> 1991 <a class="indexterm" name="id2637126"></a> 1992 <a class="indexterm" name="id2637135"></a> 1993 <a class="indexterm" name="id2637142"></a> 1994 1994 From the man page (and from the quoted output of <code class="literal">cupsaddsmb</code> above) it becomes clear that 1995 1995 you need to have certain conditions in order to make the manual uploading and initializing of the driver files … … 2008 2008 subdirectories.</p></li><li><p>The printer you are going to set up for the Windows 2009 2009 clients needs to be installed in CUPS already.</p></li><li><p> 2010 <a class="indexterm" name="id26372 81"></a>2011 <a class="indexterm" name="id2637 290"></a>2010 <a class="indexterm" name="id2637295"></a> 2011 <a class="indexterm" name="id2637304"></a> 2012 2012 The CUPS printer must be known to Samba; otherwise the <code class="literal">setdriver</code> subcommand fails with an 2013 2013 NT_STATUS_UNSUCCESSFUL error. To check if the printer is known by Samba, you may use the … … 2015 2015 proper update of the printer list until every smbd process had received a SIGHUP or was restarted. Remember 2016 2016 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="id26373 28"></a>Manual Driver Installation in 15 Steps</h3></div></div></div><p>2017 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2637342"></a>Manual Driver Installation in 15 Steps</h3></div></div></div><p> 2018 2018 We are going to install a printer driver now by manually executing all 2019 2019 required commands. Because this may seem a rather complicated process at 2020 2020 first, we go through the procedure step by step, explaining every 2021 2021 single action item as it comes up. 2022 </p><div class="procedure"><a name="id26373 42"></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"><a name="id2637355"></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"> 2023 2023 <code class="prompt">root# </code><strong class="userinput"><code>lpadmin -p mysmbtstprn -v socket://10.160.51.131:9100 -E \ 2024 2024 -P canonIR85.ppd</code></strong> … … 2029 2029 for this step. 2030 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="id2637 398"></a>2031 <a class="indexterm" name="id2637412"></a> 2032 2032 </p><pre class="screen"> 2033 2033 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'enumprinters' localhost \ … … 2049 2049 list</span>” as defined in <code class="filename">smb.conf</code> for <em class="parameter"><code>[print$]</code></em>. 2050 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="id2637 496"></a>2052 <a class="indexterm" name="id26375 05"></a>2051 <a class="indexterm" name="id2637510"></a> 2052 <a class="indexterm" name="id2637519"></a> 2053 2053 </p><pre class="screen"> 2054 2054 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'getprinter mysmbtstprn 2'\ … … 2106 2106 <em class="parameter"><code>[print$]</code></em>. 2107 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="id2637 694"></a>2108 <a class="indexterm" name="id2637708"></a> 2109 2109 </p><pre class="screen"> 2110 2110 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'adddriver "Windows NT x86" \ … … 2137 2137 subdirectory. Compare this with the situation after step 5. 2138 2138 </p></li><li><p class="title"><b>(Optional.) Verify if Samba now recognizes the driver.</b></p><p> 2139 <a class="indexterm" name="id26378 01"></a>2139 <a class="indexterm" name="id2637815"></a> 2140 2140 </p><pre class="screen"> 2141 2141 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'enumdrivers 3' \ … … 2153 2153 driver in step 6. This command must succeed before you can proceed. 2154 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="id26378 56"></a>2155 <a class="indexterm" name="id2637870"></a> 2156 2156 </p><pre class="screen"> 2157 2157 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'setdriver mysmbtstprn mydrivername' \ … … 2164 2164 <code class="literal">enumprinters</code> must find the printer. 2165 2165 </p></li><li><p class="title"><b>(Optional) Verify if Samba has recognized this association.</b></p><p> 2166 <a class="indexterm" name="id26379 16"></a>2167 <a class="indexterm" name="id26379 25"></a>2168 <a class="indexterm" name="id26379 34"></a>2166 <a class="indexterm" name="id2637929"></a> 2167 <a class="indexterm" name="id2637938"></a> 2168 <a class="indexterm" name="id2637948"></a> 2169 2169 </p><pre class="screen"> 2170 2170 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'getprinter mysmbtstprn 2' localhost \ … … 2206 2206 2207 2207 </pre><p> 2208 <a class="indexterm" name="id26380 12"></a>2208 <a class="indexterm" name="id2638025"></a> 2209 2209 Compare these results with the ones from steps 2 and 3. Every one of these commands show the driver is installed. Even 2210 2210 the <code class="literal">enumprinters</code> command now lists the driver … … 2212 2212 </p></li><li><p class="title"><b>(Optional.) Tickle the driver into a correct 2213 2213 device mode.</b></p><p> 2214 <a class="indexterm" name="id26380 47"></a>2214 <a class="indexterm" name="id2638060"></a> 2215 2215 You certainly know how to install the driver on the client. In case 2216 2216 you are not particularly familiar with Windows, here is a short … … 2235 2235 <span class="guilabel">landscape</span></em></span>), click on <span class="guibutton">Apply</span>, and change the setting back. 2236 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="id26381 65"></a>2237 <a class="indexterm" name="id2638179"></a> 2238 2238 </p><pre class="screen"> 2239 2239 <code class="prompt">C:\> </code><strong class="userinput"><code>rundll32 printui.dll,PrintUIEntry /in /n "\\sambaserver\mysmbtstprn"</code></strong> 2240 2240 </pre><p> 2241 2241 If 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="id26382 07"></a><pre class="screen">2242 </p></li><li><p class="title"><b>(Optional) Print a test page.</b></p><a class="indexterm" name="id2638220"></a><pre class="screen"> 2243 2243 <code class="prompt">C:\> </code><strong class="userinput"><code>rundll32 printui.dll,PrintUIEntry /p /n "\\sambaserver\mysmbtstprn"</code></strong> 2244 2244 </pre><p> … … 2250 2250 </p></li><li><p class="title"><b>(Obligatory.) Enjoy. Jump. Celebrate your success.</b></p><pre class="screen"> 2251 2251 <code class="prompt">root# </code><strong class="userinput"><code>echo "Cheeeeerioooooo! Success..." >> /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="id2638 287"></a>Troubleshooting Revisited</h3></div></div></div><p>2253 <a class="indexterm" name="id2638 295"></a>2252 </pre></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638300"></a>Troubleshooting Revisited</h3></div></div></div><p> 2253 <a class="indexterm" name="id2638308"></a> 2254 2254 The setdriver command will fail if in Samba's mind the queue is not 2255 2255 already there. A successful installation displys the promising message that the: … … 2262 2262 result was NT_STATUS_UNSUCCESSFUL 2263 2263 </code></p><p> 2264 <a class="indexterm" name="id26383 27"></a>2265 <a class="indexterm" name="id26383 34"></a>2264 <a class="indexterm" name="id2638340"></a> 2265 <a class="indexterm" name="id2638347"></a> 2266 2266 It is not good enough that you can see the queue in CUPS, using the <code class="literal">lpstat -p ir85wm</code> 2267 2267 command. A bug in most recent versions of Samba prevents the proper update of the queue list. The recognition … … 2269 2269 if this is the reason why Samba does not execute the <code class="literal">setdriver</code> command successfully, check 2270 2270 if Samba “<span class="quote">sees</span>” the printer: 2271 <a class="indexterm" name="id26383 63"></a>2271 <a class="indexterm" name="id2638376"></a> 2272 2272 </p><pre class="screen"> 2273 2273 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient transmeta -N -U'root%xxxx' -c 'enumprinters 0'|grep ir85wm</code></strong> … … 2275 2275 </pre><p> 2276 2276 An alternate command could be this: 2277 <a class="indexterm" name="id2638 393"></a>2277 <a class="indexterm" name="id2638406"></a> 2278 2278 </p><pre class="screen"> 2279 2279 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient transmeta -N -U'root%secret' -c 'getprinter ir85wm' </code></strong> … … 2285 2285 </pre><p> 2286 2286 By 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="id26384 30"></a>The Printing <code class="filename">*.tdb</code> Files</h2></div></div></div><p>2288 <a class="indexterm" name="id26384 44"></a>2289 <a class="indexterm" name="id26384 50"></a>2290 <a class="indexterm" name="id26384 60"></a>2291 <a class="indexterm" name="id26384 69"></a>2292 <a class="indexterm" name="id26384 78"></a>2293 <a class="indexterm" name="id2638 487"></a>2294 <a class="indexterm" name="id2638 496"></a>2295 <a class="indexterm" name="id26385 05"></a>2296 <a class="indexterm" name="id26385 14"></a>2297 <a class="indexterm" name="id26385 23"></a>2298 <a class="indexterm" name="id26385 32"></a>2299 <a class="indexterm" name="id26385 41"></a>2300 <a class="indexterm" name="id26385 50"></a>2287 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638444"></a>The Printing <code class="filename">*.tdb</code> Files</h2></div></div></div><p> 2288 <a class="indexterm" name="id2638457"></a> 2289 <a class="indexterm" name="id2638464"></a> 2290 <a class="indexterm" name="id2638473"></a> 2291 <a class="indexterm" name="id2638482"></a> 2292 <a class="indexterm" name="id2638491"></a> 2293 <a class="indexterm" name="id2638500"></a> 2294 <a class="indexterm" name="id2638509"></a> 2295 <a class="indexterm" name="id2638518"></a> 2296 <a class="indexterm" name="id2638527"></a> 2297 <a class="indexterm" name="id2638536"></a> 2298 <a class="indexterm" name="id2638545"></a> 2299 <a class="indexterm" name="id2638554"></a> 2300 <a class="indexterm" name="id2638563"></a> 2301 2301 Some mystery is associated with the series of files with a tdb suffix appearing in every Samba installation. 2302 2302 They are <code class="filename">connections.tdb</code>, <code class="filename">printing.tdb</code>, … … 2305 2305 <code class="filename">messages.tdb</code> , <code class="filename">ntprinters.tdb</code>, <code class="filename">sessionid.tdb</code>, 2306 2306 and <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="id26386 33"></a>Trivial Database Files</h3></div></div></div><p>2308 <a class="indexterm" name="id26386 41"></a>2307 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638646"></a>Trivial Database Files</h3></div></div></div><p> 2308 <a class="indexterm" name="id2638654"></a> 2309 2309 A Windows NT (print) server keeps track of all information needed to serve its duty toward its clients by 2310 2310 storing entries in the Windows registry. Client queries are answered by reading from the registry, … … 2315 2315 <code class="filename">ntprinters.tdb</code>, <code class="filename">printing.tdb</code>,<code class="filename">ntforms.tdb</code>, and 2316 2316 <code class="filename">ntdrivers.tdb</code>. 2317 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26387 00"></a>Binary Format</h3></div></div></div><p>2317 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638713"></a>Binary Format</h3></div></div></div><p> 2318 2318 <code class="filename">*.tdb</code> files are not human readable. They are written in a binary format. “<span class="quote">Why not 2319 2319 ASCII?</span>”, you may ask. “<span class="quote">After all, ASCII configuration files are a good and proven tradition on … … 2324 2324 <code class="filename">*.tdb</code> files allows for this provision. Many smbd processes may write to the same 2325 2325 <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="id26387 66"></a>Losing <code class="filename">*.tdb</code> Files</h3></div></div></div><p>2326 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638780"></a>Losing <code class="filename">*.tdb</code> Files</h3></div></div></div><p> 2327 2327 It is very important that all <code class="filename">*.tdb</code> files remain consistent over all write and read 2328 2328 accesses. However, it may happen that these files <span class="emphasis"><em>do</em></span> get corrupted. (A <code class="literal">kill -9 … … 2331 2331 only option. After that, you need to re-create all print-related setups unless you have made a backup of the 2332 2332 <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="id26388 17"></a>Using <code class="literal">tdbbackup</code></h3></div></div></div><p>2334 <a class="indexterm" name="id26388 29"></a>2335 <a class="indexterm" name="id26388 40"></a>2333 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638830"></a>Using <code class="literal">tdbbackup</code></h3></div></div></div><p> 2334 <a class="indexterm" name="id2638843"></a> 2335 <a class="indexterm" name="id2638854"></a> 2336 2336 Samba ships with a little utility that helps the root user of your system to backup your 2337 2337 <code class="filename">*.tdb</code> files. If you run it with no argument, it prints a usage message: … … 2360 2360 -rw------- 1 root root 40960 May 2 03:44 printing.tdb.bak 2361 2361 2362 </pre></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26389 37"></a>CUPS Print Drivers from Linuxprinting.org</h2></div></div></div><p>2363 <a class="indexterm" name="id26389 45"></a>2362 </pre></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638950"></a>CUPS Print Drivers from Linuxprinting.org</h2></div></div></div><p> 2363 <a class="indexterm" name="id2638958"></a> 2364 2364 CUPS ships with good support for HP LaserJet-type printers. You can install the generic driver as follows: 2365 <a class="indexterm" name="id26389 54"></a>2365 <a class="indexterm" name="id2638967"></a> 2366 2366 </p><pre class="screen"> 2367 2367 <code class="prompt">root# </code><strong class="userinput"><code>lpadmin -p laserjet4plus -v parallel:/dev/lp0 -E -m laserjet.ppd</code></strong> … … 2379 2379 <code class="literal">foomatic-rip</code> utility. 2380 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="id2639043"></a>2382 <a class="indexterm" name="id2639050"></a>2383 2381 <a class="indexterm" name="id2639056"></a> 2382 <a class="indexterm" name="id2639063"></a> 2383 <a class="indexterm" name="id2639070"></a> 2384 2384 The former <code class="literal">cupsomatic</code> concept is now being replaced by the new successor, a much more 2385 2385 powerful <code class="literal">foomatic-rip</code>. <code class="literal">cupsomatic</code> is no longer maintained. Here is the … … 2390 2390 are also intended to be used by Samba and the cupsaddsmb utility, to provide the driver files for the Windows 2391 2391 clients! 2392 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26391 12"></a>foomatic-rip and Foomatic Explained</h3></div></div></div><p>2393 <a class="indexterm" name="id26391 20"></a>2394 <a class="indexterm" name="id26391 26"></a>2392 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2639125"></a>foomatic-rip and Foomatic Explained</h3></div></div></div><p> 2393 <a class="indexterm" name="id2639133"></a> 2394 <a class="indexterm" name="id2639140"></a> 2395 2395 Nowadays, 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 2396 2396 (which, by the way, works on all UNIXes and on Mac OS X and Darwin, too). The utilities from this sire have a … … 2403 2403 available 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 2404 2404 various 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="id26391 81"></a>690 “<span class="quote">Perfect</span>” Printers</h4></div></div></div><p>2406 <a class="indexterm" name="id2639 192"></a>2405 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2639195"></a>690 “<span class="quote">Perfect</span>” Printers</h4></div></div></div><p> 2406 <a class="indexterm" name="id2639206"></a> 2407 2407 At present, there are 690 devices dubbed as working perfectly: 181 are <span class="emphasis"><em>mostly</em></span> perfect, 96 2408 2408 are <span class="emphasis"><em>partially</em></span> perfect, and 46 are paperweights. Keeping in mind that most of these are … … 2412 2412 achievement! Three years ago the number was not more than 500, and Linux or UNIX printing at the time wasn't 2413 2413 anywhere near the quality it is today. 2414 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26392 22"></a>How the Printing HOWTO Started It All</h4></div></div></div><p>2414 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2639236"></a>How the Printing HOWTO Started It All</h4></div></div></div><p> 2415 2415 A few years ago <a class="ulink" href="http://www2.picante.com/" target="_top">Grant Taylor</a> started it all. The 2416 2416 roots 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 … … 2421 2421 This database became the core component of today's Foomatic collection of tools and data. In the meantime, it 2422 2422 has 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="id26392 60"></a>Foomatic's Strange Name</h4></div></div></div><p>2424 <a class="indexterm" name="id26392 68"></a>2423 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2639274"></a>Foomatic's Strange Name</h4></div></div></div><p> 2424 <a class="indexterm" name="id2639282"></a> 2425 2425 “<span class="quote">Why the funny name?</span>” you ask. When it really took off, around spring 2000, CUPS was far less 2426 2426 popular than today, and most systems used LPD, LPRng, or even PDQ to print. CUPS shipped with a few generic … … 2440 2440 printing was the only one available).</p></li><li><p>It gave all the advanced CUPS options (Web interface, 2441 2441 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="id26393 41"></a>cupsomatic, pdqomatic, lpdomatic, directomatic</h4></div></div></div><p>2443 <a class="indexterm" name="id26393 49"></a>2444 <a class="indexterm" name="id26393 56"></a>2445 <a class="indexterm" name="id26393 63"></a>2442 Ghostscript filters.</p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2639354"></a>cupsomatic, pdqomatic, lpdomatic, directomatic</h4></div></div></div><p> 2443 <a class="indexterm" name="id2639362"></a> 2444 <a class="indexterm" name="id2639369"></a> 2445 <a class="indexterm" name="id2639376"></a> 2446 2446 CUPS worked through a quickly hacked-up filter script named <a class="ulink" href="http://www.linuxprinting.org/download.cgi?filename=cupsomatic&show=0" target="_top">cupsomatic</a>. cupsomatic 2447 2447 ran the printfile through Ghostscript, constructing automatically the rather complicated command line needed. … … 2464 2464 structures attached to Linuxprinting.org PPDs for CUPS. It had a different “<span class="quote">*omatic</span>” script for 2465 2465 every 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="id2639 496"></a>The <span class="emphasis"><em>Grand Unification</em></span> Achieved</h4></div></div></div><p>2467 <a class="indexterm" name="id26395 08"></a>2466 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2639510"></a>The <span class="emphasis"><em>Grand Unification</em></span> Achieved</h4></div></div></div><p> 2467 <a class="indexterm" name="id2639521"></a> 2468 2468 This has all changed in Foomatic versions 2.9 (beta) and released as “<span class="quote">stable</span>” 3.0. It has now 2469 2469 achieved 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&show=0" target="_top">foomatic-rip</a>. … … 2474 2474 there is improved media type and source support paper sizes and trays are easier to configure. 2475 2475 </p><p> 2476 <a class="indexterm" name="id2639543"></a>2477 <a class="indexterm" name="id2639550"></a>2478 2476 <a class="indexterm" name="id2639557"></a> 2477 <a class="indexterm" name="id2639563"></a> 2478 <a class="indexterm" name="id2639570"></a> 2479 2479 Also, the new generation of Linuxprinting.org PPDs no longer contains Perl data structures. If you are a 2480 2480 distro maintainer and have used the previous version of Foomatic, you may want to give the new one a spin, but … … 2483 2483 the steps</a> outlined in the Foomatic tutorial or in this chapter. This new development is truly amazing. 2484 2484 </p><p> 2485 <a class="indexterm" name="id2639590"></a>2486 <a class="indexterm" name="id2639597"></a>2487 2485 <a class="indexterm" name="id2639603"></a> 2486 <a class="indexterm" name="id2639610"></a> 2487 <a class="indexterm" name="id2639617"></a> 2488 2488 foomatic-rip is a very clever wrapper around the need to run Ghostscript with a different syntax, options, 2489 2489 device selections, and/or filters for each different printer or spooler. At the same time, it can read the PPD … … 2493 2493 printing on media drawn from different paper trays within the same job (in both cases, even where there is no 2494 2494 support 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="id26396 24"></a>Driver Development Outside</h4></div></div></div><p>2496 <a class="indexterm" name="id26396 32"></a>2495 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2639638"></a>Driver Development Outside</h4></div></div></div><p> 2496 <a class="indexterm" name="id2639646"></a> 2497 2497 Most driver development itself does not happen within Linuxprinting.org. Drivers are written by independent 2498 2498 maintainers. Linuxprinting.org just pools all the information and stores it in its database. In addition, it … … 2502 2502 Speaking of the different driver development groups, most of the work is currently done in three projects: 2503 2503 </p><div class="itemizedlist"><ul type="disc"><li><p> 2504 <a class="indexterm" name="id26396 57"></a>2504 <a class="indexterm" name="id2639670"></a> 2505 2505 <a class="ulink" href="http://www-124.ibm.com/developerworks/oss/linux/projects/omni/" target="_top">Omni</a> 2506 2506 a free software project by IBM that tries to convert its printer … … 2508 2508 universal driver architecture for Linux/UNIX (still beta). This 2509 2509 currently supports 437 models.</p></li><li><p> 2510 <a class="indexterm" name="id26396 82"></a>2510 <a class="indexterm" name="id2639695"></a> 2511 2511 <a class="ulink" href="http://hpinkjet.sf.net/" target="_top">HPIJS</a> 2512 2512 a free software project by HP to provide the support for its own … … 2514 2514 provides true photo quality). This currently supports 369 2515 2515 models.</p></li><li><p> 2516 <a class="indexterm" name="id26397 05"></a>2516 <a class="indexterm" name="id2639718"></a> 2517 2517 <a class="ulink" href="http://gimp-print.sourceforge.net/" target="_top">Gutenprint</a> a free software 2518 2518 effort, started by Michael Sweet (also lead developer for CUPS), now … … 2520 2520 photo print quality (many Epson users swear that its quality is 2521 2521 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="id26397 29"></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" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2639743"></a>Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</h4></div></div></div><p> 2523 2523 Linuxprinting.org today is the one-stop shop to download printer drivers. Look for printer information and 2524 2524 <a class="ulink" href="http://www.linuxprinting.org//kpfeifle/LinuxKongress2002/Tutorial/" target="_top">tutorials</a> or solve … … 2529 2529 forum</a> has turned out to be one of the most frequented forums after only a few weeks. 2530 2530 </p><p> 2531 <a class="indexterm" name="id2639774"></a>2532 <a class="indexterm" name="id2639781"></a>2533 2531 <a class="indexterm" name="id2639787"></a> 2532 <a class="indexterm" name="id2639794"></a> 2533 <a class="indexterm" name="id2639801"></a> 2534 2534 Linuxprinting.org and the Foomatic driver wrappers around Ghostscript are now a standard tool-chain for 2535 2535 printing on all the important distros. Most of them also have CUPS underneath. While in recent years most … … 2540 2540 Till Kamppeter from Mandrakesoft is doing an excellent job in his spare time to maintain Linuxprinting.org and 2541 2541 Foomatic. 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="id2639812"></a>Foomatic Database-Generated PPDs</h4></div></div></div><p> 2543 <a class="indexterm" name="id2639820"></a> 2544 <a class="indexterm" name="id2639827"></a> 2542 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2639826"></a>Foomatic Database-Generated PPDs</h4></div></div></div><p> 2545 2543 <a class="indexterm" name="id2639834"></a> 2546 2544 <a class="indexterm" name="id2639841"></a> 2547 2545 <a class="indexterm" name="id2639848"></a> 2548 <a class="indexterm" name="id2639855"></a> 2549 <a class="indexterm" name="id2639862"></a> 2550 <a class="indexterm" name="id2639869"></a> 2551 <a class="indexterm" name="id2639876"></a> 2546 <a class="indexterm" name="id2639854"></a> 2547 <a class="indexterm" name="id2639861"></a> 2548 <a class="indexterm" name="id2639868"></a> 2549 <a class="indexterm" name="id2639875"></a> 2550 <a class="indexterm" name="id2639882"></a> 2551 <a class="indexterm" name="id2639889"></a> 2552 2552 The Foomatic database is an amazing piece of ingenuity in itself. Not only does it keep the printer and driver 2553 2553 information, but it is organized in a way that it can generate PPD files on the fly from its internal … … 2564 2564 developers. 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 2565 2565 this 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="id26399 39"></a>foomatic-rip and Foomatic PPD Download and Installation</h3></div></div></div><p>2566 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2639953"></a>foomatic-rip and Foomatic PPD Download and Installation</h3></div></div></div><p> 2567 2567 Here are the steps to install a foomatic-rip-driven LaserJet 4 Plus-compatible 2568 2568 printer in CUPS (note that recent distributions of SuSE, UnitedLinux and … … 2657 2657 the driver/model) contain support for a certain device representing 2658 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="id26404 11"></a>Page Accounting with CUPS</h2></div></div></div><p>2660 <a class="indexterm" name="id26404 19"></a>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="id2640425"></a>Page Accounting with CUPS</h2></div></div></div><p> 2660 <a class="indexterm" name="id2640433"></a> 2661 2661 Often there are questions regarding print quotas where Samba users (that is, Windows clients) should not be 2662 2662 able to print beyond a certain number of pages or data volume per day, week, or month. This feature is … … 2666 2666 Of course one could hack things with one's own scripts. But then there is CUPS. CUPS supports quotas that can 2667 2667 be 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="id26404 47"></a>Setting Up Quotas</h3></div></div></div><p>2669 <a class="indexterm" name="id26404 55"></a>2668 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640461"></a>Setting Up Quotas</h3></div></div></div><p> 2669 <a class="indexterm" name="id2640468"></a> 2670 2670 This is an example command of how root would set a print quota in CUPS, assuming an existing printer named 2671 2671 “<span class="quote">quotaprinter</span>”: 2672 <a class="indexterm" name="id26404 70"></a>2672 <a class="indexterm" name="id2640483"></a> 2673 2673 </p><pre class="screen"> 2674 2674 <code class="prompt">root# </code><strong class="userinput"><code>lpadmin -p quotaprinter -o job-quota-period=604800 \ … … 2677 2677 This would limit every single user to print no more than 100 pages or 1024 KB of 2678 2678 data (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="id26405 01"></a>Correct and Incorrect Accounting</h3></div></div></div><p>2679 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640515"></a>Correct and Incorrect Accounting</h3></div></div></div><p> 2680 2680 For CUPS to count correctly, the printfile needs to pass the CUPS pstops filter; otherwise it uses a dummy 2681 2681 count of “<span class="quote">one</span>”. Some print files do not pass it (e.g., image files), but then those are mostly … … 2688 2688 to a print-ready format for the target printer. This is currently working for about a thousand different 2689 2689 printer 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="id2640542"></a>Adobe and CUPS PostScript Drivers for Windows Clients</h3></div></div></div><p> 2691 <a class="indexterm" name="id2640550"></a> 2692 <a class="indexterm" name="id2640557"></a> 2690 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640555"></a>Adobe and CUPS PostScript Drivers for Windows Clients</h3></div></div></div><p> 2693 2691 <a class="indexterm" name="id2640564"></a> 2694 <a class="indexterm" name="id2640570"></a> 2695 <a class="indexterm" name="id2640577"></a> 2692 <a class="indexterm" name="id2640571"></a> 2693 <a class="indexterm" name="id2640578"></a> 2694 <a class="indexterm" name="id2640584"></a> 2695 <a class="indexterm" name="id2640591"></a> 2696 2696 Before CUPS 1.1.16, your only option was to use the Adobe PostScript driver on the Windows clients. The output 2697 2697 of this driver was not always passed through the <code class="literal">pstops</code> filter on the CUPS/Samba side, and … … 2704 2704 <code class="filename">cups-samba-1.1.16.tar.gz</code> package). It does <span class="emphasis"><em>not</em></span> work for Windows 2705 2705 9x/Me clients, but it guarantees: 2706 </p><div class="itemizedlist"><ul type="disc"><li><p> <a class="indexterm" name="id26406 38"></a> To not write a PJL-header.</p></li><li><p>To still read and support all PJL-options named in the2706 </p><div class="itemizedlist"><ul type="disc"><li><p> <a class="indexterm" name="id2640651"></a> To not write a PJL-header.</p></li><li><p>To still read and support all PJL-options named in the 2707 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 2708 on the CUPS/Samba server.</p></li><li><p>To page-count correctly the print file.</p></li></ul></div><p> 2709 2709 You can read more about the setup of this combination in the man page for <code class="literal">cupsaddsmb</code> (which 2710 2710 is 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="id26406 82"></a>The page_log File Syntax</h3></div></div></div><p>2712 <a class="indexterm" name="id2640 690"></a>2711 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640696"></a>The page_log File Syntax</h3></div></div></div><p> 2712 <a class="indexterm" name="id2640704"></a> 2713 2713 These are the items CUPS logs in the <code class="filename">page_log</code> for every page of a job: 2714 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> … … 2728 2728 from IP address <code class="constant">10.160.51.33</code>, printed from one page 440 copies, and 2729 2729 is 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="id26408 26"></a>Possible Shortcomings</h3></div></div></div><p>2730 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640840"></a>Possible Shortcomings</h3></div></div></div><p> 2731 2731 What flaws or shortcomings are there with this quota system? 2732 2732 </p><div class="itemizedlist"><ul type="disc"><li><p>The ones named above (wrongly logged job in case of … … 2742 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 2743 2743 does not get a meaningful error message from CUPS other than 2744 “<span class="quote">client-error-not-possible</span>”.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640 892"></a>Future Developments</h3></div></div></div><p>2744 “<span class="quote">client-error-not-possible</span>”.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640906"></a>Future Developments</h3></div></div></div><p> 2745 2745 This is the best system currently available, and there are huge 2746 2746 improvements under development for CUPS 1.2: … … 2750 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 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="id26409 32"></a>Other Accounting Tools</h3></div></div></div><p>2752 around this topic.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640946"></a>Other Accounting Tools</h3></div></div></div><p> 2753 2753 Other accounting tools that can be used includes: PrintAnalyzer, pyKota, printbill, LogReport. 2754 2754 For 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="id26409 46"></a>Additional Material</h2></div></div></div><p>2755 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2640960"></a>Additional Material</h2></div></div></div><p> 2756 2756 A printer queue with <span class="emphasis"><em>no</em></span> PPD associated to it is a 2757 2757 “<span class="quote">raw</span>” printer, and all files will go directly there as received by the … … 2832 2832 to load the proper paper type before running the 10,000 page job 2833 2833 requested 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="id2641163"></a>Autodeletion or Preservation of CUPS Spool Files</h2></div></div></div><p> 2835 <a class="indexterm" name="id2641172"></a> 2836 <a class="indexterm" name="id2641179"></a> 2834 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2641177"></a>Autodeletion or Preservation of CUPS Spool Files</h2></div></div></div><p> 2837 2835 <a class="indexterm" name="id2641186"></a> 2836 <a class="indexterm" name="id2641192"></a> 2837 <a class="indexterm" name="id2641199"></a> 2838 2838 Samba print files pass through two spool directories. One is the incoming directory managed by Samba (set in 2839 2839 the <a class="link" href="smb.conf.5.html#PATH">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 2840 2840 CUPS it is normally <code class="filename">/var/spool/cups/</code>, as set by the <code class="filename">cupsd.conf</code> 2841 2841 directive <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="id26412 39"></a>CUPS Configuration Settings Explained</h3></div></div></div><p>2842 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641253"></a>CUPS Configuration Settings Explained</h3></div></div></div><p> 2843 2843 Some important parameter settings in the CUPS configuration file 2844 2844 <code class="filename">cupsd.conf</code> are: … … 2864 2864 (There are also additional settings for <em class="parameter"><code>MaxJobsPerUser</code></em> and 2865 2865 <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="id26413 24"></a>Preconditions</h3></div></div></div><p>2866 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641338"></a>Preconditions</h3></div></div></div><p> 2867 2867 For everything to work as it should, you need to have three things: 2868 2868 </p><div class="itemizedlist"><ul type="disc"><li><p>A Samba smbd that is compiled against <code class="filename">libcups</code> (check … … 2877 2877 <a class="link" href="smb.conf.5.html#LPRESUMECOMMAND">lpresume command</a>) are ignored, and they should normally have no 2878 2878 influence whatsoever on your printing. 2879 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26414 63"></a>Manual Configuration</h3></div></div></div><p>2879 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641477"></a>Manual Configuration</h3></div></div></div><p> 2880 2880 If you want to do things manually, replace the <a class="link" href="smb.conf.5.html#PRINTING">printing = cups</a> 2881 2881 by <a class="link" href="smb.conf.5.html#PRINTING">printing = bsd</a>. Then your manually set commands may work 2882 2882 (I haven't tested this), and a <a class="link" href="smb.conf.5.html#PRINTCOMMAND">print command = lp -d %P %s; rm %s</a> 2883 2883 may 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="id26415 11"></a>Printing from CUPS to Windows-Attached Printers</h2></div></div></div><p>2885 <a class="indexterm" name="id26415 19"></a>2886 <a class="indexterm" name="id26415 25"></a>2884 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2641524"></a>Printing from CUPS to Windows-Attached Printers</h2></div></div></div><p> 2885 <a class="indexterm" name="id2641533"></a> 2886 <a class="indexterm" name="id2641539"></a> 2887 2887 From time to time the question arises, how can you print <span class="emphasis"><em>to</em></span> a Windows-attached printer 2888 2888 <span class="emphasis"><em>from</em></span> Samba? Normally the local connection from Windows host to printer would be done by … … 2919 2919 <code class="prompt">root# </code><strong class="userinput"><code>ln -s `which smbspool` /usr/lib/cups/backend/smb</code></strong> 2920 2920 </pre><p> 2921 <a class="indexterm" name="id26416 55"></a>2922 <a class="indexterm" name="id26416 62"></a>2921 <a class="indexterm" name="id2641669"></a> 2922 <a class="indexterm" name="id2641676"></a> 2923 2923 <code class="literal">smbspool</code> was written by Mike Sweet from the CUPS folks. It is included and ships with 2924 2924 Samba. It may also be used with print subsystems other than CUPS, to spool jobs to Windows printer shares. To … … 2935 2935 -P /path/to/PPD</code></strong> 2936 2936 </pre><p> 2937 <a class="indexterm" name="id2641722"></a>2938 <a class="indexterm" name="id2641729"></a>2939 2937 <a class="indexterm" name="id2641736"></a> 2938 <a class="indexterm" name="id2641743"></a> 2939 <a class="indexterm" name="id2641750"></a> 2940 2940 The PPD must be able to direct CUPS to generate the print data for the target model. For PostScript printers, 2941 2941 just use the PPD that would be used with the Windows NT PostScript driver. But what can you do if the printer … … 2950 2950 feature of CUPS and you do not necessarily need to have smbd running. 2951 2951 2952 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26418 06"></a>More CUPS Filtering Chains</h2></div></div></div><p>2952 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2641820"></a>More CUPS Filtering Chains</h2></div></div></div><p> 2953 2953 The 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 2954 2954 cupsomatic</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="id26419 18"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641924"></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 eight2955 </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="id2641932"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641937"></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 2956 characters (or “<span class="quote">8 plus 3 chars suffix</span>”) max; otherwise, the driver files 2957 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>“<span class="quote">cupsaddsmb</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">security = user</a>? Have … … 2964 2964 If the error is “<span class="quote">Tree connect failed: NT_STATUS_BAD_NETWORK_NAME</span>”, 2965 2965 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="id26420 00"></a>“<span class="quote">cupsaddsmb</span>” or “<span class="quote">rpcclient addriver</span>” Emit Error</h3></div></div></div><p>2966 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642014"></a>“<span class="quote">cupsaddsmb</span>” or “<span class="quote">rpcclient addriver</span>” Emit Error</h3></div></div></div><p> 2967 2967 If <code class="literal">cupsaddsmb</code>, or <code class="literal">rpcclient addriver</code> emit the error message 2968 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="id26420 38"></a>“<span class="quote">cupsaddsmb</span>” Errors</h3></div></div></div><p>2969 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642052"></a>“<span class="quote">cupsaddsmb</span>” Errors</h3></div></div></div><p> 2970 2970 The use of “<span class="quote">cupsaddsmb</span>” gives “<span class="quote">No PPD file for printer...</span>” 2971 2971 message while PPD file is present. What might the problem be? … … 2978 2978 </p><p>Is your <em class="parameter"><code>TempDir</code></em> directive in 2979 2979 <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="id26421 12"></a>Client Can't Connect to Samba Printer</h3></div></div></div><p>Use <code class="literal">smbstatus</code> to check which user2980 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642126"></a>Client Can't Connect to Samba Printer</h3></div></div></div><p>Use <code class="literal">smbstatus</code> to check which user 2981 2981 you are from Samba's point of view. Do you have the privileges to 2982 2982 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="id26421 37"></a>New Account Reconnection from Windows 200x/XP Troubles</h3></div></div></div><p>2983 share?</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642150"></a>New Account Reconnection from Windows 200x/XP Troubles</h3></div></div></div><p> 2984 2984 Once you are connected as the wrong user (for example, as <code class="constant">nobody</code>, which often occurs if 2985 2985 you have <a class="link" href="smb.conf.5.html#MAPTOGUEST">map to guest = bad user</a>), Windows Explorer will not accept an … … 2996 2996 the <span class="guilabel">Network Neighborhood</span>), right-click on the printer in question, and select 2997 2997 <span class="guibutton">Connect....</span>. 2998 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26422 28"></a>Avoid Being Connected to the Samba Server as the Wrong User</h3></div></div></div><p>2999 <a class="indexterm" name="id26422 36"></a>2998 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642242"></a>Avoid Being Connected to the Samba Server as the Wrong User</h3></div></div></div><p> 2999 <a class="indexterm" name="id2642250"></a> 3000 3000 You see per <code class="literal">smbstatus</code> that you are connected as user nobody, but you want to be root or 3001 3001 printer admin. This is probably due to <a class="link" href="smb.conf.5.html#MAPTOGUEST">map to guest = bad user</a>, which 3002 3002 silently connected you under the guest account when you gave (maybe by accident) an incorrect username. Remove 3003 3003 <a class="link" href="smb.conf.5.html#MAPTOGUEST">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="id26422 79"></a>Upgrading to CUPS Drivers from Adobe Drivers</h3></div></div></div><p>3004 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642293"></a>Upgrading to CUPS Drivers from Adobe Drivers</h3></div></div></div><p> 3005 3005 This information came from a mailing list posting regarding problems experienced when 3006 3006 upgrading from Adobe drivers to CUPS drivers on Microsoft Windows NT/200x/XP clients. 3007 3007 </p><p>First delete all old Adobe-using printers. Then delete all old Adobe drivers. (On Windows 200x/XP, right-click in 3008 3008 the 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="id26423 17"></a>Can't Use “<span class="quote">cupsaddsmb</span>” on Samba Server, Which Is a PDC</h3></div></div></div><p>Do you use the “<span class="quote">naked</span>” root user name? Try to do it3009 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="id2642330"></a>Can't Use “<span class="quote">cupsaddsmb</span>” on Samba Server, Which Is a PDC</h3></div></div></div><p>Do you use the “<span class="quote">naked</span>” root user name? Try to do it 3010 3010 this way: <strong class="userinput"><code>cupsaddsmb -U <em class="replaceable"><code>DOMAINNAME</code></em>\\root -v 3011 3011 <em class="replaceable"><code>printername</code></em></code></strong>> (note the two backslashes: the first one is 3012 required to “<span class="quote">escape</span>” the second one).</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26423 52"></a>Deleted Windows 200x Printer Driver Is Still Shown</h3></div></div></div><p>Deleting a printer on the client will not delete the3012 required to “<span class="quote">escape</span>” the second one).</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642366"></a>Deleted Windows 200x Printer Driver Is Still Shown</h3></div></div></div><p>Deleting a printer on the client will not delete the 3013 3013 driver too (to verify, right-click on the white background of the 3014 3014 <span class="guilabel">Printers</span> folder, select <span class="guimenuitem">Server Properties</span> and click on the … … 3016 3016 install a printer with the same name. If you want to update to a new 3017 3017 driver, 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="id2642 387"></a>Windows 200x/XP Local Security Policies</h3></div></div></div><a class="indexterm" name="id2642393"></a><a class="indexterm" name="id2642400"></a><p>Local security policies may not allow the installation of unsigned drivers “<span class="quote">local3019 security policies</span>” 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="id26424 20"></a>Administrator Cannot Install Printers for All Local Users</h3></div></div></div><p>3020 <a class="indexterm" name="id26424 29"></a>3021 <a class="indexterm" name="id26424 36"></a>3018 other printer uses the same driver.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642401"></a>Windows 200x/XP Local Security Policies</h3></div></div></div><a class="indexterm" name="id2642407"></a><a class="indexterm" name="id2642414"></a><p>Local security policies may not allow the installation of unsigned drivers “<span class="quote">local 3019 security policies</span>” 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="id2642434"></a>Administrator Cannot Install Printers for All Local Users</h3></div></div></div><p> 3020 <a class="indexterm" name="id2642443"></a> 3021 <a class="indexterm" name="id2642450"></a> 3022 3022 Windows XP handles SMB printers on a “<span class="quote">per-user</span>” basis. 3023 3023 This means every user needs to install the printer himself or herself. To have a printer available for … … 3025 3025 path of <em class="parameter"><code>http://cupsserver:631/printers/printername</code></em>. We're still looking into this one. 3026 3026 Maybe 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="id26424 61"></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 & 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="id2642 487"></a>Windows XP SP1</h3></div></div></div><p>Windows XP SP1 introduced a Point and Print Restriction Policy (this restriction does not apply to3027 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642475"></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 & 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="id2642500"></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 3029 “<span class="quote">Administrator</span>” or “<span class="quote">Power User</span>” groups of users). In Group Policy Object Editor, go 3030 3030 to <span class="guimenu">User Configuration -> Administrative Templates -> Control Panel -> Printers</span>. The policy … … 3033 3033 <code class="constant">Users can only Point and Print to these servers</code> to make driver downloads from Samba 3034 3034 possible. 3035 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26425 33"></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 three3035 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642547"></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 3036 3036 different ways to bring you to a dialog that <span class="emphasis"><em>seems</em></span> to set everything. All three dialogs 3037 3037 <span class="emphasis"><em>look</em></span> the same, yet only one of them does what you intend. You need to be Administrator or … … 3066 3066 driver (the clients can later set their own <span class="emphasis"><em>per-user defaults</em></span> by following the procedures 3067 3067 <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="id26428 16"></a>Most Common Blunders in Driver Settings on Windows Clients</h3></div></div></div><p>3068 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642830"></a>Most Common Blunders in Driver Settings on Windows Clients</h3></div></div></div><p> 3069 3069 Don't use <em class="parameter"><code>Optimize for Speed</code></em>, but use <em class="parameter"><code>Optimize for Portability</code></em> 3070 3070 instead (Adobe PS Driver). Don't use <em class="parameter"><code>Page Independence: No</code></em>. Always settle with … … 3073 3073 Driver). For <span class="guilabel">TrueType Download Options</span> choose <code class="constant">Outline</code>. Use 3074 3074 PostScript 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="id26428 72"></a><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</h3></div></div></div><p>3075 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642885"></a><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</h3></div></div></div><p> 3076 3076 Symptom: The last command of <code class="literal">cupsaddsmb</code> does not complete successfully. If the <code class="literal">cmd 3077 3077 = setdriver printername printername</code> result was NT_STATUS_UNSUCCESSFUL, then possibly the printer was … … 3079 3079 hostname -c `enumprinters'</code>? Restart smbd (or send a <code class="literal">kill -HUP</code> to all processes 3080 3080 listed 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="id26429 21"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642935"></a>Permissions on <code class="filename">/var/spool/samba/</code> Get Reset After Each Reboot</h3></div></div></div><p> 3082 3082 Have you ever by accident set the CUPS spool directory to the same location (<em class="parameter"><code>RequestRoot 3083 3083 /var/spool/samba/</code></em> in <code class="filename">cupsd.conf</code> or the other way round: … … 3086 3086 /var/spool/samba</a> in the <em class="parameter"><code>[printers]</code></em> section of <code class="filename">smb.conf</code>. Otherwise, 3087 3087 cupsd 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="id26430 20"></a>Print Queue Called “<span class="quote">lp</span>” Mishandles Print Jobs</h3></div></div></div><p>3088 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643033"></a>Print Queue Called “<span class="quote">lp</span>” Mishandles Print Jobs</h3></div></div></div><p> 3089 3089 In this case a print queue called “<span class="quote">lp</span>” intermittently swallows jobs and 3090 3090 spits out completely different ones from what was sent. 3091 3091 </p><p> 3092 <a class="indexterm" name="id26430 40"></a>3093 <a class="indexterm" name="id26430 46"></a>3094 <a class="indexterm" name="id26430 53"></a>3092 <a class="indexterm" name="id2643054"></a> 3093 <a class="indexterm" name="id2643060"></a> 3094 <a class="indexterm" name="id2643067"></a> 3095 3095 It is a bad idea to name any printer “<span class="quote">lp</span>”. This is the traditional UNIX name for the default 3096 3096 printer. CUPS may be set up to do an automatic creation of Implicit Classes. This means, to group all printers … … 3101 3101 <em class="replaceable"><code>printername@cupshost</code></em>, which gives you better control over what may happen in a 3102 3102 large networked environment. 3103 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643 089"></a>Location of Adobe PostScript Driver Files for “<span class="quote">cupsaddsmb</span>”</h3></div></div></div><p>3103 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643102"></a>Location of Adobe PostScript Driver Files for “<span class="quote">cupsaddsmb</span>”</h3></div></div></div><p> 3104 3104 Use <code class="literal">smbclient</code> to connect to any Windows box with a shared PostScript printer: 3105 3105 <code class="literal">smbclient //windowsbox/print\$ -U guest</code>. You can navigate to the … … 3107 3107 <code class="filename">WIN40/0</code> to do the same. Another option is to download the <code class="filename">*.exe</code> 3108 3108 packaged 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="id26431 42"></a>Overview of the CUPS Printing Processes</h2></div></div></div><p>3109 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2643156"></a>Overview of the CUPS Printing Processes</h2></div></div></div><p> 3110 3110 A 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 3111 3111 Printing 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.id26323 84" href="#id2632384" 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.id2632397" href="#id2632397" 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.2.x/docs/htmldocs/Samba3-HOWTO/ChangeNotes.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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#id25716 46">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2571658">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2571717">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572028">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572149">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572209">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572329">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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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#id2571660">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2571671">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2571731">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572042">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572162">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572222">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572343">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></div><p> 2 2 Please read this chapter carefully before update or upgrading Samba. You should expect to find only critical 3 3 or very important information here. Comprehensive change notes and guidance information can be found in the 4 4 section <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="id25716 46"></a>Important Samba-3.2.x Change Notes</h2></div></div></div><p>5 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2571660"></a>Important Samba-3.2.x Change Notes</h2></div></div></div><p> 6 6 !!!!!!!!!!!!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="id25716 58"></a>Important Samba-3.0.x Change Notes</h2></div></div></div><p>7 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2571671"></a>Important Samba-3.0.x Change Notes</h2></div></div></div><p> 8 8 These following notes pertain in particular to Samba 3.0.23 through Samba 3.0.25c (or more recent 3.0.25 9 9 update). Samba is a fluid and ever changing project. Changes throughout the 3.0.x series release are … … 22 22 This chapter is new to the release of the HOWTO for Samba 3.0.23. It includes much of the notes provided 23 23 in 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="id25717 17"></a>User and Group Changes</h3></div></div></div><p>24 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2571731"></a>User and Group Changes</h3></div></div></div><p> 25 25 The change documented here affects unmapped user and group accounts only. 26 26 </p><p> 27 <a class="indexterm" name="id2571730"></a>28 <a class="indexterm" name="id2571737"></a>29 27 <a class="indexterm" name="id2571743"></a> 30 <a class="indexterm" name="id2571753"></a> 31 <a class="indexterm" name="id2571762"></a> 28 <a class="indexterm" name="id2571750"></a> 29 <a class="indexterm" name="id2571757"></a> 30 <a class="indexterm" name="id2571766"></a> 31 <a class="indexterm" name="id2571775"></a> 32 32 The user and group internal management routines have been rewritten to prevent overlaps of 33 33 assigned Relative Identifiers (RIDs). In the past the has been a potential problem when … … 36 36 <code class="literal">net rpc vampire</code>. 37 37 </p><p> 38 <a class="indexterm" name="id2571793"></a>39 <a class="indexterm" name="id2571799"></a>40 38 <a class="indexterm" name="id2571806"></a> 41 <a class="indexterm" name="id2571812"></a> 39 <a class="indexterm" name="id2571813"></a> 40 <a class="indexterm" name="id2571820"></a> 41 <a class="indexterm" name="id2571826"></a> 42 42 Unmapped users are now assigned a SID in the <code class="literal">S-1-22-1</code> domain and unmapped 43 43 groups are assigned a SID in the <code class="literal">S-1-22-2</code> domain. Previously they were … … 46 46 been under the authority of the local SAM (see the man page for <code class="literal">net getlocalsid</code>). 47 47 </p><p> 48 <a class="indexterm" name="id2571849"></a>49 <a class="indexterm" name="id2571856"></a>50 48 <a class="indexterm" name="id2571863"></a> 51 <a class="indexterm" name="id25718 69"></a>49 <a class="indexterm" name="id2571870"></a> 52 50 <a class="indexterm" name="id2571876"></a> 51 <a class="indexterm" name="id2571883"></a> 52 <a class="indexterm" name="id2571890"></a> 53 53 The result is that any unmapped users or groups on an upgraded Samba domain controller may 54 54 be assigned a new SID. Because the SID rather than a name is stored in Windows security … … 60 60 An example helps to illustrate the change: 61 61 </p><p> 62 <a class="indexterm" name="id2571899"></a>63 <a class="indexterm" name="id2571906"></a>64 62 <a class="indexterm" name="id2571912"></a> 65 63 <a class="indexterm" name="id2571919"></a> 64 <a class="indexterm" name="id2571926"></a> 65 <a class="indexterm" name="id2571932"></a> 66 66 Assume that a group named <span class="emphasis"><em>developers</em></span> exists with a UNIX GID of 782. In this 67 67 case this user does not exist in Samba's group mapping table. It would be perfectly normal for … … 69 69 <code class="literal">S-1-5-21-647511796-4126122067-3123570092-2565</code>. 70 70 </p><p> 71 <a class="indexterm" name="id2571943"></a>72 <a class="indexterm" name="id2571949"></a>73 71 <a class="indexterm" name="id2571956"></a> 74 72 <a class="indexterm" name="id2571963"></a> 73 <a class="indexterm" name="id2571970"></a> 74 <a class="indexterm" name="id2571976"></a> 75 75 With the release of Samba-3.0.23, the group SID would be reported as <code class="literal">S-1-22-2-782</code>. Any 76 76 security descriptors associated with files stored on a Windows NTFS disk partition will not allow access based … … 80 80 even though both SIDs in some respect refer to the same UNIX group. 81 81 </p><p> 82 <a class="indexterm" name="id257 1999"></a>83 <a class="indexterm" name="id25720 06"></a>82 <a class="indexterm" name="id2572013"></a> 83 <a class="indexterm" name="id2572020"></a> 84 84 The workaround for versions of Samba prior to 3.0.23, is to create a manual domain group mapping 85 85 entry for the group <span class="emphasis"><em>developers</em></span> to point at the 86 86 <code class="literal">S-1-5-21-647511796-4126122067-3123570092-2565</code> SID. With the release of Samba-3.0.23 this 87 87 workaround is no longer needed. 88 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25720 28"></a>Essential Group Mappings</h3></div></div></div><p>88 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2572042"></a>Essential Group Mappings</h3></div></div></div><p> 89 89 Samba 3.0.x series releases before 3.0.23 automatically created group mappings for the essential Windows 90 90 domain groups <code class="literal">Domain Admins, Domain Users, Domain Guests</code>. Commencing with Samba 3.0.23 … … 103 103 For 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 104 104 and UNIX</a>. 105 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2572149"></a>Passdb Changes</h3></div></div></div><p> 106 <a class="indexterm" name="id2572156"></a> 107 <a class="indexterm" name="id2572163"></a> 105 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2572162"></a>Passdb Changes</h3></div></div></div><p> 108 106 <a class="indexterm" name="id2572170"></a> 109 107 <a class="indexterm" name="id2572177"></a> 108 <a class="indexterm" name="id2572183"></a> 109 <a class="indexterm" name="id2572190"></a> 110 110 The <a class="link" href="smb.conf.5.html#PASSDBBACKEND">passdb backend</a> parameter no long accepts multiple passdb backends in a 111 111 chained configuration. Also be aware that the SQL and XML based passdb modules have been 112 112 removed in the Samba-3.0.23 release. More information regarding external support for a SQL 113 113 passdb 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="id2572209"></a>Group Mapping Changes in Samba-3.0.23</h3></div></div></div><p> 115 <a class="indexterm" name="id2572216"></a> 116 <a class="indexterm" name="id2572223"></a> 114 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2572222"></a>Group Mapping Changes in Samba-3.0.23</h3></div></div></div><p> 117 115 <a class="indexterm" name="id2572230"></a> 118 116 <a class="indexterm" name="id2572237"></a> … … 121 119 <a class="indexterm" name="id2572257"></a> 122 120 <a class="indexterm" name="id2572264"></a> 123 <a class="indexterm" name="id257227 0"></a>124 <a class="indexterm" name="id257227 7"></a>121 <a class="indexterm" name="id2572271"></a> 122 <a class="indexterm" name="id2572278"></a> 125 123 <a class="indexterm" name="id2572284"></a> 124 <a class="indexterm" name="id2572291"></a> 125 <a class="indexterm" name="id2572298"></a> 126 126 The default mapping entries for groups such as <code class="literal">Domain Admins</code> are no longer 127 127 created when using an <code class="literal">smbpasswd</code> file or a <code class="literal">tdbsam</code> passdb … … 130 130 Windows group SID to UNIX GID mappings. This change has no effect on winbindd's IDMAP functionality 131 131 for domain groups. 132 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2572329"></a>LDAP Changes in Samba-3.0.23</h3></div></div></div><p> 133 <a class="indexterm" name="id2572337"></a> 134 <a class="indexterm" name="id2572344"></a> 132 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2572343"></a>LDAP Changes in Samba-3.0.23</h3></div></div></div><p> 135 133 <a class="indexterm" name="id2572351"></a> 136 134 <a class="indexterm" name="id2572358"></a> 137 135 <a class="indexterm" name="id2572364"></a> 136 <a class="indexterm" name="id2572371"></a> 137 <a class="indexterm" name="id2572378"></a> 138 138 There has been a minor update the Samba LDAP schema file. A substring matching rule has been 139 139 added to the <code class="literal">sambaSID</code> attribute definition. For OpenLDAP servers, this -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/ClientConfig.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2568562">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2568622">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2568666">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570437">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2571409">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="id2568562"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2568570"></a> 3 <a class="indexterm" name="id2568577"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2568576">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2568636">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2568680">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570451">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2571422">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="id2568576"></a>Features and Benefits</h2></div></div></div><p> 4 2 <a class="indexterm" name="id2568584"></a> 3 <a class="indexterm" name="id2568591"></a> 4 <a class="indexterm" name="id2568598"></a> 5 5 Occasionally network administrators report difficulty getting Microsoft Windows clients to interoperate 6 6 correctly with Samba servers. It seems that some folks just cannot accept the fact that the right way … … 8 8 servers. Yet there is repetitious need to provide detailed Windows client configuration instructions. 9 9 </p><p> 10 <a class="indexterm" name="id25686 01"></a>11 <a class="indexterm" name="id25686 09"></a>10 <a class="indexterm" name="id2568615"></a> 11 <a class="indexterm" name="id2568622"></a> 12 12 The purpose of this chapter is to graphically illustrate MS Windows client configuration for the most common 13 13 critical aspects of such configuration. An experienced network administrator will not be interested in the 14 14 details of this chapter. 15 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25686 22"></a>Technical Details</h2></div></div></div><p>16 <a class="indexterm" name="id25686 30"></a>17 <a class="indexterm" name="id25686 37"></a>15 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2568636"></a>Technical Details</h2></div></div></div><p> 16 <a class="indexterm" name="id2568644"></a> 17 <a class="indexterm" name="id2568651"></a> 18 18 This chapter discusses TCP/IP protocol configuration as well as network membership for the platforms 19 19 that are in common use today. These are: … … 24 24 </p></li><li><p> 25 25 Windows Millennium edition (Me) 26 </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25686 66"></a>TCP/IP Configuration</h3></div></div></div><p>27 <a class="indexterm" name="id25686 74"></a>28 <a class="indexterm" name="id25686 81"></a>26 </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2568680"></a>TCP/IP Configuration</h3></div></div></div><p> 27 <a class="indexterm" name="id2568688"></a> 28 <a class="indexterm" name="id2568695"></a> 29 29 The builder of a house must ensure that all construction takes place on a firm foundation. 30 30 The same is true for the builder of a TCP/IP-based networking system. Fundamental network configuration problems 31 31 will plague all network users until they are resolved. 32 32 </p><p> 33 <a class="indexterm" name="id2568 696"></a>34 <a class="indexterm" name="id25687 03"></a>33 <a class="indexterm" name="id2568710"></a> 34 <a class="indexterm" name="id2568717"></a> 35 35 MS Windows workstations and servers can be configured either with fixed 36 36 IP addresses or via DHCP. The examples that follow demonstrate the use of DHCP … … 38 38 settings can be effected. 39 39 </p><p> 40 <a class="indexterm" name="id25687 18"></a>41 <a class="indexterm" name="id25687 24"></a>40 <a class="indexterm" name="id2568731"></a> 41 <a class="indexterm" name="id2568738"></a> 42 42 It is possible to use shortcuts or abbreviated keystrokes to arrive at a 43 43 particular configuration screen. The decision was made to base all examples in this 44 44 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="id25687 42"></a>MS Windows XP Professional</h4></div></div></div><p>46 <a class="indexterm" name="id25687 50"></a>45 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2568755"></a>MS Windows XP Professional</h4></div></div></div><p> 46 <a class="indexterm" name="id2568763"></a> 47 47 There are two paths to the Windows XP TCP/IP configuration panel. Choose the access method that you prefer: 48 48 </p><p> … … 52 52 then select <span class="guimenuitem">Properties</span>. 53 53 </p><p> 54 <a class="indexterm" name="id2568 798"></a>54 <a class="indexterm" name="id2568811"></a> 55 55 The following procedure steps through the Windows XP Professional TCP/IP configuration process: 56 56 </p><div class="procedure"><ol type="1"><li><p> 57 <a class="indexterm" name="id2568815"></a>58 <a class="indexterm" name="id2568822"></a>59 57 <a class="indexterm" name="id2568829"></a> 58 <a class="indexterm" name="id2568836"></a> 59 <a class="indexterm" name="id2568843"></a> 60 60 On some installations the interface will be called <span class="guimenu">Local Area Connection</span> and 61 61 on others it will be called <span class="guimenu">Network Bridge</span>. On our system it is called <span class="guimenu">Network Bridge</span>. … … 63 63 </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 64 </p></li><li><p> 65 <a class="indexterm" name="id25689 14"></a>66 <a class="indexterm" name="id25689 22"></a>65 <a class="indexterm" name="id2568928"></a> 66 <a class="indexterm" name="id2568935"></a> 67 67 The Network Bridge Configuration, or Local Area Connection, panel is used to set TCP/IP protocol settings. 68 68 In <span class="guimenuitem">This connection uses the following items:</span> box, 69 69 click on <span class="guimenu">Internet Protocol (TCP/IP)</span>, then click on <span class="guibutton">Properties</span>. 70 70 </p><p> 71 <a class="indexterm" name="id25689 53"></a>72 <a class="indexterm" name="id25689 60"></a>71 <a class="indexterm" name="id2568967"></a> 72 <a class="indexterm" name="id2568974"></a> 73 73 The default setting is DHCP-enabled operation 74 74 (i.e., “<span class="quote">Obtain an IP address automatically</span>”). See <a class="link" href="ClientConfig.html#WXPP003" title="Figure 8.2. Internet Protocol (TCP/IP) Properties.">“Internet Protocol (TCP/IP) Properties.”</a>. 75 75 </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"> 76 76 </p><p> 77 <a class="indexterm" name="id2569024"></a>78 <a class="indexterm" name="id2569030"></a>79 77 <a class="indexterm" name="id2569037"></a> 80 78 <a class="indexterm" name="id2569044"></a> 79 <a class="indexterm" name="id2569051"></a> 80 <a class="indexterm" name="id2569057"></a> 81 81 Many network administrators will want to use DHCP to configure all client TCP/IP 82 82 protocol stack settings. (For information on how to configure the ISC DHCP server … … 84 84 <a class="link" href="DNSDHCP.html#DHCP" title="DHCP Server">DHCP Server</a>. 85 85 </p><p> 86 <a class="indexterm" name="id2569072"></a>87 <a class="indexterm" name="id2569079"></a>88 86 <a class="indexterm" name="id2569086"></a> 87 <a class="indexterm" name="id2569093"></a> 88 <a class="indexterm" name="id2569100"></a> 89 89 If it is necessary to provide a fixed IP address, click on “<span class="quote">Use the following IP address</span>” and enter the 90 90 IP Address, the subnet mask, and the default gateway address in the boxes provided. 91 91 </p></li><li><p> 92 <a class="indexterm" name="id25691 06"></a>93 <a class="indexterm" name="id25691 14"></a>94 <a class="indexterm" name="id25691 21"></a>95 <a class="indexterm" name="id25691 28"></a>92 <a class="indexterm" name="id2569120"></a> 93 <a class="indexterm" name="id2569127"></a> 94 <a class="indexterm" name="id2569134"></a> 95 <a class="indexterm" name="id2569141"></a> 96 96 Click the <span class="guibutton">Advanced</span> button to proceed with TCP/IP configuration. 97 97 This opens a panel in which it is possible to create additional IP addresses for this interface. … … 101 101 </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"> 102 102 </p><p> 103 <a class="indexterm" name="id2569198"></a>104 <a class="indexterm" name="id2569204"></a>105 103 <a class="indexterm" name="id2569211"></a> 104 <a class="indexterm" name="id2569218"></a> 105 <a class="indexterm" name="id2569225"></a> 106 106 Fixed settings may be required for DNS and WINS if these settings are not provided automatically via DHCP. 107 107 </p></li><li><p> 108 <a class="indexterm" name="id25692 26"></a>109 <a class="indexterm" name="id25692 33"></a>108 <a class="indexterm" name="id2569240"></a> 109 <a class="indexterm" name="id2569247"></a> 110 110 Click the <span class="guimenu">DNS</span> tab to add DNS server settings. 111 111 The example system uses manually configured DNS settings. When finished making changes, click the … … 113 113 </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 114 </p></li><li><p> 115 <a class="indexterm" name="id25693 08"></a>116 <a class="indexterm" name="id25693 15"></a>115 <a class="indexterm" name="id2569322"></a> 116 <a class="indexterm" name="id2569329"></a> 117 117 Click the <span class="guibutton">WINS</span> tab to add manual WINS server entries. 118 118 This step demonstrates an example system that uses manually configured WINS settings. … … 120 120 the settings. See <a class="link" href="ClientConfig.html#WXPP009" title="Figure 8.5. WINS Configuration">“WINS Configuration”</a>. 121 121 </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="id25693 84"></a>MS Windows 2000</h4></div></div></div><p>123 <a class="indexterm" name="id2569 392"></a>124 <a class="indexterm" name="id2569 399"></a>122 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2569398"></a>MS Windows 2000</h4></div></div></div><p> 123 <a class="indexterm" name="id2569406"></a> 124 <a class="indexterm" name="id2569413"></a> 125 125 There are two paths to the Windows 2000 Professional TCP/IP configuration panel. Choose the access method that you prefer: 126 126 </p><p> … … 130 130 select <span class="guimenuitem">Properties</span>. 131 131 </p><p> 132 <a class="indexterm" name="id25694 48"></a>132 <a class="indexterm" name="id2569461"></a> 133 133 The following procedure steps through the Windows XP Professional TCP/IP configuration process: 134 134 </p><div class="procedure"><ol type="1"><li><p> … … 137 137 </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 138 </p></li><li><p> 139 <a class="indexterm" name="id25695 29"></a>140 <a class="indexterm" name="id25695 36"></a>139 <a class="indexterm" name="id2569542"></a> 140 <a class="indexterm" name="id2569549"></a> 141 141 The Local Area Connection Properties is used to set TCP/IP protocol settings. Click on 142 142 <span class="guimenu">Internet Protocol (TCP/IP)</span> in the <span class="guimenuitem">Components checked are used by this 143 143 connection:</span> box, then click the <span class="guibutton">Properties</span> button. 144 144 </p></li><li><p> 145 <a class="indexterm" name="id25695 70"></a>146 <a class="indexterm" name="id25695 77"></a>145 <a class="indexterm" name="id2569584"></a> 146 <a class="indexterm" name="id2569591"></a> 147 147 The default setting is DHCP-enabled operation 148 148 (i.e., “<span class="quote">Obtain an IP address automatically</span>”). See <a class="link" href="ClientConfig.html#w2kp002" title="Figure 8.7. Internet Protocol (TCP/IP) Properties.">“Internet Protocol (TCP/IP) Properties.”</a>. 149 149 </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"> 150 150 </p><p> 151 <a class="indexterm" name="id25696 37"></a>152 <a class="indexterm" name="id25696 44"></a>151 <a class="indexterm" name="id2569651"></a> 152 <a class="indexterm" name="id2569657"></a> 153 153 Many network administrators will want to use DHCP to configure all client TCP/IP 154 154 protocol stack settings. (For information on how to configure the ISC DHCP server 155 155 for Windows client support, see, <a class="link" href="DNSDHCP.html#DHCP" title="DHCP Server">“DHCP Server”</a>. 156 156 </p><p> 157 <a class="indexterm" name="id25696 63"></a>158 <a class="indexterm" name="id25696 70"></a>157 <a class="indexterm" name="id2569677"></a> 158 <a class="indexterm" name="id2569684"></a> 159 159 If it is necessary to provide a fixed IP address, click on “<span class="quote">Use the following IP address</span>” and enter the 160 160 IP Address, the subnet mask, and the default gateway address in the boxes provided. … … 165 165 </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"> 166 166 </p><p> 167 <a class="indexterm" name="id2569746"></a>168 <a class="indexterm" name="id2569753"></a>169 167 <a class="indexterm" name="id2569760"></a> 168 <a class="indexterm" name="id2569766"></a> 169 <a class="indexterm" name="id2569773"></a> 170 170 Fixed settings may be required for DNS and WINS if these settings are not provided automatically via DHCP. 171 171 </p></li><li><p> 172 <a class="indexterm" name="id25697 75"></a>173 <a class="indexterm" name="id25697 82"></a>172 <a class="indexterm" name="id2569789"></a> 173 <a class="indexterm" name="id2569796"></a> 174 174 Click the <span class="guimenu">DNS</span> tab to add DNS server settings. 175 175 The example system uses manually configured DNS settings. When finished making changes, … … 177 177 </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 178 </p></li><li><p> 179 <a class="indexterm" name="id25698 53"></a>180 <a class="indexterm" name="id25698 60"></a>179 <a class="indexterm" name="id2569867"></a> 180 <a class="indexterm" name="id2569874"></a> 181 181 Click the <span class="guibutton">WINS</span> tab to add manual WINS server entries. 182 182 This step demonstrates an example system that uses manually configured WINS settings. … … 184 184 See <a class="link" href="ClientConfig.html#w2kp005" title="Figure 8.10. WINS Configuration.">“WINS Configuration.”</a>. 185 185 </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="id25699 31"></a>MS Windows Me</h4></div></div></div><p>187 <a class="indexterm" name="id25699 39"></a>188 <a class="indexterm" name="id25699 47"></a>189 <a class="indexterm" name="id25699 54"></a>186 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2569945"></a>MS Windows Me</h4></div></div></div><p> 187 <a class="indexterm" name="id2569953"></a> 188 <a class="indexterm" name="id2569960"></a> 189 <a class="indexterm" name="id2569967"></a> 190 190 There are two paths to the Windows Millennium edition (Me) TCP/IP configuration panel. Choose the access method that you prefer: 191 191 </p><p> 192 192 Click <span class="guimenu">Start -> Control Panel -> Network Connections</span>. 193 193 </p><p> 194 <a class="indexterm" name="id25699 77"></a>195 <a class="indexterm" name="id25699 84"></a>194 <a class="indexterm" name="id2569990"></a> 195 <a class="indexterm" name="id2569997"></a> 196 196 <span class="emphasis"><em>Alternatively,</em></span> click on <span class="guimenu">Start -></span>, and right click on <span class="guimenu">My Network Places</span> 197 197 then select <span class="guimenuitem">Properties</span>. 198 198 </p><p> 199 <a class="indexterm" name="id25700 16"></a>199 <a class="indexterm" name="id2570030"></a> 200 200 The following procedure steps through the Windows Me TCP/IP configuration process: 201 201 </p><div class="procedure"><ol type="1"><li><p> 202 <a class="indexterm" name="id25700 33"></a>202 <a class="indexterm" name="id2570047"></a> 203 203 In the box labeled <span class="guimenuitem">The following network components are installed:</span>, 204 204 click on <span class="guimenu">Internet Protocol TCP/IP</span>, then click on the <span class="guibutton">Properties</span> button. … … 206 206 </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 207 </p></li><li><p> 208 <a class="indexterm" name="id2570114"></a>209 <a class="indexterm" name="id2570121"></a>210 208 <a class="indexterm" name="id2570128"></a> 209 <a class="indexterm" name="id2570135"></a> 210 <a class="indexterm" name="id2570141"></a> 211 211 Many network administrators will want to use DHCP to configure all client TCP/IP 212 212 protocol stack settings. (For information on how to configure the ISC DHCP server … … 216 216 </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"> 217 217 </p><p> 218 <a class="indexterm" name="id25702 07"></a>219 <a class="indexterm" name="id25702 14"></a>220 <a class="indexterm" name="id25702 21"></a>218 <a class="indexterm" name="id2570220"></a> 219 <a class="indexterm" name="id2570228"></a> 220 <a class="indexterm" name="id2570234"></a> 221 221 If it is necessary to provide a fixed IP address, click on <span class="guimenuitem">Specify an IP address</span> and enter the 222 222 IP Address and the subnet mask in the boxes provided. For this example we are assuming that all 223 223 network clients will be configured using DHCP. 224 224 </p></li><li><p> 225 <a class="indexterm" name="id25702 44"></a>226 <a class="indexterm" name="id25702 51"></a>225 <a class="indexterm" name="id2570258"></a> 226 <a class="indexterm" name="id2570264"></a> 227 227 Fixed settings may be required for DNS and WINS if these settings are not provided automatically via DHCP. 228 228 </p></li><li><p> 229 <a class="indexterm" name="id25702 66"></a>229 <a class="indexterm" name="id2570280"></a> 230 230 If necessary, click the <span class="guimenu">DNS Configuration</span> tab to add DNS server settings. 231 231 Click the <span class="guibutton">WINS Configuration</span> tab to add WINS server settings. … … 234 234 create these manual settings. 235 235 </p></li><li><p> 236 <a class="indexterm" name="id25703 03"></a>237 <a class="indexterm" name="id25703 10"></a>236 <a class="indexterm" name="id2570317"></a> 237 <a class="indexterm" name="id2570323"></a> 238 238 The following example uses manually configured WINS settings. See <a class="link" href="ClientConfig.html#WME005" title="Figure 8.13. DNS Configuration.">“DNS Configuration.”</a>. 239 239 When finished making changes, click <span class="guibutton">OK</span> to commit the settings. 240 240 </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"> 241 241 </p><p> 242 <a class="indexterm" name="id25703 71"></a>243 <a class="indexterm" name="id25703 78"></a>242 <a class="indexterm" name="id2570385"></a> 243 <a class="indexterm" name="id2570392"></a> 244 244 This is an example of a system that uses manually configured WINS settings. One situation where 245 245 this might apply is on a network that has a single DHCP server that provides settings for multiple 246 246 Windows workgroups or domains. See <a class="link" href="ClientConfig.html#WME003" title="Figure 8.14. WINS Configuration.">“WINS Configuration.”</a>. 247 247 </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="id2570437"></a>Joining a Domain: Windows 2000/XP Professional</h3></div></div></div><p> 249 <a class="indexterm" name="id2570445"></a> 250 <a class="indexterm" name="id2570453"></a> 251 <a class="indexterm" name="id2570460"></a> 248 </p></li></ol></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2570451"></a>Joining a Domain: Windows 2000/XP Professional</h3></div></div></div><p> 249 <a class="indexterm" name="id2570459"></a> 252 250 <a class="indexterm" name="id2570466"></a> 251 <a class="indexterm" name="id2570473"></a> 252 <a class="indexterm" name="id2570480"></a> 253 253 Microsoft Windows NT/200x/XP Professional platforms can participate in domain security. 254 254 This section steps through the process for making a Windows 200x/XP Professional machine a … … 260 260 Right-click <span class="guimenu">My Computer</span>, then select <span class="guimenuitem">Properties</span>. 261 261 </p></li><li><p> 262 <a class="indexterm" name="id25705 20"></a>262 <a class="indexterm" name="id2570534"></a> 263 263 The opening panel is the same one that can be reached by clicking <span class="guimenu">System</span> on the Control Panel. 264 264 See <a class="link" href="ClientConfig.html#wxpp001" title="Figure 8.15. The General Panel.">“The General Panel.”</a>. 265 265 </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 266 </p></li><li><p> 267 <a class="indexterm" name="id2570 586"></a>267 <a class="indexterm" name="id2570600"></a> 268 268 Click the <span class="guimenu">Computer Name</span> tab. 269 269 This panel shows the <span class="guimenuitem">Computer Description</span>, the <span class="guimenuitem">Full computer name</span>, 270 270 and the <span class="guimenuitem">Workgroup</span> or <span class="guimenuitem">Domain name</span>. 271 271 </p><p> 272 <a class="indexterm" name="id25706 28"></a>273 <a class="indexterm" name="id25706 34"></a>272 <a class="indexterm" name="id2570641"></a> 273 <a class="indexterm" name="id2570648"></a> 274 274 Clicking the <span class="guimenu">Network ID</span> button will launch the configuration wizard. Do not use this with 275 275 Samba-3. If you wish to change the computer name or join or leave the domain, click the <span class="guimenu">Change</span> button. … … 281 281 </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 282 </p></li><li><p> 283 <a class="indexterm" name="id25707 66"></a>283 <a class="indexterm" name="id2570780"></a> 284 284 Enter the name <span class="guimenu">MIDEARTH</span> in the field below the domain radio button. 285 285 </p><p> … … 287 287 </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 288 </p></li><li><p> 289 <a class="indexterm" name="id25708 39"></a>290 <a class="indexterm" name="id25708 45"></a>289 <a class="indexterm" name="id2570852"></a> 290 <a class="indexterm" name="id2570859"></a> 291 291 Now click the <span class="guimenu">OK</span> button. A dialog box should appear to allow you to provide the 292 292 credentials (username and password) of a domain administrative account that has the rights to add machines to 293 293 the domain. 294 294 </p><p> 295 <a class="indexterm" name="id25708 65"></a>295 <a class="indexterm" name="id2570878"></a> 296 296 Enter the name “<span class="quote">root</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.">“Computer Name Changes Username and Password Panel.”</a>. 297 297 </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"> … … 299 299 Click on <span class="guimenu">OK</span>. 300 300 </p><p> 301 <a class="indexterm" name="id25709 41"></a>302 <a class="indexterm" name="id25709 48"></a>301 <a class="indexterm" name="id2570955"></a> 302 <a class="indexterm" name="id2570962"></a> 303 303 The “<span class="quote">Welcome to the MIDEARTH domain.</span>” dialog box should appear. At this point the machine must be rebooted. 304 304 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="id25709 64"></a>Domain Logon Configuration: Windows 9x/Me</h3></div></div></div><p>306 <a class="indexterm" name="id25709 73"></a>307 <a class="indexterm" name="id25709 80"></a>308 <a class="indexterm" name="id257 0987"></a>305 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2570978"></a>Domain Logon Configuration: Windows 9x/Me</h3></div></div></div><p> 306 <a class="indexterm" name="id2570986"></a> 307 <a class="indexterm" name="id2570993"></a> 308 <a class="indexterm" name="id2571000"></a> 309 309 We follow the convention used by most in saying that Windows 9x/Me machines can participate in domain logons. The truth is 310 310 that these platforms can use only the LanManager network logon protocols. 311 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="id2571001"></a>313 <a class="indexterm" name="id2571008"></a>314 312 <a class="indexterm" name="id2571015"></a> 313 <a class="indexterm" name="id2571022"></a> 314 <a class="indexterm" name="id2571029"></a> 315 315 Windows XP Home edition cannot participate in domain or LanManager network logons. 316 316 </p></div><div class="procedure"><ol type="1"><li><p> … … 321 321 </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"> 322 322 </p><p> 323 <a class="indexterm" name="id2571 094"></a>324 <a class="indexterm" name="id25711 01"></a>323 <a class="indexterm" name="id2571107"></a> 324 <a class="indexterm" name="id2571115"></a> 325 325 Make sure that the <span class="guimenu">Client for Microsoft Networks</span> driver is installed as shown. 326 326 Click on the <span class="guimenu">Client for Microsoft Networks</span> entry in <span class="guimenu">The following network 327 327 components are installed:</span> box. Then click the <span class="guibutton">Properties</span> button. 328 328 </p></li><li><p> 329 <a class="indexterm" name="id25711 41"></a>330 <a class="indexterm" name="id25711 48"></a>329 <a class="indexterm" name="id2571155"></a> 330 <a class="indexterm" name="id2571162"></a> 331 331 The Client for Microsoft Networks Properties panel is the correct location to configure network logon 332 332 settings. See <a class="link" href="ClientConfig.html#WME010" title="Figure 8.21. Client for Microsoft Networks Properties Panel.">“Client for Microsoft Networks Properties Panel.”</a>. 333 333 </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"> 334 334 </p><p> 335 <a class="indexterm" name="id25712 05"></a>336 <a class="indexterm" name="id25712 12"></a>335 <a class="indexterm" name="id2571219"></a> 336 <a class="indexterm" name="id2571226"></a> 337 337 Enter the Windows NT domain name, check the <span class="guimenu">Log on to Windows NT domain</span> box, 338 338 and click <span class="guimenu">OK</span>. 339 339 </p></li><li><p> 340 <a class="indexterm" name="id2571239"></a>341 <a class="indexterm" name="id2571246"></a>342 340 <a class="indexterm" name="id2571252"></a> 341 <a class="indexterm" name="id2571259"></a> 342 <a class="indexterm" name="id2571266"></a> 343 343 Click on the <span class="guimenu">Identification</span> button. This is the location at which the workgroup 344 344 (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.">“Identification Panel.”</a>. 345 345 </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 346 </p></li><li><p> 347 <a class="indexterm" name="id2571318"></a> 348 <a class="indexterm" name="id2571325"></a> 349 <a class="indexterm" name="id2571332"></a> 347 <a class="indexterm" name="id2571331"></a> 350 348 <a class="indexterm" name="id2571338"></a> 349 <a class="indexterm" name="id2571345"></a> 350 <a class="indexterm" name="id2571352"></a> 351 351 Now click the <span class="guimenu">Access Control</span> button. If you want to be able to assign share access 352 352 permissions using domain user and group accounts, it is necessary to enable 353 353 <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.">“Access Control Panel.”</a>. 354 354 </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="id25714 09"></a>Common Errors</h2></div></div></div><p>356 <a class="indexterm" name="id25714 17"></a>357 <a class="indexterm" name="id25714 24"></a>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="id2571422"></a>Common Errors</h2></div></div></div><p> 356 <a class="indexterm" name="id2571430"></a> 357 <a class="indexterm" name="id2571437"></a> 358 358 The most common errors that can afflict Windows networking systems include: 359 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="id25714 71"></a>361 <a class="indexterm" name="id25714 78"></a>360 <a class="indexterm" name="id2571484"></a> 361 <a class="indexterm" name="id2571492"></a> 362 362 The most common reasons for which a Windows NT/200x/XP Professional client cannot join the Samba controlled domain are: 363 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">add machine script</a> settings.</p></li><li><p>“<span class="quote">root</span>” account is not in password backend database.</p></li><li><p>Attempt to use a user account instead of the “<span class="quote">root</span>” 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> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/DNSDHCP.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id26858 38">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2686016">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2686107">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="id2685838"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26858 46"></a>3 <a class="indexterm" name="id26858 55"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2685852">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2686030">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2686121">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="id2685852"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2685860"></a> 3 <a class="indexterm" name="id2685869"></a> 4 4 There are few subjects in the UNIX world that might raise as much contention as 5 5 Domain Name System (DNS) and Dynamic Host Configuration Protocol (DHCP). … … 11 11 notebook computer into a network port and have things “<span class="quote">just work.</span>” 12 12 </p><p> 13 <a class="indexterm" name="id26858 82"></a>13 <a class="indexterm" name="id2685896"></a> 14 14 UNIX administrators have a point. Many of the normative practices in the Microsoft 15 15 Windows world at best border on bad practice from a security perspective. … … 18 18 that are equally perplexing to UNIX administrators. Welcome to the new world! 19 19 </p><p> 20 <a class="indexterm" name="id2685 899"></a>21 <a class="indexterm" name="id26859 08"></a>22 <a class="indexterm" name="id26859 17"></a>20 <a class="indexterm" name="id2685913"></a> 21 <a class="indexterm" name="id2685922"></a> 22 <a class="indexterm" name="id2685931"></a> 23 23 The purpose of this chapter is to demonstrate the configuration of the Internet 24 24 Software Consortium (ISC) DNS and DHCP servers to provide dynamic services that are … … 28 28 examples used match configuration examples used elsewhere in this document. 29 29 </p><p> 30 <a class="indexterm" name="id26859 40"></a>31 <a class="indexterm" name="id26859 47"></a>32 <a class="indexterm" name="id26859 53"></a>30 <a class="indexterm" name="id2685954"></a> 31 <a class="indexterm" name="id2685961"></a> 32 <a class="indexterm" name="id2685967"></a> 33 33 This chapter explicitly does not provide a tutorial, nor does it pretend to be a reference guide on DNS and 34 34 DHCP, as this is well beyond the scope and intent of this document as a whole. Anyone who wants more detailed … … 36 36 in 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. 37 37 The 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 & 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="id26860 16"></a>Example Configuration</h2></div></div></div><p>39 <a class="indexterm" name="id26860 24"></a>40 <a class="indexterm" name="id26860 31"></a>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 & 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="id2686030"></a>Example Configuration</h2></div></div></div><p> 39 <a class="indexterm" name="id2686038"></a> 40 <a class="indexterm" name="id2686045"></a> 41 41 The DNS is to the Internet what water is to life. Nearly all information resources (host names) are resolved 42 42 to 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="id26860 42"></a> The alternative to43 complexities of DNS, but alas, DNS won. <a class="indexterm" name="id2686056"></a> The alternative to 44 44 DNS, the Windows Internet Name Service (WINS) an artifact of NetBIOS networking over the TCP/IP 45 45 protocols has demonstrated scalability problems as well as a flat, nonhierarchical namespace that 46 46 became unmanageable as the size and complexity of information technology networks grew. 47 47 </p><p> 48 <a class="indexterm" name="id26860 63"></a>49 <a class="indexterm" name="id26860 70"></a>48 <a class="indexterm" name="id2686077"></a> 49 <a class="indexterm" name="id2686084"></a> 50 50 WINS is a Microsoft implementation of the RFC1001/1002 NetBIOS Name Service (NBNS). 51 51 It allows NetBIOS clients (like Microsoft Windows machines) to register an arbitrary … … 67 67 The following configurations demonstrate a simple, insecure dynamic DNS server and 68 68 a 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="id26861 07"></a>Dynamic DNS</h3></div></div></div><p>70 <a class="indexterm" name="id26861 15"></a>69 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2686121"></a>Dynamic DNS</h3></div></div></div><p> 70 <a class="indexterm" name="id2686129"></a> 71 71 The example DNS configuration is for a private network in the IP address 72 72 space for network 192.168.1.0/24. The private class network address space 73 73 is set forth in RFC1918. 74 74 </p><p> 75 <a class="indexterm" name="id26861 30"></a>75 <a class="indexterm" name="id2686144"></a> 76 76 It is assumed that this network will be situated behind a secure firewall. 77 77 The files that follow work with ISC BIND version 9. BIND is the Berkeley … … 224 224 </pre><p> 225 225 </p><p> 226 <a class="indexterm" name="id2686 293"></a>227 <a class="indexterm" name="id26863 00"></a>226 <a class="indexterm" name="id2686307"></a> 227 <a class="indexterm" name="id2686314"></a> 228 228 The configuration files shown here were copied from a fully working system. All dynamically registered 229 229 entries have been removed. In addition to these files, BIND version 9 will -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/FastStart.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id25465 82">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546606">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546686">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2546704">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2548624">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2549549">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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2546595">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546619">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546699">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2546718">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2548638">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2549562">Domain Controller</a></span></dt></dl></dd></dl></div><p> 2 2 When we first asked for suggestions for inclusion in the Samba HOWTO documentation, 3 3 someone wrote asking for example configurations and lots of them. That is remarkably … … 23 23 configuration examples, go to <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample.pdf" target="_top">Samba-3 by 24 24 Example</a>. 25 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25465 82"></a>Features and Benefits</h2></div></div></div><p>25 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2546595"></a>Features and Benefits</h2></div></div></div><p> 26 26 Samba needs very little configuration to create a basic working system. 27 27 In this chapter we progress from the simple to the complex, for each providing … … 33 33 requests for example configurations. All identities have been obscured to protect 34 34 the 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="id25466 06"></a>Description of Example Sites</h2></div></div></div><p>35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2546619"></a>Description of Example Sites</h2></div></div></div><p> 36 36 In the first set of configuration examples we consider the case of exceptionally simple system requirements. 37 37 There is a real temptation to make something that should require little effort much too complex. … … 54 54 or replace them entirely. These cover domain member servers as well as Samba domain control (PDC/BDC) and 55 55 finally 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="id25466 86"></a>Worked Examples</h2></div></div></div><p>56 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2546699"></a>Worked Examples</h2></div></div></div><p> 57 57 The configuration examples are designed to cover everything necessary to get Samba 58 58 running. They do not cover basic operating system platform configuration, which is … … 61 61 It is also assumed that Samba has been correctly installed, either by way of installation 62 62 of 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="id25467 04"></a>Standalone Server</h3></div></div></div><p>64 <a class="indexterm" name="id25467 12"></a>63 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2546718"></a>Standalone Server</h3></div></div></div><p> 64 <a class="indexterm" name="id2546726"></a> 65 65 A standalone server implies no more than the fact that it is not a domain controller 66 66 and it does not participate in domain control. It can be a simple, workgroup-like … … 70 70 one might expect would happen in a real business office as that office grows in size and its needs change. 71 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="id25467 45"></a>72 <a class="indexterm" name="id2546759"></a> 73 73 The purpose of this type of server is to make available to any user 74 74 any documents or files that are placed on the shared resource. The … … 83 83 using; do not use this in a production environment because 84 84 all readers of this document will know it. 85 </p></li></ul></div><div class="procedure"><a name="id2546 792"></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="id2546931"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2546943"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2546955"></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="id2546975"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2546987"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2546998"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547010"></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"><a name="id2546806"></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="id2546945"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2546956"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2546968"></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="id2546989"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2547000"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2547012"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547024"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p> 86 86 Add user to system (with creation of the user's home directory): 87 87 </p><pre class="screen"> … … 152 152 The information above (following # Global parameters) provides the complete 153 153 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="id25471 60"></a>Anonymous Read-Write Document Server</h4></div></div></div><p>155 <a class="indexterm" name="id25471 68"></a>154 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2547173"></a>Anonymous Read-Write Document Server</h4></div></div></div><p> 155 <a class="indexterm" name="id2547181"></a> 156 156 We should view this configuration as a progression from the previous example. 157 157 The difference is that shared access is now forced to the user identity of jackb … … 170 170 </p><p> 171 171 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">“Modified Anonymous Read-Write smb.conf”</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="id25472 81"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2547293"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2547305"></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="id2547325"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2547337"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2547349"></a><em class="parameter"><code>force user = jackb</code></em></td></tr><tr><td><a class="indexterm" name="id2547360"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2547372"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2547383"></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="id2547397"></a>Anonymous Print Server</h4></div></div></div><p>173 <a class="indexterm" name="id25474 05"></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="id2547295"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2547307"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2547318"></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="id2547339"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2547351"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2547362"></a><em class="parameter"><code>force user = jackb</code></em></td></tr><tr><td><a class="indexterm" name="id2547374"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2547385"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2547397"></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="id2547411"></a>Anonymous Print Server</h4></div></div></div><p> 173 <a class="indexterm" name="id2547419"></a> 174 174 An anonymous print server serves two purposes: 175 175 </p><div class="itemizedlist"><ul type="disc"><li><p> … … 188 188 not want to have automatic driver download, so we disable it in the following 189 189 configuration. <a class="link" href="FastStart.html#anon-print" title="Example 2.3. Anonymous Print Server smb.conf">“Anonymous Print Server smb.conf”</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="id2547 488"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2547500"></a><em class="parameter"><code>netbios name = LUTHIEN</code></em></td></tr><tr><td><a class="indexterm" name="id2547512"></a><em class="parameter"><code>security = share</code></em></td></tr><tr><td><a class="indexterm" name="id2547524"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2547535"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547547"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2547559"></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="id2547580"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2547592"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2547603"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547615"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547627"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547638"></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 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="id2547502"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2547514"></a><em class="parameter"><code>netbios name = LUTHIEN</code></em></td></tr><tr><td><a class="indexterm" name="id2547526"></a><em class="parameter"><code>security = share</code></em></td></tr><tr><td><a class="indexterm" name="id2547537"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2547549"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547561"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2547573"></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="id2547594"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2547605"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2547617"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547629"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547640"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547652"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p> 191 191 The above configuration is not ideal. It uses no smart features, and it deliberately 192 192 presents a less than elegant solution. But it is basic, and it does print. Samba makes … … 221 221 from being able to take control of it with the potential for devious misuse. 222 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="id25477 54"></a>224 <a class="indexterm" name="id25477 63"></a>223 <a class="indexterm" name="id2547768"></a> 224 <a class="indexterm" name="id2547777"></a> 225 225 On CUPS-enabled systems there is a facility to pass raw data directly to the printer without 226 226 intermediate processing via CUPS print filters. Where use of this mode of operation is desired, … … 228 228 handler in the <code class="filename">/etc/mime.conv</code> and <code class="filename">/etc/mime.types</code> 229 229 files. Refer to <a class="link" href="CUPS-printing.html#cups-raw" title="Explicitly Enable “raw” Printing for application/octet-stream">“Explicitly Enable raw Printing for application/octet-stream”</a>. 230 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2547 796"></a>Secure Read-Write File and Print Server</h4></div></div></div><p>230 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2547810"></a>Secure Read-Write File and Print Server</h4></div></div></div><p> 231 231 We progress now from simple systems to a server that is slightly more complex. 232 232 </p><p> … … 251 251 added to the list of active passdb backends no matter whether it specified directly in Samba configuration 252 252 file or not. 253 </p><div class="procedure"><a name="id25478 73"></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="id2547978"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2547990"></a><em class="parameter"><code>netbios name = OLORIN</code></em></td></tr><tr><td><a class="indexterm" name="id2548002"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2548014"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548026"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2548038"></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="id2548058"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2548070"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2548082"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2548093"></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="id2548114"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2548126"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2548137"></a><em class="parameter"><code>force user = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2548149"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2548160"></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="id2548181"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2548193"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2548204"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2548216"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2548228"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548239"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548251"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548263"></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="id25478 85"></a>253 </p><div class="procedure"><a name="id2547887"></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="id2547992"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2548004"></a><em class="parameter"><code>netbios name = OLORIN</code></em></td></tr><tr><td><a class="indexterm" name="id2548016"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2548028"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548039"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2548052"></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="id2548072"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2548084"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2548095"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2548107"></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="id2548128"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2548139"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2548151"></a><em class="parameter"><code>force user = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2548162"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2548174"></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="id2548194"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2548206"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2548218"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2548230"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2548241"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548253"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548265"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548276"></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="id2547898"></a> 255 255 Add all users to the operating system: 256 256 </p><pre class="screen"> … … 291 291 Start Samba using the operating system administrative interface. 292 292 Alternately, this can be done manually by executing: 293 <a class="indexterm" name="id2548400"></a>294 <a class="indexterm" name="id2548407"></a>295 293 <a class="indexterm" name="id2548414"></a> 296 <a class="indexterm" name="id2548423"></a> 294 <a class="indexterm" name="id2548420"></a> 295 <a class="indexterm" name="id2548427"></a> 296 <a class="indexterm" name="id2548437"></a> 297 297 </p><pre class="screen"> 298 298 <code class="prompt">root# </code><strong class="userinput"><code> nmbd; smbd;</code></strong> … … 359 359 explore slightly more complex examples. For the remainder of this chapter we abbreviate 360 360 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="id25486 24"></a>Domain Member Server</h3></div></div></div><p>362 <a class="indexterm" name="id25486 32"></a>361 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2548638"></a>Domain Member Server</h3></div></div></div><p> 362 <a class="indexterm" name="id2548646"></a> 363 363 In this instance we consider the simplest server configuration we can get away with 364 364 to make an accounting department happy. Let's be warned, the users are accountants and they … … 391 391 access to all areas. Users must have a private home share for personal work-related files 392 392 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="id2548 696"></a>Example Configuration</h4></div></div></div><p>393 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2548709"></a>Example Configuration</h4></div></div></div><p> 394 394 The server <span class="emphasis"><em>valinor</em></span> will be a member server of the company domain. 395 395 Accounting will have only a local server. User accounts will be on the domain controllers, 396 396 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="id25487 81"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2548792"></a><em class="parameter"><code>netbios name = VALINOR</code></em></td></tr><tr><td><a class="indexterm" name="id2548804"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2548816"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2548828"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548840"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2548852"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2548863"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2548875"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548887"></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="id2548925"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2548936"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2548948"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2548959"></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="id2548980"></a><em class="parameter"><code>comment = Accounting Application Only</code></em></td></tr><tr><td><a class="indexterm" name="id2548992"></a><em class="parameter"><code>path = /export/spytfull</code></em></td></tr><tr><td><a class="indexterm" name="id2549003"></a><em class="parameter"><code>valid users = @Accounts</code></em></td></tr><tr><td><a class="indexterm" name="id2549015"></a><em class="parameter"><code>admin users = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2549027"></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="id2549047"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2549059"></a><em class="parameter"><code>path = /export/public</code></em></td></tr><tr><td><a class="indexterm" name="id2549071"></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="id2549091"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2549103"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2549115"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2549126"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2549138"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549150"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549161"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549173"></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 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="id2548794"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2548806"></a><em class="parameter"><code>netbios name = VALINOR</code></em></td></tr><tr><td><a class="indexterm" name="id2548818"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2548829"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2548841"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548853"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2548865"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2548877"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2548889"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548901"></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="id2548938"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2548950"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2548961"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2548973"></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="id2548993"></a><em class="parameter"><code>comment = Accounting Application Only</code></em></td></tr><tr><td><a class="indexterm" name="id2549005"></a><em class="parameter"><code>path = /export/spytfull</code></em></td></tr><tr><td><a class="indexterm" name="id2549017"></a><em class="parameter"><code>valid users = @Accounts</code></em></td></tr><tr><td><a class="indexterm" name="id2549029"></a><em class="parameter"><code>admin users = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2549040"></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="id2549061"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2549072"></a><em class="parameter"><code>path = /export/public</code></em></td></tr><tr><td><a class="indexterm" name="id2549084"></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="id2549105"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2549116"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2549128"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2549140"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2549152"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549163"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549175"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549187"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p> 398 398 Do not add users to the UNIX/Linux server; all of this will run off the 399 399 central domain. … … 403 403 and services)</a>. 404 404 </p></li><li><p> 405 <a class="indexterm" name="id2549 191"></a>405 <a class="indexterm" name="id2549205"></a> 406 406 Join the domain. Note: Do not start Samba until this step has been completed! 407 407 </p><pre class="screen"> … … 415 415 Start Samba following the normal method for your operating system platform. 416 416 If you wish to do this manually, execute as root: 417 <a class="indexterm" name="id2549248"></a>418 <a class="indexterm" name="id2549255"></a>419 417 <a class="indexterm" name="id2549262"></a> 420 418 <a class="indexterm" name="id2549269"></a> 421 <a class="indexterm" name="id2549278"></a> 422 <a class="indexterm" name="id2549288"></a> 419 <a class="indexterm" name="id2549276"></a> 420 <a class="indexterm" name="id2549282"></a> 421 <a class="indexterm" name="id2549292"></a> 422 <a class="indexterm" name="id2549301"></a> 423 423 </p><pre class="screen"> 424 424 <code class="prompt">root# </code><strong class="userinput"><code>nmbd; smbd; winbindd;</code></strong> … … 481 481 <code class="prompt">root# </code><strong class="userinput"><code>chown maryo.Accounts /export/{spytfull,public}</code></strong> 482 482 </pre><p> 483 </p></li></ol></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25495 49"></a>Domain Controller</h3></div></div></div><p>484 <a class="indexterm" name="id25495 56"></a>483 </p></li></ol></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2549562"></a>Domain Controller</h3></div></div></div><p> 484 <a class="indexterm" name="id2549570"></a> 485 485 For the remainder of this chapter the focus is on the configuration of domain control. 486 486 The examples that follow are for two implementation strategies. Remember, our objective is … … 516 516 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 517 517 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="id25496 29"></a>Example: Engineering Office</h4></div></div></div><p>518 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2549643"></a>Example: Engineering Office</h4></div></div></div><p> 519 519 The engineering office network server we present here is designed to demonstrate use 520 520 of the new tdbsam password backend. The tdbsam 521 521 facility is new to Samba-3. It is designed to provide many user and machine account controls 522 522 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="id25497 05"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2549716"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2549728"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2549740"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2549752"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m %u</code></em></td></tr><tr><td><a class="indexterm" name="id2549764"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r %u</code></em></td></tr><tr><td><a class="indexterm" name="id2549776"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd %g</code></em></td></tr><tr><td><a class="indexterm" name="id2549788"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel %g</code></em></td></tr><tr><td><a class="indexterm" name="id2549800"></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="id2549813"></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="id2549826"></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="id2549847"></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="id2549864"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2549876"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2549887"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2549899"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549911"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2549922"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549934"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549946"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2549958"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2549969"></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="id2550007"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2550019"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2550030"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2550042"></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="id2550067"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2550078"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2550090"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2550102"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2550114"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2550125"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2550137"></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="id2550157"></a><em class="parameter"><code>comment = Printer Drivers Share</code></em></td></tr><tr><td><a class="indexterm" name="id2550169"></a><em class="parameter"><code>path = /var/lib/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2550181"></a><em class="parameter"><code>write list = maryo, root</code></em></td></tr><tr><td><a class="indexterm" name="id2550193"></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="id2550217"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2550229"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2550241"></a><em class="parameter"><code>admin users = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2550253"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2550264"></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="id2550294"></a><em class="parameter"><code>comment = Roaming Profile Share</code></em></td></tr><tr><td><a class="indexterm" name="id2550306"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2550317"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2550329"></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 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="id2549719"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2549730"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2549742"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2549754"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2549765"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m %u</code></em></td></tr><tr><td><a class="indexterm" name="id2549778"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r %u</code></em></td></tr><tr><td><a class="indexterm" name="id2549790"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd %g</code></em></td></tr><tr><td><a class="indexterm" name="id2549802"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel %g</code></em></td></tr><tr><td><a class="indexterm" name="id2549814"></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="id2549827"></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="id2549839"></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="id2549861"></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="id2549877"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2549889"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2549901"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2549913"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549924"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2549936"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549948"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549960"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2549971"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2549983"></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="id2550021"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2550032"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2550044"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2550055"></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="id2550080"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2550092"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2550104"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2550116"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2550127"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2550139"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2550150"></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="id2550171"></a><em class="parameter"><code>comment = Printer Drivers Share</code></em></td></tr><tr><td><a class="indexterm" name="id2550183"></a><em class="parameter"><code>path = /var/lib/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2550195"></a><em class="parameter"><code>write list = maryo, root</code></em></td></tr><tr><td><a class="indexterm" name="id2550206"></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="id2550231"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2550243"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2550255"></a><em class="parameter"><code>admin users = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2550266"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2550278"></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="id2550307"></a><em class="parameter"><code>comment = Roaming Profile Share</code></em></td></tr><tr><td><a class="indexterm" name="id2550319"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2550331"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2550343"></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> 524 524 A working PDC configuration using the tdbsam 525 525 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 526 526 (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 527 527 (shares and services)</a>: 528 <a class="indexterm" name="id25496 73"></a>528 <a class="indexterm" name="id2549687"></a> 529 529 </p></li><li><p> 530 530 Create UNIX group accounts as needed using a suitable operating system tool: … … 542 542 environment. 543 543 </p></li><li><p> 544 <a class="indexterm" name="id25504 19"></a>545 <a class="indexterm" name="id25504 28"></a>544 <a class="indexterm" name="id2550433"></a> 545 <a class="indexterm" name="id2550442"></a> 546 546 Assign each of the UNIX groups to NT groups by executing this shell script 547 547 (You could name the script <code class="filename">initGroups.sh</code>): … … 571 571 The above configuration provides a functional PDC 572 572 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="id25505 13"></a>A Big Organization</h4></div></div></div><p>573 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2550527"></a>A Big Organization</h4></div></div></div><p> 574 574 In this section we finally get to review in brief a Samba-3 configuration that 575 575 uses a Lightweight Directory Access (LDAP)-based authentication backend. The … … 577 577 and Backup Domain Control (BDC), as well as to enable a higher degree of 578 578 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="id25505 28"></a>The Primary Domain Controller</h5></div></div></div><p>579 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2550542"></a>The Primary Domain Controller</h5></div></div></div><p> 580 580 This is an example of a minimal configuration to run a Samba-3 PDC 581 581 using an LDAP authentication backend. It is assumed that the operating system … … 588 588 <code class="filename">/usr/share/doc/packages/sambaXXXXXX/examples/LDAP/smbldap-tools</code> directory. 589 589 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="id25507 74"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2550785"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2550797"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://localhost</code></em></td></tr><tr><td><a class="indexterm" name="id2550809"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2550821"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2550833"></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="id2550846"></a><em class="parameter"><code>delete user script = /usr/local/sbin/smbldap-userdel %u</code></em></td></tr><tr><td><a class="indexterm" name="id2550858"></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="id2550870"></a><em class="parameter"><code>delete group script = /usr/local/sbin/smbldap-groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2550883"></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="id2550896"></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="id2550909"></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="id2550921"></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="id2550934"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2550946"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2550958"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2550969"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2550981"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2550993"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2551004"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551016"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551028"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2551040"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551052"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551064"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551076"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551088"></a><em class="parameter"><code>ldap admin dn = cn=Manager</code></em></td></tr><tr><td><a class="indexterm" name="id2551100"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2551111"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551123"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2551135"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2551147"></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 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="id2550787"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2550799"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2550811"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://localhost</code></em></td></tr><tr><td><a class="indexterm" name="id2550823"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2550835"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2550847"></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="id2550859"></a><em class="parameter"><code>delete user script = /usr/local/sbin/smbldap-userdel %u</code></em></td></tr><tr><td><a class="indexterm" name="id2550872"></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="id2550884"></a><em class="parameter"><code>delete group script = /usr/local/sbin/smbldap-groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2550896"></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="id2550909"></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="id2550922"></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="id2550935"></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="id2550948"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2550960"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2550971"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2550983"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2550995"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551006"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2551018"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551030"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551042"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2551054"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551066"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551078"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551090"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551102"></a><em class="parameter"><code>ldap admin dn = cn=Manager</code></em></td></tr><tr><td><a class="indexterm" name="id2551113"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2551125"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551137"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2551149"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2551160"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p> 591 591 Obtain from the Samba sources <code class="filename">~/examples/LDAP/samba.schema</code> 592 592 and copy it to the <code class="filename">/etc/openldap/schema/</code> directory. … … 594 594 Set up the LDAP server. This example is suitable for OpenLDAP 2.1.x. 595 595 The <code class="filename">/etc/openldap/slapd.conf</code> file. 596 <a class="indexterm" name="id25506 03"></a>596 <a class="indexterm" name="id2550616"></a> 597 597 <span style="color: red"><title>Example slapd.conf File</title></span> 598 598 </p><pre class="screen"> … … 630 630 </p></li><li><p> 631 631 Create the following file <code class="filename">initdb.ldif</code>: 632 <a class="indexterm" name="id25506 50"></a>632 <a class="indexterm" name="id2550664"></a> 633 633 </p><pre class="programlisting"> 634 634 # Organization for SambaXP Demo … … 685 685 will automatically be added to both the LDAP backend and the operating 686 686 system as required. 687 </p></li></ol></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id25512 01"></a>Backup Domain Controller</h5></div></div></div><p>687 </p></li></ol></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2551215"></a>Backup Domain Controller</h5></div></div></div><p> 688 688 <a class="link" href="FastStart.html#fast-bdc" title="Example 2.10. Remote LDAP BDC smb.conf">“Remote LDAP BDC smb.conf”</a> shows the example configuration for the BDC. Note that 689 689 the <code class="filename">smb.conf</code> file does not specify the smbldap-tools scripts they are 690 690 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="id25512 81"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2551292"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2551304"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://frodo.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2551317"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2551329"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2551340"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2551352"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2551364"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2551376"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2551388"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551399"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2551411"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551423"></a><em class="parameter"><code>domain master = No</code></em></td></tr><tr><td><a class="indexterm" name="id2551435"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2551446"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551458"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551470"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551482"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551494"></a><em class="parameter"><code>ldap admin dn = cn=Manager</code></em></td></tr><tr><td><a class="indexterm" name="id2551506"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2551518"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551530"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2551542"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2551553"></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 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="id2551294"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2551306"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2551318"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://frodo.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2551330"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2551342"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2551354"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2551366"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2551378"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2551390"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2551401"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551413"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2551425"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551436"></a><em class="parameter"><code>domain master = No</code></em></td></tr><tr><td><a class="indexterm" name="id2551448"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2551460"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551472"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551484"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551496"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551508"></a><em class="parameter"><code>ldap admin dn = cn=Manager</code></em></td></tr><tr><td><a class="indexterm" name="id2551520"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2551532"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551543"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2551555"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2551567"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p> 692 692 Decide if the BDC should have its own LDAP server or not. If the BDC is to be 693 693 the LDAP server, change the following <code class="filename">smb.conf</code> as indicated. The default -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/InterdomainTrusts.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:mimir@samba.org">mimir@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:vorlon@netexpress.net">vorlon@netexpress.net</a>></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#id2612728">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613078">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613114">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613211">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613296">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613505">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#id2613845">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614041">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614191">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614203">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614249">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2612508"></a> 3 <a class="indexterm" name="id2612515"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:mimir@samba.org">mimir@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:vorlon@netexpress.net">vorlon@netexpress.net</a>></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#id2612741">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613091">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613127">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613224">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613309">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613518">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#id2613858">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614054">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614204">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614216">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614262">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></div><p> 4 2 <a class="indexterm" name="id2612521"></a> 5 3 <a class="indexterm" name="id2612528"></a> 6 4 <a class="indexterm" name="id2612535"></a> 7 <a class="indexterm" name="id2612542"></a> 8 <a class="indexterm" name="id2612549"></a> 9 <a class="indexterm" name="id2612556"></a> 10 <a class="indexterm" name="id2612563"></a> 5 <a class="indexterm" name="id2612541"></a> 6 <a class="indexterm" name="id2612548"></a> 7 <a class="indexterm" name="id2612555"></a> 8 <a class="indexterm" name="id2612562"></a> 9 <a class="indexterm" name="id2612569"></a> 10 <a class="indexterm" name="id2612576"></a> 11 11 Samba-3 supports NT4-style domain trust relationships. This is a feature that many sites 12 12 will want to use if they migrate to Samba-3 from an NT4-style domain and do not want to … … 16 16 trusts. 17 17 </p><p> 18 <a class="indexterm" name="id2612580"></a>19 <a class="indexterm" name="id2612587"></a>20 18 <a class="indexterm" name="id2612594"></a> 21 <a class="indexterm" name="id2612601"></a> 22 <a class="indexterm" name="id2612608"></a> 19 <a class="indexterm" name="id2612600"></a> 20 <a class="indexterm" name="id2612607"></a> 21 <a class="indexterm" name="id2612614"></a> 22 <a class="indexterm" name="id2612621"></a> 23 23 The use of interdomain trusts requires use of <code class="literal">winbind</code>, so the 24 24 <code class="literal">winbindd</code> daemon must be running. Winbind operation in this mode is 25 25 dependent on the specification of a valid UID range and a valid GID range in the <code class="filename">smb.conf</code> file. 26 26 These are specified respectively using: 27 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26126 42"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2612653"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table><p>28 <a class="indexterm" name="id26126 65"></a>29 <a class="indexterm" name="id26126 72"></a>30 <a class="indexterm" name="id26126 79"></a>31 <a class="indexterm" name="id26126 86"></a>27 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2612655"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2612667"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table><p> 28 <a class="indexterm" name="id2612678"></a> 29 <a class="indexterm" name="id2612685"></a> 30 <a class="indexterm" name="id2612692"></a> 31 <a class="indexterm" name="id2612699"></a> 32 32 The range of values specified must not overlap values used by the host operating system and must 33 33 not overlap values used in the passdb backend for POSIX user accounts. The maximum value is … … 36 36 (32-bit unsigned variable). 37 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="id26127 04"></a>39 <a class="indexterm" name="id26127 11"></a>40 <a class="indexterm" name="id26127 18"></a>38 <a class="indexterm" name="id2612717"></a> 39 <a class="indexterm" name="id2612724"></a> 40 <a class="indexterm" name="id2612731"></a> 41 41 The use of winbind is necessary only when Samba is the trusting domain, not when it is the 42 42 trusted domain. 43 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26127 28"></a>Features and Benefits</h2></div></div></div><p>44 <a class="indexterm" name="id26127 36"></a>45 <a class="indexterm" name="id26127 42"></a>43 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2612741"></a>Features and Benefits</h2></div></div></div><p> 44 <a class="indexterm" name="id2612749"></a> 45 <a class="indexterm" name="id2612756"></a> 46 46 Samba-3 can participate in Samba-to-Samba as well as in Samba-to-MS Windows NT4-style 47 47 trust relationships. This imparts to Samba scalability similar to that with MS Windows NT4. 48 48 </p><p> 49 <a class="indexterm" name="id2612756"></a> 50 <a class="indexterm" name="id2612762"></a> 51 <a class="indexterm" name="id2612770"></a> 49 <a class="indexterm" name="id2612769"></a> 52 50 <a class="indexterm" name="id2612776"></a> 53 51 <a class="indexterm" name="id2612783"></a> 52 <a class="indexterm" name="id2612790"></a> 53 <a class="indexterm" name="id2612796"></a> 54 54 Given that Samba-3 can function with a scalable backend authentication database such as LDAP, and given its 55 55 ability to run in primary as well as backup domain control modes, the administrator would be well-advised to … … 57 57 function, this system is fragile. That was, after all, a key reason for the development and adoption of 58 58 Microsoft Active Directory. 59 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2612800"></a>Trust Relationship Background</h2></div></div></div><p> 60 <a class="indexterm" name="id2612808"></a> 61 <a class="indexterm" name="id2612815"></a> 62 <a class="indexterm" name="id2612822"></a> 63 <a class="indexterm" name="id2612829"></a> 64 <a class="indexterm" name="id2612836"></a> 59 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2612813"></a>Trust Relationship Background</h2></div></div></div><p> 60 <a class="indexterm" name="id2612821"></a> 61 <a class="indexterm" name="id2612828"></a> 62 <a class="indexterm" name="id2612835"></a> 65 63 <a class="indexterm" name="id2612842"></a> 64 <a class="indexterm" name="id2612849"></a> 65 <a class="indexterm" name="id2612856"></a> 66 66 MS Windows NT3/4-type security domains employ a nonhierarchical security structure. 67 67 The limitations of this architecture as it effects the scalability of MS Windows networking … … 70 70 large and diverse organizations. 71 71 </p><p> 72 <a class="indexterm" name="id2612859"></a> 73 <a class="indexterm" name="id2612866"></a> 74 <a class="indexterm" name="id2612873"></a> 72 <a class="indexterm" name="id2612872"></a> 75 73 <a class="indexterm" name="id2612879"></a> 76 74 <a class="indexterm" name="id2612886"></a> 75 <a class="indexterm" name="id2612893"></a> 76 <a class="indexterm" name="id2612899"></a> 77 77 Microsoft developed Active Directory Service (ADS), based on Kerberos and LDAP, as a means 78 78 of circumventing the limitations of the older technologies. Not every organization is ready … … 81 81 desire to go through a disruptive change to adopt ADS. 82 82 </p><p> 83 <a class="indexterm" name="id2612904"></a>84 <a class="indexterm" name="id2612910"></a>85 83 <a class="indexterm" name="id2612917"></a> 86 84 <a class="indexterm" name="id2612924"></a> 87 85 <a class="indexterm" name="id2612931"></a> 88 <a class="indexterm" name="id2612938"></a> 89 <a class="indexterm" name="id2612945"></a> 86 <a class="indexterm" name="id2612937"></a> 87 <a class="indexterm" name="id2612944"></a> 88 <a class="indexterm" name="id2612951"></a> 89 <a class="indexterm" name="id2612958"></a> 90 90 With Windows NT, Microsoft introduced the ability to allow different security domains 91 91 to effect a mechanism so users from one domain may be given access rights and privileges … … 98 98 necessary to establish two relationships, one in each direction. 99 99 </p><p> 100 <a class="indexterm" name="id2612975"></a> 101 <a class="indexterm" name="id2612982"></a> 102 <a class="indexterm" name="id2612989"></a> 103 <a class="indexterm" name="id2612996"></a> 100 <a class="indexterm" name="id2612988"></a> 101 <a class="indexterm" name="id2612995"></a> 104 102 <a class="indexterm" name="id2613002"></a> 103 <a class="indexterm" name="id2613009"></a> 104 <a class="indexterm" name="id2613016"></a> 105 105 Further, in an NT4-style MS security domain, all trusts are nontransitive. This means that if there are three 106 106 domains (let's call them red, white, and blue), where red and white have a trust relationship, and white and … … 108 108 Relationships are explicit and not transitive. 109 109 </p><p> 110 <a class="indexterm" name="id2613019"></a>111 <a class="indexterm" name="id2613026"></a>112 110 <a class="indexterm" name="id2613032"></a> 113 111 <a class="indexterm" name="id2613039"></a> … … 115 113 <a class="indexterm" name="id2613053"></a> 116 114 <a class="indexterm" name="id2613060"></a> 115 <a class="indexterm" name="id2613066"></a> 116 <a class="indexterm" name="id2613073"></a> 117 117 New to MS Windows 2000 ADS security contexts is the fact that trust relationships are two-way by default. 118 118 Also, all inter-ADS domain trusts are transitive. In the case of the red, white, and blue domains, with … … 120 120 domains. Samba-3 implements MS Windows NT4-style interdomain trusts and interoperates with MS Windows 200x ADS 121 121 security 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="id26130 78"></a>Native MS Windows NT4 Trusts Configuration</h2></div></div></div><p>123 <a class="indexterm" name="id26130 85"></a>124 <a class="indexterm" name="id2613 094"></a>125 <a class="indexterm" name="id26131 01"></a>122 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2613091"></a>Native MS Windows NT4 Trusts Configuration</h2></div></div></div><p> 123 <a class="indexterm" name="id2613098"></a> 124 <a class="indexterm" name="id2613108"></a> 125 <a class="indexterm" name="id2613115"></a> 126 126 There are two steps to creating an interdomain trust relationship. To effect a two-way trust 127 127 relationship, it is necessary for each domain administrator to create a trust account for the 128 128 other domain to use in verifying security credentials. 129 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26131 14"></a>Creating an NT4 Domain Trust</h3></div></div></div><p>130 <a class="indexterm" name="id26131 22"></a>131 <a class="indexterm" name="id26131 29"></a>132 <a class="indexterm" name="id26131 36"></a>133 <a class="indexterm" name="id26131 43"></a>134 <a class="indexterm" name="id26131 50"></a>129 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2613127"></a>Creating an NT4 Domain Trust</h3></div></div></div><p> 130 <a class="indexterm" name="id2613135"></a> 131 <a class="indexterm" name="id2613142"></a> 132 <a class="indexterm" name="id2613149"></a> 133 <a class="indexterm" name="id2613156"></a> 134 <a class="indexterm" name="id2613163"></a> 135 135 For MS Windows NT4, all domain trust relationships are configured using the 136 136 <span class="application">Domain User Manager</span>. This is done from the Domain User Manager Policies … … 143 143 trusting domain will use when authenticating users from the trusted domain. 144 144 The 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="id26132 11"></a>Completing an NT4 Domain Trust</h3></div></div></div><p>146 <a class="indexterm" name="id26132 19"></a>147 <a class="indexterm" name="id26132 26"></a>148 <a class="indexterm" name="id26132 33"></a>149 <a class="indexterm" name="id26132 40"></a>150 <a class="indexterm" name="id26132 47"></a>151 <a class="indexterm" name="id26132 54"></a>145 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2613224"></a>Completing an NT4 Domain Trust</h3></div></div></div><p> 146 <a class="indexterm" name="id2613232"></a> 147 <a class="indexterm" name="id2613239"></a> 148 <a class="indexterm" name="id2613246"></a> 149 <a class="indexterm" name="id2613253"></a> 150 <a class="indexterm" name="id2613260"></a> 151 <a class="indexterm" name="id2613267"></a> 152 152 A trust relationship will work only when the other (trusting) domain makes the appropriate connections 153 153 with the trusted domain. To consummate the trust relationship, the administrator launches the … … 156 156 next to the box that is labeled <span class="guilabel">Trusted Domains</span>. A panel opens in which 157 157 must 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="id2613 296"></a>Interdomain Trust Facilities</h3></div></div></div><p>159 <a class="indexterm" name="id26133 04"></a>160 <a class="indexterm" name="id26133 11"></a>161 <a class="indexterm" name="id26133 18"></a>162 <a class="indexterm" name="id26133 25"></a>163 <a class="indexterm" name="id26133 32"></a>164 <a class="indexterm" name="id26133 39"></a>158 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2613309"></a>Interdomain Trust Facilities</h3></div></div></div><p> 159 <a class="indexterm" name="id2613317"></a> 160 <a class="indexterm" name="id2613324"></a> 161 <a class="indexterm" name="id2613331"></a> 162 <a class="indexterm" name="id2613338"></a> 163 <a class="indexterm" name="id2613345"></a> 164 <a class="indexterm" name="id2613352"></a> 165 165 A two-way trust relationship is created when two one-way trusts are created, one in each direction. 166 166 Where a one-way trust has been established between two MS Windows NT4 domains (let's call them … … 202 202 Global groups from the trusted domain can be made members in local groups on 203 203 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="id26135 05"></a>Configuring Samba NT-Style Domain Trusts</h2></div></div></div><p>205 <a class="indexterm" name="id26135 13"></a>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="id2613518"></a>Configuring Samba NT-Style Domain Trusts</h2></div></div></div><p> 205 <a class="indexterm" name="id2613526"></a> 206 206 This description is meant to be a fairly short introduction about how to set up a Samba server so 207 207 that it can participate in interdomain trust relationships. Trust relationship support in Samba 208 208 is at an early stage, so do not be surprised if something does not function as it should. 209 209 </p><p> 210 <a class="indexterm" name="id26135 28"></a>211 <a class="indexterm" name="id26135 35"></a>212 <a class="indexterm" name="id26135 42"></a>213 <a class="indexterm" name="id26135 49"></a>210 <a class="indexterm" name="id2613541"></a> 211 <a class="indexterm" name="id2613548"></a> 212 <a class="indexterm" name="id2613555"></a> 213 <a class="indexterm" name="id2613562"></a> 214 214 Each of the procedures described next assumes the peer domain in the trust relationship is controlled by a 215 215 Windows NT4 server. However, the remote end could just as well be another Samba-3 domain. It can be clearly … … 217 217 sections leads to trust between domains in a purely Samba environment. 218 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="id2613576"></a> 220 <a class="indexterm" name="id2613583"></a> 221 <a class="indexterm" name="id2613590"></a> 222 <a class="indexterm" name="id2613597"></a> 219 <a class="indexterm" name="id2613589"></a> 220 <a class="indexterm" name="id2613596"></a> 223 221 <a class="indexterm" name="id2613603"></a> 222 <a class="indexterm" name="id2613610"></a> 223 <a class="indexterm" name="id2613616"></a> 224 224 In order to set the Samba PDC to be the trusted party of the relationship, you first need 225 225 to create a special account for the domain that will be the trusting party. To do that, … … 240 240 account with the Interdomain trust flag</span>”. 241 241 </p><p> 242 <a class="indexterm" name="id26136 72"></a>243 <a class="indexterm" name="id26136 79"></a>244 <a class="indexterm" name="id26136 86"></a>245 <a class="indexterm" name="id2613 693"></a>242 <a class="indexterm" name="id2613685"></a> 243 <a class="indexterm" name="id2613692"></a> 244 <a class="indexterm" name="id2613699"></a> 245 <a class="indexterm" name="id2613706"></a> 246 246 The account name will be “<span class="quote">rumba$</span>” (the name of the remote domain). 247 247 If this fails, you should check that the trust account has been added to the system … … 249 249 can add it manually and then repeat the previous step. 250 250 </p><p> 251 <a class="indexterm" name="id2613716"></a>252 <a class="indexterm" name="id2613723"></a>253 251 <a class="indexterm" name="id2613730"></a> 254 <a class="indexterm" name="id2613737"></a> 252 <a class="indexterm" name="id2613736"></a> 253 <a class="indexterm" name="id2613743"></a> 254 <a class="indexterm" name="id2613750"></a> 255 255 After issuing this command, you will be asked to enter the password for the account. You can use any password 256 256 you want, but be aware that Windows NT will not change this password until 7 days following account creation. … … 260 260 Windows NT Server. 261 261 </p><p> 262 <a class="indexterm" name="id26137 60"></a>263 <a class="indexterm" name="id26137 67"></a>264 <a class="indexterm" name="id26137 74"></a>265 <a class="indexterm" name="id26137 81"></a>266 <a class="indexterm" name="id2613 788"></a>262 <a class="indexterm" name="id2613773"></a> 263 <a class="indexterm" name="id2613780"></a> 264 <a class="indexterm" name="id2613787"></a> 265 <a class="indexterm" name="id2613794"></a> 266 <a class="indexterm" name="id2613801"></a> 267 267 Open <span class="application">User Manager for Domains</span> and from the <span class="guimenu">Policies</span> menu, select 268 268 <span class="guimenuitem">Trust Relationships...</span>. Beside the <span class="guilabel">Trusted domains</span> list box, … … 271 271 time of account creation. Click on <span class="guibutton">OK</span> and, if everything went without incident, you 272 272 will 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="id26138 45"></a>Samba as the Trusting Domain</h3></div></div></div><p>274 <a class="indexterm" name="id26138 53"></a>275 <a class="indexterm" name="id26138 60"></a>273 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2613858"></a>Samba as the Trusting Domain</h3></div></div></div><p> 274 <a class="indexterm" name="id2613866"></a> 275 <a class="indexterm" name="id2613873"></a> 276 276 This time activities are somewhat reversed. Again, we'll assume that your domain 277 277 controlled by the Samba PDC is called SAMBA and the NT-controlled domain is called RUMBA. … … 279 279 The very first step is to add an account for the SAMBA domain on RUMBA's PDC. 280 280 </p><p> 281 <a class="indexterm" name="id2613878"></a>282 <a class="indexterm" name="id2613884"></a>283 281 <a class="indexterm" name="id2613891"></a> 282 <a class="indexterm" name="id2613898"></a> 283 <a class="indexterm" name="id2613905"></a> 284 284 Launch the <span class="application">Domain User Manager</span>, then from the menu select 285 285 <span class="guimenu">Policies</span>, <span class="guimenuitem">Trust Relationships</span>. … … 288 288 the relationship. 289 289 </p><p> 290 <a class="indexterm" name="id26139 34"></a>291 <a class="indexterm" name="id26139 41"></a>290 <a class="indexterm" name="id2613947"></a> 291 <a class="indexterm" name="id2613954"></a> 292 292 The password can be arbitrarily chosen. It is easy to change the password from the Samba server whenever you 293 293 want. After you confirm the password, your account is ready for use. Now its Samba's turn. 294 294 </p><p> 295 295 Using your favorite shell while logged in as root, issue this command: 296 <a class="indexterm" name="id26139 56"></a>296 <a class="indexterm" name="id2613969"></a> 297 297 </p><p> 298 298 <code class="prompt">root# </code><strong class="userinput"><code>net rpc trustdom establish rumba</code></strong> 299 299 </p><p> 300 <a class="indexterm" name="id2613984"></a>301 <a class="indexterm" name="id2613991"></a>302 300 <a class="indexterm" name="id2613998"></a> 301 <a class="indexterm" name="id2614004"></a> 302 <a class="indexterm" name="id2614011"></a> 303 303 You will be prompted for the password you just typed on your Windows NT4 Server box. 304 304 An error message, <code class="literal">"NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT,"</code> … … 312 312 You have to run this command as root because you must have write access to 313 313 the <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="id2614041"></a>NT4-Style Domain Trusts with Windows 2000</h2></div></div></div><p> 315 <a class="indexterm" name="id2614050"></a> 316 <a class="indexterm" name="id2614056"></a> 314 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2614054"></a>NT4-Style Domain Trusts with Windows 2000</h2></div></div></div><p> 317 315 <a class="indexterm" name="id2614063"></a> 318 316 <a class="indexterm" name="id2614070"></a> 317 <a class="indexterm" name="id2614077"></a> 318 <a class="indexterm" name="id2614083"></a> 319 319 Although <span class="application">Domain User Manager</span> is not present in Windows 2000, it is 320 320 also possible to establish an NT4-style trust relationship with a Windows 2000 domain … … 322 322 Samba to trust a Windows 2000 server; however, more testing is still needed in this area. 323 323 </p><p> 324 <a class="indexterm" name="id2614092"></a>325 <a class="indexterm" name="id2614098"></a>326 324 <a class="indexterm" name="id2614105"></a> 327 325 <a class="indexterm" name="id2614112"></a> 326 <a class="indexterm" name="id2614119"></a> 327 <a class="indexterm" name="id2614126"></a> 328 328 After <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> 329 329 as described previously, open <span class="application">Active Directory Domains and Trusts</span> on the AD … … 339 339 <code class="computeroutput">The trusted domain has been added and the trust has been verified.</code> Your 340 340 Samba 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="id2614 191"></a>Common Errors</h2></div></div></div><p>341 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2614204"></a>Common Errors</h2></div></div></div><p> 342 342 Interdomain trust relationships should not be attempted on networks that are unstable 343 343 or that suffer regular outages. Network stability and integrity are key concerns with 344 344 distributed trusted domains. 345 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26142 03"></a>Browsing of Trusted Domain Fails</h3></div></div></div><p>345 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2614216"></a>Browsing of Trusted Domain Fails</h3></div></div></div><p> 346 346 <span class="emphasis"><em>Browsing from a machine in a trusted Windows 200x domain to a Windows 200x member of 347 347 a trusting Samba domain, I get the following error:</em></span> … … 361 361 the domain. If you are running as an account that has privileges to do this 362 362 when 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="id26142 49"></a>Problems with LDAP ldapsam and Older Versions of smbldap-tools</h3></div></div></div><p>363 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2614262"></a>Problems with LDAP ldapsam and Older Versions of smbldap-tools</h3></div></div></div><p> 364 364 If you use the <code class="literal">smbldap-useradd</code> script to create a trust 365 365 account to set up interdomain trusts, the process of setting up the trust will -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/IntroSMB.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id25436 43">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2494746">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2543940">Book Structure and Layout</a></span></dt></dl></div><p>“<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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2543657">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2494764">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2543954">Book Structure and Layout</a></span></dt></dl></div><p>“<span class="quote"> 2 2 A man's gift makes room for him before great men. Gifts are like hooks that can catch 3 3 hold of the mind taking it beyond the reach of forces that otherwise might constrain it. … … 16 16 If you are a UNIX or Linux administrator, there is no need to feel badly you 17 17 should 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="id25436 43"></a>What Is Samba?</h2></div></div></div><p>18 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2543657"></a>What Is Samba?</h2></div></div></div><p> 19 19 Samba is a big, complex project. The Samba project is ambitious and exciting. 20 20 The team behind Samba is a group of some thirty individuals who are spread … … 46 46 a huge amount of work done as a result of user requests, suggestions and direct 47 47 code contributions. 48 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id24947 46"></a>Why This Book?</h2></div></div></div><p>48 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2494764"></a>Why This Book?</h2></div></div></div><p> 49 49 There is admittedly a large number of Samba books on the market today and 50 50 each book has its place. Despite the apparent plethora of books, Samba … … 98 98 arranged and the information presented from the perspective of someone with previous 99 99 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="id25439 40"></a>Book Structure and Layout</h2></div></div></div><p>100 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2543954"></a>Book Structure and Layout</h2></div></div></div><p> 101 101 This book is presented in six parts: 102 102 </p><div class="variablelist"><dl><dt><span class="term">General Installation</span></dt><dd><p> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/NT4Migration.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id26720 40">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2672074">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673019">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2673254">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2673340">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673574">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26720 23"></a>3 <a class="indexterm" name="id26720 30"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2672054">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2672088">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673033">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2673268">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2673354">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673587">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2672037"></a> 3 <a class="indexterm" name="id2672044"></a> 4 4 This is a rough guide to assist those wishing to migrate from NT4 domain control to 5 5 Samba-3-based domain control. 6 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26720 40"></a>Planning and Getting Started</h2></div></div></div><p>7 <a class="indexterm" name="id26720 48"></a>6 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2672054"></a>Planning and Getting Started</h2></div></div></div><p> 7 <a class="indexterm" name="id2672062"></a> 8 8 In the IT world there is often a saying that all problems are encountered because of 9 9 poor planning. The corollary to this saying is that not all problems can be anticipated 10 10 and planned for. Then again, good planning will anticipate most show-stopper-type situations. 11 11 </p><p> 12 <a class="indexterm" name="id26720 63"></a>12 <a class="indexterm" name="id2672077"></a> 13 13 Those wishing to migrate from MS Windows NT4 domain control to a Samba-3 domain control 14 14 environment would do well to develop a detailed migration plan. So here are a few pointers to 15 15 help migration get underway. 16 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26720 74"></a>Objectives</h3></div></div></div><p>17 <a class="indexterm" name="id26720 82"></a>16 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2672088"></a>Objectives</h3></div></div></div><p> 17 <a class="indexterm" name="id2672096"></a> 18 18 The key objective for most organizations is to make the migration from MS Windows NT4 19 19 to Samba-3 domain control as painless as possible. One of the challenges you may experience … … 22 22 pressure to return to a Microsoft-based platform solution at the first sign of trouble. 23 23 </p><p> 24 <a class="indexterm" name="id26721 00"></a>24 <a class="indexterm" name="id2672114"></a> 25 25 Before attempting a migration to a Samba-3-controlled network, make every possible effort to 26 26 gain all-round commitment to the change. Know precisely <span class="emphasis"><em>why</em></span> the change 27 27 is important for the organization. Possible motivations to make a change include: 28 </p><a class="indexterm" name="id2672116"></a><a class="indexterm" name="id2672123"></a><a class="indexterm" name="id2672130"></a><a class="indexterm" name="id2672137"></a><a class="indexterm" name="id2672144"></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="id2672186"></a> 30 <a class="indexterm" name="id2672193"></a> 28 </p><a class="indexterm" name="id2672130"></a><a class="indexterm" name="id2672137"></a><a class="indexterm" name="id2672144"></a><a class="indexterm" name="id2672151"></a><a class="indexterm" name="id2672158"></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> 31 29 <a class="indexterm" name="id2672200"></a> 32 30 <a class="indexterm" name="id2672207"></a> 33 31 <a class="indexterm" name="id2672214"></a> 34 <a class="indexterm" name="id2672220"></a> 32 <a class="indexterm" name="id2672221"></a> 33 <a class="indexterm" name="id2672228"></a> 34 <a class="indexterm" name="id2672234"></a> 35 35 Make sure everyone knows that Samba-3 is not MS Windows NT4. Samba-3 offers 36 36 an alternative solution that is both different from MS Windows NT4 and offers … … 40 40 </p><p> 41 41 What are the features that Samba-3 cannot provide? 42 </p><a class="indexterm" name="id26722 39"></a><a class="indexterm" name="id2672246"></a><a class="indexterm" name="id2672253"></a><a class="indexterm" name="id2672260"></a><a class="indexterm" name="id2672267"></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="id2672253"></a><a class="indexterm" name="id2672260"></a><a class="indexterm" name="id2672267"></a><a class="indexterm" name="id2672274"></a><a class="indexterm" name="id2672281"></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> 43 43 The features that Samba-3 does provide and that may be of compelling interest to your site 44 44 include: 45 </p><a class="indexterm" name="id26723 08"></a><a class="indexterm" name="id2672314"></a><a class="indexterm" name="id2672321"></a><a class="indexterm" name="id2672328"></a><a class="indexterm" name="id2672335"></a><a class="indexterm" name="id2672342"></a><a class="indexterm" name="id2672349"></a><a class="indexterm" name="id2672356"></a><a class="indexterm" name="id2672363"></a><a class="indexterm" name="id2672370"></a><a class="indexterm" name="id2672377"></a><a class="indexterm" name="id2672384"></a><a class="indexterm" name="id2672391"></a><a class="indexterm" name="id2672397"></a><a class="indexterm" name="id2672404"></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="id26724 70"></a>45 </p><a class="indexterm" name="id2672321"></a><a class="indexterm" name="id2672328"></a><a class="indexterm" name="id2672335"></a><a class="indexterm" name="id2672342"></a><a class="indexterm" name="id2672349"></a><a class="indexterm" name="id2672356"></a><a class="indexterm" name="id2672363"></a><a class="indexterm" name="id2672370"></a><a class="indexterm" name="id2672377"></a><a class="indexterm" name="id2672384"></a><a class="indexterm" name="id2672391"></a><a class="indexterm" name="id2672398"></a><a class="indexterm" name="id2672404"></a><a class="indexterm" name="id2672411"></a><a class="indexterm" name="id2672418"></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="id2672484"></a> 47 47 Before migrating a network from MS Windows NT4 to Samba-3, consider all necessary factors. Users 48 48 should be educated about changes they may experience so the change will be a welcome one 49 49 and not become an obstacle to the work they need to do. The following sections explain factors that will 50 50 help ensure a successful migration. 51 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672484"></a>Domain Layout</h4></div></div></div><p> 52 <a class="indexterm" name="id2672492"></a> 53 <a class="indexterm" name="id2672499"></a> 51 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672498"></a>Domain Layout</h4></div></div></div><p> 54 52 <a class="indexterm" name="id2672506"></a> 55 53 <a class="indexterm" name="id2672513"></a> … … 58 56 <a class="indexterm" name="id2672534"></a> 59 57 <a class="indexterm" name="id2672541"></a> 60 <a class="indexterm" name="id267254 7"></a>61 <a class="indexterm" name="id267255 4"></a>58 <a class="indexterm" name="id2672548"></a> 59 <a class="indexterm" name="id2672555"></a> 62 60 <a class="indexterm" name="id2672561"></a> 63 61 <a class="indexterm" name="id2672568"></a> … … 66 64 <a class="indexterm" name="id2672589"></a> 67 65 <a class="indexterm" name="id2672596"></a> 66 <a class="indexterm" name="id2672603"></a> 67 <a class="indexterm" name="id2672610"></a> 68 68 Samba-3 can be configured as a domain controller, a backup domain controller (probably best called 69 69 a secondary controller), a domain member, or a standalone server. The Windows network security … … 75 75 a master server and multiple slave servers) that can simultaneously serve multiple domains. 76 76 </p><p> 77 <a class="indexterm" name="id26726 19"></a>77 <a class="indexterm" name="id2672633"></a> 78 78 From a design perspective, the number of users per server as well as the number of servers per 79 79 domain should be scaled taking into consideration server capacity and network bandwidth. 80 80 </p><p> 81 <a class="indexterm" name="id2672632"></a>82 <a class="indexterm" name="id2672639"></a>83 81 <a class="indexterm" name="id2672646"></a> 84 82 <a class="indexterm" name="id2672653"></a> 85 83 <a class="indexterm" name="id2672660"></a> 86 84 <a class="indexterm" name="id2672667"></a> 85 <a class="indexterm" name="id2672674"></a> 86 <a class="indexterm" name="id2672680"></a> 87 87 A physical network segment may house several domains. Each may span multiple network segments. 88 88 Where domains span routed network segments, consider and test the performance implications of … … 91 91 response time (ping timing) between the remote segment and the PDC. If it's long (more than 100 ms), 92 92 locate 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="id26726 85"></a>Server Share and Directory Layout</h4></div></div></div><p>94 <a class="indexterm" name="id2672 694"></a>95 <a class="indexterm" name="id26727 00"></a>93 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672699"></a>Server Share and Directory Layout</h4></div></div></div><p> 94 <a class="indexterm" name="id2672707"></a> 95 <a class="indexterm" name="id2672714"></a> 96 96 There are cardinal rules to effective network design that cannot be broken with impunity. 97 97 The most important rule: Simplicity is king in every well-controlled network. Every part of … … 99 99 of keeping systems secure and functional. 100 100 </p><p> 101 <a class="indexterm" name="id2672716"></a>102 <a class="indexterm" name="id2672723"></a>103 101 <a class="indexterm" name="id2672730"></a> 104 102 <a class="indexterm" name="id2672737"></a> 105 <a class="indexterm" name="id267274 3"></a>103 <a class="indexterm" name="id2672744"></a> 106 104 <a class="indexterm" name="id2672750"></a> 105 <a class="indexterm" name="id2672757"></a> 106 <a class="indexterm" name="id2672764"></a> 107 107 Keep in mind the nature of how data must be shared. Physical disk space layout should be considered 108 108 carefully. Some data must be backed up. The simpler the disk layout, the easier it will be to … … 112 112 backup, test, and validate every backup; create a disaster recovery plan and prove that it works. 113 113 </p><p> 114 <a class="indexterm" name="id2672780"></a>115 <a class="indexterm" name="id2672787"></a>116 114 <a class="indexterm" name="id2672794"></a> 115 <a class="indexterm" name="id2672801"></a> 116 <a class="indexterm" name="id2672808"></a> 117 117 Users should be grouped according to data access control needs. File and directory access 118 118 is best controlled via group permissions, and the use of the “<span class="quote">sticky bit</span>” on group-controlled 119 119 directories may substantially avoid file access complaints from Samba share users. 120 120 </p><p> 121 <a class="indexterm" name="id2672812"></a>122 <a class="indexterm" name="id2672819"></a>123 121 <a class="indexterm" name="id2672826"></a> 124 122 <a class="indexterm" name="id2672833"></a> 125 123 <a class="indexterm" name="id2672840"></a> 124 <a class="indexterm" name="id2672847"></a> 125 <a class="indexterm" name="id2672854"></a> 126 126 Inexperienced network administrators often attempt elaborate techniques to set access 127 127 controls on files, directories, shares, as well as in share definitions. … … 132 132 controls simple and effective, and make sure that users will never be interrupted by obtuse 133 133 complexity. 134 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26728 60"></a>Logon Scripts</h4></div></div></div><p>135 <a class="indexterm" name="id26728 68"></a>134 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672874"></a>Logon Scripts</h4></div></div></div><p> 135 <a class="indexterm" name="id2672882"></a> 136 136 Logon scripts can help to ensure that all users gain the share and printer connections they need. 137 137 </p><p> … … 141 141 the <a class="link" href="smb.conf.5.html#ROOTPREEXEC">root preexec</a> parameters to the <em class="parameter"><code>NETLOGON</code></em> share. 142 142 </p><p> 143 <a class="indexterm" name="id26729 06"></a>143 <a class="indexterm" name="id2672920"></a> 144 144 Some sites prefer to use a tool such as <code class="literal">kixstart</code> to establish a controlled 145 145 user environment. In any case, you may wish to do a Google search for logon script process controls. 146 146 In particular, you may wish to explore the use of the Microsoft Knowledge Base article KB189105 that 147 147 deals 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="id26729 26"></a>Profile Migration/Creation</h4></div></div></div><p>148 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672940"></a>Profile Migration/Creation</h4></div></div></div><p> 149 149 User and group profiles may be migrated using the tools described in the section titled Desktop Profile 150 150 Management. 151 151 </p><p> 152 <a class="indexterm" name="id26729 39"></a>153 <a class="indexterm" name="id26729 46"></a>152 <a class="indexterm" name="id2672953"></a> 153 <a class="indexterm" name="id2672960"></a> 154 154 Profiles may also be managed using the Samba-3 tool <code class="literal">profiles</code>. This tool allows the MS 155 155 Windows NT-style security identifiers (SIDs) that are stored inside the profile 156 156 <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="id2672970"></a>User and Group Accounts</h4></div></div></div><p> 158 <a class="indexterm" name="id2672978"></a> 159 <a class="indexterm" name="id2672985"></a> 157 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672984"></a>User and Group Accounts</h4></div></div></div><p> 160 158 <a class="indexterm" name="id2672992"></a> 161 159 <a class="indexterm" name="id2672999"></a> 160 <a class="indexterm" name="id2673006"></a> 161 <a class="indexterm" name="id2673013"></a> 162 162 It is possible to migrate all account settings from an MS Windows NT4 domain to Samba-3. Before 163 163 attempting to migrate user and group accounts, you are STRONGLY advised to create in Samba-3 the … … 165 165 suitable UNIX/Linux groups. By following this simple advice, all user and group attributes 166 166 should migrate painlessly. 167 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26730 19"></a>Steps in Migration Process</h3></div></div></div><p>167 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2673033"></a>Steps in Migration Process</h3></div></div></div><p> 168 168 The approximate migration process is described below. 169 169 </p><div class="itemizedlist"><ul type="disc"><li><p> 170 170 You have an NT4 PDC that has the users, groups, policies, and profiles to be migrated. 171 171 </p></li><li><p> 172 <a class="indexterm" name="id2673040"></a>173 <a class="indexterm" name="id2673047"></a>174 172 <a class="indexterm" name="id2673054"></a> 173 <a class="indexterm" name="id2673061"></a> 174 <a class="indexterm" name="id2673068"></a> 175 175 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 176 176 to function as a BDC: <em class="parameter"><code>domain master = No</code></em>. 177 </p></li></ul></div><div class="procedure"><a name="id26730 77"></a><p class="title"><b>Procedure 36.1. The Account Migration Process</b></p><a class="indexterm" name="id2673165"></a><ol type="1"><li><p>178 <a class="indexterm" name="id2673 088"></a>177 </p></li></ul></div><div class="procedure"><a name="id2673091"></a><p class="title"><b>Procedure 36.1. The Account Migration Process</b></p><a class="indexterm" name="id2673179"></a><ol type="1"><li><p> 178 <a class="indexterm" name="id2673102"></a> 179 179 Create a BDC account in the old NT4 domain for the Samba server using NT Server Manager. 180 180 <span class="emphasis"><em>Samba must not be running.</em></span> 181 181 </p></li><li><p> 182 <a class="indexterm" name="id26731 07"></a>182 <a class="indexterm" name="id2673121"></a> 183 183 <strong class="userinput"><code>net rpc join -S <em class="replaceable"><code>NT4PDC</code></em> -w <em class="replaceable"><code>DOMNAME</code></em> -U 184 184 Administrator%<em class="replaceable"><code>passwd</code></em></code></strong> 185 185 </p></li><li><p> 186 <a class="indexterm" name="id26731 41"></a>186 <a class="indexterm" name="id2673154"></a> 187 187 <strong class="userinput"><code>net rpc vampire -S <em class="replaceable"><code>NT4PDC</code></em> -U 188 188 administrator%<em class="replaceable"><code>passwd</code></em></code></strong> 189 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="id2673 192"></a>191 <a class="indexterm" name="id26732 01"></a>190 <a class="indexterm" name="id2673206"></a> 191 <a class="indexterm" name="id2673215"></a> 192 192 Now assign each of the UNIX groups to NT groups: 193 193 (It may be useful to copy this text to a script called <code class="filename">initGroups.sh</code>) … … 209 209 </p></li></ol></div><p> 210 210 Migrate 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="id26732 54"></a>Migration Options</h2></div></div></div><p>211 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2673268"></a>Migration Options</h2></div></div></div><p> 212 212 Sites that wish to migrate from MS Windows NT4 domain control to a Samba-based solution 213 213 generally 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. 214 214 </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">< 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">> 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="id26733 40"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2673354"></a>Planning for Success</h3></div></div></div><p> 216 216 There are three basic choices for sites that intend to migrate from MS Windows NT4 217 217 to Samba-3: … … 234 234 </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 235 235 being 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="id26735 74"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2673587"></a>Samba-3 Implementation Choices</h3></div></div></div><div class="variablelist"><dl><dt><span class="term">Authentication Database/Backend</span></dt><dd><p> 237 237 Samba-3 can use an external authentication backend: 238 238 </p><p> … … 241 241 </p></li></ul></div></dd><dt><span class="term">Access Control Points</span></dt><dd><p> 242 242 Samba permits Access Control points to be set: 243 </p><a class="indexterm" name="id26736 47"></a><a class="indexterm" name="id2673654"></a><a class="indexterm" name="id2673661"></a><a class="indexterm" name="id2673668"></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="id26737 16"></a>245 <a class="indexterm" name="id26737 22"></a>243 </p><a class="indexterm" name="id2673661"></a><a class="indexterm" name="id2673668"></a><a class="indexterm" name="id2673675"></a><a class="indexterm" name="id2673681"></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="id2673730"></a> 245 <a class="indexterm" name="id2673736"></a> 246 246 Exercise great caution when making registry changes; use the right tool and be aware 247 247 that changes made through NT4-style <code class="filename">NTConfig.POL</code> files can leave 248 248 permanent changes. 249 <a class="indexterm" name="id2673738"></a>250 <a class="indexterm" name="id2673745"></a>251 249 <a class="indexterm" name="id2673752"></a> 250 <a class="indexterm" name="id2673759"></a> 251 <a class="indexterm" name="id2673766"></a> 252 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="id26737 83"></a>254 <a class="indexterm" name="id2673 790"></a>253 <a class="indexterm" name="id2673797"></a> 254 <a class="indexterm" name="id2673804"></a> 255 255 Platform-specific, so use platform tool to change from a local to a roaming profile. 256 256 Can use new profiles tool to change SIDs (<code class="filename">NTUser.DAT</code>). … … 258 258 Know how they work. 259 259 </p></dd><dt><span class="term">User and Group Mapping to UNIX/Linux</span></dt><dd><p> 260 <a class="indexterm" name="id26738 28"></a>260 <a class="indexterm" name="id2673842"></a> 261 261 User and group mapping code is new. Many problems have been experienced as network administrators 262 262 who are familiar with Samba-2.2.x migrate to Samba-3. Carefully study the chapters that document … … 275 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. 276 276 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="id26739 46"></a>277 <a class="indexterm" name="id2673960"></a> 278 278 Domain Control (NT4-Style) Profiles, Policies, Access Controls, Security 279 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> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/NetCommand.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:Volker.Lendecke@SerNet.DE">Volker.Lendecke@SerNet.DE</a>></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">SuSE<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>></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#id2592044">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592338">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592419">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2592578">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#id2593942">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#id2594153">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594202">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594270">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2594698">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2594714">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595082">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2595316">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2595544">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2595590">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595778">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595808">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596431">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2596687">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596707">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596772">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596888">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596906">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2596949">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596985">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="id2591905"></a> 3 <a class="indexterm" name="id2591911"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:Volker.Lendecke@SerNet.DE">Volker.Lendecke@SerNet.DE</a>></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">SuSE<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>></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#id2592057">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592351">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592433">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2592592">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#id2593955">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#id2594167">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594215">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594284">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2594712">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2594727">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595096">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2595330">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2595558">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2595603">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595792">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595822">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596445">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2596701">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596720">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596786">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596902">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596919">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2596963">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596998">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> 4 2 <a class="indexterm" name="id2591918"></a> 5 3 <a class="indexterm" name="id2591925"></a> 4 <a class="indexterm" name="id2591932"></a> 5 <a class="indexterm" name="id2591939"></a> 6 6 The <code class="literal">net</code> command is one of the new features of Samba-3 and is an attempt to provide a useful 7 7 tool for the majority of remote management operations necessary for common tasks. The <code class="literal">net</code> 8 8 tool is flexible by design and is intended for command-line use as well as for scripted control application. 9 9 </p><p> 10 <a class="indexterm" name="id2591952"></a>11 <a class="indexterm" name="id2591958"></a>12 10 <a class="indexterm" name="id2591965"></a> 13 11 <a class="indexterm" name="id2591972"></a> 12 <a class="indexterm" name="id2591979"></a> 13 <a class="indexterm" name="id2591986"></a> 14 14 Originally introduced with the intent to mimic the Microsoft Windows command that has the same name, the 15 15 <code class="literal">net</code> command has morphed into a very powerful instrument that has become an essential part … … 23 23 A Samba-3 administrator cannot afford to gloss over this chapter because to do so will almost certainly cause 24 24 the 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="id2592044"></a>Overview</h2></div></div></div><p> 26 <a class="indexterm" name="id2592051"></a> 27 <a class="indexterm" name="id2592058"></a> 25 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2592057"></a>Overview</h2></div></div></div><p> 28 26 <a class="indexterm" name="id2592065"></a> 29 27 <a class="indexterm" name="id2592072"></a> 30 <a class="indexterm" name="id259207 8"></a>28 <a class="indexterm" name="id2592079"></a> 31 29 <a class="indexterm" name="id2592085"></a> 30 <a class="indexterm" name="id2592092"></a> 31 <a class="indexterm" name="id2592098"></a> 32 32 The tasks that follow the installation of a Samba-3 server, whether standalone or domain member, of a 33 33 domain controller (PDC or BDC) begins with the need to create administrative rights. Of course, the … … 36 36 the central domain authentication backend. 37 37 </p><p> 38 <a class="indexterm" name="id2592102"></a>39 <a class="indexterm" name="id2592109"></a>40 38 <a class="indexterm" name="id2592116"></a> 41 39 <a class="indexterm" name="id2592123"></a> … … 44 42 <a class="indexterm" name="id2592143"></a> 45 43 <a class="indexterm" name="id2592150"></a> 44 <a class="indexterm" name="id2592156"></a> 45 <a class="indexterm" name="id2592163"></a> 46 46 Regardless of the type of server being installed, local UNIX groups must be mapped to the Windows 47 47 networking domain global group accounts. Do you ask why? Because Samba always limits its access to … … 51 51 Samba. Such mappings are implemented using the <code class="literal">net</code> command. 52 52 </p><p> 53 <a class="indexterm" name="id2592175"></a>54 <a class="indexterm" name="id2592181"></a>55 53 <a class="indexterm" name="id2592188"></a> 56 <a class="indexterm" name="id259219 4"></a>54 <a class="indexterm" name="id2592195"></a> 57 55 <a class="indexterm" name="id2592201"></a> 58 56 <a class="indexterm" name="id2592208"></a> 59 57 <a class="indexterm" name="id2592215"></a> 58 <a class="indexterm" name="id2592222"></a> 59 <a class="indexterm" name="id2592229"></a> 60 60 UNIX systems that are hosting a Samba-3 server that is running as a member (PDC, BDC, or DMS) must have 61 61 a machine security account in the domain authentication database (or directory). The creation of such 62 62 security (or trust) accounts is also handled using the <code class="literal">net</code> command. 63 63 </p><p> 64 <a class="indexterm" name="id2592235"></a>65 <a class="indexterm" name="id2592242"></a>66 64 <a class="indexterm" name="id2592249"></a> 67 65 <a class="indexterm" name="id2592256"></a> 68 <a class="indexterm" name="id259226 3"></a>69 <a class="indexterm" name="id25922 70"></a>70 <a class="indexterm" name="id259227 7"></a>71 <a class="indexterm" name="id259228 4"></a>66 <a class="indexterm" name="id2592262"></a> 67 <a class="indexterm" name="id2592269"></a> 68 <a class="indexterm" name="id2592276"></a> 69 <a class="indexterm" name="id2592283"></a> 72 70 <a class="indexterm" name="id2592290"></a> 71 <a class="indexterm" name="id2592297"></a> 72 <a class="indexterm" name="id2592304"></a> 73 73 The establishment of interdomain trusts is achieved using the <code class="literal">net</code> command also, as 74 74 may a plethora of typical administrative duties such as user management, group management, share and 75 75 printer management, file and printer migration, security identifier management, and so on. 76 76 </p><p> 77 <a class="indexterm" name="id25923 11"></a>78 <a class="indexterm" name="id25923 18"></a>77 <a class="indexterm" name="id2592324"></a> 78 <a class="indexterm" name="id2592331"></a> 79 79 The overall picture should be clear now: the <code class="literal">net</code> command plays a central role 80 80 on the Samba-3 stage. This role will continue to be developed. The inclusion of this chapter is 81 81 evidence of its importance, one that has grown in complexity to the point that it is no longer considered 82 82 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="id25923 38"></a>Administrative Tasks and Methods</h2></div></div></div><p>84 <a class="indexterm" name="id25923 46"></a>85 <a class="indexterm" name="id25923 53"></a>86 <a class="indexterm" name="id25923 59"></a>87 <a class="indexterm" name="id25923 68"></a>83 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2592351"></a>Administrative Tasks and Methods</h2></div></div></div><p> 84 <a class="indexterm" name="id2592360"></a> 85 <a class="indexterm" name="id2592366"></a> 86 <a class="indexterm" name="id2592373"></a> 87 <a class="indexterm" name="id2592382"></a> 88 88 The basic operations of the <code class="literal">net</code> command are documented here. This documentation is not 89 89 exhaustive, and thus it is incomplete. Since the primary focus is on migration from Windows servers to a Samba … … 95 95 <code class="constant">rap</code> modes. Please refer to the man page for a more comprehensive overview of the 96 96 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="id25924 19"></a>UNIX and Windows Group Management</h2></div></div></div><p>98 <a class="indexterm" name="id25924 28"></a>99 <a class="indexterm" name="id25924 34"></a>100 <a class="indexterm" name="id25924 43"></a>101 <a class="indexterm" name="id25924 52"></a>102 <a class="indexterm" name="id25924 60"></a>97 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2592433"></a>UNIX and Windows Group Management</h2></div></div></div><p> 98 <a class="indexterm" name="id2592441"></a> 99 <a class="indexterm" name="id2592448"></a> 100 <a class="indexterm" name="id2592457"></a> 101 <a class="indexterm" name="id2592465"></a> 102 <a class="indexterm" name="id2592474"></a> 103 103 As stated, the focus in most of this chapter is on use of the <code class="literal">net rpc</code> family of 104 104 operations that are supported by Samba. Most of them are supported by the <code class="literal">net ads</code> … … 107 107 earlier SMB servers. 108 108 </p><p> 109 <a class="indexterm" name="id2592494"></a>110 <a class="indexterm" name="id2592501"></a>111 109 <a class="indexterm" name="id2592508"></a> 110 <a class="indexterm" name="id2592514"></a> 111 <a class="indexterm" name="id2592521"></a> 112 112 Samba's <code class="literal">net</code> tool implements sufficient capability to permit all common administrative 113 113 tasks to be completed from the command line. In this section each of the essential user and group management 114 114 facilities are explored. 115 115 </p><p> 116 <a class="indexterm" name="id25925 27"></a>117 <a class="indexterm" name="id25925 34"></a>118 <a class="indexterm" name="id25925 43"></a>119 <a class="indexterm" name="id25925 52"></a>116 <a class="indexterm" name="id2592541"></a> 117 <a class="indexterm" name="id2592547"></a> 118 <a class="indexterm" name="id2592557"></a> 119 <a class="indexterm" name="id2592566"></a> 120 120 Samba-3 recognizes two types of groups: <span class="emphasis"><em>domain groups</em></span> and <span class="emphasis"><em>local 121 121 groups</em></span>. Domain groups can contain (have as members) only domain user accounts. Local groups … … 124 124 The purpose of a local group is to permit file permission to be set for a group account that, like the 125 125 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="id25925 78"></a>Adding, Renaming, or Deletion of Group Accounts</h3></div></div></div><p>126 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2592592"></a>Adding, Renaming, or Deletion of Group Accounts</h3></div></div></div><p> 127 127 Samba provides file and print services to Windows clients. The file system resources it makes available 128 128 to the Windows environment must, of necessity, be provided in a manner that is compatible with the … … 144 144 show how UNIX group members automatically pass-through to Windows group membership as soon as a logical 145 145 mapping has been created. 146 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25926 20"></a>Adding or Creating a New Group</h4></div></div></div><p>146 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2592634"></a>Adding or Creating a New Group</h4></div></div></div><p> 147 147 Before attempting to add a Windows group account, the currently available groups can be listed as shown 148 148 here: 149 <a class="indexterm" name="id25926 30"></a>150 <a class="indexterm" name="id25926 41"></a>149 <a class="indexterm" name="id2592644"></a> 150 <a class="indexterm" name="id2592655"></a> 151 151 </p><pre class="screen"> 152 152 <code class="prompt">root# </code> net rpc group list -Uroot%not24get … … 164 164 A Windows group account called “<span class="quote">SupportEngrs</span>” can be added by executing the following 165 165 command: 166 <a class="indexterm" name="id25926 77"></a>166 <a class="indexterm" name="id2592691"></a> 167 167 </p><pre class="screen"> 168 168 <code class="prompt">root# </code> net rpc group add "SupportEngrs" -Uroot%not24get … … 184 184 </pre><p> 185 185 </p><p> 186 <a class="indexterm" name="id2592720"></a>187 <a class="indexterm" name="id2592727"></a>188 186 <a class="indexterm" name="id2592734"></a> 187 <a class="indexterm" name="id2592741"></a> 188 <a class="indexterm" name="id2592748"></a> 189 189 The following demonstrates that the POSIX (UNIX/Linux system account) group has been created by calling 190 190 the <a class="link" href="smb.conf.5.html#ADDGROUPSCRIPT">add group script = /opt/IDEALX/sbin/smbldap-groupadd -p "%g"</a> interface … … 206 206 results in immediate mapping of the POSIX group that has been created to the Windows group account as shown 207 207 here: 208 <a class="indexterm" name="id25927 80"></a>208 <a class="indexterm" name="id2592794"></a> 209 209 </p><pre class="screen"> 210 210 <code class="prompt">root# </code> net groupmap list … … 219 219 SupportEngrs (S-1-5-21-72630-4128915-11681869-3007) -> SupportEngrs 220 220 </pre><p> 221 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2592822"></a>Mapping Windows Groups to UNIX Groups</h4></div></div></div><p> 222 <a class="indexterm" name="id2592829"></a> 223 <a class="indexterm" name="id2592836"></a> 221 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2592835"></a>Mapping Windows Groups to UNIX Groups</h4></div></div></div><p> 224 222 <a class="indexterm" name="id2592843"></a> 225 223 <a class="indexterm" name="id2592850"></a> 224 <a class="indexterm" name="id2592857"></a> 225 <a class="indexterm" name="id2592864"></a> 226 226 Windows groups must be mapped to UNIX system (POSIX) groups so that file system access controls 227 227 can be asserted in a manner that is consistent with the methods appropriate to the operating 228 228 system that is hosting the Samba server. 229 229 </p><p> 230 <a class="indexterm" name="id2592864"></a>231 <a class="indexterm" name="id2592871"></a>232 230 <a class="indexterm" name="id2592878"></a> 233 <a class="indexterm" name="id2592884"></a> 231 <a class="indexterm" name="id2592885"></a> 232 <a class="indexterm" name="id2592891"></a> 233 <a class="indexterm" name="id2592898"></a> 234 234 All file system (file and directory) access controls, within the file system of a UNIX/Linux server that is 235 235 hosting a Samba server, are implemented using a UID/GID identity tuple. Samba does not in any way override … … 239 239 command does not call any RPC-functions here but directly accesses the passdb. 240 240 </p><p> 241 <a class="indexterm" name="id2592910"></a> 242 <a class="indexterm" name="id2592917"></a> 243 <a class="indexterm" name="id2592924"></a> 244 <a class="indexterm" name="id2592931"></a> 245 <a class="indexterm" name="id2592938"></a> 241 <a class="indexterm" name="id2592923"></a> 242 <a class="indexterm" name="id2592930"></a> 243 <a class="indexterm" name="id2592937"></a> 246 244 <a class="indexterm" name="id2592944"></a> 247 245 <a class="indexterm" name="id2592951"></a> 246 <a class="indexterm" name="id2592958"></a> 247 <a class="indexterm" name="id2592965"></a> 248 248 Samba depends on default mappings for the <code class="constant">Domain Admins, Domain Users</code>, and 249 249 <code class="constant">Domain Guests</code> global groups. Additional groups may be added as shown in the … … 252 252 of creation of the mapping. 253 253 </p><p> 254 <a class="indexterm" name="id25929 75"></a>255 <a class="indexterm" name="id259 2986"></a>256 <a class="indexterm" name="id259 2997"></a>254 <a class="indexterm" name="id2592988"></a> 255 <a class="indexterm" name="id2593000"></a> 256 <a class="indexterm" name="id2593011"></a> 257 257 The operations that are permitted include: <code class="constant">add</code>, <code class="constant">modify</code>, 258 258 and <code class="constant">delete</code>. An example of each operation is shown here. … … 291 291 treated as local to the individual Samba server. Local groups can be used with Samba to enable multiple 292 292 nested group support. 293 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25931 30"></a>Deleting a Group Account</h4></div></div></div><p>294 <a class="indexterm" name="id25931 38"></a>293 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2593143"></a>Deleting a Group Account</h4></div></div></div><p> 294 <a class="indexterm" name="id2593151"></a> 295 295 A group account may be deleted by executing the following command: 296 296 </p><pre class="screen"> … … 299 299 </p><p> 300 300 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="id25931 70"></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" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2593183"></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> 302 302 This command is not documented in the man pages; it is implemented in the source code, but it does not 303 303 work at this time. The example given documents, from the source code, how it should work. Watch the … … 307 307 demands can be if this simple request is ignored. The following command demonstrates how the Windows group 308 308 “<span class="quote">SupportEngrs</span>” can be renamed to “<span class="quote">CustomerSupport</span>”: 309 <a class="indexterm" name="id2593 198"></a>309 <a class="indexterm" name="id2593212"></a> 310 310 </p><pre class="screen"> 311 311 <code class="prompt">root# </code> net rpc group rename SupportEngrs \ … … 350 350 group mapping, a member of the Windows group, an attempt to add this account again should fail. This is 351 351 demonstrated here: 352 <a class="indexterm" name="id25933 30"></a>352 <a class="indexterm" name="id2593343"></a> 353 353 </p><pre class="screen"> 354 354 <code class="prompt">root# </code> net rpc group addmem "MIDEARTH\Engineers" ajt -Uroot%not24get … … 360 360 To permit the user <code class="constant">ajt</code> to be added using the <code class="literal">net rpc group</code> utility, 361 361 this account must first be removed. The removal and confirmation of its effect is shown here: 362 <a class="indexterm" name="id25933 72"></a>362 <a class="indexterm" name="id2593385"></a> 363 363 </p><pre class="screen"> 364 364 <code class="prompt">root# </code> net rpc group delmem "MIDEARTH\Engineers" ajt -Uroot%not24get … … 384 384 the <code class="literal">net rpc group</code> utility. Note the this contents of the UNIX/Linux group was shown 385 385 four paragraphs earlier. The Windows (domain) group membership is shown here: 386 <a class="indexterm" name="id25934 68"></a>386 <a class="indexterm" name="id2593482"></a> 387 387 </p><pre class="screen"> 388 388 <code class="prompt">root# </code> net rpc group members "Domain Users" -Uroot%not24get … … 441 441 <code class="prompt">root# </code> net rpc group delmem demo "DOM\jht" -Uroot%not24get 442 442 </pre><p> 443 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25936 49"></a>Managing Nest Groups on Workstations from the Samba Server</h4></div></div></div><p>443 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2593663"></a>Managing Nest Groups on Workstations from the Samba Server</h4></div></div></div><p> 444 444 Windows network administrators often ask on the Samba mailing list how it is possible to grant everyone 445 445 administrative rights on their own workstation. This is of course a very bad practice, but commonly done 446 446 to avoid user complaints. Here is how it can be done remotely from a Samba PDC or BDC: 447 <a class="indexterm" name="id25936 63"></a>447 <a class="indexterm" name="id2593676"></a> 448 448 </p><pre class="screen"> 449 449 <code class="prompt">root# </code> net rpc group addmem "Administrators" "Domain Users" \ … … 453 453 This can be scripted, and can therefore be performed as a user logs onto the domain from a Windows 454 454 workstation. Here is a simple example that shows how this can be done. 455 </p><div class="procedure"><a name="id2593 694"></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"><a name="id2593708"></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"> 456 456 #!/bin/bash 457 457 … … 460 460 461 461 exit 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="id25938 51"></a><em class="parameter"><code>comment = Netlogon Share</code></em></td></tr><tr><td><a class="indexterm" name="id2593862"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2593874"></a><em class="parameter"><code>root preexec = /etc/samba/scripts/autopoweruser.sh %U %m</code></em></td></tr><tr><td><a class="indexterm" name="id2593886"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2593898"></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 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="id2593864"></a><em class="parameter"><code>comment = Netlogon Share</code></em></td></tr><tr><td><a class="indexterm" name="id2593876"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2593888"></a><em class="parameter"><code>root preexec = /etc/samba/scripts/autopoweruser.sh %U %m</code></em></td></tr><tr><td><a class="indexterm" name="id2593900"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2593911"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p> 463 463 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">“Script to Auto-add Domain Users to Workstation Power Users Group”</a> and locate it in 464 464 the directory <code class="filename">/etc/samba/scripts</code>, named as <code class="filename">autopoweruser.sh</code>. 465 <a class="indexterm" name="id25937 26"></a>466 <a class="indexterm" name="id25937 38"></a>467 <a class="indexterm" name="id25937 44"></a>465 <a class="indexterm" name="id2593740"></a> 466 <a class="indexterm" name="id2593751"></a> 467 <a class="indexterm" name="id2593758"></a> 468 468 </p></li><li><p> 469 469 Set the permissions on this script to permit it to be executed as part of the logon process: … … 485 485 for the use of this method is that it will guarantee that all users have appropriate rights on 486 486 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="id2593942"></a>UNIX and Windows User Management</h2></div></div></div><p> 488 <a class="indexterm" name="id2593950"></a> 489 <a class="indexterm" name="id2593956"></a> 487 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2593955"></a>UNIX and Windows User Management</h2></div></div></div><p> 490 488 <a class="indexterm" name="id2593963"></a> 491 489 <a class="indexterm" name="id2593970"></a> 492 490 <a class="indexterm" name="id2593977"></a> 493 <a class="indexterm" name="id259398 4"></a>494 <a class="indexterm" name="id259399 1"></a>491 <a class="indexterm" name="id2593983"></a> 492 <a class="indexterm" name="id2593990"></a> 495 493 <a class="indexterm" name="id2593997"></a> 494 <a class="indexterm" name="id2594004"></a> 495 <a class="indexterm" name="id2594011"></a> 496 496 Every Windows network user account must be translated to a UNIX/Linux user account. In actual fact, 497 497 the only account information the UNIX/Linux Samba server needs is a UID. The UID is available either … … 517 517 </p><p> 518 518 The following demonstrates the addition of an account to the server <code class="constant">FRODO</code>: 519 <a class="indexterm" name="id2594 095"></a>520 <a class="indexterm" name="id25941 06"></a>519 <a class="indexterm" name="id2594109"></a> 520 <a class="indexterm" name="id2594120"></a> 521 521 </p><pre class="screen"> 522 522 <code class="prompt">root# </code> net rpc user add jacko -S FRODO -Uroot%not24get … … 529 529 -S FRODO -Uroot%not24get 530 530 </pre><p> 531 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25941 53"></a>Deletion of User Accounts</h3></div></div></div><p>531 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2594167"></a>Deletion of User Accounts</h3></div></div></div><p> 532 532 Deletion of a user account can be done using the following syntax: 533 533 </p><pre class="screen"> … … 535 535 </pre><p> 536 536 The following command will delete the user account <code class="constant">jacko</code>: 537 <a class="indexterm" name="id25941 76"></a>537 <a class="indexterm" name="id2594189"></a> 538 538 </p><pre class="screen"> 539 539 <code class="prompt">root# </code> net rpc user delete jacko -Uroot%not24get 540 540 Deleted user account 541 541 </pre><p> 542 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25942 02"></a>Managing User Accounts</h3></div></div></div><p>542 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2594215"></a>Managing User Accounts</h3></div></div></div><p> 543 543 Two basic user account operations are routinely used: change of password and querying which groups a user 544 544 is a member of. The change of password operation is shown in <a class="link" href="NetCommand.html#sbeuseraddn" title="Adding User Accounts">“Adding User Accounts”</a>. … … 546 546 The ability to query Windows group membership can be essential. Here is how a remote server may be 547 547 interrogated to find which groups a user is a member of: 548 <a class="indexterm" name="id25942 25"></a>548 <a class="indexterm" name="id2594238"></a> 549 549 </p><pre class="screen"> 550 550 <code class="prompt">root# </code> net rpc user info jacko -S SAURON -Uroot%not24get … … 559 559 </p><p> 560 560 It is also possible to rename user accounts: 561 <a class="indexterm" name="id25942 54"></a>oldusername newusername561 <a class="indexterm" name="id2594268"></a>oldusername newusername 562 562 Note that this operation does not yet work against Samba Servers. It is, however, possible to rename useraccounts on 563 563 Windows Servers. 564 564 565 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25942 70"></a>User Mapping</h3></div></div></div><p>566 <a class="indexterm" name="id25942 78"></a>567 <a class="indexterm" name="id25942 85"></a>568 <a class="indexterm" name="id2594 292"></a>565 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2594284"></a>User Mapping</h3></div></div></div><p> 566 <a class="indexterm" name="id2594291"></a> 567 <a class="indexterm" name="id2594298"></a> 568 <a class="indexterm" name="id2594305"></a> 569 569 In some situations it is unavoidable that a user's Windows logon name will differ from the login ID 570 570 that user has on the Samba server. It is possible to create a special file on the Samba server that … … 582 582 <code class="constant">parsonsw</code>, and the Windows user account “<span class="quote">geeringm</span>” will be mapped to the 583 583 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="id2594353"></a>Administering User Rights and Privileges</h2></div></div></div><p> 585 <a class="indexterm" name="id2594362"></a> 586 <a class="indexterm" name="id2594368"></a> 584 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2594367"></a>Administering User Rights and Privileges</h2></div></div></div><p> 587 585 <a class="indexterm" name="id2594375"></a> 588 586 <a class="indexterm" name="id2594382"></a> 589 587 <a class="indexterm" name="id2594389"></a> 588 <a class="indexterm" name="id2594396"></a> 589 <a class="indexterm" name="id2594403"></a> 590 590 With all versions of Samba earlier than 3.0.11 the only account on a Samba server that could 591 591 manage users, groups, shares, printers, and such was the <code class="constant">root</code> account. This caused … … 593 593 credentials for the most security-sensitive account on a UNIX/Linux system. 594 594 </p><p> 595 <a class="indexterm" name="id2594409"></a> 596 <a class="indexterm" name="id2594416"></a> 597 <a class="indexterm" name="id2594423"></a> 595 <a class="indexterm" name="id2594422"></a> 598 596 <a class="indexterm" name="id2594430"></a> 599 <a class="indexterm" name="id2594437"></a> 597 <a class="indexterm" name="id2594436"></a> 598 <a class="indexterm" name="id2594443"></a> 599 <a class="indexterm" name="id2594450"></a> 600 600 New to Samba version 3.0.11 is the ability to delegate administrative privileges as necessary to either 601 601 a normal user or to groups of users. The significance of the administrative privileges is documented … … 633 633 The <code class="literal">net</code> command can be used to obtain the currently supported capabilities for rights 634 634 and privileges using this method: 635 <a class="indexterm" name="id25945 11"></a>636 <a class="indexterm" name="id25945 18"></a>637 <a class="indexterm" name="id25945 25"></a>638 <a class="indexterm" name="id25945 32"></a>639 <a class="indexterm" name="id25945 39"></a>640 <a class="indexterm" name="id25945 46"></a>641 <a class="indexterm" name="id25945 53"></a>642 <a class="indexterm" name="id25945 60"></a>643 <a class="indexterm" name="id25945 67"></a>635 <a class="indexterm" name="id2594524"></a> 636 <a class="indexterm" name="id2594531"></a> 637 <a class="indexterm" name="id2594538"></a> 638 <a class="indexterm" name="id2594545"></a> 639 <a class="indexterm" name="id2594552"></a> 640 <a class="indexterm" name="id2594559"></a> 641 <a class="indexterm" name="id2594566"></a> 642 <a class="indexterm" name="id2594573"></a> 643 <a class="indexterm" name="id2594580"></a> 644 644 </p><pre class="screen"> 645 645 <code class="prompt">root# </code> net rpc rights list -U root%not24get … … 660 660 idea since members of this group are generally expected to be all-powerful. This assignment makes that 661 661 the reality: 662 <a class="indexterm" name="id25946 13"></a>662 <a class="indexterm" name="id2594626"></a> 663 663 </p><pre class="screen"> 664 664 <code class="prompt">root# </code> net rpc rights grant "MIDEARTH\Domain Admins" \ … … 679 679 </p><p> 680 680 The following step permits validation of the changes just made: 681 <a class="indexterm" name="id25946 64"></a>681 <a class="indexterm" name="id2594677"></a> 682 682 </p><pre class="screen"> 683 683 <code class="prompt">root# </code> net rpc rights list accounts -U root%not24get … … 713 713 SeDiskOperatorPrivilege 714 714 </pre><p> 715 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2594 698"></a>Managing Trust Relationships</h2></div></div></div><p>715 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2594712"></a>Managing Trust Relationships</h2></div></div></div><p> 716 716 There are essentially two types of trust relationships: the first is between domain controllers and domain 717 717 member machines (network clients), the second is between domains (called interdomain trusts). All 718 718 Samba servers that participate in domain security require a domain membership trust account, as do like 719 719 Windows NT/200x/XP workstations. 720 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25947 14"></a>Machine Trust Accounts</h3></div></div></div><p>720 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2594727"></a>Machine Trust Accounts</h3></div></div></div><p> 721 721 The net command looks in the <code class="filename">smb.conf</code> file to obtain its own configuration settings. Thus, the following 722 722 command 'knows' which domain to join from the <code class="filename">smb.conf</code> file. 723 723 </p><p> 724 724 A Samba server domain trust account can be validated as shown in this example: 725 <a class="indexterm" name="id25947 41"></a>725 <a class="indexterm" name="id2594754"></a> 726 726 </p><pre class="screen"> 727 727 <code class="prompt">root# </code> net rpc testjoin … … 736 736 </p><p> 737 737 The equivalent command for joining a Samba server to a Windows ADS domain is shown here: 738 <a class="indexterm" name="id25947 78"></a>738 <a class="indexterm" name="id2594792"></a> 739 739 </p><pre class="screen"> 740 740 <code class="prompt">root# </code> net ads testjoin … … 751 751 The following demonstrates the process of creating a machine trust account in the target domain for the 752 752 Samba server from which the command is executed: 753 <a class="indexterm" name="id25948 23"></a>753 <a class="indexterm" name="id2594837"></a> 754 754 </p><pre class="screen"> 755 755 <code class="prompt">root# </code> net rpc join -S FRODO -Uroot%not24get … … 766 766 purely as a workstation, in which case the S is replaced with a W (indicating a workstation account). The 767 767 following command can be used to affect this: 768 <a class="indexterm" name="id25948 67"></a>768 <a class="indexterm" name="id2594881"></a> 769 769 </p><pre class="screen"> 770 770 <code class="prompt">root# </code> net rpc join member -S FRODO -Uroot%not24get … … 774 774 the type is deduced from the <code class="filename">smb.conf</code> file configuration. To specifically join as a PDC or BDC, the 775 775 command-line parameter will be <code class="constant">[PDC | BDC]</code>. For example: 776 <a class="indexterm" name="id25949 08"></a>776 <a class="indexterm" name="id2594922"></a> 777 777 </p><pre class="screen"> 778 778 <code class="prompt">root# </code> net rpc join bdc -S FRODO -Uroot%not24get … … 782 782 </p><p> 783 783 The command to join a Samba server to a Windows ADS domain is shown here: 784 <a class="indexterm" name="id25949 44"></a>784 <a class="indexterm" name="id2594957"></a> 785 785 </p><pre class="screen"> 786 786 <code class="prompt">root# </code> net ads join -UAdministrator%not24get … … 793 793 either. Inactive domain member accounts can be removed using any convenient tool. If necessary, the 794 794 machine account can be removed using the following <code class="literal">net</code> command: 795 <a class="indexterm" name="id25949 84"></a>795 <a class="indexterm" name="id2594997"></a> 796 796 </p><pre class="screen"> 797 797 <code class="prompt">root# </code> net rpc user delete HERRING\$ -Uroot%not24get … … 803 803 A Samba-3 server that is a Windows ADS domain member can execute the following command to detach from the 804 804 domain: 805 <a class="indexterm" name="id25950 16"></a>805 <a class="indexterm" name="id2595030"></a> 806 806 </p><pre class="screen"> 807 807 <code class="prompt">root# </code> net ads leave … … 810 810 Detailed information regarding an ADS domain can be obtained by a Samba DMS machine by executing the 811 811 following: 812 <a class="indexterm" name="id25950 44"></a>812 <a class="indexterm" name="id2595058"></a> 813 813 </p><pre class="screen"> 814 814 <code class="prompt">root# </code> net ads status … … 817 817 Chapter 7 for more information regarding its use. This book may be obtained either in print or online from 818 818 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="id25950 82"></a>Interdomain Trusts</h3></div></div></div><p>819 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2595096"></a>Interdomain Trusts</h3></div></div></div><p> 820 820 Interdomain trust relationships form the primary mechanism by which users from one domain can be granted 821 821 access rights and privileges in another domain. 822 822 </p><p> 823 823 To discover what trust relationships are in effect, execute this command: 824 <a class="indexterm" name="id2595 098"></a>824 <a class="indexterm" name="id2595111"></a> 825 825 </p><pre class="screen"> 826 826 <code class="prompt">root# </code> net rpc trustdom list -Uroot%not24get … … 838 838 create a trusted connection with this account. That means that the foreign domain is being trusted 839 839 to access resources in the local domain. This command creates the local trust account: 840 <a class="indexterm" name="id25951 32"></a>840 <a class="indexterm" name="id2595145"></a> 841 841 </p><pre class="screen"> 842 842 <code class="prompt">root# </code> net rpc trustdom add DAMNATION f00db4r -Uroot%not24get … … 851 851 </p><p> 852 852 If the trusting domain is not capable of being reached, the following command will fail: 853 <a class="indexterm" name="id25951 82"></a>853 <a class="indexterm" name="id2595196"></a> 854 854 </p><pre class="screen"> 855 855 <code class="prompt">root# </code> net rpc trustdom list -Uroot%not24get … … 877 877 the foreign account. In the process it creates a one-way trust to the resources on the remote domain. This 878 878 command achieves the objective of joining the trust relationship: 879 <a class="indexterm" name="id25952 27"></a>879 <a class="indexterm" name="id2595240"></a> 880 880 </p><pre class="screen"> 881 881 <code class="prompt">root# </code> net rpc trustdom establish DAMNATION … … 898 898 Sometimes it is necessary to remove the ability for local users to access a foreign domain. The trusting 899 899 connection can be revoked as shown here: 900 <a class="indexterm" name="id25952 74"></a>900 <a class="indexterm" name="id2595288"></a> 901 901 </p><pre class="screen"> 902 902 <code class="prompt">root# </code> net rpc trustdom revoke DAMNATION -Uroot%not24get … … 908 908 </pre><p> 909 909 910 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2595316"></a>Managing Security Identifiers (SIDS)</h2></div></div></div><p> 911 <a class="indexterm" name="id2595325"></a> 912 <a class="indexterm" name="id2595332"></a> 910 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2595330"></a>Managing Security Identifiers (SIDS)</h2></div></div></div><p> 913 911 <a class="indexterm" name="id2595338"></a> 914 912 <a class="indexterm" name="id2595345"></a> 915 913 <a class="indexterm" name="id2595352"></a> 914 <a class="indexterm" name="id2595358"></a> 915 <a class="indexterm" name="id2595365"></a> 916 916 The basic security identifier that is used by all Windows networking operations is the Windows security 917 917 identifier (SID). All Windows network machines (servers and workstations), users, and groups are … … 919 919 are specific to the SID of the domain to which the user belongs. 920 920 </p><p> 921 <a class="indexterm" name="id2595375"></a>922 <a class="indexterm" name="id2595381"></a>923 921 <a class="indexterm" name="id2595388"></a> 924 922 <a class="indexterm" name="id2595395"></a> 923 <a class="indexterm" name="id2595402"></a> 924 <a class="indexterm" name="id2595408"></a> 925 925 It is truly prudent to store the machine and/or domain SID in a file for safekeeping. Why? Because 926 926 a change in hostname or in the domain (workgroup) name may result in a change in the SID. When you … … 930 930 First, do not forget to store the local SID in a file. It is a good idea to put this in the directory 931 931 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="id25954 21"></a>932 <a class="indexterm" name="id2595434"></a> 933 933 </p><pre class="screen"> 934 934 <code class="prompt">root# </code> net getlocalsid > /etc/samba/my-sid … … 946 946 file, simply copy the SID (the string of characters that begins with <code class="constant">S-1-5-21</code>) to 947 947 the command line shown here: 948 <a class="indexterm" name="id25954 83"></a>948 <a class="indexterm" name="id2595496"></a> 949 949 </p><pre class="screen"> 950 950 <code class="prompt">root# </code> net setlocalsid S-1-5-21-1385457007-882775198-1210191635 … … 957 957 any potential namespace collision. Here is the way that the BDC SID can be synchronized to that 958 958 of the PDC (this is the default NT4 domain practice also): 959 <a class="indexterm" name="id25955 15"></a>959 <a class="indexterm" name="id2595529"></a> 960 960 </p><pre class="screen"> 961 961 <code class="prompt">root# </code> net rpc getsid -S FRODO -Uroot%not24get … … 965 965 Usually it is not necessary to specify the target server (-S FRODO) or the administrator account 966 966 credentials (-Uroot%not24get). 967 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25955 44"></a>Share Management</h2></div></div></div><p>967 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2595558"></a>Share Management</h2></div></div></div><p> 968 968 Share management is central to all file serving operations. Typical share operations include: 969 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> 970 970 Each of these are dealt with here insofar as they involve the use of the <code class="literal">net</code> 971 971 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="id2595 590"></a>Creating, Editing, and Removing Shares</h3></div></div></div><p>972 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2595603"></a>Creating, Editing, and Removing Shares</h3></div></div></div><p> 973 973 A share can be added using the <code class="literal">net rpc share</code> command capabilities. 974 974 The target machine may be local or remote and is specified by the -S option. It must be noted … … 983 983 file system is the directory <code class="filename">/data</code>. The command that can be executed to perform the 984 984 addition of this share is shown here: 985 <a class="indexterm" name="id25956 86"></a>985 <a class="indexterm" name="id2595699"></a> 986 986 </p><pre class="screen"> 987 987 <code class="prompt">root# </code> net rpc share add Bulge=/data -S MERLIN -Uroot%not24get … … 1004 1004 Often it is desirable also to permit a share to be removed using a command-line tool. 1005 1005 The following step permits the share that was previously added to be removed: 1006 <a class="indexterm" name="id25957 38"></a>1006 <a class="indexterm" name="id2595751"></a> 1007 1007 </p><pre class="screen"> 1008 1008 <code class="prompt">root# </code> net rpc share delete Bulge -S MERLIN -Uroot%not24get … … 1020 1020 kyocera 1021 1021 </pre><p> 1022 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25957 78"></a>Creating and Changing Share ACLs</h3></div></div></div><p>1022 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2595792"></a>Creating and Changing Share ACLs</h3></div></div></div><p> 1023 1023 At this time the <code class="literal">net</code> tool cannot be used to manage ACLs on Samba shares. In MS Windows 1024 1024 language this is called Share Permissions. … … 1027 1027 or using the Computer Management MMC snap-in. Neither is covered here, 1028 1028 but see <a class="link" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls">“File, Directory, and Share Access Controls”</a>. 1029 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25958 08"></a>Share, Directory, and File Migration</h3></div></div></div><p>1030 <a class="indexterm" name="id25958 16"></a>1029 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2595822"></a>Share, Directory, and File Migration</h3></div></div></div><p> 1030 <a class="indexterm" name="id2595829"></a> 1031 1031 Shares and files can be migrated in the same manner as user, machine, and group accounts. 1032 1032 It is possible to preserve access control settings (ACLs) as well as security settings … … 1065 1065 Printer settings may not be fully or may be incorrectly migrated. This might in particular happen 1066 1066 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="id25959 18"></a>Share Migration</h4></div></div></div><p>1067 </p></li></ol></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2595932"></a>Share Migration</h4></div></div></div><p> 1068 1068 The <code class="literal">net rpc share migrate</code> command operation permits the migration of plain 1069 1069 share stanzas. A stanza contains the parameters within which a file or print share are defined. … … 1092 1092 large list of available shares on the system that is being migrated can be limited using the 1093 1093 <em class="parameter"><code>--exclude</code></em> switch. For example: 1094 <a class="indexterm" name="id25960 32"></a>1094 <a class="indexterm" name="id2596045"></a> 1095 1095 </p><pre class="screen"> 1096 1096 <code class="prompt">root# </code> net rpc share migrate shares myshare\ … … 1105 1105 to validate that the migrated accounts (on the Samba server) have the needed rights and privileges. 1106 1106 This can be done as shown here: 1107 <a class="indexterm" name="id2596 086"></a>1107 <a class="indexterm" name="id2596100"></a> 1108 1108 </p><pre class="screen"> 1109 1109 <code class="prompt">root# </code> net rpc right list accounts -Uroot%not24get … … 1111 1111 The steps taken so far perform only the migration of shares. Directories and directory contents 1112 1112 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="id25961 15"></a>File and Directory Migration</h4></div></div></div><p>1113 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2596128"></a>File and Directory Migration</h4></div></div></div><p> 1114 1114 Everything covered to this point has been done in preparation for the migration of file and directory 1115 1115 data. For many people preparation is potentially boring and the real excitement only begins when file … … 1162 1162 An example for migration of files from a machine called <code class="constant">nt4box</code> to the Samba server 1163 1163 from which the process will be handled is shown here: 1164 <a class="indexterm" name="id2596 289"></a>1164 <a class="indexterm" name="id2596303"></a> 1165 1165 </p><pre class="screen"> 1166 1166 <code class="prompt">root# </code> net rpc share migrate files -S nt4box --acls \ … … 1171 1171 <code class="constant">nt4box</code> to the Samba server from which migration is initiated. Files that are group-owned 1172 1172 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="id25963 29"></a>Share-ACL Migration</h4></div></div></div><p>1173 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2596343"></a>Share-ACL Migration</h4></div></div></div><p> 1174 1174 It is possible to have share-ACLs (security descriptors) that won't allow you, even as Administrator, to 1175 1175 copy any files or directories into it. Therefor the migration of the share-ACLs has been put into a separate 1176 1176 function: 1177 <a class="indexterm" name="id25963 41"></a>1177 <a class="indexterm" name="id2596355"></a> 1178 1178 </p><pre class="screen"> 1179 1179 <code class="prompt">root# </code> net rpc share migrate security -S nt4box -U administrator%secret … … 1181 1181 </p><p> 1182 1182 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="id25963 72"></a>Simultaneous Share and File Migration</h4></div></div></div><p>1183 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2596386"></a>Simultaneous Share and File Migration</h4></div></div></div><p> 1184 1184 The operating mode shown here is just a combination of the previous three. It first migrates 1185 1185 share definitions and then all shared files and directories and finally migrates the share-ACLs: … … 1190 1190 </p><p> 1191 1191 An example of simultaneous migration is shown here: 1192 <a class="indexterm" name="id2596 397"></a>1192 <a class="indexterm" name="id2596411"></a> 1193 1193 </p><pre class="screen"> 1194 1194 <code class="prompt">root# </code> net rpc share migrate all -S w2k3server -U administrator%secret 1195 1195 </pre><p> 1196 1196 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="id25964 31"></a>Printer Migration</h3></div></div></div><p>1197 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2596445"></a>Printer Migration</h3></div></div></div><p> 1198 1198 The installation of a new server, as with the migration to a new network environment, often is similar to 1199 1199 building a house; progress is very rapid from the laying of foundations up to the stage at which … … 1232 1232 Printer migration from a Windows print server (NT4 or 200x) is shown. This instruction causes the 1233 1233 printer share to be created together with the underlying print queue: 1234 <a class="indexterm" name="id25965 72"></a>1234 <a class="indexterm" name="id2596586"></a> 1235 1235 </p><pre class="screen"> 1236 1236 net rpc printer MIGRATE PRINTERS [printer] [misc. options] [targets] … … 1238 1238 Printer drivers can be migrated from the Windows print server to the Samba server using this 1239 1239 command-line instruction: 1240 <a class="indexterm" name="id2596 592"></a>1240 <a class="indexterm" name="id2596606"></a> 1241 1241 </p><pre class="screen"> 1242 1242 net rpc printer MIGRATE DRIVERS [printer] [misc. options] [targets] 1243 1243 </pre><p> 1244 1244 Printer forms can be migrated with the following operation: 1245 <a class="indexterm" name="id25966 12"></a>1245 <a class="indexterm" name="id2596625"></a> 1246 1246 </p><pre class="screen"> 1247 1247 net rpc printer MIGRATE FORMS [printer] [misc. options] [targets] 1248 1248 </pre><p> 1249 1249 Printer security settings (ACLs) can be migrated from the Windows server to the Samba server using this command: 1250 <a class="indexterm" name="id25966 32"></a>1250 <a class="indexterm" name="id2596645"></a> 1251 1251 </p><pre class="screen"> 1252 1252 net rpc printer MIGRATE SECURITY [printer] [misc. options] [targets] … … 1254 1254 Printer configuration settings include factors such as paper size and default paper orientation. 1255 1255 These can be migrated from the Windows print server to the Samba server with this command: 1256 <a class="indexterm" name="id25966 53"></a>1256 <a class="indexterm" name="id2596667"></a> 1257 1257 </p><pre class="screen"> 1258 1258 net rpc printer MIGRATE SETTINGS [printer] [misc. options] [targets] … … 1264 1264 net rpc printer MIGRATE ALL [printer] [misc. options] [targets] 1265 1265 </pre><p> 1266 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2596 687"></a>Controlling Open Files</h2></div></div></div><p>1266 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2596701"></a>Controlling Open Files</h2></div></div></div><p> 1267 1267 The man page documents the <code class="literal">net file</code> function suite, which provides the tools to 1268 1268 close open files using either RAP or RPC function calls. Please refer to the man page for specific 1269 1269 usage information. 1270 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25967 07"></a>Session and Connection Management</h2></div></div></div><p>1270 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2596720"></a>Session and Connection Management</h2></div></div></div><p> 1271 1271 The session management interface of the <code class="literal">net session</code> command uses the old RAP 1272 1272 method to obtain the list of connections to the Samba server, as shown here: 1273 <a class="indexterm" name="id25967 22"></a>1273 <a class="indexterm" name="id2596736"></a> 1274 1274 </p><pre class="screen"> 1275 1275 <code class="prompt">root# </code> net rap session -S MERLIN -Uroot%not24get … … 1286 1286 <code class="prompt">root# </code> net rap session close marvel -Uroot%not24get 1287 1287 </pre><p> 1288 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25967 72"></a>Printers and ADS</h2></div></div></div><p>1288 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2596786"></a>Printers and ADS</h2></div></div></div><p> 1289 1289 When Samba-3 is used within an MS Windows ADS environment, printers shared via Samba will not be browseable 1290 1290 until they have been published to the ADS domain. Information regarding published printers may be obtained 1291 1291 from the ADS server by executing the <code class="literal">net ads print info</code> command following this syntax: 1292 <a class="indexterm" name="id2596 791"></a>1292 <a class="indexterm" name="id2596804"></a> 1293 1293 </p><pre class="screen"> 1294 1294 net ads printer info <printer_name> <server_name> -Uadministrator%secret … … 1298 1298 </p><p> 1299 1299 To publish (make available) a printer to ADS, execute the following command: 1300 <a class="indexterm" name="id25968 17"></a>1300 <a class="indexterm" name="id2596830"></a> 1301 1301 </p><pre class="screen"> 1302 1302 net ads printer publish <printer_name> -Uadministrator%secret … … 1305 1305 </p><p> 1306 1306 Removal of a Samba printer from ADS is achieved by executing this command: 1307 <a class="indexterm" name="id25968 42"></a>1307 <a class="indexterm" name="id2596855"></a> 1308 1308 </p><pre class="screen"> 1309 1309 net ads printer remove <printer_name> -Uadministrator%secret … … 1311 1311 </p><p> 1312 1312 A generic search (query) can also be made to locate a printer across the entire ADS domain by executing: 1313 <a class="indexterm" name="id25968 66"></a>1313 <a class="indexterm" name="id2596880"></a> 1314 1314 </p><pre class="screen"> 1315 1315 net ads printer search <printer_name> -Uadministrator%secret 1316 1316 </pre><p> 1317 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2596 888"></a>Manipulating the Samba Cache</h2></div></div></div><p>1317 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2596902"></a>Manipulating the Samba Cache</h2></div></div></div><p> 1318 1318 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="id25969 06"></a>Managing IDMAP UID/SID Mappings</h2></div></div></div><p>1319 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2596919"></a>Managing IDMAP UID/SID Mappings</h2></div></div></div><p> 1320 1320 The IDMAP UID to SID, and SID to UID, mappings that are created by <code class="literal">winbindd</code> can be 1321 1321 backed up to a text file. The text file can be manually edited, although it is highly recommended that … … 1328 1328 Winbind must be shut down to dump the IDMAP file. Before restoring a dump file, shut down 1329 1329 <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="id25969 49"></a>Creating an IDMAP Database Dump File</h3></div></div></div><p>1330 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2596963"></a>Creating an IDMAP Database Dump File</h3></div></div></div><p> 1331 1331 The IDMAP database can be dumped to a text file as shown here: 1332 1332 </p><pre class="screen"> … … 1338 1338 net idmap dump /var/lib/samba/winbindd_idmap.tdb > idmap_dump.txt 1339 1339 </pre><p> 1340 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25969 85"></a>Restoring the IDMAP Database Dump File</h3></div></div></div><p>1340 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2596998"></a>Restoring the IDMAP Database Dump File</h3></div></div></div><p> 1341 1341 The IDMAP dump file can be restored using the following command: 1342 1342 </p><pre class="screen"> … … 1351 1351 The following command is useful for obtaining basic statistics regarding a Samba domain. This command does 1352 1352 not work with current Windows XP Professional clients. 1353 <a class="indexterm" name="id25970 36"></a>1353 <a class="indexterm" name="id2597050"></a> 1354 1354 </p><pre class="screen"> 1355 1355 <code class="prompt">root# </code> net rpc info … … 1364 1364 Another useful tool is the <code class="literal">net time</code> tool set. This tool may be used to query the 1365 1365 current time on the target server as shown here: 1366 <a class="indexterm" name="id25970 73"></a>1366 <a class="indexterm" name="id2597086"></a> 1367 1367 </p><pre class="screen"> 1368 1368 <code class="prompt">root# </code> net time -S SAURON … … 1372 1372 <code class="literal">/bin/time</code>, it is a good idea to obtain the time from the target server in a format 1373 1373 that is ready to be passed through. This may be done by executing: 1374 <a class="indexterm" name="id25971 04"></a>1374 <a class="indexterm" name="id2597118"></a> 1375 1375 </p><pre class="screen"> 1376 1376 <code class="prompt">root# </code> net time system -S FRODO … … 1378 1378 </pre><p> 1379 1379 The time can be set on a target server by executing: 1380 <a class="indexterm" name="id25971 29"></a>1380 <a class="indexterm" name="id2597142"></a> 1381 1381 </p><pre class="screen"> 1382 1382 <code class="prompt">root# </code> net time set -S MAGGOT -U Administrator%not24get … … 1384 1384 </pre><p> 1385 1385 It is possible to obtain the time zone of a server by executing the following command against it: 1386 <a class="indexterm" name="id25971 54"></a>1386 <a class="indexterm" name="id2597168"></a> 1387 1387 </p><pre class="screen"> 1388 1388 <code class="prompt">root# </code> net time zone -S SAURON -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/NetworkBrowsing.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jon@sutinen.com">jon@sutinen.com</a>></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#id2572592">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2572776">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#id2573212">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2573848">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#id2574407">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#id2575341">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#id2575942">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576182">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576203">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576389">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576529">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577215">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577499">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577651">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577854">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577941">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578138">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579402">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579429">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579502">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579550">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579797">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2572502"></a> 3 <a class="indexterm" name="id2572509"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jon@sutinen.com">jon@sutinen.com</a>></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#id2572606">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2572789">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#id2573226">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2573862">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#id2574421">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#id2575354">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#id2575955">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576195">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576217">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576403">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576543">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577228">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577512">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577664">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577867">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577954">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578151">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579416">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579442">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579515">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579563">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579810">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></div><p> 4 2 <a class="indexterm" name="id2572516"></a> 5 <a class="indexterm" name="id2572524"></a> 3 <a class="indexterm" name="id2572523"></a> 4 <a class="indexterm" name="id2572530"></a> 5 <a class="indexterm" name="id2572537"></a> 6 6 This chapter contains detailed information as well as a fast-track guide to 7 7 implementing browsing across subnets and/or across workgroups (or domains). … … 9 9 not involved in browse list handling except by way of name-to-address resolution. 10 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="id25725 40"></a>11 <a class="indexterm" name="id2572554"></a> 12 12 What is WINS? 13 13 </p><p> … … 15 15 Dynamic-DNS service for NetBIOS networking names. 16 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="id2572557"></a>18 <a class="indexterm" name="id2572564"></a>19 17 <a class="indexterm" name="id2572571"></a> 20 18 <a class="indexterm" name="id2572578"></a> 19 <a class="indexterm" name="id2572585"></a> 20 <a class="indexterm" name="id2572591"></a> 21 21 MS Windows 2000 and later versions can be configured to operate with no NetBIOS 22 22 over TCP/IP. Samba-3 and later versions also support this mode of operation. … … 24 24 means for resolution of MS Windows machine names is via DNS and Active Directory. 25 25 The 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="id2572 592"></a>Features and Benefits</h2></div></div></div><p>26 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2572606"></a>Features and Benefits</h2></div></div></div><p> 27 27 Charles Dickens once referred to the past in these words: “<span class="quote"><span class="emphasis"><em>It was the best of times, 28 28 it was the worst of times.</em></span></span>” The more we look back, the more we long for what was and 29 29 hope it never returns. 30 30 </p><p> 31 <a class="indexterm" name="id2572611"></a>32 <a class="indexterm" name="id2572618"></a>33 31 <a class="indexterm" name="id2572625"></a> 32 <a class="indexterm" name="id2572631"></a> 33 <a class="indexterm" name="id2572638"></a> 34 34 For many MS Windows network administrators, that statement sums up their feelings about 35 35 NetBIOS networking precisely. For those who mastered NetBIOS networking, its fickle … … 44 44 features that make it such a persistent weed. 45 45 </p><p> 46 <a class="indexterm" name="id2572654"></a> 47 <a class="indexterm" name="id2572664"></a> 48 <a class="indexterm" name="id2572671"></a> 49 <a class="indexterm" name="id2572677"></a> 46 <a class="indexterm" name="id2572668"></a> 47 <a class="indexterm" name="id2572678"></a> 50 48 <a class="indexterm" name="id2572684"></a> 49 <a class="indexterm" name="id2572691"></a> 50 <a class="indexterm" name="id2572698"></a> 51 51 In this chapter we explore vital aspects of Server Message Block (SMB) networking with 52 52 a particular focus on SMB as implemented through running NetBIOS (Network Basic … … 55 55 remember to use nothing but TCP/IP on all our MS Windows network clients. 56 56 </p><p> 57 <a class="indexterm" name="id25727 02"></a>58 <a class="indexterm" name="id25727 08"></a>57 <a class="indexterm" name="id2572715"></a> 58 <a class="indexterm" name="id2572722"></a> 59 59 Samba provides the ability to implement a WINS (Windows Internetworking Name Server) 60 60 and implements extensions to Microsoft's implementation of WINS. These extensions 61 61 help Samba to effect stable WINS operations beyond the normal scope of MS WINS. 62 62 </p><p> 63 <a class="indexterm" name="id2572723"></a>64 <a class="indexterm" name="id2572730"></a>65 63 <a class="indexterm" name="id2572736"></a> 64 <a class="indexterm" name="id2572743"></a> 65 <a class="indexterm" name="id2572750"></a> 66 66 WINS is exclusively a service that applies only to those systems 67 67 that run NetBIOS over TCP/IP. MS Windows 200x/XP have the capacity to operate with 68 68 support for NetBIOS disabled, in which case WINS is of no relevance. Samba supports this also. 69 69 </p><p> 70 <a class="indexterm" name="id2572751"></a>71 <a class="indexterm" name="id2572758"></a>72 70 <a class="indexterm" name="id2572764"></a> 71 <a class="indexterm" name="id2572771"></a> 72 <a class="indexterm" name="id2572778"></a> 73 73 For those networks on which NetBIOS has been disabled (i.e., WINS is not required), 74 74 the 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="id2572776"></a>What Is Browsing?</h2></div></div></div><p> 76 <a class="indexterm" name="id2572783"></a> 77 <a class="indexterm" name="id2572790"></a> 75 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2572789"></a>What Is Browsing?</h2></div></div></div><p> 78 76 <a class="indexterm" name="id2572797"></a> 79 77 <a class="indexterm" name="id2572804"></a> 78 <a class="indexterm" name="id2572811"></a> 79 <a class="indexterm" name="id2572818"></a> 80 80 To most people, browsing means they can see the MS Windows and Samba servers 81 81 in the Network Neighborhood, and when the computer icon for a particular server is … … 85 85 The technologies (or methods) employed in making all of this work include: 86 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="id25728 61"></a>88 <a class="indexterm" name="id25728 68"></a>89 <a class="indexterm" name="id25728 75"></a>87 <a class="indexterm" name="id2572874"></a> 88 <a class="indexterm" name="id2572881"></a> 89 <a class="indexterm" name="id2572888"></a> 90 90 The Samba application that controls browse list management and name resolution is 91 91 called <code class="filename">nmbd</code>. The configuration parameters involved in nmbd's operation are: … … 100 100 parameters is set, <code class="filename">nmbd</code> will still do its job. 101 101 </p><p> 102 <a class="indexterm" name="id2573110"></a>103 <a class="indexterm" name="id2573117"></a>104 102 <a class="indexterm" name="id2573123"></a> 105 103 <a class="indexterm" name="id2573130"></a> 106 104 <a class="indexterm" name="id2573137"></a> 105 <a class="indexterm" name="id2573144"></a> 106 <a class="indexterm" name="id2573151"></a> 107 107 For Samba, the WINS Server and WINS Support are mutually exclusive options. When <code class="literal">nmbd</code> is 108 108 started 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> … … 110 110 server also. 111 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="id2573180"></a>113 <a class="indexterm" name="id2573186"></a>114 112 <a class="indexterm" name="id2573193"></a> 115 113 <a class="indexterm" name="id2573200"></a> 114 <a class="indexterm" name="id2573207"></a> 115 <a class="indexterm" name="id2573214"></a> 116 116 All MS Windows networking uses SMB-based messaging. SMB messaging may be implemented with or without NetBIOS. 117 117 MS Windows 200x supports NetBIOS over TCP/IP for backwards compatibility. Microsoft appears intent on phasing 118 118 out NetBIOS support. 119 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2573212"></a>NetBIOS over TCP/IP</h3></div></div></div><p> 120 <a class="indexterm" name="id2573220"></a> 121 <a class="indexterm" name="id2573227"></a> 119 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2573226"></a>NetBIOS over TCP/IP</h3></div></div></div><p> 122 120 <a class="indexterm" name="id2573234"></a> 123 121 <a class="indexterm" name="id2573241"></a> 122 <a class="indexterm" name="id2573247"></a> 123 <a class="indexterm" name="id2573254"></a> 124 124 Samba implements NetBIOS, as does MS Windows NT/200x/XP, by encapsulating it over TCP/IP. 125 125 NetBIOS-based networking uses broadcast messaging to effect browse list management. When running NetBIOS over 126 126 TCP/IP, this uses UDP-based messaging. UDP messages can be broadcast or unicast. 127 127 </p><p> 128 <a class="indexterm" name="id25732 55"></a>128 <a class="indexterm" name="id2573269"></a> 129 129 Normally, only unicast UDP messaging can be forwarded by routers. The <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE">remote announce</a> 130 130 parameter to smb.conf helps to project browse announcements to remote network segments via unicast UDP. … … 134 134 The methods used by MS Windows to perform name lookup requests (name resolution) is determined by a 135 135 configuration parameter called the NetBIOS node-type. There are four basic NetBIOS node types: 136 </p><a class="indexterm" name="id25733 04"></a><a class="indexterm" name="id2573310"></a><a class="indexterm" name="id2573317"></a><a class="indexterm" name="id2573324"></a><a class="indexterm" name="id2573331"></a><a class="indexterm" name="id2573338"></a><a class="indexterm" name="id2573344"></a><a class="indexterm" name="id2573351"></a><div class="itemizedlist"><ul type="disc"><li><p><span class="emphasis"><em>b-node (type 0x01):</em></span> The Windows client will use only136 </p><a class="indexterm" name="id2573317"></a><a class="indexterm" name="id2573324"></a><a class="indexterm" name="id2573331"></a><a class="indexterm" name="id2573338"></a><a class="indexterm" name="id2573344"></a><a class="indexterm" name="id2573351"></a><a class="indexterm" name="id2573358"></a><a class="indexterm" name="id2573365"></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 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 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 … … 141 141 (NetBIOS unicast) requests using UDP unicast directed to a WINS server, then it will use 142 142 NetBIOS broadcast requests using UDP broadcast.</p></li></ul></div><p> 143 <a class="indexterm" name="id2573400"></a>144 <a class="indexterm" name="id2573407"></a>145 143 <a class="indexterm" name="id2573414"></a> 146 <a class="indexterm" name="id257342 1"></a>147 <a class="indexterm" name="id257342 8"></a>144 <a class="indexterm" name="id2573420"></a> 145 <a class="indexterm" name="id2573427"></a> 148 146 <a class="indexterm" name="id2573434"></a> 147 <a class="indexterm" name="id2573441"></a> 148 <a class="indexterm" name="id2573448"></a> 149 149 The default Windows network client (or server) network configuration enables NetBIOS over TCP/IP 150 150 and b-node configuration. The use of WINS makes most sense with h-node (hybrid mode) operation so that 151 151 in the event of a WINS breakdown or non-availability, the client can use broadcast-based name resolution. 152 152 </p><p> 153 <a class="indexterm" name="id2573450"></a> 154 <a class="indexterm" name="id2573459"></a> 155 <a class="indexterm" name="id2573466"></a> 153 <a class="indexterm" name="id2573463"></a> 156 154 <a class="indexterm" name="id2573473"></a> 157 <a class="indexterm" name="id25734 79"></a>155 <a class="indexterm" name="id2573480"></a> 158 156 <a class="indexterm" name="id2573486"></a> 159 157 <a class="indexterm" name="id2573493"></a> 158 <a class="indexterm" name="id2573500"></a> 159 <a class="indexterm" name="id2573507"></a> 160 160 In those networks where Samba is the only SMB server technology, wherever possible <code class="filename">nmbd</code> 161 161 should be configured on one machine as the WINS server. This makes it easy to manage the browsing environment. … … 163 163 browsing to work is by using the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE">remote announce</a> and the <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC">remote browse sync</a> parameters to your <code class="filename">smb.conf</code> file. 164 164 </p><p> 165 <a class="indexterm" name="id25735 44"></a>165 <a class="indexterm" name="id2573558"></a> 166 166 If only one WINS server is used for an entire multisegment network, then 167 167 the use of the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE">remote announce</a> and the 168 168 <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC">remote browse sync</a> parameters should not be necessary. 169 169 </p><p> 170 <a class="indexterm" name="id25735 79"></a>170 <a class="indexterm" name="id2573593"></a> 171 171 As of Samba-3, WINS replication is being worked on. The bulk of the code has been committed, but it still 172 172 needs maturation. This is not a supported feature of the Samba-3.0.20 release. Hopefully, this will become a … … 174 174 not been of sufficient significance to inspire someone to pay a developer to complete it. 175 175 </p><p> 176 <a class="indexterm" name="id2573598"></a>177 <a class="indexterm" name="id2573605"></a>178 176 <a class="indexterm" name="id2573612"></a> 179 <a class="indexterm" name="id257361 9"></a>177 <a class="indexterm" name="id2573618"></a> 180 178 <a class="indexterm" name="id2573625"></a> 181 179 <a class="indexterm" name="id2573632"></a> 182 180 <a class="indexterm" name="id2573639"></a> 183 181 <a class="indexterm" name="id2573646"></a> 182 <a class="indexterm" name="id2573653"></a> 183 <a class="indexterm" name="id2573659"></a> 184 184 Right now Samba WINS does not support MS-WINS replication. This means that when setting up Samba as a WINS 185 185 server, there must only be one <code class="filename">nmbd</code> configured as a WINS server on the network. Some … … 195 195 clients are designed to use WINS. 196 196 </p><p> 197 <a class="indexterm" name="id2573708"></a>198 <a class="indexterm" name="id2573714"></a>199 197 <a class="indexterm" name="id2573721"></a> 198 <a class="indexterm" name="id2573728"></a> 199 <a class="indexterm" name="id2573734"></a> 200 200 Lastly, take note that browse lists are a collection of unreliable broadcast 201 201 messages that are repeated at intervals of not more than 15 minutes. This means … … 203 203 minutes to stabilize, particularly across network segments. 204 204 </p><p> 205 <a class="indexterm" name="id25737 36"></a>205 <a class="indexterm" name="id2573750"></a> 206 206 When an MS Windows 200x/XP system attempts to resolve a host name to an IP address, it follows a defined path: 207 207 </p><div class="orderedlist"><ol type="1"><li><p> … … 218 218 Looks up entries in LMHOSTS, located in <code class="filename">%SystemRoot%\System32\Drivers\etc</code>. 219 219 </p></li></ol></div><p> 220 <a class="indexterm" name="id2573803"></a>221 <a class="indexterm" name="id2573810"></a>222 220 <a class="indexterm" name="id2573817"></a> 223 221 <a class="indexterm" name="id2573824"></a> 222 <a class="indexterm" name="id2573831"></a> 223 <a class="indexterm" name="id2573838"></a> 224 224 Given the nature of how the NetBIOS over TCP/IP protocol is implemented, only WINS is capable of resolving 225 225 with any reliability name lookups for service-oriented names such as TEMPTATION<1C> a NetBIOS … … 228 228 service-oriented DNS entries. This type of facility is not implemented and is not supported for the NetBIOS 229 229 over TCP/IP protocol namespace. 230 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2573848"></a>TCP/IP without NetBIOS</h3></div></div></div><p> 231 <a class="indexterm" name="id2573856"></a> 232 <a class="indexterm" name="id2573862"></a> 230 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2573862"></a>TCP/IP without NetBIOS</h3></div></div></div><p> 233 231 <a class="indexterm" name="id2573869"></a> 232 <a class="indexterm" name="id2573876"></a> 233 <a class="indexterm" name="id2573883"></a> 234 234 All TCP/IP-enabled systems use various forms of hostname resolution. The primary 235 235 methods for TCP/IP hostname resolution involve either a static file (<code class="filename">/etc/hosts</code>) … … 238 238 TCP/IP-enabled systems. Only a few embedded TCP/IP systems do not support DNS. 239 239 </p><p> 240 <a class="indexterm" name="id2573891"></a>241 <a class="indexterm" name="id2573898"></a>242 240 <a class="indexterm" name="id2573905"></a> 243 <a class="indexterm" name="id2573912"></a> 241 <a class="indexterm" name="id2573911"></a> 242 <a class="indexterm" name="id2573918"></a> 243 <a class="indexterm" name="id2573925"></a> 244 244 Windows 200x/XP can register its hostname with a Dynamic DNS server (DDNS). It is possible to force register with a 245 245 dynamic DNS server in Windows 200x/XP using <code class="literal">ipconfig /registerdns</code>. 246 246 </p><p> 247 <a class="indexterm" name="id2573933"></a>248 <a class="indexterm" name="id2573939"></a>249 247 <a class="indexterm" name="id2573946"></a> 248 <a class="indexterm" name="id2573953"></a> 249 <a class="indexterm" name="id2573959"></a> 250 250 With Active Directory, a correctly functioning DNS server is absolutely essential. In the absence of a working 251 251 DNS server that has been correctly configured, MS Windows clients and servers will be unable to locate each 252 252 other, so network services consequently will be severely impaired. 253 253 </p><p> 254 <a class="indexterm" name="id2573961"></a> 255 <a class="indexterm" name="id2573968"></a> 256 <a class="indexterm" name="id2573975"></a> 257 <a class="indexterm" name="id2573982"></a> 258 <a class="indexterm" name="id2573989"></a> 254 <a class="indexterm" name="id2573974"></a> 255 <a class="indexterm" name="id2573981"></a> 256 <a class="indexterm" name="id2573988"></a> 259 257 <a class="indexterm" name="id2573995"></a> 258 <a class="indexterm" name="id2574002"></a> 259 <a class="indexterm" name="id2574009"></a> 260 260 Use of raw SMB over TCP/IP (No NetBIOS layer) can be done only with Active Directory domains. Samba is not an 261 261 Active Directory domain controller: ergo, it is not possible to run Samba as a domain controller and at the same … … 266 266 by the ADS environment. 267 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="id2574030"></a> 269 <a class="indexterm" name="id2574039"></a> 270 <a class="indexterm" name="id2574046"></a> 268 <a class="indexterm" name="id2574044"></a> 271 269 <a class="indexterm" name="id2574052"></a> 272 270 <a class="indexterm" name="id2574059"></a> 271 <a class="indexterm" name="id2574066"></a> 272 <a class="indexterm" name="id2574073"></a> 273 273 Occasionally we hear from UNIX network administrators who want to use a UNIX-based DDNS server in place 274 274 of the Microsoft DNS server. While this might be desirable to some, the MS Windows 200x DNS server is … … 278 278 Active Directory requires: 279 279 </p><p> 280 <a class="indexterm" name="id2574081"></a>281 <a class="indexterm" name="id2574088"></a>282 280 <a class="indexterm" name="id2574094"></a> 281 <a class="indexterm" name="id2574101"></a> 282 <a class="indexterm" name="id2574108"></a> 283 283 The use of DDNS is highly recommended with Active Directory, in which case the use of BIND9 is preferred for 284 284 its ability to adequately support the SRV (service) records that are needed for Active Directory. Of course, … … 371 371 ;; MSG SIZE rcvd: 171 372 372 </pre><p> 373 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2574407"></a>How Browsing Functions</h2></div></div></div><p> 374 <a class="indexterm" name="id2574415"></a> 375 <a class="indexterm" name="id2574422"></a> 373 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2574421"></a>How Browsing Functions</h2></div></div></div><p> 376 374 <a class="indexterm" name="id2574429"></a> 377 375 <a class="indexterm" name="id2574436"></a> 378 376 <a class="indexterm" name="id2574442"></a> 377 <a class="indexterm" name="id2574449"></a> 378 <a class="indexterm" name="id2574456"></a> 379 379 MS Windows machines register their NetBIOS names (i.e., the machine name for each service type in operation) 380 380 on startup. The exact method by which this name registration takes place is determined by whether or not the … … 382 382 whether or not DNS for NetBIOS name resolution is enabled, and so on. 383 383 </p><p> 384 <a class="indexterm" name="id2574459"></a>385 <a class="indexterm" name="id2574466"></a>386 384 <a class="indexterm" name="id2574473"></a> 385 <a class="indexterm" name="id2574479"></a> 386 <a class="indexterm" name="id2574486"></a> 387 387 In the case where there is no WINS server, all name registrations as well as name lookups are done by UDP 388 388 broadcast. This isolates name resolution to the local subnet, unless LMHOSTS is used to list all names and IP … … 391 391 parameter). 392 392 </p><p> 393 <a class="indexterm" name="id25745 02"></a>394 <a class="indexterm" name="id25745 08"></a>395 <a class="indexterm" name="id25745 15"></a>393 <a class="indexterm" name="id2574516"></a> 394 <a class="indexterm" name="id2574522"></a> 395 <a class="indexterm" name="id2574529"></a> 396 396 Where a WINS server is used, the MS Windows client will use UDP unicast to register with the WINS server. Such 397 397 packets can be routed, and thus WINS allows name resolution to function across routed networks. 398 398 </p><p> 399 <a class="indexterm" name="id2574529"></a> 400 <a class="indexterm" name="id2574535"></a> 401 <a class="indexterm" name="id2574544"></a> 402 <a class="indexterm" name="id2574551"></a> 399 <a class="indexterm" name="id2574542"></a> 400 <a class="indexterm" name="id2574549"></a> 403 401 <a class="indexterm" name="id2574558"></a> 404 <a class="indexterm" name="id257456 4"></a>402 <a class="indexterm" name="id2574565"></a> 405 403 <a class="indexterm" name="id2574571"></a> 406 404 <a class="indexterm" name="id2574578"></a> 405 <a class="indexterm" name="id2574585"></a> 406 <a class="indexterm" name="id2574592"></a> 407 407 During the startup process, an election takes place to create a local master browser (LMB) if one does not 408 408 already exist. On each NetBIOS network one machine will be elected to function as the domain master browser … … 414 414 criteria, will win the election as DMB. 415 415 </p><p> 416 <a class="indexterm" name="id2574602"></a>417 <a class="indexterm" name="id2574608"></a>418 416 <a class="indexterm" name="id2574615"></a> 419 417 <a class="indexterm" name="id2574622"></a> 420 <a class="indexterm" name="id2574629"></a> 421 <a class="indexterm" name="id2574636"></a> 422 <a class="indexterm" name="id2574643"></a> 423 <a class="indexterm" name="id2574650"></a> 418 <a class="indexterm" name="id2574628"></a> 419 <a class="indexterm" name="id2574635"></a> 420 <a class="indexterm" name="id2574642"></a> 421 <a class="indexterm" name="id2574649"></a> 422 <a class="indexterm" name="id2574656"></a> 423 <a class="indexterm" name="id2574663"></a> 424 424 Where a WINS server is used, the DMB registers its IP address with the WINS server using the name of the 425 425 domain and the NetBIOS name type 1B (e.g., DOMAIN<1B>). All LMBs register their IP addresses with the WINS … … 429 429 they are on. The DMB is responsible for synchronizing the browse lists it obtains from the LMBs. 430 430 </p><p> 431 <a class="indexterm" name="id25746 86"></a>431 <a class="indexterm" name="id2574699"></a> 432 432 Clients wishing to browse the network make use of this list but also depend on the availability of correct 433 433 name resolution to the respective IP address or addresses. 434 434 </p><p> 435 <a class="indexterm" name="id2574 699"></a>435 <a class="indexterm" name="id2574712"></a> 436 436 Any configuration that breaks name resolution and/or browsing intrinsics will annoy users because they will 437 437 have to put up with protracted inability to use the network services. 438 438 </p><p> 439 <a class="indexterm" name="id2574712"></a>440 <a class="indexterm" name="id2574719"></a>441 439 <a class="indexterm" name="id2574725"></a> 442 440 <a class="indexterm" name="id2574732"></a> 443 441 <a class="indexterm" name="id2574739"></a> 444 442 <a class="indexterm" name="id2574746"></a> 443 <a class="indexterm" name="id2574753"></a> 444 <a class="indexterm" name="id2574759"></a> 445 445 Samba supports a feature that allows forced synchronization of browse lists across routed networks using the 446 446 <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC">remote browse sync</a> parameter in the <code class="filename">smb.conf</code> file. This causes Samba to contact the … … 452 452 be provided. This mechanism could be via DNS, <code class="filename">/etc/hosts</code>, and so on. 453 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="id2574815"></a>455 <a class="indexterm" name="id2574822"></a>456 454 <a class="indexterm" name="id2574828"></a> 457 455 <a class="indexterm" name="id2574835"></a> 458 <a class="indexterm" name="id257484 1"></a>456 <a class="indexterm" name="id2574842"></a> 459 457 <a class="indexterm" name="id2574848"></a> 458 <a class="indexterm" name="id2574855"></a> 459 <a class="indexterm" name="id2574862"></a> 460 460 To configure cross-subnet browsing on a network containing machines in a workgroup, not an NT domain, you need 461 461 to set up one Samba server to be the DMB (note that this is not the same as a Primary Domain Controller, … … 465 465 presence of a DMB that makes cross-subnet browsing possible for a workgroup. 466 466 </p><p> 467 <a class="indexterm" name="id25748 69"></a>467 <a class="indexterm" name="id2574882"></a> 468 468 In a workgroup environment the DMB must be a Samba server, and there must only be one DMB per workgroup name. 469 469 To set up a Samba server as a DMB, set the following option in the <em class="parameter"><code>[global]</code></em> section 470 470 of the <code class="filename">smb.conf</code> file: 471 471 </p><p> 472 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2574 898"></a><em class="parameter"><code>domain master = yes</code></em></td></tr></table><p>473 </p><p> 474 <a class="indexterm" name="id25749 13"></a>475 <a class="indexterm" name="id25749 20"></a>472 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2574912"></a><em class="parameter"><code>domain master = yes</code></em></td></tr></table><p> 473 </p><p> 474 <a class="indexterm" name="id2574927"></a> 475 <a class="indexterm" name="id2574933"></a> 476 476 The DMB should preferably be the LMB for its own subnet. In order to achieve this, set the following options 477 477 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#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="id25749 74"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2574986"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2574998"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575010"></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="id25750 25"></a>480 <a class="indexterm" name="id25750 31"></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="id2574988"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575000"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575011"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575023"></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="id2575038"></a> 480 <a class="indexterm" name="id2575045"></a> 481 481 The DMB may be the same machine as the WINS server, if necessary. 482 482 </p><p> 483 <a class="indexterm" name="id2575042"></a>484 <a class="indexterm" name="id2575049"></a>485 483 <a class="indexterm" name="id2575056"></a> 484 <a class="indexterm" name="id2575063"></a> 485 <a class="indexterm" name="id2575069"></a> 486 486 Next, you should ensure that each of the subnets contains a machine that can act as an LMB for the workgroup. 487 487 Any MS Windows NT/200x/XP machine should be able to do this, as will Windows 9x/Me machines (although these … … 489 489 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 490 490 <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="id25751 13"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575125"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575137"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575149"></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="id25751 64"></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="id2575127"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575139"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575150"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575162"></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="id2575177"></a> 493 493 Do not do this for more than one Samba server on each subnet, or they will war with 494 494 each other over which is to be the LMB. 495 495 </p><p> 496 <a class="indexterm" name="id25751 76"></a>497 <a class="indexterm" name="id25751 82"></a>496 <a class="indexterm" name="id2575189"></a> 497 <a class="indexterm" name="id2575196"></a> 498 498 The <a class="link" href="smb.conf.5.html#LOCALMASTER">local master</a> parameter allows Samba to act as a 499 499 LMB. The <a class="link" href="smb.conf.5.html#PREFERREDMASTER">preferred master</a> causes <code class="literal">nmbd</code> … … 501 501 parameter sets Samba high enough so it should win any browser elections. 502 502 </p><p> 503 <a class="indexterm" name="id25752 35"></a>503 <a class="indexterm" name="id2575249"></a> 504 504 If you have an NT machine on the subnet that you wish to be the LMB, you can disable Samba from 505 505 becoming an LMB by setting the following options in the <em class="parameter"><code>[global]</code></em> section of the 506 506 <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>. 507 507 </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="id2575291"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575302"></a><em class="parameter"><code>local master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575314"></a><em class="parameter"><code>preferred master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575326"></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="id2575341"></a>Domain Browsing Configuration</h3></div></div></div><p> 510 <a class="indexterm" name="id2575349"></a> 511 <a class="indexterm" name="id2575355"></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 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="id2575304"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575316"></a><em class="parameter"><code>local master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575328"></a><em class="parameter"><code>preferred master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575339"></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="id2575354"></a>Domain Browsing Configuration</h3></div></div></div><p> 512 510 <a class="indexterm" name="id2575362"></a> 513 511 <a class="indexterm" name="id2575369"></a> 512 <a class="indexterm" name="id2575375"></a> 513 <a class="indexterm" name="id2575382"></a> 514 514 If you are adding Samba servers to a Windows NT domain, then you must not set up a Samba server as a DMB. By 515 515 default, a Windows NT PDC for a domain is also the DMB for that domain. Network browsing may break if a Samba … … 517 517 WINS. 518 518 </p><p> 519 <a class="indexterm" name="id2575 388"></a>519 <a class="indexterm" name="id2575401"></a> 520 520 For subnets other than the one containing the Windows NT PDC, you may set up Samba servers as LMBs as 521 521 described. 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 522 522 smb.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="id25754 44"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575455"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575467"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575479"></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="id2575 494"></a>525 <a class="indexterm" name="id25755 00"></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="id2575457"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575469"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575480"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575492"></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="id2575507"></a> 525 <a class="indexterm" name="id2575514"></a> 526 526 If you wish to have a Samba server fight the election with machines on the same subnet, you may set the 527 527 <a class="link" href="smb.conf.5.html#OSLEVEL">os level</a> parameter to lower levels. By doing this you can tune the order of machines 528 528 that 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>. 529 529 </p><p> 530 <a class="indexterm" name="id2575536"></a>531 <a class="indexterm" name="id2575542"></a>532 530 <a class="indexterm" name="id2575549"></a> 531 <a class="indexterm" name="id2575556"></a> 532 <a class="indexterm" name="id2575562"></a> 533 533 If you have Windows NT machines that are members of the domain on all subnets and you are sure they will 534 534 always be running, you can disable Samba from taking part in browser elections and ever becoming an LMB by … … 538 538 </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">domain master = no</a><a class="link" href="smb.conf.5.html#LOCALMASTER">local master = no</a><a class="link" href="smb.conf.5.html#PREFERREDMASTER">preferred master = no</a><a class="link" href="smb.conf.5.html#OSLEVEL">os level = 0</a></div></div><p><br class="example-break"> 539 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="id2575667"></a> 541 <a class="indexterm" name="id2575673"></a> 542 <a class="indexterm" name="id2575680"></a> 540 <a class="indexterm" name="id2575681"></a> 543 541 <a class="indexterm" name="id2575687"></a> 544 542 <a class="indexterm" name="id2575694"></a> 545 <a class="indexterm" name="id257570 1"></a>543 <a class="indexterm" name="id2575700"></a> 546 544 <a class="indexterm" name="id2575707"></a> 545 <a class="indexterm" name="id2575714"></a> 546 <a class="indexterm" name="id2575721"></a> 547 547 Who becomes the master browser is determined by an election process using broadcasts. Each election packet 548 548 contains a number of parameters that determine what precedence (bias) a host should have in the election. By … … 558 558 level is 255. 559 559 </p><p> 560 <a class="indexterm" name="id2575764"></a> 561 <a class="indexterm" name="id2575770"></a> 562 <a class="indexterm" name="id2575777"></a> 560 <a class="indexterm" name="id2575778"></a> 563 561 <a class="indexterm" name="id2575784"></a> 562 <a class="indexterm" name="id2575791"></a> 563 <a class="indexterm" name="id2575798"></a> 564 564 If you want Samba to force an election on startup, set the <a class="link" href="smb.conf.5.html#PREFERREDMASTER">preferred master</a> global 565 565 option in <code class="filename">smb.conf</code> to <code class="constant">yes</code>. Samba will then have a slight advantage over other … … 569 569 they will force an election in order to become the LMB. 570 570 </p><p> 571 <a class="indexterm" name="id2575838"></a> 572 <a class="indexterm" name="id2575844"></a> 573 <a class="indexterm" name="id2575851"></a> 571 <a class="indexterm" name="id2575852"></a> 574 572 <a class="indexterm" name="id2575858"></a> 575 <a class="indexterm" name="id2575864"></a> 573 <a class="indexterm" name="id2575865"></a> 574 <a class="indexterm" name="id2575871"></a> 575 <a class="indexterm" name="id2575878"></a> 576 576 If 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">preferred master</a> to <code class="constant">yes</code>, because Samba will not become a DMB for the whole of 577 577 your LAN or WAN if it is not also a LMB on its own broadcast isolated subnet. 578 578 </p><p> 579 <a class="indexterm" name="id2575897"></a>580 <a class="indexterm" name="id2575903"></a>581 579 <a class="indexterm" name="id2575910"></a> 582 580 <a class="indexterm" name="id2575916"></a> 583 581 <a class="indexterm" name="id2575923"></a> 582 <a class="indexterm" name="id2575930"></a> 583 <a class="indexterm" name="id2575937"></a> 584 584 It is possible to configure two Samba servers to attempt to become the DMB for a domain. The first server that 585 585 comes up will be the DMB. All other Samba servers will attempt to become the DMB every 5 minutes. They will … … 587 587 current DMB fail. The network bandwidth overhead of browser elections is relatively small, requiring 588 588 approximately 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="id2575942"></a>Making Samba the Domain Master</h3></div></div></div><p> 590 <a class="indexterm" name="id2575949"></a> 591 <a class="indexterm" name="id2575956"></a> 589 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2575955"></a>Making Samba the Domain Master</h3></div></div></div><p> 592 590 <a class="indexterm" name="id2575962"></a> 593 591 <a class="indexterm" name="id2575969"></a> 592 <a class="indexterm" name="id2575976"></a> 593 <a class="indexterm" name="id2575983"></a> 594 594 The domain master browser is responsible for collating the browse lists of multiple subnets so browsing can 595 595 occur between subnets. You can make Samba act as the domain master browser by setting <a class="link" href="smb.conf.5.html#DOMAINMASTER">domain master = yes</a> in <code class="filename">smb.conf</code>. By default it will not be a domain master browser. 596 596 </p><p> 597 <a class="indexterm" name="id25760 02"></a>598 <a class="indexterm" name="id25760 08"></a>597 <a class="indexterm" name="id2576015"></a> 598 <a class="indexterm" name="id2576022"></a> 599 599 Do not set Samba to be the domain master for a workgroup that has the same name as an NT/200x domain. If 600 600 Samba is configured to be the domain master for a workgroup that is present on the same network as a Windows … … 604 604 every 12 minutes) from LMBs on other subnets and then contact them to synchronize browse lists. 605 605 </p><p> 606 <a class="indexterm" name="id25760 31"></a>607 <a class="indexterm" name="id25760 38"></a>606 <a class="indexterm" name="id2576044"></a> 607 <a class="indexterm" name="id2576051"></a> 608 608 If you want Samba to be the domain master, you should also set the <a class="link" href="smb.conf.5.html#OSLEVEL">os level</a> high 609 609 enough to make sure it wins elections, and set <a class="link" href="smb.conf.5.html#PREFERREDMASTER">preferred master</a> to 610 610 <code class="constant">yes</code>, to get Samba to force an election on startup. 611 611 </p><p> 612 <a class="indexterm" name="id25760 77"></a>613 <a class="indexterm" name="id25760 83"></a>612 <a class="indexterm" name="id2576090"></a> 613 <a class="indexterm" name="id2576097"></a> 614 614 All servers (including Samba) and clients should be using a WINS server to resolve NetBIOS names. If your 615 615 clients are only using broadcasting to resolve NetBIOS names, then two things will occur: 616 616 </p><div class="orderedlist"><ol type="1"><li><p> 617 <a class="indexterm" name="id25761 06"></a>618 <a class="indexterm" name="id25761 12"></a>617 <a class="indexterm" name="id2576119"></a> 618 <a class="indexterm" name="id2576126"></a> 619 619 LMBs will be unable to find a DMB because they will be looking only on the local subnet. 620 620 </p></li><li><p> 621 <a class="indexterm" name="id25761 27"></a>621 <a class="indexterm" name="id2576140"></a> 622 622 If a client happens to get hold of a domain-wide browse list and a user attempts to access a 623 623 host in that list, it will be unable to resolve the NetBIOS name of that host. 624 624 </p></li></ol></div><p> 625 <a class="indexterm" name="id25761 43"></a>625 <a class="indexterm" name="id2576156"></a> 626 626 If, however, both Samba and your clients are using a WINS server, then: 627 627 </p><div class="orderedlist"><ol type="1"><li><p> … … 632 632 contact the WINS server to resolve the NetBIOS name of that host. As long as that host has registered its 633 633 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="id25761 82"></a>Note about Broadcast Addresses</h3></div></div></div><p>635 <a class="indexterm" name="id2576 190"></a>634 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2576195"></a>Note about Broadcast Addresses</h3></div></div></div><p> 635 <a class="indexterm" name="id2576203"></a> 636 636 If your network uses a zero-based broadcast address (for example, if it ends in a 0), then you will strike 637 637 problems. Windows for Workgroups does not seem to support a zeros broadcast, and you will probably find that 638 638 browsing and name lookups will not work. 639 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25762 03"></a>Multiple Interfaces</h3></div></div></div><p>640 <a class="indexterm" name="id25762 11"></a>639 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2576217"></a>Multiple Interfaces</h3></div></div></div><p> 640 <a class="indexterm" name="id2576224"></a> 641 641 Samba supports machines with multiple network interfaces. If you have multiple interfaces, you will 642 642 need to use the <a class="link" href="smb.conf.5.html#INTERFACES">interfaces</a> option in <code class="filename">smb.conf</code> to configure them. For example, the … … 645 645 <code class="literal">eth4</code> should be used by Samba. In this case, the following <code class="filename">smb.conf</code> file entries would 646 646 permit that intent: 647 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2576287"></a><em class="parameter"><code>interfaces = eth1, eth4</code></em></td></tr><tr><td><a class="indexterm" name="id2576299"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr></table><p> 648 <a class="indexterm" name="id2576311"></a> 649 <a class="indexterm" name="id2576318"></a> 650 <a class="indexterm" name="id2576325"></a> 647 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2576301"></a><em class="parameter"><code>interfaces = eth1, eth4</code></em></td></tr><tr><td><a class="indexterm" name="id2576312"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr></table><p> 648 <a class="indexterm" name="id2576324"></a> 651 649 <a class="indexterm" name="id2576331"></a> 652 650 <a class="indexterm" name="id2576338"></a> 653 651 <a class="indexterm" name="id2576345"></a> 654 652 <a class="indexterm" name="id2576352"></a> 653 <a class="indexterm" name="id2576358"></a> 654 <a class="indexterm" name="id2576365"></a> 655 655 The <a class="link" href="smb.conf.5.html#BINDINTERFACESONLY">bind interfaces only = Yes</a> is necessary to exclude TCP/IP session 656 656 services (ports 135, 139, and 445) over the interfaces that are not specified. Please be aware that … … 659 659 ethernet interface requires the use of a firewall to block ports 137 and 138 (UDP), and ports 135, 139, and 660 660 445 (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="id2576 389"></a>Use of the Remote Announce Parameter</h3></div></div></div><p>661 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2576403"></a>Use of the Remote Announce Parameter</h3></div></div></div><p> 662 662 The <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE">remote announce</a> parameter of <code class="filename">smb.conf</code> can be used to forcibly ensure that all 663 663 the NetBIOS names on a network get announced to a remote network. The syntax of the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE">remote announce</a> parameter is: 664 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id25764 34"></a><em class="parameter"><code>remote announce = 192.168.12.23 [172.16.21.255] ...</code></em></td></tr></table><p>664 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2576448"></a><em class="parameter"><code>remote announce = 192.168.12.23 [172.16.21.255] ...</code></em></td></tr></table><p> 665 665 <span class="emphasis"><em>or</em></span> 666 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id25764 55"></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 class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2576468"></a><em class="parameter"><code>remote announce = 192.168.12.23/MIDEARTH [172.16.21.255/ELVINDORF] ...</code></em></td></tr></table><p> 667 667 668 668 where: 669 669 </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="id25764 83"></a>671 <a class="indexterm" name="id2576 492"></a>670 <a class="indexterm" name="id2576496"></a> 671 <a class="indexterm" name="id2576506"></a> 672 672 is either the LMB IP address or the broadcast address of the remote network. 673 673 That is, the LMB is at 192.168.1.23, or the address could be given as 172.16.21.255 where the netmask … … 679 679 they belong to that workgroup. This may cause name resolution problems and should be avoided. 680 680 </p></dd></dl></div><p> 681 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25765 29"></a>Use of the Remote Browse Sync Parameter</h3></div></div></div><p>682 <a class="indexterm" name="id25765 37"></a>683 <a class="indexterm" name="id25765 43"></a>681 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2576543"></a>Use of the Remote Browse Sync Parameter</h3></div></div></div><p> 682 <a class="indexterm" name="id2576550"></a> 683 <a class="indexterm" name="id2576557"></a> 684 684 The <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC">remote browse sync</a> parameter of <code class="filename">smb.conf</code> is used to announce to another LMB that 685 685 it must synchronize its NetBIOS name list with our Samba LMB. This works only if the Samba server that has … … 688 688 The syntax of the <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC">remote browse sync</a> parameter is: 689 689 690 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2576 593"></a></td></tr></table><p>691 <a class="indexterm" name="id25766 00"></a>692 <a class="indexterm" name="id25766 06"></a>690 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2576606"></a></td></tr></table><p> 691 <a class="indexterm" name="id2576613"></a> 692 <a class="indexterm" name="id2576620"></a> 693 693 where <em class="replaceable"><code>192.168.10.40</code></em> is either the IP address of the 694 694 remote 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="id2576622"></a>WINS: The Windows Internetworking Name Server</h2></div></div></div><p> 696 <a class="indexterm" name="id2576631"></a> 697 <a class="indexterm" name="id2576637"></a> 695 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2576636"></a>WINS: The Windows Internetworking Name Server</h2></div></div></div><p> 698 696 <a class="indexterm" name="id2576644"></a> 697 <a class="indexterm" name="id2576651"></a> 698 <a class="indexterm" name="id2576658"></a> 699 699 Use of WINS (either Samba WINS or MS Windows NT Server WINS) is highly 700 700 recommended. Every NetBIOS machine registers its name together with a … … 705 705 by registering the server (the type 0x20) name. 706 706 </p><p> 707 <a class="indexterm" name="id25766 62"></a>708 <a class="indexterm" name="id25766 69"></a>707 <a class="indexterm" name="id2576676"></a> 708 <a class="indexterm" name="id2576683"></a> 709 709 All NetBIOS names are up to 15 characters in length. The name_type variable 710 710 is added to the end of the name, thus creating a 16 character name. Any … … 713 713 name_type information). 714 714 </p><p> 715 <a class="indexterm" name="id2576685"></a>716 <a class="indexterm" name="id2576692"></a>717 715 <a class="indexterm" name="id2576698"></a> 718 716 <a class="indexterm" name="id2576705"></a> 717 <a class="indexterm" name="id2576712"></a> 718 <a class="indexterm" name="id2576719"></a> 719 719 WINS can store these 16-character names as they get registered. A client 720 720 that wants to log onto the network can ask the WINS server for a list … … 726 726 absence of WINS. 727 727 </p><p> 728 <a class="indexterm" name="id2576730"></a>729 <a class="indexterm" name="id2576737"></a>730 728 <a class="indexterm" name="id2576743"></a> 731 729 <a class="indexterm" name="id2576750"></a> 732 730 <a class="indexterm" name="id2576757"></a> 731 <a class="indexterm" name="id2576763"></a> 732 <a class="indexterm" name="id2576770"></a> 733 733 WINS also forces browse list synchronization by all LMBs. LMBs must synchronize their browse list with the 734 734 DMB, and WINS helps the LMB to identify its DMB. By definition this will work only within a single workgroup. … … 737 737 only. 738 738 </p><p> 739 <a class="indexterm" name="id25767 74"></a>740 <a class="indexterm" name="id25767 81"></a>741 <a class="indexterm" name="id2576 788"></a>742 <a class="indexterm" name="id2576 795"></a>739 <a class="indexterm" name="id2576787"></a> 740 <a class="indexterm" name="id2576794"></a> 741 <a class="indexterm" name="id2576801"></a> 742 <a class="indexterm" name="id2576808"></a> 743 743 WINS will work correctly only if every client TCP/IP protocol stack 744 744 is configured to use the WINS servers. Any client that is not … … 757 757 Never use <a class="link" href="smb.conf.5.html#WINSSUPPORT">wins support = yes</a> together with <a class="link" href="smb.conf.5.html#WINSSERVER">wins server = 10.0.0.18</a> particularly not using its own IP address. Specifying both will cause <span class="application">nmbd</span> 758 758 to refuse to start! 759 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2576 894"></a>WINS Server Configuration</h3></div></div></div><p>760 <a class="indexterm" name="id25769 02"></a>759 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2576907"></a>WINS Server Configuration</h3></div></div></div><p> 760 <a class="indexterm" name="id2576915"></a> 761 761 Either a Samba server or a Windows NT server machine may be set up 762 762 as a WINS server. To configure a Samba server to be a WINS server, you must … … 764 764 the <em class="parameter"><code>[global]</code></em> section: 765 765 </p><p> 766 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id25769 33"></a><em class="parameter"><code>wins support = yes</code></em></td></tr></table><p>767 </p><p> 768 <a class="indexterm" name="id25769 48"></a>766 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2576946"></a><em class="parameter"><code>wins support = yes</code></em></td></tr></table><p> 767 </p><p> 768 <a class="indexterm" name="id2576961"></a> 769 769 Versions of Samba prior to 1.9.17 had this parameter default to 770 770 yes. If you have any older versions of Samba on your network, it is … … 775 775 all NetBIOS names registered with them, acting as a DNS for NetBIOS names. 776 776 </p><p> 777 <a class="indexterm" name="id25769 82"></a>777 <a class="indexterm" name="id2576995"></a> 778 778 It is strongly recommended to set up only one WINS server. Do not set the <a class="link" href="smb.conf.5.html#WINSSUPPORT">wins support = yes</a> option on more than one Samba server on a network. 779 779 </p><p> 780 <a class="indexterm" name="id2577006"></a> 781 <a class="indexterm" name="id2577014"></a> 782 <a class="indexterm" name="id2577021"></a> 780 <a class="indexterm" name="id2577019"></a> 783 781 <a class="indexterm" name="id2577028"></a> 784 <a class="indexterm" name="id2577035"></a> 782 <a class="indexterm" name="id2577034"></a> 783 <a class="indexterm" name="id2577041"></a> 784 <a class="indexterm" name="id2577048"></a> 785 785 To configure Windows NT/200x Server as a WINS server, install and configure the WINS service. See the Windows 786 786 NT/200x documentation for details. Windows NT/200x WINS servers can replicate to each other, allowing more … … 790 790 as a WINS server. Currently only one Samba server should have the <a class="link" href="smb.conf.5.html#WINSSUPPORT">wins support = yes</a> parameter set. 791 791 </p><p> 792 <a class="indexterm" name="id25770 67"></a>793 <a class="indexterm" name="id25770 74"></a>792 <a class="indexterm" name="id2577081"></a> 793 <a class="indexterm" name="id2577087"></a> 794 794 After the WINS server has been configured, you must ensure that all machines participating on the network are 795 795 configured with the address of this WINS server. If your WINS server is a Samba machine, fill in the Samba … … 797 797 Panel->Network->Protocols->TCP->WINS Server</span> dialogs in Windows 9x/Me or Windows NT/200x. To tell a 798 798 Samba 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="id25771 18"></a><em class="parameter"><code>wins server = <name or IP address></code></em></td></tr></table><p>799 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2577131"></a><em class="parameter"><code>wins server = <name or IP address></code></em></td></tr></table><p> 800 800 where <name or IP address> is either the DNS name of the WINS server 801 801 machine or its IP address. … … 807 807 <code class="literal">nmbd</code> will fail to start. 808 808 </p><p> 809 <a class="indexterm" name="id25771 79"></a>810 <a class="indexterm" name="id25771 86"></a>811 <a class="indexterm" name="id2577 193"></a>812 <a class="indexterm" name="id25772 00"></a>809 <a class="indexterm" name="id2577192"></a> 810 <a class="indexterm" name="id2577199"></a> 811 <a class="indexterm" name="id2577206"></a> 812 <a class="indexterm" name="id2577213"></a> 813 813 There are two possible scenarios for setting up cross-subnet browsing. 814 814 The first details setting up cross-subnet browsing on a network containing … … 816 816 part of a Windows NT domain. The second details setting up cross-subnet 817 817 browsing on networks that contain NT domains. 818 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25772 15"></a>WINS Replication</h3></div></div></div><p>819 <a class="indexterm" name="id25772 23"></a>820 <a class="indexterm" name="id25772 32"></a>818 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2577228"></a>WINS Replication</h3></div></div></div><p> 819 <a class="indexterm" name="id2577236"></a> 820 <a class="indexterm" name="id2577245"></a> 821 821 Samba-3 does not support native WINS replication. There was an approach to implement it, called 822 822 <code class="filename">wrepld</code>, but it was never ready for action and the development is now discontinued. … … 826 826 <code class="filename">samba4WINS</code> are available at http://ftp.sernet.de/pub/samba4WINS. 827 827 828 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2577268"></a>Static WINS Entries</h3></div></div></div><p> 829 <a class="indexterm" name="id2577276"></a> 830 <a class="indexterm" name="id2577282"></a> 828 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2577281"></a>Static WINS Entries</h3></div></div></div><p> 831 829 <a class="indexterm" name="id2577289"></a> 832 830 <a class="indexterm" name="id2577296"></a> 831 <a class="indexterm" name="id2577303"></a> 832 <a class="indexterm" name="id2577310"></a> 833 833 Adding static entries to your Samba WINS server is actually fairly easy. All you have to do is add a line to 834 834 <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>. … … 838 838 "NAME#TYPE" TTL ADDRESS+ FLAGS 839 839 </pre><p> 840 <a class="indexterm" name="id25773 42"></a>841 <a class="indexterm" name="id25773 48"></a>840 <a class="indexterm" name="id2577355"></a> 841 <a class="indexterm" name="id2577362"></a> 842 842 where NAME is the NetBIOS name, TYPE is the NetBIOS type, TTL is the time-to-live as an absolute time in 843 843 seconds, ADDRESS+ is one or more addresses corresponding to the registration, and FLAGS are the NetBIOS flags … … 857 857 </pre><p> 858 858 </p><p> 859 <a class="indexterm" name="id2577421"></a> 860 <a class="indexterm" name="id2577428"></a> 861 <a class="indexterm" name="id2577435"></a> 862 <a class="indexterm" name="id2577442"></a> 859 <a class="indexterm" name="id2577434"></a> 860 <a class="indexterm" name="id2577441"></a> 863 861 <a class="indexterm" name="id2577448"></a> 864 862 <a class="indexterm" name="id2577455"></a> 865 863 <a class="indexterm" name="id2577462"></a> 864 <a class="indexterm" name="id2577469"></a> 865 <a class="indexterm" name="id2577476"></a> 866 866 The NetBIOS flags may be interpreted as additive hexadecimal values: 00 - Broadcast node registration, 20 - 867 867 Peer node registration, 40 - Meta node registration, 60 - Hybrid node registration, 02 - Permanent name, 04 - … … 870 870 file from the Samba source code repository. These are the values for the NB flags. 871 871 </p><p> 872 <a class="indexterm" name="id2577 486"></a>872 <a class="indexterm" name="id2577500"></a> 873 873 Though this method works with early Samba-3 versions, there is a possibility that it may change in future 874 874 versions 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="id2577 499"></a>Helpful Hints</h2></div></div></div><p>875 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2577512"></a>Helpful Hints</h2></div></div></div><p> 876 876 The following hints should be carefully considered because they are stumbling points 877 877 for many new network administrators. 878 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25775 10"></a>Windows Networking Protocols</h3></div></div></div><p>879 <a class="indexterm" name="id25775 18"></a>880 <a class="indexterm" name="id25775 25"></a>878 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2577523"></a>Windows Networking Protocols</h3></div></div></div><p> 879 <a class="indexterm" name="id2577531"></a> 880 <a class="indexterm" name="id2577538"></a> 881 881 A common cause of browsing problems results from the installation of more than one protocol on an MS Windows 882 882 machine. … … 884 884 Do not use more than one protocol on MS Windows clients. 885 885 </p></div><p> 886 <a class="indexterm" name="id25775 43"></a>887 <a class="indexterm" name="id25775 49"></a>886 <a class="indexterm" name="id2577556"></a> 887 <a class="indexterm" name="id2577563"></a> 888 888 Every NetBIOS machine takes part in a process of electing the LMB (and DMB) 889 889 every 15 minutes. A set of election criteria is used to determine the order … … 892 892 win and thus retain its role. 893 893 </p><p> 894 <a class="indexterm" name="id2577565"></a> 895 <a class="indexterm" name="id2577572"></a> 896 <a class="indexterm" name="id2577579"></a> 894 <a class="indexterm" name="id2577578"></a> 897 895 <a class="indexterm" name="id2577585"></a> 898 896 <a class="indexterm" name="id2577592"></a> 899 <a class="indexterm" name="id2577599"></a> 897 <a class="indexterm" name="id2577598"></a> 898 <a class="indexterm" name="id2577605"></a> 899 <a class="indexterm" name="id2577612"></a> 900 900 The election process is <span class="emphasis"><em>fought out, so to speak</em></span> over every NetBIOS network interface. In 901 901 the case of a Windows 9x/Me machine that has both TCP/IP and IPX installed and has NetBIOS enabled over both … … 905 905 cease to function as an LMB, and browse list operation on all TCP/IP-only machines will therefore fail. 906 906 </p><p> 907 <a class="indexterm" name="id25776 23"></a>908 <a class="indexterm" name="id25776 30"></a>907 <a class="indexterm" name="id2577636"></a> 908 <a class="indexterm" name="id2577643"></a> 909 909 Windows 95, 98, 98se, and Me are referred to generically as Windows 9x/Me. The Windows NT4, 200x, and XP use 910 910 common protocols. These are roughly referred to as the Windows NT family, but it should be recognized that … … 914 914 </p><p> 915 915 The 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="id25776 51"></a>Name Resolution Order</h3></div></div></div><p>917 <a class="indexterm" name="id25776 59"></a>918 <a class="indexterm" name="id25776 66"></a>916 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2577664"></a>Name Resolution Order</h3></div></div></div><p> 917 <a class="indexterm" name="id2577672"></a> 918 <a class="indexterm" name="id2577679"></a> 919 919 Resolution of NetBIOS names to IP addresses can take place using a number 920 920 of methods. The only ones that can provide NetBIOS name_type information … … 923 923 Alternative means of name resolution include: 924 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="id25777 35"></a>926 <a class="indexterm" name="id25777 41"></a>925 <a class="indexterm" name="id2577748"></a> 926 <a class="indexterm" name="id2577754"></a> 927 927 Many sites want to restrict DNS lookups and avoid broadcast name 928 928 resolution traffic. The <em class="parameter"><code>name resolve order</code></em> parameter is of great help here. 929 929 The 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="id25777 68"></a><em class="parameter"><code>name resolve order = wins lmhosts bcast host</code></em></td></tr></table><p>930 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2577781"></a><em class="parameter"><code>name resolve order = wins lmhosts bcast host</code></em></td></tr></table><p> 931 931 <span class="emphasis"><em>or</em></span> 932 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2577 789"></a><em class="parameter"><code>name resolve order = wins lmhosts (eliminates bcast and host)</code></em></td></tr></table><p>932 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2577802"></a><em class="parameter"><code>name resolve order = wins lmhosts (eliminates bcast and host)</code></em></td></tr></table><p> 933 933 The default is: 934 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id25778 07"></a><em class="parameter"><code>name resolve order = host lmhost wins bcast</code></em></td></tr></table><p>935 <a class="indexterm" name="id25778 20"></a>934 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2577821"></a><em class="parameter"><code>name resolve order = host lmhost wins bcast</code></em></td></tr></table><p> 935 <a class="indexterm" name="id2577833"></a> 936 936 where “<span class="quote">host</span>” refers to the native methods used by the UNIX system to implement the 937 937 gethostbyname() function call. This is normally controlled by <code class="filename">/etc/host.conf</code>, 938 938 <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="id25778 54"></a>Technical Overview of Browsing</h2></div></div></div><p>940 <a class="indexterm" name="id25778 62"></a>939 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2577867"></a>Technical Overview of Browsing</h2></div></div></div><p> 940 <a class="indexterm" name="id2577875"></a> 941 941 SMB networking provides a mechanism by which clients can access a list 942 942 of machines in a network called <a class="link" href="smb.conf.5.html#BROWSELIST">browse list</a>. This list … … 948 948 document. 949 949 </p><p> 950 <a class="indexterm" name="id2577891"></a>951 <a class="indexterm" name="id2577898"></a>952 950 <a class="indexterm" name="id2577905"></a> 951 <a class="indexterm" name="id2577911"></a> 952 <a class="indexterm" name="id2577918"></a> 953 953 MS Windows 2000 and later versions, as with Samba-3 and later versions, can be 954 954 configured to not use NetBIOS over TCP/IP. When configured this way, … … 957 957 from SMB machine names to IP addresses does not function correctly. 958 958 </p><p> 959 <a class="indexterm" name="id25779 21"></a>960 <a class="indexterm" name="id25779 28"></a>959 <a class="indexterm" name="id2577935"></a> 960 <a class="indexterm" name="id2577941"></a> 961 961 Where NetBIOS over TCP/IP is enabled, use of a WINS server is highly 962 962 recommended to aid the resolution of NetBIOS (SMB) names to IP addresses. 963 963 WINS allows remote segment clients to obtain NetBIOS name_type information 964 964 that 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="id2577941"></a>Browsing Support in Samba</h3></div></div></div><p> 966 <a class="indexterm" name="id2577949"></a> 967 <a class="indexterm" name="id2577956"></a> 965 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2577954"></a>Browsing Support in Samba</h3></div></div></div><p> 968 966 <a class="indexterm" name="id2577962"></a> 969 967 <a class="indexterm" name="id2577969"></a> 968 <a class="indexterm" name="id2577975"></a> 969 <a class="indexterm" name="id2577982"></a> 970 970 Samba facilitates browsing. The browsing is supported by <span class="application">nmbd</span> 971 971 and is also controlled by options in the <code class="filename">smb.conf</code> file. … … 973 973 to support domain logons and scripts is now available. 974 974 </p><p> 975 <a class="indexterm" name="id2577994"></a>976 <a class="indexterm" name="id2578001"></a>977 975 <a class="indexterm" name="id2578007"></a> 976 <a class="indexterm" name="id2578014"></a> 977 <a class="indexterm" name="id2578020"></a> 978 978 Samba can also act as a DMB for a workgroup. This 979 979 means that it will collate lists from LMBs into a … … 982 982 both Samba and your clients use a WINS server. 983 983 </p><p> 984 <a class="indexterm" name="id25780 22"></a>984 <a class="indexterm" name="id2578035"></a> 985 985 Do not set Samba to be the domain master for a workgroup that has the same 986 986 name as an NT Domain. On each wide-area network, you must only ever have one … … 988 988 or any other type of domain master that is providing this service. 989 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="id25780 38"></a>991 <a class="indexterm" name="id25780 45"></a>990 <a class="indexterm" name="id2578051"></a> 991 <a class="indexterm" name="id2578058"></a> 992 992 <code class="literal">nmbd</code> can be configured as a WINS server, but it is not 993 993 necessary to specifically use Samba as your WINS server. MS Windows … … 998 998 recommended that you use one and only one Samba server as the WINS server. 999 999 </p></div><p> 1000 <a class="indexterm" name="id25780 68"></a>1000 <a class="indexterm" name="id2578081"></a> 1001 1001 To get browsing to work, you need to run <code class="literal">nmbd</code> as usual, but must 1002 1002 use the <a class="link" href="smb.conf.5.html#WORKGROUP">workgroup</a> option in <code class="filename">smb.conf</code> 1003 1003 to control what workgroup Samba becomes a part of. 1004 1004 </p><p> 1005 <a class="indexterm" name="id25781 04"></a>1005 <a class="indexterm" name="id2578117"></a> 1006 1006 Samba also has a useful option for a Samba server to offer itself for browsing on another subnet. It is 1007 1007 recommended that this option is used only for “<span class="quote">unusual</span>” purposes: announcements over the 1008 1008 Internet, for example. See <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE">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="id25781 38"></a>Problem Resolution</h3></div></div></div><p>1010 <a class="indexterm" name="id25781 45"></a>1011 <a class="indexterm" name="id25781 52"></a>1009 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2578151"></a>Problem Resolution</h3></div></div></div><p> 1010 <a class="indexterm" name="id2578159"></a> 1011 <a class="indexterm" name="id2578166"></a> 1012 1012 If something does not work, the <code class="filename">log.nmbd</code> file will help 1013 1013 to track down the problem. Try a <a class="link" href="smb.conf.5.html#LOGLEVEL">log level</a> of 2 or 3 for finding … … 1015 1015 in text form in a file called <code class="filename">browse.dat</code>. 1016 1016 </p><p> 1017 <a class="indexterm" name="id2578 188"></a>1018 <a class="indexterm" name="id2578 195"></a>1017 <a class="indexterm" name="id2578201"></a> 1018 <a class="indexterm" name="id2578208"></a> 1019 1019 If it does not work, you should still be able to 1020 1020 type the server name as <code class="filename">\\SERVER</code> in <code class="literal">filemanager</code>, then 1021 1021 press enter, and <code class="literal">filemanager</code> should display the list of available shares. 1022 1022 </p><p> 1023 <a class="indexterm" name="id25782 25"></a>1024 <a class="indexterm" name="id25782 32"></a>1023 <a class="indexterm" name="id2578238"></a> 1024 <a class="indexterm" name="id2578245"></a> 1025 1025 Some people find browsing fails because they do not have the global 1026 1026 <a class="link" href="smb.conf.5.html#GUESTACCOUNT">guest account</a> set to a valid account. Remember that the 1027 1027 IPC$ connection that lists the shares is done as guest and so you must have a valid guest account. 1028 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="id2578260"></a>1030 <a class="indexterm" name="id2578266"></a>1031 1029 <a class="indexterm" name="id2578273"></a> 1032 <a class="indexterm" name="id2578280"></a> 1033 <a class="indexterm" name="id2578287"></a> 1030 <a class="indexterm" name="id2578279"></a> 1031 <a class="indexterm" name="id2578286"></a> 1032 <a class="indexterm" name="id2578293"></a> 1033 <a class="indexterm" name="id2578300"></a> 1034 1034 The <code class="literal">IPC$</code> share is used by all SMB/CIFS clients to obtain the list of resources that is 1035 1035 available on the server. This is the source of the list of shares and printers when browsing an SMB/CIFS … … 1039 1039 connection to the <code class="literal">\\server\share</code>. 1040 1040 </p></div><p> 1041 <a class="indexterm" name="id2578323"></a>1042 <a class="indexterm" name="id2578330"></a>1043 1041 <a class="indexterm" name="id2578337"></a> 1044 1042 <a class="indexterm" name="id2578344"></a> 1043 <a class="indexterm" name="id2578350"></a> 1044 <a class="indexterm" name="id2578357"></a> 1045 1045 MS Windows 2000 and later (as with Samba) can be configured to disallow 1046 1046 anonymous (i.e., guest account) access to the IPC$ share. In that case, the … … 1050 1050 server resources. 1051 1051 </p><p> 1052 <a class="indexterm" name="id25783 61"></a>1052 <a class="indexterm" name="id2578374"></a> 1053 1053 The other big problem people have is that their broadcast address, 1054 1054 netmask, or IP address is wrong (specified with the <a class="link" href="smb.conf.5.html#INTERFACES">interfaces</a> option 1055 1055 in <code class="filename">smb.conf</code>) 1056 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2578 389"></a>Cross-Subnet Browsing</h3></div></div></div><p>1057 <a class="indexterm" name="id2578 397"></a>1058 <a class="indexterm" name="id25784 06"></a>1056 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2578402"></a>Cross-Subnet Browsing</h3></div></div></div><p> 1057 <a class="indexterm" name="id2578410"></a> 1058 <a class="indexterm" name="id2578419"></a> 1059 1059 Since the release of Samba 1.9.17 (alpha1), Samba has supported the replication of browse lists across subnet 1060 1060 boundaries. This section describes how to set this feature up in different settings. 1061 1061 </p><p> 1062 <a class="indexterm" name="id2578420"></a> 1063 <a class="indexterm" name="id2578427"></a> 1064 <a class="indexterm" name="id2578434"></a> 1062 <a class="indexterm" name="id2578433"></a> 1065 1063 <a class="indexterm" name="id2578440"></a> 1066 1064 <a class="indexterm" name="id2578447"></a> 1067 1065 <a class="indexterm" name="id2578454"></a> 1066 <a class="indexterm" name="id2578460"></a> 1067 <a class="indexterm" name="id2578467"></a> 1068 1068 To see browse lists that span TCP/IP subnets (i.e., networks separated by routers that do not pass broadcast 1069 1069 traffic), you must set up at least one WINS server. The WINS server acts as a DNS for NetBIOS names. This will … … 1077 1077 considered last resort methods. 1078 1078 </p><p> 1079 <a class="indexterm" name="id2578 491"></a>1080 <a class="indexterm" name="id2578 498"></a>1081 <a class="indexterm" name="id25785 05"></a>1082 <a class="indexterm" name="id25785 12"></a>1079 <a class="indexterm" name="id2578504"></a> 1080 <a class="indexterm" name="id2578511"></a> 1081 <a class="indexterm" name="id2578518"></a> 1082 <a class="indexterm" name="id2578525"></a> 1083 1083 Remember, for browsing across subnets to work correctly, all machines, be they Windows 95, Windows NT, or 1084 1084 Samba servers, must have the IP address of a WINS server given to them by a DHCP server or by manual … … 1086 1086 settings; for Samba, this is in the <code class="filename">smb.conf</code> file. 1087 1087 </p><p> 1088 <a class="indexterm" name="id2578534"></a>1089 <a class="indexterm" name="id2578541"></a>1090 1088 <a class="indexterm" name="id2578547"></a> 1089 <a class="indexterm" name="id2578554"></a> 1090 <a class="indexterm" name="id2578561"></a> 1091 1091 It is possible to operate Samba-3 without NetBIOS over TCP/IP. If you do this, be warned that if used outside 1092 1092 of MS ADS, this will forgo network browsing support. ADS permits network browsing support through DNS, 1093 1093 providing 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="id25785 60"></a>Behavior of Cross-Subnet Browsing</h4></div></div></div><p>1095 <a class="indexterm" name="id25785 68"></a>1096 <a class="indexterm" name="id25785 75"></a>1094 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2578573"></a>Behavior of Cross-Subnet Browsing</h4></div></div></div><p> 1095 <a class="indexterm" name="id2578581"></a> 1096 <a class="indexterm" name="id2578588"></a> 1097 1097 Cross-subnet browsing is a complicated dance, containing multiple moving parts. It has taken Microsoft several 1098 1098 years to get the code that correctly achieves this, and Samba lags behind in some areas. Samba is capable of … … 1101 1101 Consider 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>. 1102 1102 </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="id2578642"></a>1104 <a class="indexterm" name="id2578649"></a>1105 1103 <a class="indexterm" name="id2578656"></a> 1104 <a class="indexterm" name="id2578663"></a> 1105 <a class="indexterm" name="id2578669"></a> 1106 1106 This consists of three subnets (1, 2, 3) connected by two routers (R1, R2), which do not pass broadcasts. 1107 1107 Subnet 1 has five machines on it, subnet 2 has four machines, and subnet 3 has four machines. Assume for the … … 1111 1111 it. 1112 1112 </p><p> 1113 <a class="indexterm" name="id2578675"></a>1114 <a class="indexterm" name="id2578682"></a>1115 1113 <a class="indexterm" name="id2578688"></a> 1114 <a class="indexterm" name="id2578695"></a> 1115 <a class="indexterm" name="id2578702"></a> 1116 1116 As these machines are booted up, elections for master browsers 1117 1117 take place on each of the three subnets. Assume that machine … … 1121 1121 LMB on subnet 1 because it is set up as DMB. 1122 1122 </p><p> 1123 <a class="indexterm" name="id25787 04"></a>1124 <a class="indexterm" name="id25787 11"></a>1123 <a class="indexterm" name="id2578717"></a> 1124 <a class="indexterm" name="id2578724"></a> 1125 1125 On each of the three networks, machines that are configured to offer sharing services will broadcast that they 1126 1126 are offering these services. The LMB on each subnet will receive these broadcasts and keep a record of the … … 1129 1129 list. 1130 1130 </p><p> 1131 <a class="indexterm" name="id2578728"></a> 1132 <a class="indexterm" name="id2578735"></a> 1133 <a class="indexterm" name="id2578742"></a> 1131 <a class="indexterm" name="id2578741"></a> 1134 1132 <a class="indexterm" name="id2578748"></a> 1135 1133 <a class="indexterm" name="id2578755"></a> 1134 <a class="indexterm" name="id2578762"></a> 1135 <a class="indexterm" name="id2578768"></a> 1136 1136 For each network, the LMB on that network is 1137 1137 considered <span class="emphasis"><em>authoritative</em></span> for all the names it receives via … … 1144 1144 called <span class="emphasis"><em>non-authoritative.</em></span> 1145 1145 </p><p> 1146 <a class="indexterm" name="id2578 787"></a>1146 <a class="indexterm" name="id2578800"></a> 1147 1147 At 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> 1148 1148 (these are the machines you would see in your network neighborhood if you looked in it on a particular network … … 1153 1153 At this point all the subnets are separate, and no machine is seen across any of the subnets. 1154 1154 </p><p> 1155 <a class="indexterm" name="id2578881"></a>1156 <a class="indexterm" name="id2578887"></a>1157 1155 <a class="indexterm" name="id2578894"></a> 1158 1156 <a class="indexterm" name="id2578901"></a> 1157 <a class="indexterm" name="id2578907"></a> 1158 <a class="indexterm" name="id2578914"></a> 1159 1159 Now 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 1160 1160 LMB, it looks for a DMB with which to synchronize its browse list. It does this by querying the WINS server … … 1162 1162 the DMB (N1_C) with the WINS server as soon as it was started. 1163 1163 </p><p> 1164 <a class="indexterm" name="id2578927"></a>1165 <a class="indexterm" name="id2578933"></a>1166 1164 <a class="indexterm" name="id2578940"></a> 1167 1165 <a class="indexterm" name="id2578947"></a> 1166 <a class="indexterm" name="id2578954"></a> 1167 <a class="indexterm" name="id2578960"></a> 1168 1168 Once N2_B knows the address of the DMB, it tells the DMB that it is the LMB 1169 1169 for subnet 2 by sending the DMB a … … 1178 1178 N2_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(*), 1179 1179 N1_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="id25790 62"></a>1180 <a class="indexterm" name="id2579075"></a> 1181 1181 Servers with an (*) after them are non-authoritative names. 1182 1182 </p><p> 1183 <a class="indexterm" name="id25790 73"></a>1183 <a class="indexterm" name="id2579086"></a> 1184 1184 At this point users looking in their Network Neighborhood on subnets 1 or 2 will see all the servers on both; 1185 1185 users on subnet 3 will still see only the servers on their own subnet. 1186 1186 </p><p> 1187 <a class="indexterm" name="id2579 086"></a>1187 <a class="indexterm" name="id2579100"></a> 1188 1188 The same sequence of events that occurred for N2_B now occurs for the LMB on subnet 3 (N3_D). When it 1189 1189 synchronizes browse lists with the DMB (N1_A) it gets both the server entries on subnet 1 and those on subnet … … 1199 1199 subnet 2 will still see only the servers on subnets 1 and 2, but not 3. 1200 1200 </p><p> 1201 <a class="indexterm" name="id2579204"></a>1202 <a class="indexterm" name="id2579210"></a>1203 1201 <a class="indexterm" name="id2579217"></a> 1202 <a class="indexterm" name="id2579223"></a> 1203 <a class="indexterm" name="id2579230"></a> 1204 1204 Finally, the LMB for subnet 2 (N2_B) will sync again 1205 1205 with the DMB (N1_C) and will receive the missing … … 1222 1222 If either router R1 or R2 fails, the following will occur: 1223 1223 </p><div class="orderedlist"><ol type="1"><li><p> 1224 <a class="indexterm" name="id25793 46"></a>1224 <a class="indexterm" name="id2579360"></a> 1225 1225 Names of computers on each side of the inaccessible network fragments 1226 1226 will be maintained for as long as 36 minutes in the Network Neighborhood … … 1230 1230 names will not be removed from the Network Neighborhood lists. 1231 1231 </p></li><li><p> 1232 <a class="indexterm" name="id2579371"></a>1233 <a class="indexterm" name="id2579378"></a>1234 1232 <a class="indexterm" name="id2579385"></a> 1233 <a class="indexterm" name="id2579391"></a> 1234 <a class="indexterm" name="id2579398"></a> 1235 1235 If one of the fragments is cut off from the WINS server, it will only 1236 1236 be able to access servers on its local subnet using subnet-isolated 1237 1237 broadcast NetBIOS name resolution. The effect is similar to that of 1238 1238 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="id25794 02"></a>Common Errors</h2></div></div></div><p>1240 <a class="indexterm" name="id25794 10"></a>1241 <a class="indexterm" name="id25794 17"></a>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="id2579416"></a>Common Errors</h2></div></div></div><p> 1240 <a class="indexterm" name="id2579424"></a> 1241 <a class="indexterm" name="id2579431"></a> 1242 1242 Many questions are asked on the mailing lists regarding browsing. The majority of browsing 1243 1243 problems originate from incorrect configuration of NetBIOS name resolution. Some are of 1244 1244 particular note. 1245 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25794 29"></a>Flushing the Samba NetBIOS Name Cache</h3></div></div></div><p>1245 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2579442"></a>Flushing the Samba NetBIOS Name Cache</h3></div></div></div><p> 1246 1246 How Can One Flush the Samba NetBIOS Name Cache without Restarting Samba? 1247 1247 </p><p> 1248 <a class="indexterm" name="id2579442"></a>1249 <a class="indexterm" name="id2579448"></a>1250 1248 <a class="indexterm" name="id2579455"></a> 1251 1249 <a class="indexterm" name="id2579462"></a> 1250 <a class="indexterm" name="id2579469"></a> 1251 <a class="indexterm" name="id2579476"></a> 1252 1252 Samba's <code class="literal">nmbd</code> process controls all browse list handling. Under normal circumstances it is 1253 1253 safe to restart <code class="literal">nmbd</code>. This will effectively flush the Samba NetBIOS name cache and cause it … … 1259 1259 other thing you can do is wait until the entry times out and is then flushed from the list. 1260 1260 This 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="id25795 02"></a>Server Resources Cannot Be Listed</h3></div></div></div><p>“<span class="quote">My Client Reports "‘<span class="quote">This server is not configured to list shared resources."</span>’</span>”</p><p>1261 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2579515"></a>Server Resources Cannot Be Listed</h3></div></div></div><p>“<span class="quote">My Client Reports "‘<span class="quote">This server is not configured to list shared resources."</span>’</span>”</p><p> 1262 1262 Your guest account is probably invalid for some reason. Samba uses the 1263 1263 guest account for browsing in <code class="literal">smbd</code>. Check that your guest account is 1264 1264 valid. 1265 </p><p>Also see <a class="link" href="smb.conf.5.html#GUESTACCOUNT">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="id25795 50"></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="id25795 62"></a>1265 </p><p>Also see <a class="link" href="smb.conf.5.html#GUESTACCOUNT">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="id2579563"></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="id2579575"></a> 1267 1267 </p><div class="itemizedlist"><ul type="disc"><li><p>There is no LMB. Configure <span class="application">nmbd</span> 1268 1268 or any other machine to serve as LMB.</p></li><li><p>You cannot log onto the machine that is the LMB. 1269 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="id2579 597"></a>Browsing of Shares and Directories is Very Slow</h3></div></div></div><p>“<span class="quote">1271 <a class="indexterm" name="id25796 06"></a>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="id2579610"></a>Browsing of Shares and Directories is Very Slow</h3></div></div></div><p>“<span class="quote"> 1271 <a class="indexterm" name="id2579620"></a> 1272 1272 There are only two machines on a test network. One is a Samba server, the other a Windows XP machine. 1273 1273 Authentication and logons work perfectly, but when I try to explore shares on the Samba server, the … … 1276 1276 </span>” 1277 1277 </p><p>“<span class="quote"> 1278 <a class="indexterm" name="id25796 25"></a>1278 <a class="indexterm" name="id2579639"></a> 1279 1279 But, the share is immediately available from a command shell (<code class="literal">cmd</code>, followed by 1280 1280 exploration with DOS command. Is this a Samba problem, or is it a Windows problem? How can I solve this? … … 1282 1282 Here are a few possibilities: 1283 1283 </p><div class="variablelist"><dl><dt><span class="term">Bad Networking Hardware</span></dt><dd><p> 1284 <a class="indexterm" name="id25796 57"></a>1285 <a class="indexterm" name="id25796 64"></a>1286 <a class="indexterm" name="id25796 71"></a>1287 <a class="indexterm" name="id25796 78"></a>1288 <a class="indexterm" name="id25796 85"></a>1284 <a class="indexterm" name="id2579670"></a> 1285 <a class="indexterm" name="id2579677"></a> 1286 <a class="indexterm" name="id2579684"></a> 1287 <a class="indexterm" name="id2579691"></a> 1288 <a class="indexterm" name="id2579698"></a> 1289 1289 Most common defective hardware problems center around low cost or defective hubs, routers, 1290 1290 network interface controllers (NICs), and bad wiring. If one piece of hardware is defective, … … 1293 1293 but not all. 1294 1294 </p></dd><dt><span class="term">The Windows XP WebClient</span></dt><dd><p> 1295 <a class="indexterm" name="id25797 10"></a>1295 <a class="indexterm" name="id2579723"></a> 1296 1296 A number of sites have reported similar slow network browsing problems and found that when 1297 1297 the WebClient service is turned off, the problem disappears. This is certainly something 1298 1298 that should be explored because it is a simple solution if it works. 1299 1299 </p></dd><dt><span class="term">Inconsistent WINS Configuration</span></dt><dd><p> 1300 <a class="indexterm" name="id25797 35"></a>1301 <a class="indexterm" name="id25797 42"></a>1300 <a class="indexterm" name="id2579749"></a> 1301 <a class="indexterm" name="id2579755"></a> 1302 1302 This type of problem is common when one client is configured to use a WINS server (that is 1303 1303 a TCP/IP configuration setting) and there is no WINS server on the network. Alternatively, … … 1307 1307 server, nor should it be configured to use one. 1308 1308 </p></dd><dt><span class="term">Incorrect DNS Configuration</span></dt><dd><p> 1309 <a class="indexterm" name="id25797 69"></a>1310 <a class="indexterm" name="id25797 76"></a>1309 <a class="indexterm" name="id2579782"></a> 1310 <a class="indexterm" name="id2579789"></a> 1311 1311 If use of NetBIOS over TCP/IP is disabled, Active Directory is in use and the DNS server 1312 1312 has been incorrectly configured. For further information refer to 1313 1313 <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="id2579 797"></a>Invalid Cached Share References Affects Network Browsing</h3></div></div></div><p>1315 <a class="indexterm" name="id25798 06"></a>1316 <a class="indexterm" name="id25798 13"></a>1314 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2579810"></a>Invalid Cached Share References Affects Network Browsing</h3></div></div></div><p> 1315 <a class="indexterm" name="id2579819"></a> 1316 <a class="indexterm" name="id2579826"></a> 1317 1317 Cached references on your MS Windows client (workstation or server) to shares or servers that no longer exist 1318 1318 can cause MS Windows Explorer to appear unresponsive as it tries to connect to these shares. After a delay … … 1332 1332 selecting <span class="emphasis"><em>Delete.</em></span> 1333 1333 </p></div><p> 1334 <a class="indexterm" name="id25798 86"></a>1334 <a class="indexterm" name="id2579899"></a> 1335 1335 Samba users have reported that these stale references negatively affect network browsing with Windows, Samba, 1336 1336 and Novell servers. It is suspected to be a universal problem not directly related to the Samba -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/Other-Clients.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>></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"><<a class="email" href="mailto:jmcd@us.ibm.com">jmcd@us.ibm.com</a>></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#id26826 62">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2682746">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2682752">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682872">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682928">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683021">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683027">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683110">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683136">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683194">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683226">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#id2683283">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683352">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683373">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2683569">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="id2682662"></a>Macintosh Clients</h2></div></div></div><p>2 <a class="indexterm" name="id26826 70"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>></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"><<a class="email" href="mailto:jmcd@us.ibm.com">jmcd@us.ibm.com</a>></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#id2682676">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2682760">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2682766">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682886">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682942">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683035">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683041">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683124">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683150">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683208">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683240">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#id2683297">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683366">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683387">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2683583">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="id2682676"></a>Macintosh Clients</h2></div></div></div><p> 2 <a class="indexterm" name="id2682684"></a> 3 3 Yes. <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 4 4 NT/200x/XP, and Samba for compatibility issues. At the time of this writing, DAVE was at version 5.1. Please 5 5 refer to Thursby's Web site for more information regarding this product. 6 6 </p><p> 7 <a class="indexterm" name="id2682 697"></a>8 <a class="indexterm" name="id26827 04"></a>7 <a class="indexterm" name="id2682711"></a> 8 <a class="indexterm" name="id2682718"></a> 9 9 Alternatives include two free implementations of AppleTalk for several kinds of UNIX machines and several more 10 10 commercial ones. These products allow you to run file services and print services natively to Macintosh … … 12 12 packages offer to Macs. For more info on these packages, Samba, and Linux (and other UNIX-based systems), see 13 13 <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="id26827 46"></a>OS2 Client</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682752"></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 “<span class="quote">NetBIOS over TCP/IP</span>” driver (TCPBEUI)</p></li></ul></div><p>Installing the first two together with the base operating14 </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="id2682760"></a>OS2 Client</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682766"></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 “<span class="quote">NetBIOS over TCP/IP</span>” driver (TCPBEUI)</p></li></ul></div><p>Installing the first two together with the base operating 15 15 system on a blank system is explained in the Warp manual. If Warp 16 16 has already been installed, but you now want to install the … … 27 27 Nameserver in IBM and RFC terminology). For Warp Connect, you 28 28 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="id26828 72"></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 is29 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="id2682886"></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 30 30 available from 31 31 <a class="ulink" href="ftp://ftp.microsoft.com/BusSys/Clients/LANMAN.OS2/" target="_top"> … … 38 38 Try the NE2000 or NS2000 driver from <a class="ulink" href="ftp://ftp.cdrom.com/pub/os2/network/ndis/" target="_top"> 39 39 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="id26829 28"></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 is40 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682942"></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 41 41 world-readable. Copy your OS/2 driver files there. The <code class="filename">.EA_</code> 42 42 files must still be separate, so you will need to use the original install files … … 51 51 will work. This is fixed simply by adding the device name 52 52 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="id26830 21"></a>Windows for Workgroups</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2683027"></a>Latest TCP/IP Stack from Microsoft</h3></div></div></div><p>Use the latest TCP/IP stack from Microsoft if you use Windows53 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2683035"></a>Windows for Workgroups</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2683041"></a>Latest TCP/IP Stack from Microsoft</h3></div></div></div><p>Use the latest TCP/IP stack from Microsoft if you use Windows 54 54 for Workgroups. The early TCP/IP stacks had lots of bugs.</p><p> 55 55 Microsoft has released an incremental upgrade to its TCP/IP 32-bit VxD drivers. The latest release can be … … 61 61 </p><p> 62 62 More 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="id26831 10"></a>Delete .pwl Files After Password Change</h3></div></div></div><p>63 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2683124"></a>Delete .pwl Files After Password Change</h3></div></div></div><p> 64 64 Windows for Workgroups does a lousy job with passwords. When you change passwords on either 65 65 the UNIX box or the PC, the safest thing to do is delete the .pwl files in the Windows … … 71 71 </p><p> 72 72 Often 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="id26831 36"></a>Configuring Windows for Workgroups Password Handling</h3></div></div></div><p>74 <a class="indexterm" name="id26831 44"></a>73 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2683150"></a>Configuring Windows for Workgroups Password Handling</h3></div></div></div><p> 74 <a class="indexterm" name="id2683158"></a> 75 75 There is a program call <code class="filename">admincfg.exe</code> on the last disk (disk 8) of the WFW 3.11 disk set. 76 76 To install it, type <strong class="userinput"><code>EXPAND A:\ADMINCFG.EX_ C:\WINDOWS\ADMINCFG.EXE</code></strong>. Then add an icon 77 77 for it via the <span class="application">Program Manager</span> <span class="guimenu">New</span> menu. This program allows 78 78 you to control how WFW handles passwords, Disable Password Caching and so on, for use with <a class="link" href="smb.conf.5.html#SECURITY">security = user</a>. 79 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2683 194"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2683208"></a>Password Case Sensitivity</h3></div></div></div><p>Windows for Workgroups uppercases the password before sending it to the server. 80 80 UNIX passwords can be case-sensitive though. Check the <code class="filename">smb.conf</code> information on 81 81 <a class="link" href="smb.conf.5.html#PASSWORDLEVEL">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="id26832 26"></a>Use TCP/IP as Default Protocol</h3></div></div></div><p>To support print queue reporting, you may find82 Samba should try to uppercase when checking.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2683240"></a>Use TCP/IP as Default Protocol</h3></div></div></div><p>To support print queue reporting, you may find 83 83 that you have to use TCP/IP as the default protocol under 84 84 Windows for Workgroups. For some reason, if you leave NetBEUI as the default, … … 95 95 person even reported a speed drop of a factor of 30 when he went from 96 96 3072 to 8192. 97 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26832 83"></a>Windows 95/98</h2></div></div></div><p>97 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2683297"></a>Windows 95/98</h2></div></div></div><p> 98 98 When using Windows 95 OEM SR2, the following updates are recommended where Samba 99 99 is being used. Please note that the changes documented in … … 110 110 Outlook, and you may notice a significant speedup when accessing network 111 111 neighborhood services. 112 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26833 52"></a>Speed Improvement</h3></div></div></div><p>112 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2683366"></a>Speed Improvement</h3></div></div></div><p> 113 113 Configure the Windows 95 TCP/IP registry settings to give better 114 114 performance. I use a program called <code class="literal">MTUSPEED.exe</code> that I got off the 115 115 Internet. 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="id26833 73"></a>Windows 2000 Service Pack 2</h2></div></div></div><p>116 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2683387"></a>Windows 2000 Service Pack 2</h2></div></div></div><p> 117 117 There are several annoyances with Windows 2000 SP2, one of which 118 118 only appears when using a Samba server to host user profiles … … 134 134 </p><p> 135 135 <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="id26834 64"></a><em class="parameter"><code>path = /export/profile</code></em></td></tr><tr><td><a class="indexterm" name="id2683476"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2683487"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr><tr><td><a class="indexterm" name="id2683499"></a><em class="parameter"><code>nt acl support = no</code></em></td></tr><tr><td><a class="indexterm" name="id2683510"></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 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="id2683478"></a><em class="parameter"><code>path = /export/profile</code></em></td></tr><tr><td><a class="indexterm" name="id2683490"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2683501"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr><tr><td><a class="indexterm" name="id2683513"></a><em class="parameter"><code>nt acl support = no</code></em></td></tr><tr><td><a class="indexterm" name="id2683524"></a><em class="parameter"><code>read only = no</code></em></td></tr></table></div></div><br class="example-break"><p> 137 137 The reason for this bug is that the Windows 200x SP2 client copies 138 138 the security descriptor for the profile that contains … … 146 146 to set a default ACL for the profile. This default ACL includes: 147 147 </p><p><span class="emphasis"><em>DOMAIN\user “<span class="quote">Full Control</span>”</em></span>></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="id26835 69"></a>Windows NT 3.1</h2></div></div></div><p>If you have problems communicating across routers with Windows148 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="id2683583"></a>Windows NT 3.1</h2></div></div></div><p>If you have problems communicating across routers with Windows 149 149 NT 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>. 150 150 -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/PolicyMgmt.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id26517 72">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2652067">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652204">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652426">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2652874">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653101">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653114">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653196">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653236">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2653301">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653459">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653470">Policy Does Not Work</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26517 59"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2651786">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2652081">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652218">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652439">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2652888">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653115">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653128">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653210">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653250">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2653315">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653472">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653484">Policy Does Not Work</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2651773"></a> 3 3 This chapter summarizes the current state of knowledge derived from personal 4 4 practice and knowledge from Samba mailing list subscribers. Before reproduction … … 6 6 Where additional information was uncovered through this validation, it is provided 7 7 also. 8 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2651772"></a>Features and Benefits</h2></div></div></div><p> 9 <a class="indexterm" name="id2651780"></a> 10 <a class="indexterm" name="id2651787"></a> 8 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2651786"></a>Features and Benefits</h2></div></div></div><p> 11 9 <a class="indexterm" name="id2651794"></a> 10 <a class="indexterm" name="id2651801"></a> 11 <a class="indexterm" name="id2651808"></a> 12 12 When MS Windows NT 3.5 was introduced, the hot new topic was the ability to implement 13 13 Group Policies for users and groups. Then along came MS Windows NT4 and a few sites … … 15 15 (or mistakes) administrators made and then requested help to resolve. 16 16 </p><p> 17 <a class="indexterm" name="id2651813"></a> 18 <a class="indexterm" name="id2651820"></a> 19 <a class="indexterm" name="id2651829"></a> 20 <a class="indexterm" name="id2651836"></a> 17 <a class="indexterm" name="id2651827"></a> 18 <a class="indexterm" name="id2651834"></a> 21 19 <a class="indexterm" name="id2651843"></a> 20 <a class="indexterm" name="id2651850"></a> 21 <a class="indexterm" name="id2651856"></a> 22 22 By the time that MS Windows 2000 and Active Directory was released, administrators 23 23 got the message: Group Policies are a good thing! They can help reduce administrative … … 28 28 how to replicate them in a Samba environment. 29 29 </p><p> 30 <a class="indexterm" name="id26518 64"></a>30 <a class="indexterm" name="id2651878"></a> 31 31 Judging by the traffic volume since mid 2002, GPOs have become a standard part of 32 32 the deployment in many sites. This chapter reviews techniques and methods that can 33 33 be used to exploit opportunities for automation of control over user desktops and 34 34 network client workstations. 35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2651878"></a>Creating and Managing System Policies</h2></div></div></div><p> 36 <a class="indexterm" name="id2651886"></a> 37 <a class="indexterm" name="id2651893"></a> 35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2651892"></a>Creating and Managing System Policies</h2></div></div></div><p> 38 36 <a class="indexterm" name="id2651900"></a> 39 37 <a class="indexterm" name="id2651907"></a> 38 <a class="indexterm" name="id2651914"></a> 39 <a class="indexterm" name="id2651921"></a> 40 40 Under MS Windows platforms, particularly those following the release of MS Windows 41 41 NT4 and MS Windows 95, it is possible to create a type of file that would be placed … … 45 45 affect users, groups of users, or machines. 46 46 </p><p> 47 <a class="indexterm" name="id26519 25"></a>48 <a class="indexterm" name="id26519 32"></a>49 <a class="indexterm" name="id26519 38"></a>47 <a class="indexterm" name="id2651939"></a> 48 <a class="indexterm" name="id2651945"></a> 49 <a class="indexterm" name="id2651952"></a> 50 50 For MS Windows 9x/Me, this file must be called <code class="filename">Config.POL</code> and may 51 51 be generated using a tool called <code class="filename">poledit.exe</code>, better known as the … … 55 55 a part of the MS Windows Me Resource Kit. 56 56 </p><p> 57 <a class="indexterm" name="id26519 67"></a>57 <a class="indexterm" name="id2651981"></a> 58 58 MS Windows NT4 server products include the <span class="emphasis"><em>System Policy Editor</em></span> 59 59 under <span class="guimenu">Start -> Programs -> Administrative Tools</span>. 60 60 For MS Windows NT4 and later clients, this file must be called <code class="filename">NTConfig.POL</code>. 61 61 </p><p> 62 <a class="indexterm" name="id265 1996"></a>62 <a class="indexterm" name="id2652010"></a> 63 63 New with the introduction of MS Windows 2000 was the Microsoft Management Console 64 64 or MMC. This tool is the new wave in the ever-changing landscape of Microsoft … … 68 68 be a step forward, but improved functionality comes at a great price. 69 69 </p><p> 70 <a class="indexterm" name="id2652014"></a>71 <a class="indexterm" name="id2652020"></a>72 70 <a class="indexterm" name="id2652027"></a> 73 71 <a class="indexterm" name="id2652034"></a> 72 <a class="indexterm" name="id2652041"></a> 73 <a class="indexterm" name="id2652048"></a> 74 74 Before embarking on the configuration of network and system policies, it is highly 75 75 advisable to read the documentation available from Microsoft's Web site regarding … … 81 81 What follows is a brief discussion with some helpful notes. The information provided 82 82 here is incomplete you are warned. 83 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26520 67"></a>Windows 9x/ME Policies</h3></div></div></div><p>84 <a class="indexterm" name="id26520 75"></a>85 <a class="indexterm" name="id26520 82"></a>83 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2652081"></a>Windows 9x/ME Policies</h3></div></div></div><p> 84 <a class="indexterm" name="id2652089"></a> 85 <a class="indexterm" name="id2652096"></a> 86 86 You need the Windows 98 Group Policy Editor to set up Group Profiles under Windows 9x/Me. 87 87 It can be found on the original full-product Windows 98 installation CD-ROM under … … 89 89 Add/Remove Programs facility, and then click on <span class="guiicon">Have Disk</span>. 90 90 </p><p> 91 <a class="indexterm" name="id26521 08"></a>92 <a class="indexterm" name="id26521 15"></a>91 <a class="indexterm" name="id2652122"></a> 92 <a class="indexterm" name="id2652129"></a> 93 93 Use the Group Policy Editor to create a policy file that specifies the location of 94 94 user profiles and/or <code class="filename">My Documents</code>, and so on. Then save these … … 100 100 Further details are covered in the Windows 98 Resource Kit documentation. 101 101 </p><p> 102 <a class="indexterm" name="id26521 54"></a>102 <a class="indexterm" name="id2652168"></a> 103 103 If you do not take the correct steps, then every so often Windows 9x/Me will check the 104 104 integrity of the registry and restore its settings from the backup … … 106 106 occasionally notice things changing back to the original settings. 107 107 </p><p> 108 <a class="indexterm" name="id26521 70"></a>109 <a class="indexterm" name="id26521 76"></a>108 <a class="indexterm" name="id2652183"></a> 109 <a class="indexterm" name="id2652190"></a> 110 110 Install the Group Policy handler for Windows 9x/Me to pick up Group Policies. Look on the 111 111 Windows 98 CD-ROM in <code class="filename">\tools\reskit\netadmin\poledit</code>. … … 114 114 if Windows 98 picks up Group Policies. Unfortunately, this needs to be done on every 115 115 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="id2652204"></a>Windows NT4-Style Policy Files</h3></div></div></div><p> 117 <a class="indexterm" name="id2652212"></a> 118 <a class="indexterm" name="id2652219"></a> 116 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2652218"></a>Windows NT4-Style Policy Files</h3></div></div></div><p> 119 117 <a class="indexterm" name="id2652226"></a> 120 118 <a class="indexterm" name="id2652233"></a> 119 <a class="indexterm" name="id2652240"></a> 120 <a class="indexterm" name="id2652247"></a> 121 121 To create or edit <code class="filename">ntconfig.pol</code>, you must use the NT Server 122 122 Policy Editor, <code class="literal">poledit.exe</code>, which is included with NT4 Server … … 127 127 the NT Server will run happily enough on an NT4 workstation. 128 128 </p><p> 129 <a class="indexterm" name="id2652263"></a>130 <a class="indexterm" name="id2652270"></a>131 129 <a class="indexterm" name="id2652276"></a> 132 130 <a class="indexterm" name="id2652283"></a> 131 <a class="indexterm" name="id2652290"></a> 132 <a class="indexterm" name="id2652297"></a> 133 133 You need <code class="filename">poledit.exe</code>, <code class="filename">common.adm</code>, and <code class="filename">winnt.adm</code>. 134 134 It is convenient to put the two <code class="filename">*.adm</code> files in the <code class="filename">c:\winnt\inf</code> … … 136 136 directory is normally “<span class="quote">hidden.</span>” 137 137 </p><p> 138 <a class="indexterm" name="id2652329"></a>139 <a class="indexterm" name="id2652336"></a>140 138 <a class="indexterm" name="id2652343"></a> 141 139 <a class="indexterm" name="id2652350"></a> 140 <a class="indexterm" name="id2652357"></a> 141 <a class="indexterm" name="id2652364"></a> 142 142 The Windows NT Policy Editor is also included with the Service Pack 3 (and 143 143 later) for Windows NT 4.0. Extract the files using <code class="literal">servicepackname /x</code> … … 147 147 files for Office97 and get a copy of the Policy Editor. Another possible 148 148 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="id2652 386"></a>Registry Spoiling</h4></div></div></div><p>150 <a class="indexterm" name="id2652 394"></a>151 <a class="indexterm" name="id26524 01"></a>149 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2652400"></a>Registry Spoiling</h4></div></div></div><p> 150 <a class="indexterm" name="id2652408"></a> 151 <a class="indexterm" name="id2652415"></a> 152 152 With NT4-style registry-based policy changes, a large number of settings are not 153 153 automatically reversed as the user logs off. The settings that were in the … … 156 156 as tattooing. It can have serious consequences downstream, and the administrator must 157 157 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="id26524 26"></a>MS Windows 200x/XP Professional Policies</h3></div></div></div><p>159 <a class="indexterm" name="id26524 34"></a>158 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2652439"></a>MS Windows 200x/XP Professional Policies</h3></div></div></div><p> 159 <a class="indexterm" name="id2652448"></a> 160 160 Windows NT4 system policies allow the setting of registry parameters specific to 161 161 users, groups, and computers (client workstations) that are members of the NT4-style … … 166 166 to create them is different, and the mechanism for implementing them is much improved. 167 167 </p><p> 168 <a class="indexterm" name="id26524 56"></a>169 <a class="indexterm" name="id26524 63"></a>168 <a class="indexterm" name="id2652470"></a> 169 <a class="indexterm" name="id2652477"></a> 170 170 The older NT4-style registry-based policies are known as <span class="emphasis"><em>Administrative Templates</em></span> 171 171 in MS Windows 2000/XP GPOs. The latter includes the ability to set various security … … 176 176 users and/or groups. 177 177 </p><p> 178 <a class="indexterm" name="id2652492"></a>179 <a class="indexterm" name="id2652498"></a>180 178 <a class="indexterm" name="id2652505"></a> 179 <a class="indexterm" name="id2652512"></a> 180 <a class="indexterm" name="id2652519"></a> 181 181 Remember, NT4 policy files are named <code class="filename">NTConfig.POL</code> and are stored in the root 182 182 of the NETLOGON share on the domain controllers. A Windows NT4 user enters a username and password … … 185 185 the authenticating server and modifies the local registry values according to the settings in this file. 186 186 </p><p> 187 <a class="indexterm" name="id2652535"></a>188 <a class="indexterm" name="id2652542"></a>189 187 <a class="indexterm" name="id2652549"></a> 190 188 <a class="indexterm" name="id2652556"></a> 191 189 <a class="indexterm" name="id2652562"></a> 192 190 <a class="indexterm" name="id2652569"></a> 193 <a class="indexterm" name="id2652578"></a> 194 <a class="indexterm" name="id2652588"></a> 191 <a class="indexterm" name="id2652576"></a> 192 <a class="indexterm" name="id2652583"></a> 193 <a class="indexterm" name="id2652592"></a> 194 <a class="indexterm" name="id2652602"></a> 195 195 Windows 200x GPOs are feature-rich. They are not stored in the NETLOGON share, but rather part of 196 196 a Windows 200x policy file is stored in the Active Directory itself and the other part is stored … … 200 200 known as the Group Policy Template (GPT). 201 201 </p><p> 202 <a class="indexterm" name="id26526 07"></a>202 <a class="indexterm" name="id2652621"></a> 203 203 With NT4 clients, the policy file is read and executed only as each user logs onto the network. 204 204 MS Windows 200x policies are much more complex GPOs are processed and applied at client machine … … 208 208 the administrator to also set filters over the policy settings. No such equivalent capability 209 209 exists with NT4-style policy files. 210 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2652629"></a>Administration of Windows 200x/XP Policies</h4></div></div></div><p> 211 <a class="indexterm" name="id2652637"></a> 212 <a class="indexterm" name="id2652643"></a> 213 <a class="indexterm" name="id2652650"></a> 214 <a class="indexterm" name="id2652657"></a> 210 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2652642"></a>Administration of Windows 200x/XP Policies</h4></div></div></div><p> 211 <a class="indexterm" name="id2652651"></a> 212 <a class="indexterm" name="id2652657"></a> 215 213 <a class="indexterm" name="id2652664"></a> 214 <a class="indexterm" name="id2652671"></a> 215 <a class="indexterm" name="id2652678"></a> 216 216 Instead of using the tool called <span class="application">the System Policy Editor</span>, commonly called Poledit (from the 217 217 executable name <code class="literal">poledit.exe</code>), <acronym class="acronym">GPOs</acronym> are created and managed using a … … 220 220 and select the MMC snap-in called <span class="guimenuitem">Active Directory Users and Computers</span> 221 221 </p></li><li><p> 222 <a class="indexterm" name="id26527 28"></a>222 <a class="indexterm" name="id2652742"></a> 223 223 Select the domain or organizational unit (OU) that you wish to manage, then right-click 224 224 to open the context menu for that object, and select the <span class="guibutton">Properties</span>. … … 238 238 version of MS Windows. 239 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="id2652794"></a>241 <a class="indexterm" name="id2652800"></a>242 240 <a class="indexterm" name="id2652807"></a> 241 <a class="indexterm" name="id2652814"></a> 242 <a class="indexterm" name="id2652821"></a> 243 243 The MS Windows 2000 Resource Kit contains a tool called <code class="literal">gpolmig.exe</code>. This tool can be used 244 244 to migrate an NT4 <code class="filename">NTConfig.POL</code> file into a Windows 200x style GPO. Be VERY careful how you 245 245 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="id26528 34"></a>Custom System Policy Templates</h4></div></div></div><p>246 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2652848"></a>Custom System Policy Templates</h4></div></div></div><p> 247 247 Over the past year, there has been a bit of talk regarding the creation of customized 248 248 templates for the Windows Sytem Policy Editor. A recent announcement on the Samba mailing … … 257 257 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 258 258 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="id2652874"></a>Managing Account/User Policies</h2></div></div></div><p> 260 <a class="indexterm" name="id2652883"></a> 261 <a class="indexterm" name="id2652889"></a> 259 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2652888"></a>Managing Account/User Policies</h2></div></div></div><p> 262 260 <a class="indexterm" name="id2652896"></a> 261 <a class="indexterm" name="id2652903"></a> 262 <a class="indexterm" name="id2652910"></a> 263 263 Policies can define a specific user's settings or the settings for a group of users. The resulting 264 264 policy file contains the registry settings for all users, groups, and computers that will be using 265 265 the policy file. Separate policy files for each user, group, or computer are not necessary. 266 266 </p><p> 267 <a class="indexterm" name="id26529 11"></a>267 <a class="indexterm" name="id2652925"></a> 268 268 If you create a policy that will be automatically downloaded from validating domain controllers, 269 269 you should name the file <code class="filename">NTConfig.POL</code>. As system administrator, you have the option of renaming the … … 273 273 but if a change is necessary to all machines, it must be made individually to each workstation. 274 274 </p><p> 275 <a class="indexterm" name="id26529 37"></a>276 <a class="indexterm" name="id26529 44"></a>275 <a class="indexterm" name="id2652951"></a> 276 <a class="indexterm" name="id2652958"></a> 277 277 When a Windows NT4/200x/XP machine logs onto the network, the client looks in the NETLOGON share on 278 278 the authenticating domain controller for the presence of the <code class="filename">NTConfig.POL</code> file. If one exists, it is 279 279 downloaded, parsed, and then applied to the user's part of the registry. 280 280 </p><p> 281 <a class="indexterm" name="id2652965"></a> 282 <a class="indexterm" name="id2652972"></a> 283 <a class="indexterm" name="id2652978"></a> 281 <a class="indexterm" name="id2652979"></a> 284 282 <a class="indexterm" name="id2652985"></a> 283 <a class="indexterm" name="id2652992"></a> 284 <a class="indexterm" name="id2652999"></a> 285 285 MS Windows 200x/XP clients that log onto an MS Windows Active Directory security domain may additionally 286 286 acquire policy settings through GPOs that are defined and stored in Active Directory … … 288 288 This has considerable advantage compared with the use of <code class="filename">NTConfig.POL</code> (NT4) style policy updates. 289 289 </p><p> 290 <a class="indexterm" name="id26530 11"></a>291 <a class="indexterm" name="id26530 18"></a>290 <a class="indexterm" name="id2653025"></a> 291 <a class="indexterm" name="id2653032"></a> 292 292 In addition to user access controls that may be imposed or applied via system and/or group policies 293 293 in a manner that works in conjunction with user profiles, the user management environment under … … 295 295 Common restrictions that are frequently used include: 296 296 </p><p> 297 <a class="indexterm" name="id26530 34"></a>297 <a class="indexterm" name="id2653048"></a> 298 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 299 </p><p> 300 <a class="indexterm" name="id26530 71"></a>301 <a class="indexterm" name="id26530 78"></a>300 <a class="indexterm" name="id2653085"></a> 301 <a class="indexterm" name="id2653092"></a> 302 302 Samba-3.0.20 does not yet implement all account controls that are common to MS Windows NT4/200x/XP. 303 303 While it is possible to set many controls using the Domain User Manager for MS Windows NT4, only password … … 305 305 that may eventually be completed to provide actual control. Do not be misled by the fact that a 306 306 parameter 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="id26531 01"></a>Management Tools</h2></div></div></div><p>307 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653115"></a>Management Tools</h2></div></div></div><p> 308 308 Anyone who wishes to create or manage Group Policies will need to be familiar with a number of tools. 309 309 The following sections describe a few key tools that will help you to create a low-maintenance user 310 310 environment. 311 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26531 14"></a>Samba Editreg Toolset</h3></div></div></div><p>312 <a class="indexterm" name="id26531 22"></a>313 <a class="indexterm" name="id26531 29"></a>314 <a class="indexterm" name="id26531 35"></a>311 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2653128"></a>Samba Editreg Toolset</h3></div></div></div><p> 312 <a class="indexterm" name="id2653136"></a> 313 <a class="indexterm" name="id2653142"></a> 314 <a class="indexterm" name="id2653149"></a> 315 315 A new tool called <code class="literal">editreg</code> is under development. This tool can be used 316 316 to edit registry files (called <code class="filename">NTUser.DAT</code>) that are stored in user … … 321 321 to realize this capability, so do not be surprised if this feature does not materialize. Formal 322 322 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="id2653196"></a>Windows NT4/200x</h3></div></div></div><p> 324 <a class="indexterm" name="id2653204"></a> 325 <a class="indexterm" name="id2653211"></a> 323 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2653210"></a>Windows NT4/200x</h3></div></div></div><p> 326 324 <a class="indexterm" name="id2653218"></a> 325 <a class="indexterm" name="id2653224"></a> 326 <a class="indexterm" name="id2653231"></a> 327 327 The tools that may be used to configure these types of controls from the MS Windows environment are 328 328 the NT4 User Manager for Domains, the NT4 System and Group Policy Editor, and the Registry Editor (regedt32.exe). 329 329 Under MS Windows 200x/XP, this is done using the MMC with appropriate 330 330 “<span class="quote">snap-ins,</span>” 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="id2653236"></a>Samba PDC</h3></div></div></div><p> 332 <a class="indexterm" name="id2653244"></a> 333 <a class="indexterm" name="id2653251"></a> 331 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2653250"></a>Samba PDC</h3></div></div></div><p> 334 332 <a class="indexterm" name="id2653258"></a> 335 333 <a class="indexterm" name="id2653265"></a> 334 <a class="indexterm" name="id2653271"></a> 335 <a class="indexterm" name="id2653278"></a> 336 336 With a Samba domain controller, the new tools for managing user account and policy information include: 337 337 <code class="literal">smbpasswd</code>, <code class="literal">pdbedit</code>, <code class="literal">net</code>, and <code class="literal">rpcclient</code>. 338 338 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="id26533 01"></a>System Startup and Logon Processing Overview</h2></div></div></div><p>339 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653315"></a>System Startup and Logon Processing Overview</h2></div></div></div><p> 340 340 The following attempts to document the order of processing the system and user policies following a system 341 341 reboot and as part of the user logon: 342 342 </p><div class="orderedlist"><ol type="1"><li><p> 343 <a class="indexterm" name="id26533 23"></a>344 <a class="indexterm" name="id26533 33"></a>343 <a class="indexterm" name="id2653337"></a> 344 <a class="indexterm" name="id2653347"></a> 345 345 Network starts, then Remote Procedure Call System Service (RPCSS) and multiple universal naming 346 346 convention provider (MUP) start. 347 347 </p></li><li><p> 348 <a class="indexterm" name="id26533 49"></a>349 <a class="indexterm" name="id26533 56"></a>348 <a class="indexterm" name="id2653363"></a> 349 <a class="indexterm" name="id2653369"></a> 350 350 Where Active Directory is involved, an ordered list of GPOs is downloaded 351 351 and applied. The list may include GPOs that: … … 372 372 The user interface as determined from the GPOs is presented. Note: In a Samba domain (like an NT4 373 373 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="id26534 59"></a>Common Errors</h2></div></div></div><p>374 </p></li></ol></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653472"></a>Common Errors</h2></div></div></div><p> 375 375 Policy-related problems can be quite difficult to diagnose and even more difficult to rectify. The following 376 376 collection demonstrates only basic issues. 377 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26534 70"></a>Policy Does Not Work</h3></div></div></div><p>377 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2653484"></a>Policy Does Not Work</h3></div></div></div><p> 378 378 “<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. 379 379 It 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 -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/Portability.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2682 092">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682195">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682234">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682376">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682419">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682481">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2682487">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="id26820 74"></a>3 <a class="indexterm" name="id26820 80"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2682105">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682209">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682248">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682390">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682433">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682495">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2682500">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="id2682088"></a> 3 <a class="indexterm" name="id2682094"></a> 4 4 Samba works on a wide range of platforms, but the interface all the 5 5 platforms 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="id2682 092"></a>HPUX</h2></div></div></div><p>7 <a class="indexterm" name="id2682 099"></a>8 <a class="indexterm" name="id26821 06"></a>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="id2682105"></a>HPUX</h2></div></div></div><p> 7 <a class="indexterm" name="id2682113"></a> 8 <a class="indexterm" name="id2682120"></a> 9 9 Hewlett-Packard's implementation of supplementary groups is nonstandard (for 10 10 historical reasons). There are two group files, <code class="filename">/etc/group</code> and … … 24 24 This is documented in the HP manual pages under setgroups(2) and passwd(4). 25 25 </p><p> 26 <a class="indexterm" name="id26821 77"></a>27 <a class="indexterm" name="id26821 84"></a>26 <a class="indexterm" name="id2682191"></a> 27 <a class="indexterm" name="id2682198"></a> 28 28 On HP-UX you must use gcc or the HP ANSI compiler. The free compiler 29 29 that 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="id2682 195"></a>SCO UNIX</h2></div></div></div><p>30 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682209"></a>SCO UNIX</h2></div></div></div><p> 31 31 If you run an old version of SCO UNIX, you may need to get important 32 32 TCP/IP patches for Samba to work correctly. Without the patch, you may … … 44 44 require significant patching of Samba source code. It is much easier to obtain binary 45 45 packages directly from SCO. 46 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26822 34"></a>DNIX</h2></div></div></div><p>46 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682248"></a>DNIX</h2></div></div></div><p> 47 47 DNIX has a problem with seteuid() and setegid(). These routines are 48 48 needed for Samba to work correctly, but they were left out of the DNIX … … 101 101 </p><pre class="programlisting"> 102 102 #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="id26823 76"></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" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682390"></a>Red Hat Linux</h2></div></div></div><p> 104 104 By default during installation, some versions of Red Hat Linux add an 105 105 entry to <code class="filename">/etc/hosts</code> as follows: … … 108 108 </pre><p> 109 109 </p><p> 110 <a class="indexterm" name="id26824 01"></a>110 <a class="indexterm" name="id2682415"></a> 111 111 This causes Samba to loop back onto the loopback interface. 112 112 The result is that Samba fails to communicate correctly with … … 116 116 Corrective action: Delete the entry after the word "loopback" 117 117 in 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="id26824 19"></a>AIX: Sequential Read Ahead</h2></div></div></div><p>118 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682433"></a>AIX: Sequential Read Ahead</h2></div></div></div><p> 119 119 Disabling sequential read ahead can improve Samba performance significantly 120 120 when there is a relatively high level of multiprogramming (many smbd processes … … 135 135 If you have a mix of jfs and jfs2 filesystems on the same host, simply use both 136 136 ioo commands. 137 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26824 81"></a>Solaris</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682487"></a>Locking Improvements</h3></div></div></div><p>Some people have been experiencing problems with F_SETLKW64/fcntl137 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682495"></a>Solaris</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682500"></a>Locking Improvements</h3></div></div></div><p>Some people have been experiencing problems with F_SETLKW64/fcntl 138 138 when running Samba on Solaris. The built-in file-locking mechanism was 139 139 not scalable. Performance would degrade to the point where processes would -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/ProfileMgmt.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id26535 55">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2653605">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2653659">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2654264">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655608">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655642">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655741">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2656092">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656232">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656311">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2656341">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2656493">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657055">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2657560">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2657571">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657632">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657804">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657967">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="id2653555"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26535 63"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2653569">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2653618">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2653672">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2654278">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655622">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655656">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655754">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2656106">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656246">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656325">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2656355">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2656507">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657069">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2657574">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2657585">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657646">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657817">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657981">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="id2653569"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2653577"></a> 3 3 Roaming profiles are feared by some, hated by a few, loved by many, and a godsend for 4 4 some administrators. 5 5 </p><p> 6 <a class="indexterm" name="id26535 75"></a>6 <a class="indexterm" name="id2653589"></a> 7 7 Roaming profiles allow an administrator to make available a consistent user desktop 8 8 as the user moves from one machine to another. This chapter provides much information 9 9 regarding how to configure and manage roaming profiles. 10 10 </p><p> 11 <a class="indexterm" name="id2653 589"></a>11 <a class="indexterm" name="id2653603"></a> 12 12 While roaming profiles might sound like nirvana to some, they are a real and tangible 13 13 problem to others. In particular, users of mobile computing tools, where often there may not … … 15 15 This chapter provides information to help the Samba administrator deal with those 16 16 situations. 17 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26536 05"></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" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653618"></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> 18 18 Roaming profiles support is different for Windows 9x/Me and Windows NT4/200x. 19 19 </p></div><p> … … 21 21 Windows 9x/Me and Windows NT4/200x clients implement these features. 22 22 </p><p> 23 <a class="indexterm" name="id26536 26"></a>23 <a class="indexterm" name="id2653640"></a> 24 24 Windows 9x/Me clients send a NetUserGetInfo request to the server to get the user's 25 25 profiles location. However, the response does not have room for a separate … … 27 27 profiles are restricted to being stored in the user's home directory. 28 28 </p><p> 29 <a class="indexterm" name="id26536 42"></a>30 <a class="indexterm" name="id26536 48"></a>29 <a class="indexterm" name="id2653655"></a> 30 <a class="indexterm" name="id2653662"></a> 31 31 Windows NT4/200x clients send a NetSAMLogon RPC request, which contains many fields 32 32 including 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="id26536 59"></a>Samba Configuration for Profile Handling</h3></div></div></div><p>33 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2653672"></a>Samba Configuration for Profile Handling</h3></div></div></div><p> 34 34 This 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="id26536 70"></a>NT4/200x User Profiles</h4></div></div></div><p>35 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2653683"></a>NT4/200x User Profiles</h4></div></div></div><p> 36 36 For 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="id2653 692"></a><em class="parameter"><code>logon path = \\profileserver\profileshare\profilepath\%U\moreprofilepath</code></em></td></tr></table><p>37 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2653706"></a><em class="parameter"><code>logon path = \\profileserver\profileshare\profilepath\%U\moreprofilepath</code></em></td></tr></table><p> 38 38 This is typically implemented like: 39 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26537 13"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr></table><p>39 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2653727"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr></table><p> 40 40 where “<span class="quote">%L</span>” translates to the name of the Samba server and “<span class="quote">%U</span>” translates to the username. 41 41 </p><p> … … 46 46 semantics of “<span class="quote">%L</span>” and “<span class="quote">%N</span>”, as well as “<span class="quote">%U</span>” and “<span class="quote">%u</span>”. 47 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="id26537 83"></a>49 <a class="indexterm" name="id2653 790"></a>48 <a class="indexterm" name="id2653797"></a> 49 <a class="indexterm" name="id2653804"></a> 50 50 MS Windows NT/200x clients at times do not disconnect a connection to a server between logons. It is recommended 51 51 to 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="id26538 08"></a>Windows 9x/Me User Profiles</h4></div></div></div><p>53 <a class="indexterm" name="id26538 16"></a>54 <a class="indexterm" name="id26538 23"></a>52 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2653822"></a>Windows 9x/Me User Profiles</h4></div></div></div><p> 53 <a class="indexterm" name="id2653830"></a> 54 <a class="indexterm" name="id2653837"></a> 55 55 To support Windows 9x/Me clients, you must use the <a class="link" href="smb.conf.5.html#LOGONHOME">logon home</a> 56 56 parameter. Samba has been fixed so <strong class="userinput"><code>net use /home</code></strong> now works as well and it, too, relies 57 57 on the <em class="parameter"><code>logon home</code></em> parameter. 58 58 </p><p> 59 <a class="indexterm" name="id2653859"></a>60 <a class="indexterm" name="id2653866"></a>61 59 <a class="indexterm" name="id2653873"></a> 60 <a class="indexterm" name="id2653879"></a> 61 <a class="indexterm" name="id2653886"></a> 62 62 By using the <em class="parameter"><code>logon home</code></em> parameter, you are restricted to putting Windows 9x/Me profiles 63 63 in the user's home directory. But wait! There is a trick you can use. If you set the following in the 64 64 <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="id26539 06"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr></table><p>65 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2653920"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr></table><p> 66 66 then your Windows 9x/Me clients will dutifully put their clients in a subdirectory 67 67 of your home directory called <code class="filename">.profiles</code> (making them hidden). 68 68 </p><p> 69 <a class="indexterm" name="id26539 29"></a>69 <a class="indexterm" name="id2653943"></a> 70 70 Not only that, but <strong class="userinput"><code>net use /home</code></strong> will also work because of a feature in 71 71 Windows 9x/Me. It removes any directory stuff off the end of the home directory area 72 72 and only uses the server and share portion. That is, it looks like you 73 73 specified <code class="filename">\\%L\%U</code> for <a class="link" href="smb.conf.5.html#LOGONHOME">logon home</a>. 74 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26539 66"></a>Mixed Windows Windows 9x/Me and NT4/200x User Profiles</h4></div></div></div><p>74 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2653980"></a>Mixed Windows Windows 9x/Me and NT4/200x User Profiles</h4></div></div></div><p> 75 75 You can support profiles for Windows 9x and Windows NT clients by setting both the 76 76 <a class="link" href="smb.conf.5.html#LOGONHOME">logon home</a> and <a class="link" href="smb.conf.5.html#LOGONPATH">logon path</a> parameters. For example, 77 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26540 06"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2654018"></a><em class="parameter"><code>logon path = \\%L\profiles\%U</code></em></td></tr></table><p>78 <a class="indexterm" name="id26540 32"></a>77 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2654020"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2654031"></a><em class="parameter"><code>logon path = \\%L\profiles\%U</code></em></td></tr></table><p> 78 <a class="indexterm" name="id2654045"></a> 79 79 Windows 9x/Me and NT4 and later profiles should not be stored in the same location because 80 80 Windows 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="id26540 44"></a>Disabling Roaming Profile Support</h4></div></div></div><p>82 <a class="indexterm" name="id26540 52"></a>81 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2654058"></a>Disabling Roaming Profile Support</h4></div></div></div><p> 82 <a class="indexterm" name="id2654066"></a> 83 83 The question often asked is, “<span class="quote">How may I enforce use of local profiles?</span>” or 84 84 “<span class="quote">How do I disable roaming profiles?</span>” 85 85 </p><p> 86 <a class="indexterm" name="id26540 70"></a>86 <a class="indexterm" name="id2654084"></a> 87 87 There are three ways of doing this: 88 </p><a class="indexterm" name="id26540 79"></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="id2654093"></a><div class="variablelist"><dl><dt><span class="term">In <code class="filename">smb.conf</code></span></dt><dd><p> 89 89 Affect the following settings and ALL clients will be forced to use a local profile: 90 90 <a class="link" href="smb.conf.5.html#LOGONHOME">logon home = </a> and <a class="link" href="smb.conf.5.html#LOGONPATH">logon path = </a> … … 93 93 to specifically assign the empty value. 94 94 </p></dd><dt><span class="term">MS Windows Registry:</span></dt><dd><p> 95 <a class="indexterm" name="id26541 49"></a>96 <a class="indexterm" name="id26541 55"></a>95 <a class="indexterm" name="id2654163"></a> 96 <a class="indexterm" name="id2654169"></a> 97 97 Use the Microsoft Management Console (MMC) <code class="literal">gpedit.msc</code> to instruct your MS Windows XP 98 98 machine to use only a local profile. This, of course, modifies registry settings. The full … … 117 117 about which registry keys to change to enforce use of only local user profiles. 118 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="id26542 49"></a>119 <a class="indexterm" name="id2654263"></a> 120 120 The specifics of how to convert a local profile to a roaming profile, or a roaming profile 121 121 to a local one, vary according to the version of MS Windows you are running. Consult the Microsoft MS 122 122 Windows 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="id26542 64"></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="id2654270"></a>Windows 9x/Me Profile Setup</h4></div></div></div><p>123 </p></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654278"></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="id2654284"></a>Windows 9x/Me Profile Setup</h4></div></div></div><p> 124 124 When a user first logs in on Windows 9x, the file user.DAT is created, as are folders <code class="filename">Start 125 125 Menu</code>, <code class="filename">Desktop</code>, <code class="filename">Programs</code>, and … … 129 129 profile folders. 130 130 </p><p> 131 <a class="indexterm" name="id26543 60"></a>132 <a class="indexterm" name="id26543 66"></a>131 <a class="indexterm" name="id2654373"></a> 132 <a class="indexterm" name="id2654380"></a> 133 133 The <code class="filename">user.DAT</code> file contains all the user's preferences. If you wish to enforce a set of preferences, 134 134 rename their <code class="filename">user.DAT</code> file to <code class="filename">user.MAN</code>, and deny them write access to this file. … … 145 145 <span class="guibutton">OK</span>, and this time allow the computer to reboot. 146 146 </p></li></ol></div><p> 147 <a class="indexterm" name="id2654487"></a>148 <a class="indexterm" name="id2654494"></a>149 147 <a class="indexterm" name="id2654501"></a> 150 148 <a class="indexterm" name="id2654508"></a> 149 <a class="indexterm" name="id2654515"></a> 150 <a class="indexterm" name="id2654522"></a> 151 151 Under Windows 9x/Me, profiles are downloaded from the Primary Logon. If you have the Primary Logon 152 152 as “<span class="quote">Client for Novell Networks</span>”, then the profiles and logon script will be downloaded from … … 154 154 be loaded from the local machine a bit against the concept of roaming profiles, it would seem! 155 155 </p><p> 156 <a class="indexterm" name="id26545 35"></a>156 <a class="indexterm" name="id2654549"></a> 157 157 You will now find that the Microsoft Networks Login box contains <code class="constant">[user, password, domain]</code> instead 158 158 of just <code class="constant">[user, password]</code>. Type in the Samba server's domain name (or any other domain known to exist, … … 169 169 <code class="filename">Programs</code>, and <code class="filename">Nethood</code> folders have been created. 170 170 </p><p> 171 <a class="indexterm" name="id2654622"></a>172 <a class="indexterm" name="id2654629"></a>173 171 <a class="indexterm" name="id2654636"></a> 172 <a class="indexterm" name="id2654642"></a> 173 <a class="indexterm" name="id2654649"></a> 174 174 These folders will be cached locally on the client and updated when the user logs off (if 175 175 you haven't made them read-only by then). You will find that if the user creates further folders or … … 177 177 directory already on the local client, taking the newest folders and shortcut from each set. 178 178 </p><p> 179 <a class="indexterm" name="id2654652"></a>180 <a class="indexterm" name="id2654659"></a>181 179 <a class="indexterm" name="id2654666"></a> 182 180 <a class="indexterm" name="id2654673"></a> 181 <a class="indexterm" name="id2654680"></a> 182 <a class="indexterm" name="id2654687"></a> 183 183 If you have made the folders/files read-only on the Samba server, then you will get errors from 184 184 the Windows 9x/Me machine on logon and logout as it attempts to merge the local and remote profile. … … 186 186 and ownership rights on the profile directory contents, on the Samba server. 187 187 </p><p> 188 <a class="indexterm" name="id2654690"></a> 189 <a class="indexterm" name="id2654697"></a> 190 <a class="indexterm" name="id2654704"></a> 188 <a class="indexterm" name="id2654703"></a> 191 189 <a class="indexterm" name="id2654710"></a> 192 190 <a class="indexterm" name="id2654717"></a> 191 <a class="indexterm" name="id2654724"></a> 192 <a class="indexterm" name="id2654731"></a> 193 193 If you have problems creating user profiles, you can reset the user's local desktop cache, as shown below. 194 194 When this user next logs in, the user will be told that he/she is logging in “<span class="quote">for the first … … 215 215 file for the user, making a backup if required. 216 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="id26548 49"></a>217 <a class="indexterm" name="id2654862"></a> 218 218 Before deleting the contents of the directory listed in the <em class="parameter"><code>ProfilePath</code></em> 219 219 (this is likely to be <code class="filename">c:\windows\profiles\username)</code>, ask whether the owner has … … 225 225 “<span class="quote">start menu,</span>” and “<span class="quote">programs</span>” folders. 226 226 </p></div><p> 227 <a class="indexterm" name="id2654907"></a>228 <a class="indexterm" name="id2654914"></a>229 227 <a class="indexterm" name="id2654921"></a> 230 228 <a class="indexterm" name="id2654927"></a> 229 <a class="indexterm" name="id2654934"></a> 230 <a class="indexterm" name="id2654941"></a> 231 231 If all else fails, increase Samba's debug log levels to between 3 and 10, and/or run a packet 232 232 sniffer program such as ethereal or <code class="literal">netmon.exe</code>, and look for error messages. 233 233 </p><p> 234 <a class="indexterm" name="id26549 46"></a>235 <a class="indexterm" name="id26549 53"></a>234 <a class="indexterm" name="id2654960"></a> 235 <a class="indexterm" name="id2654967"></a> 236 236 If you have access to an Windows NT4/200x server, then first set up roaming profiles and/or 237 237 netlogons on the Windows NT4/200x server. Make a packet trace, or examine the example packet traces 238 238 provided 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="id26549 67"></a>Windows NT4 Workstation</h4></div></div></div><p>239 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2654981"></a>Windows NT4 Workstation</h4></div></div></div><p> 240 240 When a user first logs in to a Windows NT workstation, the profile NTuser.DAT is created. The profile 241 241 location can be now specified through the <a class="link" href="smb.conf.5.html#LOGONPATH">logon path</a> parameter. … … 245 245 the new <a class="link" href="smb.conf.5.html#LOGONHOME">logon home</a> parameter. 246 246 </p><p> 247 <a class="indexterm" name="id26550 27"></a>248 <a class="indexterm" name="id26550 34"></a>247 <a class="indexterm" name="id2655041"></a> 248 <a class="indexterm" name="id2655048"></a> 249 249 The entry for the NT4 profile is a directory, not a file. The NT help on profiles mentions that a 250 250 directory is also created with a .PDS extension. The user, while logging in, must have write permission … … 252 252 might be created). 253 253 </p><p> 254 <a class="indexterm" name="id26550 50"></a>254 <a class="indexterm" name="id2655063"></a> 255 255 In the profile directory, Windows NT4 creates more folders than Windows 9x/Me. It creates 256 256 <code class="filename">Application Data</code> and others, as well as <code class="filename">Desktop</code>, … … 259 259 in the .PDS directory, and its purpose is currently unknown. 260 260 </p><p> 261 <a class="indexterm" name="id2655 098"></a>262 <a class="indexterm" name="id26551 05"></a>261 <a class="indexterm" name="id2655112"></a> 262 <a class="indexterm" name="id2655119"></a> 263 263 You can use the <span class="application">System Control Panel</span> to copy a local profile onto 264 264 a Samba server (see NT help on profiles; it is also capable of firing up the correct location in the … … 268 268 The case of the profile is significant. The file must be called <code class="filename">NTuser.DAT</code> 269 269 or, 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="id26551 59"></a>Windows 2000/XP Professional</h4></div></div></div><p>270 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2655173"></a>Windows 2000/XP Professional</h4></div></div></div><p> 271 271 You must first convert the profile from a local profile to a domain profile on the MS Windows 272 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 … … 281 281 Under Windows NT/200x, the use of mandatory profiles forces the use of MS Exchange storage of mail 282 282 data 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="id26553 41"></a>Windows XP Service Pack 1</h5></div></div></div><p>283 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2655355"></a>Windows XP Service Pack 1</h5></div></div></div><p> 284 284 There is a security check new to Windows XP (or maybe only Windows XP service pack 1). 285 285 It can be disabled via a group policy in the Active Directory. The policy is called: … … 297 297 <span class="guiicon">Computer Configuration</span> -> <span class="guiicon">Administrative Templates</span> -> 298 298 <span class="guiicon">System</span> -> <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="id26556 08"></a>User Profile Hive Cleanup Service</h3></div></div></div><p>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="id2655622"></a>User Profile Hive Cleanup Service</h3></div></div></div><p> 300 300 There are certain situations that cause a cached local copy of roaming profile not to be deleted on exit, even if 301 301 the policy to force such deletion is set. To deal with that situation, a special service was created. The application … … 304 304 </p><p> 305 305 The UPHClean software package can be downloaded from the User Profile Hive Cleanup 306 Service<sup>[<a name="id26556 33" href="#ftn.id2655633" class="footnote">7</a>]</sup>306 Service<sup>[<a name="id2655647" href="#ftn.id2655647" class="footnote">7</a>]</sup> 307 307 web site. 308 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26556 42"></a>Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</h3></div></div></div><p>309 <a class="indexterm" name="id26556 51"></a>310 <a class="indexterm" name="id26556 58"></a>308 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2655656"></a>Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</h3></div></div></div><p> 309 <a class="indexterm" name="id2655664"></a> 310 <a class="indexterm" name="id2655671"></a> 311 311 Sharing of desktop profiles between Windows versions is not recommended. Desktop profiles are an 312 312 evolving phenomenon, and profiles for later versions of MS Windows clients add features that may interfere … … 320 320 <a class="link" href="smb.conf.5.html#LOGONPATH">logon path</a> and <a class="link" href="smb.conf.5.html#LOGONHOME">logon home</a>. 321 321 </p><p> 322 <a class="indexterm" name="id26557 12"></a>323 <a class="indexterm" name="id26557 19"></a>322 <a class="indexterm" name="id2655726"></a> 323 <a class="indexterm" name="id2655733"></a> 324 324 If you have this set up correctly, you will find separate <code class="filename">user.DAT</code> and 325 325 <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="id26557 41"></a>Profile Migration from Windows NT4/200x Server to Samba</h3></div></div></div><p>327 <a class="indexterm" name="id26557 49"></a>326 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2655754"></a>Profile Migration from Windows NT4/200x Server to Samba</h3></div></div></div><p> 327 <a class="indexterm" name="id2655763"></a> 328 328 There is nothing to stop you from specifying any path that you like for the location of users' profiles. 329 329 Therefore, you could specify that the profile be stored on a Samba server or any other SMB server, 330 330 as long as that SMB server supports encrypted passwords. 331 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="id26557 74"></a>332 <a class="indexterm" name="id2655788"></a> 333 333 Unfortunately, the resource kit information is specific to the version of MS Windows NT4/200x. The 334 334 correct resource kit is required for each platform. 335 </p><p>Here is a quick guide:</p><div class="procedure"><a name="id2655 788"></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 select335 </p><p>Here is a quick guide:</p><div class="procedure"><a name="id2655802"></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 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 “<span class="quote">migrate</span>” loosely. You can copy a profile to create a group 337 337 profile. You can give the user <em class="parameter"><code>Everyone</code></em> rights to the profile you copy this to. That … … 341 341 closes the “<span class="quote">choose user</span>” box.</p></li><li><p>Now click on <span class="guibutton">OK</span>.</p></li></ol></div><p> 342 342 Follow 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="id26559 35"></a>Side Bar Notes</h4></div></div></div><p>344 <a class="indexterm" name="id26559 43"></a>345 <a class="indexterm" name="id26559 49"></a>343 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2655948"></a>Side Bar Notes</h4></div></div></div><p> 344 <a class="indexterm" name="id2655956"></a> 345 <a class="indexterm" name="id2655963"></a> 346 346 You should obtain the SID of your NT4 domain. You can use the <code class="literal">net rpc info</code> to do this. 347 347 See <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="id26559 86"></a>moveuser.exe</h4></div></div></div><p>349 <a class="indexterm" name="id265 5994"></a>348 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2655999"></a>moveuser.exe</h4></div></div></div><p> 349 <a class="indexterm" name="id2656007"></a> 350 350 The Windows 200x professional resource kit has <code class="literal">moveuser.exe</code>. 351 351 <code class="literal">moveuser.exe</code> changes the security of a profile from one user to another. This allows the … … 353 353 </p><p> 354 354 This 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="id26560 27"></a>Get SID</h4></div></div></div><p>356 <a class="indexterm" name="id26560 35"></a>357 <a class="indexterm" name="id26560 42"></a>355 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2656041"></a>Get SID</h4></div></div></div><p> 356 <a class="indexterm" name="id2656049"></a> 357 <a class="indexterm" name="id2656055"></a> 358 358 You can identify the SID by using <code class="literal">GetSID.exe</code> from the Windows NT Server 4.0 Resource Kit. 359 359 </p><p> … … 365 365 to move, find the SID for the user with the <code class="literal">GetSID.exe</code> utility.) Inside the appropriate user's subkey, 366 366 you 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="id2656 092"></a>Mandatory Profiles</h2></div></div></div><p>368 <a class="indexterm" name="id26561 00"></a>367 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2656106"></a>Mandatory Profiles</h2></div></div></div><p> 368 <a class="indexterm" name="id2656114"></a> 369 369 A mandatory profile is a profile that the user does not have the ability to overwrite. During the 370 370 user's session, it may be possible to change the desktop environment; however, as the user logs out, all changes … … 373 373 Policies</a>. 374 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="id2656125"></a>376 <a class="indexterm" name="id2656132"></a>377 375 <a class="indexterm" name="id2656138"></a> 376 <a class="indexterm" name="id2656145"></a> 377 <a class="indexterm" name="id2656152"></a> 378 378 Under NO circumstances should the profile directory (or its contents) be made read-only because this may 379 379 render the profile unusable. Where it is essential to make a profile read-only within the UNIX file system, … … 381 381 instruct 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>. 382 382 </p></div><p> 383 <a class="indexterm" name="id26561 69"></a>384 <a class="indexterm" name="id26561 76"></a>383 <a class="indexterm" name="id2656183"></a> 384 <a class="indexterm" name="id2656189"></a> 385 385 For 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 386 386 NT4/200x Server to Samba</a> can also be used to create mandatory profiles. To convert a group profile into … … 388 388 it to <code class="filename">NTUser.MAN</code>. 389 389 </p><p> 390 <a class="indexterm" name="id26562 10"></a>390 <a class="indexterm" name="id2656224"></a> 391 391 For MS Windows 9x/Me, it is the <code class="filename">User.DAT</code> file that must be renamed to 392 392 <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="id2656232"></a>Creating and Managing Group Profiles</h2></div></div></div><p> 394 <a class="indexterm" name="id2656241"></a> 395 <a class="indexterm" name="id2656247"></a> 393 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2656246"></a>Creating and Managing Group Profiles</h2></div></div></div><p> 396 394 <a class="indexterm" name="id2656254"></a> 397 395 <a class="indexterm" name="id2656261"></a> 396 <a class="indexterm" name="id2656268"></a> 397 <a class="indexterm" name="id2656275"></a> 398 398 Most organizations are arranged into departments. There is a nice benefit in this fact, since usually 399 399 most users in a department require the same desktop applications and the same desktop layout. MS … … 402 402 assigned access rights for the user group that needs to be given access to the group profile. 403 403 </p><p> 404 <a class="indexterm" name="id2656 288"></a>404 <a class="indexterm" name="id2656302"></a> 405 405 The next step is rather important. Instead of assigning a group profile to users (Using User Manager) 406 406 on a “<span class="quote">per-user</span>” basis, the group itself is assigned the now modified profile. … … 408 408 Be careful with group profiles. If the user who is a member of a group also has a personal 409 409 profile, 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="id26563 11"></a>Default Profile for Windows Users</h2></div></div></div><p>411 <a class="indexterm" name="id26563 19"></a>412 <a class="indexterm" name="id26563 26"></a>410 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2656325"></a>Default Profile for Windows Users</h2></div></div></div><p> 411 <a class="indexterm" name="id2656333"></a> 412 <a class="indexterm" name="id2656340"></a> 413 413 MS Windows 9x/Me and NT4/200x/XP will use a default profile for any user for whom a profile 414 414 does not already exist. Armed with a knowledge of where the default profile is located on the Windows … … 416 416 it is possible to modify the default profile to one that has been optimized for the site. This has 417 417 significant administrative advantages. 418 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26563 41"></a>MS Windows 9x/Me</h3></div></div></div><p>419 <a class="indexterm" name="id26563 49"></a>420 <a class="indexterm" name="id26563 56"></a>418 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2656355"></a>MS Windows 9x/Me</h3></div></div></div><p> 419 <a class="indexterm" name="id2656363"></a> 420 <a class="indexterm" name="id2656370"></a> 421 421 To enable default per-use profiles in Windows 9x/Me, you can either use the <span class="application">Windows 422 422 98 System Policy Editor</span> or change the registry directly. … … 428 428 changes. 429 429 </p><p> 430 <a class="indexterm" name="id26564 17"></a>430 <a class="indexterm" name="id2656431"></a> 431 431 To modify the registry directly, launch the <span class="application">Registry Editor</span> 432 432 (<code class="literal">regedit.exe</code>) and select the hive <code class="filename">HKEY_LOCAL_MACHINE\Network\Logon</code>. 433 433 Now add a DWORD type key with the name “<span class="quote">User Profiles.</span>” To enable user profiles to set the value 434 434 to 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="id26564 50"></a>User Profile Handling with Windows 9x/Me</h4></div></div></div><p>435 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2656464"></a>User Profile Handling with Windows 9x/Me</h4></div></div></div><p> 436 436 When a user logs on to a Windows 9x/Me machine, the local profile path, 437 437 <code class="filename">HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\ProfileList</code>, is checked … … 449 449 changes that the user made are written to the user's local profile. If the user has a roaming profile, 450 450 the 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="id2656 493"></a>MS Windows NT4 Workstation</h3></div></div></div><p>451 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2656507"></a>MS Windows NT4 Workstation</h3></div></div></div><p> 452 452 On MS Windows NT4, the default user profile is obtained from the location 453 453 <code class="filename">%SystemRoot%\Profiles</code>, which in a default installation will translate to … … 463 463 When a new user first logs onto an MS Windows NT4 machine, a new profile is created from: 464 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="id26565 80"></a>465 <a class="indexterm" name="id2656594"></a> 466 466 When a user logs on to an MS Windows NT4 machine that is a member of a Microsoft security domain, 467 467 the following steps are followed for profile handling: … … 475 475 exist, then a new profile is created in the <code class="filename">%SystemRoot%\Profiles\%USERNAME%</code> 476 476 directory from reading the <code class="filename">Default User</code> profile. </p></li><li><p> 477 <a class="indexterm" name="id2656657"></a>478 <a class="indexterm" name="id2656664"></a>479 477 <a class="indexterm" name="id2656671"></a> 480 478 <a class="indexterm" name="id2656678"></a> 481 479 <a class="indexterm" name="id2656685"></a> 480 <a class="indexterm" name="id2656692"></a> 481 <a class="indexterm" name="id2656699"></a> 482 482 If the NETLOGON share on the authenticating server (logon server) contains 483 483 a policy file (<code class="filename">NTConfig.POL</code>), then its contents are applied to the … … 501 501 on logout. 502 502 </p><p> 503 <a class="indexterm" name="id2656 792"></a>503 <a class="indexterm" name="id2656806"></a> 504 504 Under MS Windows NT4, default locations for common resources like <code class="filename">My Documents</code> 505 505 may be redirected to a network share by modifying the following registry keys. These changes may be … … 520 520 \User Shell Folders 521 521 </pre><p> 522 <a class="indexterm" name="id26568 33"></a>522 <a class="indexterm" name="id2656846"></a> 523 523 </p><p> The above hive key contains a list of automatically managed 524 524 folders. 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>. … … 530 530 </p><p> 531 531 The 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="id2657055"></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="id2657064"></a> 534 <a class="indexterm" name="id2657071"></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="id2657069"></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> 535 533 <a class="indexterm" name="id2657078"></a> 536 534 <a class="indexterm" name="id2657085"></a> 535 <a class="indexterm" name="id2657092"></a> 536 <a class="indexterm" name="id2657098"></a> 537 537 MS Windows XP Home Edition does use default per-user profiles, but cannot participate 538 538 in domain security, cannot log onto an NT/ADS-style domain, and thus can obtain the profile only … … 541 541 profile and enforce it through the use of Group Policy Objects (GPOs). 542 542 </p></div><p> 543 <a class="indexterm" name="id26571 02"></a>543 <a class="indexterm" name="id2657116"></a> 544 544 When a new user first logs onto an MS Windows 200x/XP machine, the default profile is obtained from 545 545 <code class="filename">C:\Documents and Settings\Default User</code>. The administrator can modify or change the … … 547 547 since it will involve copying a new default profile to every MS Windows 200x/XP client workstation. 548 548 </p><p> 549 <a class="indexterm" name="id26571 25"></a>549 <a class="indexterm" name="id2657139"></a> 550 550 When MS Windows 200x/XP participates in a domain security context, and if the default user profile is not 551 551 found, then the client will search for a default profile in the NETLOGON share of the authenticating server. … … 569 569 This hive key contains a list of automatically managed folders. The default entries are shown 570 570 in <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="id26572 62"></a>571 <a class="indexterm" name="id2657276"></a> 572 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">Default</span>” that has no value set. The default entry is 573 573 of 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 … … 590 590 A roaming profile is cached locally unless the following registry key is created: 591 591 592 <a class="indexterm" name="id26575 36"></a>592 <a class="indexterm" name="id2657549"></a> 593 593 </p><p> </p><pre class="programlisting"> HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\Windows NT\CurrentVersion\ 594 594 winlogon\"DeleteRoamingCache"=dword:00000001</pre><p> 595 595 In 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="id26575 60"></a>Common Errors</h2></div></div></div><p>596 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2657574"></a>Common Errors</h2></div></div></div><p> 597 597 The 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="id26575 71"></a>Configuring Roaming Profiles for a Few Users or Groups</h3></div></div></div><p>598 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2657585"></a>Configuring Roaming Profiles for a Few Users or Groups</h3></div></div></div><p> 599 599 With Samba-2.2.x, the choice you have is to enable or disable roaming profiles support. It is a 600 600 global-only setting. The default is to have roaming profiles, and the default path will locate them in … … 606 606 </p><p> 607 607 With 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="id26576 32"></a>Cannot Use Roaming Profiles</h3></div></div></div><p> A user requested the following: “<span class="quote"> I do not want roaming profiles to be implemented. I want608 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="id2657646"></a>Cannot Use Roaming Profiles</h3></div></div></div><p> A user requested the following: “<span class="quote"> I do not want roaming profiles to be implemented. I want 609 609 to give users a local profile alone. I am totally lost with this error. For the past 610 610 two days I tried everything, I googled around but found no useful pointers. Please help me. </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 … … 626 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 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="id26578 04"></a>Changing the Default Profile</h3></div></div></div><p>“<span class="quote">When the client logs onto the domain controller, it searches628 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="id2657817"></a>Changing the Default Profile</h3></div></div></div><p>“<span class="quote">When the client logs onto the domain controller, it searches 629 629 for a profile to download. Where do I put this default profile?</span>”</p><p> 630 <a class="indexterm" name="id26578 18"></a>630 <a class="indexterm" name="id2657832"></a> 631 631 First, 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="id26578 39"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2657851"></a><em class="parameter"><code>os level = 32 (or more)</code></em></td></tr><tr><td><a class="indexterm" name="id2657863"></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 is632 setting in <code class="filename">smb.conf</code>: </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2657853"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2657865"></a><em class="parameter"><code>os level = 32 (or more)</code></em></td></tr><tr><td><a class="indexterm" name="id2657876"></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 633 633 a good idea to add a logon script to preset printer and drive connections. There is also a facility 634 634 for automatically synchronizing the workstation time clock with that of the logon server (another good … … 637 637 with the appropriate entries. This file needs to be located in the <em class="parameter"><code>netlogon</code></em> 638 638 share 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="id26579 35"></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="id2657950"></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="id2657967"></a>Debugging Roaming Profiles and NT4-style Domain Policies</h3></div></div></div><p>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="id2657949"></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="id2657964"></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="id2657981"></a>Debugging Roaming Profiles and NT4-style Domain Policies</h3></div></div></div><p> 640 640 Roaming profiles and domain policies are implemented via <code class="literal">USERENV.DLL</code>. 641 641 Microsoft 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.2.x/docs/htmldocs/Samba3-HOWTO/SWAT.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id26740 63">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2674187">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2674206">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#id2674844">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2674996">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2675194">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2675207">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675268">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675369">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675425">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675481">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675545">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675589">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675608">The Password Change Page</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26740 27"></a>3 <a class="indexterm" name="id26740 34"></a>4 <a class="indexterm" name="id26740 40"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2674077">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2674201">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2674220">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#id2674858">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675010">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2675207">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2675221">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675281">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675383">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675439">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675495">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675558">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675602">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675622">The Password Change Page</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2674041"></a> 3 <a class="indexterm" name="id2674048"></a> 4 <a class="indexterm" name="id2674054"></a> 5 5 There are many and varied opinions regarding the usefulness of SWAT. No matter how hard one tries to produce 6 6 the perfect configuration tool, it remains an object of personal taste. SWAT is a tool that allows Web-based … … 8 8 context-sensitive help on each <code class="filename">smb.conf</code> parameter, it provides for monitoring of current state of connection 9 9 information, 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="id26740 63"></a>Features and Benefits</h2></div></div></div><p>11 <a class="indexterm" name="id26740 71"></a>10 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2674077"></a>Features and Benefits</h2></div></div></div><p> 11 <a class="indexterm" name="id2674085"></a> 12 12 SWAT is a facility that is part of the Samba suite. The main executable is called 13 13 <code class="literal">swat</code> and is invoked by the internetworking super daemon. 14 14 See <a class="link" href="SWAT.html#xinetd" title="Enabling SWAT for Use">appropriate section</a> for details. 15 15 </p><p> 16 <a class="indexterm" name="id2674 098"></a>16 <a class="indexterm" name="id2674112"></a> 17 17 SWAT uses integral Samba components to locate parameters supported by the particular 18 18 version of Samba. Unlike tools and utilities that are external to Samba, SWAT is always … … 20 20 configuration parameter, directly from <code class="literal">man</code> page entries. 21 21 </p><p> 22 <a class="indexterm" name="id2674119"></a>23 <a class="indexterm" name="id2674126"></a>24 22 <a class="indexterm" name="id2674133"></a> 23 <a class="indexterm" name="id2674140"></a> 24 <a class="indexterm" name="id2674147"></a> 25 25 Some network administrators believe that it is a good idea to write systems 26 26 documentation inside configuration files, and for them SWAT will always be a nasty tool. SWAT … … 31 31 Additionally, the parameters will be written back in internal ordering. 32 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="id26741 66"></a>33 <a class="indexterm" name="id2674180"></a> 34 34 Before using SWAT, please be warned SWAT will completely replace your <code class="filename">smb.conf</code> with 35 35 a fully optimized file that has been stripped of all comments you might have placed there 36 36 and 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="id2674 187"></a>Guidelines and Technical Tips</h2></div></div></div><p>38 <a class="indexterm" name="id2674 195"></a>37 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2674201"></a>Guidelines and Technical Tips</h2></div></div></div><p> 38 <a class="indexterm" name="id2674209"></a> 39 39 This section aims to unlock the dark secrets behind how SWAT may be made to work, 40 40 how 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="id26742 06"></a>Validate SWAT Installation</h3></div></div></div><p>42 <a class="indexterm" name="id26742 14"></a>41 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2674220"></a>Validate SWAT Installation</h3></div></div></div><p> 42 <a class="indexterm" name="id2674228"></a> 43 43 The very first step that should be taken before attempting to configure a host 44 44 system for SWAT operation is to check that it is installed. This may seem a trivial … … 47 47 on the distribution media. 48 48 </p><p> 49 <a class="indexterm" name="id26742 31"></a>49 <a class="indexterm" name="id2674244"></a> 50 50 When you have confirmed that SWAT is installed, it is necessary to validate 51 51 that the installation includes the binary <code class="literal">swat</code> file as well … … 54 54 <code class="literal">swat</code> binary executable file was installed. 55 55 </p><p> 56 <a class="indexterm" name="id26742 58"></a>57 <a class="indexterm" name="id26742 65"></a>56 <a class="indexterm" name="id2674272"></a> 57 <a class="indexterm" name="id2674279"></a> 58 58 Finally, when you are sure that SWAT has been fully installed, please check that SWAT 59 59 is enabled in the control file for the internetworking super-daemon (inetd or xinetd) 60 60 that is used on your operating system platform. 61 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2674277"></a>Locating the <code class="literal">SWAT</code> File</h4></div></div></div><p> 62 <a class="indexterm" name="id2674290"></a> 63 <a class="indexterm" name="id2674298"></a> 61 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2674290"></a>Locating the <code class="literal">SWAT</code> File</h4></div></div></div><p> 64 62 <a class="indexterm" name="id2674304"></a> 63 <a class="indexterm" name="id2674311"></a> 64 <a class="indexterm" name="id2674318"></a> 65 65 To validate that SWAT is installed, first locate the <code class="literal">swat</code> binary 66 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> … … 72 72 The following methods may be helpful. 73 73 </p><p> 74 <a class="indexterm" name="id2674377"></a>75 <a class="indexterm" name="id2674384"></a>76 74 <a class="indexterm" name="id2674391"></a> 75 <a class="indexterm" name="id2674397"></a> 76 <a class="indexterm" name="id2674405"></a> 77 77 If <code class="literal">swat</code> is in your current operating system search path, it will be easy to 78 78 find it. You can ask what are the command-line options for <code class="literal">swat</code> as shown here: … … 92 92 -V, --version Print version 93 93 </pre><p> 94 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26744 29"></a>Locating the SWAT Support Files</h4></div></div></div><p>94 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2674443"></a>Locating the SWAT Support Files</h4></div></div></div><p> 95 95 Now that you have found that <code class="literal">swat</code> is in the search path, it is easy 96 96 to identify where the file is located. Here is another simple way this may be done: … … 174 174 </p><p> 175 175 The control entry for the older style file might be: 176 <a class="indexterm" name="id26746 22"></a>176 <a class="indexterm" name="id2674635"></a> 177 177 </p><pre class="programlisting"> 178 178 # swat is the Samba Web Administration Tool … … 202 202 as shown. 203 203 </p><p> 204 <a class="indexterm" name="id2674677"></a> 205 <a class="indexterm" name="id2674684"></a> 206 <a class="indexterm" name="id2674690"></a> 204 <a class="indexterm" name="id2674691"></a> 207 205 <a class="indexterm" name="id2674698"></a> 206 <a class="indexterm" name="id2674704"></a> 207 <a class="indexterm" name="id2674711"></a> 208 208 Both of the previous examples assume that the <code class="literal">swat</code> binary has been 209 209 located in the <code class="filename">/usr/sbin</code> directory. In addition to the above, … … 213 213 location using Samba defaults will be <code class="filename">/usr/local/samba/swat</code>. 214 214 </p><p> 215 <a class="indexterm" name="id26747 38"></a>216 <a class="indexterm" name="id26747 45"></a>215 <a class="indexterm" name="id2674752"></a> 216 <a class="indexterm" name="id2674759"></a> 217 217 Access to SWAT will prompt for a logon. If you log onto SWAT as any non-root user, 218 218 the only permission allowed is to view certain aspects of configuration as well as … … 226 226 <span class="guibutton">HOME</span>, <span class="guibutton">GLOBALS</span>, <span class="guibutton">SHARES</span>, <span class="guibutton">PRINTERS</span>, 227 227 <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="id26748 44"></a>Securing SWAT through SSL</h3></div></div></div><p>229 <a class="indexterm" name="id26748 52"></a>230 <a class="indexterm" name="id26748 59"></a>228 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2674858"></a>Securing SWAT through SSL</h3></div></div></div><p> 229 <a class="indexterm" name="id2674866"></a> 230 <a class="indexterm" name="id2674872"></a> 231 231 Many people have asked about how to set up SWAT with SSL to allow for secure remote 232 232 administration of Samba. Here is a method that works, courtesy of Markus Krieger. … … 234 234 Modifications to the SWAT setup are as follows: 235 235 </p><div class="procedure"><ol type="1"><li><p> 236 <a class="indexterm" name="id26748 84"></a>236 <a class="indexterm" name="id2674897"></a> 237 237 Install OpenSSL. 238 238 </p></li><li><p> 239 <a class="indexterm" name="id2674 897"></a>240 <a class="indexterm" name="id26749 04"></a>239 <a class="indexterm" name="id2674911"></a> 240 <a class="indexterm" name="id2674918"></a> 241 241 Generate certificate and private key. 242 <a class="indexterm" name="id26749 12"></a>242 <a class="indexterm" name="id2674926"></a> 243 243 </p><pre class="screen"> 244 244 <code class="prompt">root# </code><strong class="userinput"><code>/usr/bin/openssl req -new -x509 -days 365 -nodes -config \ … … 248 248 Remove SWAT entry from [x]inetd. 249 249 </p></li><li><p> 250 <a class="indexterm" name="id26749 50"></a>250 <a class="indexterm" name="id2674964"></a> 251 251 Start <code class="literal">stunnel</code>. 252 252 … … 256 256 </pre></li></ol></div><p> 257 257 Afterward, 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="id267 4996"></a>Enabling SWAT Internationalization Support</h3></div></div></div><p>258 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2675010"></a>Enabling SWAT Internationalization Support</h3></div></div></div><p> 259 259 SWAT can be configured to display its messages to match the settings of 260 260 the language configurations of your Web browser. It will be passed to SWAT … … 268 268 Set your browsers language setting. 269 269 </p></li></ul></div><p> 270 <a class="indexterm" name="id2675040"></a> 271 <a class="indexterm" name="id2675046"></a> 272 <a class="indexterm" name="id2675053"></a> 270 <a class="indexterm" name="id2675054"></a> 273 271 <a class="indexterm" name="id2675060"></a> 272 <a class="indexterm" name="id2675067"></a> 273 <a class="indexterm" name="id2675074"></a> 274 274 The name of the <code class="literal">msg</code> file is the same as the language ID sent by the browser. For 275 275 example, <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. 276 276 </p><p> 277 <a class="indexterm" name="id2675 089"></a>277 <a class="indexterm" name="id2675103"></a> 278 278 If you do not like some of messages, or there are no <code class="literal">msg</code> files for 279 279 your locale, you can create them simply by copying the <code class="literal">en.msg</code> files … … 285 285 msgstr "Imposta Default" 286 286 </pre><p> 287 <a class="indexterm" name="id26751 37"></a>287 <a class="indexterm" name="id2675151"></a> 288 288 and so on. If you find a mistake or create a new <code class="literal">msg</code> file, please email it 289 289 to 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. 290 290 </p><p> 291 <a class="indexterm" name="id26751 61"></a>291 <a class="indexterm" name="id2675175"></a> 292 292 Note that if you enable this feature and the <a class="link" href="smb.conf.5.html#DISPLAYCHARSET">display charset</a> is not 293 293 matched to your browser's setting, the SWAT display may be corrupted. In a future version of 294 294 Samba, SWAT will always display messages with UTF-8 encoding. You will then not need to set 295 295 this <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="id2675 194"></a>Overview and Quick Tour</h2></div></div></div><p>296 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2675207"></a>Overview and Quick Tour</h2></div></div></div><p> 297 297 SWAT is a tool that may be used to configure Samba or just to obtain useful links 298 298 to important reference materials such as the contents of this book as well as other 299 299 documents 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="id26752 07"></a>The SWAT Home Page</h3></div></div></div><p>300 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2675221"></a>The SWAT Home Page</h3></div></div></div><p> 301 301 The SWAT title page provides access to the latest Samba documentation. The manual page for 302 302 each Samba component is accessible from this page, as are the Samba3-HOWTO (this … … 313 313 creates this ability is the <code class="option">-a</code> flag to SWAT. <span class="emphasis"><em>Do not use this in a 314 314 production environment.</em></span> 315 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26752 68"></a>Global Settings</h3></div></div></div><p>315 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2675281"></a>Global Settings</h3></div></div></div><p> 316 316 The <span class="guibutton">GLOBALS</span> button exposes a page that allows configuration of the global parameters 317 317 in <code class="filename">smb.conf</code>. There are two levels of exposure of the parameters: … … 333 333 for, simply click on the 334 334 <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="id26753 69"></a>Share Settings</h3></div></div></div><p>335 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2675383"></a>Share Settings</h3></div></div></div><p> 336 336 To affect a currently configured share, simply click on the pull-down button between the 337 337 <span class="guibutton">Choose Share</span> and the <span class="guibutton">Delete Share</span> buttons and … … 344 344 into the text field the name of the share to be created, then click on the 345 345 <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="id26754 25"></a>Printers Settings</h3></div></div></div><p>346 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2675439"></a>Printers Settings</h3></div></div></div><p> 347 347 To affect a currently configured printer, simply click on the pull-down button between the 348 348 <span class="guibutton">Choose Printer</span> and the <span class="guibutton">Delete Printer</span> buttons and … … 355 355 into the text field the name of the share to be created, then click on the 356 356 <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="id26754 81"></a>The SWAT Wizard</h3></div></div></div><p>357 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2675495"></a>The SWAT Wizard</h3></div></div></div><p> 358 358 The purpose of the SWAT Wizard is to help the Microsoft-knowledgeable network administrator 359 359 to configure Samba with a minimum of effort. … … 371 371 operate with no WINS support. By clicking one button, you can elect to expose (or not) user 372 372 home directories. 373 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26755 45"></a>The Status Page</h3></div></div></div><p>373 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2675558"></a>The Status Page</h3></div></div></div><p> 374 374 The status page serves a limited purpose. First, it allows control of the Samba daemons. 375 375 The 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>. … … 382 382 Finally, the status page may be used to terminate specific smbd client connections in order to 383 383 free files that may be locked. 384 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2675 589"></a>The View Page</h3></div></div></div><p>384 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2675602"></a>The View Page</h3></div></div></div><p> 385 385 The view page allows you to view the optimized <code class="filename">smb.conf</code> file and, if you are 386 386 particularly masochistic, permits you also to see all possible global configuration 387 387 parameters and their settings. 388 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26756 08"></a>The Password Change Page</h3></div></div></div><p>388 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2675622"></a>The Password Change Page</h3></div></div></div><p> 389 389 The password change page is a popular tool that allows the creation, deletion, deactivation, 390 390 and reactivation of MS Windows networking users on the local machine. You can also use -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/SambaHA.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>></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#id2664995">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2665115">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2665149">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2665279">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2665992">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666073">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666213">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666250">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="id2664995"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2665003"></a> 3 <a class="indexterm" name="id2665010"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>></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#id2665008">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2665129">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2665163">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2665293">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666006">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666087">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666227">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666264">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="id2665008"></a>Features and Benefits</h2></div></div></div><p> 4 2 <a class="indexterm" name="id2665016"></a> 3 <a class="indexterm" name="id2665023"></a> 4 <a class="indexterm" name="id2665030"></a> 5 5 Network administrators are often concerned about the availability of file and print 6 6 services. Network users are inclined toward intolerance of the services they depend … … 9 9 A sign in a computer room served to remind staff of their responsibilities. It read: 10 10 </p><div class="blockquote"><blockquote class="blockquote"><p> 11 <a class="indexterm" name="id2665037"></a>12 <a class="indexterm" name="id2665044"></a>13 11 <a class="indexterm" name="id2665051"></a> 14 12 <a class="indexterm" name="id2665058"></a> 13 <a class="indexterm" name="id2665064"></a> 14 <a class="indexterm" name="id2665071"></a> 15 15 All humans fail, in both great and small ways we fail continually. Machines fail too. 16 16 Computers are machines that are managed by humans, the fallout from failure … … 22 22 understand the problem. That is the purpose of this chapter. 23 23 </p><p> 24 <a class="indexterm" name="id2665081"></a>25 <a class="indexterm" name="id2665088"></a>26 24 <a class="indexterm" name="id2665095"></a> 25 <a class="indexterm" name="id2665102"></a> 26 <a class="indexterm" name="id2665109"></a> 27 27 Parenthetically, in the following discussion there are seeds of information on how to 28 28 provision a network infrastructure against failure. Our purpose here is not to provide … … 33 33 presentation of the current state of knowledge and practice in high availability as it 34 34 applies 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="id2665115"></a>Technical Discussion</h2></div></div></div><p> 36 <a class="indexterm" name="id2665123"></a> 37 <a class="indexterm" name="id2665130"></a> 35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2665129"></a>Technical Discussion</h2></div></div></div><p> 38 36 <a class="indexterm" name="id2665137"></a> 37 <a class="indexterm" name="id2665144"></a> 38 <a class="indexterm" name="id2665151"></a> 39 39 The following summary was part of a presentation by Jeremy Allison at the SambaXP 2003 40 40 conference that was held at Goettingen, Germany, in April 2003. Material has been added 41 41 from 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="id2665149"></a>The Ultimate Goal</h3></div></div></div><p> 43 <a class="indexterm" name="id2665157"></a> 44 <a class="indexterm" name="id2665164"></a> 42 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2665163"></a>The Ultimate Goal</h3></div></div></div><p> 45 43 <a class="indexterm" name="id2665171"></a> 44 <a class="indexterm" name="id2665178"></a> 45 <a class="indexterm" name="id2665185"></a> 46 46 All clustering technologies aim to achieve one or more of the following: 47 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> 48 48 A clustered file server ideally has the following properties: 49 <a class="indexterm" name="id26652 12"></a>50 <a class="indexterm" name="id26652 20"></a>51 <a class="indexterm" name="id26652 27"></a>52 <a class="indexterm" name="id26652 34"></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="id26652 79"></a>Why Is This So Hard?</h3></div></div></div><p>49 <a class="indexterm" name="id2665226"></a> 50 <a class="indexterm" name="id2665233"></a> 51 <a class="indexterm" name="id2665240"></a> 52 <a class="indexterm" name="id2665247"></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="id2665293"></a>Why Is This So Hard?</h3></div></div></div><p> 54 54 In short, the problem is one of <span class="emphasis"><em>state</em></span>. 55 55 </p><div class="itemizedlist"><ul type="disc"><li><p> 56 <a class="indexterm" name="id2665 299"></a>56 <a class="indexterm" name="id2665312"></a> 57 57 All TCP/IP connections are dependent on state information. 58 58 </p><p> 59 <a class="indexterm" name="id26653 10"></a>59 <a class="indexterm" name="id2665324"></a> 60 60 The TCP connection involves a packet sequence number. This 61 61 sequence number would need to be dynamically updated on all 62 62 machines in the cluster to effect seamless TCP failover. 63 63 </p></li><li><p> 64 <a class="indexterm" name="id26653 27"></a>65 <a class="indexterm" name="id26653 33"></a>64 <a class="indexterm" name="id2665340"></a> 65 <a class="indexterm" name="id2665347"></a> 66 66 CIFS/SMB (the Windows networking protocols) uses TCP connections. 67 67 </p><p> … … 72 72 they rely on the clients to reconnect. They provide server 73 73 failover, but clients can lose information due to a server failure. 74 <a class="indexterm" name="id26653 58"></a>74 <a class="indexterm" name="id2665372"></a> 75 75 </p></li></ul></div><p> 76 76 </p></li><li><p> 77 77 Servers keep state information about client connections. 78 </p><div class="itemizedlist"><a class="indexterm" name="id26653 76"></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 files78 </p><div class="itemizedlist"><a class="indexterm" name="id2665390"></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 79 79 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="id2665398"></a>The Front-End Challenge</h4></div></div></div><p> 81 <a class="indexterm" name="id2665406"></a> 82 <a class="indexterm" name="id2665413"></a> 80 </p></li></ul></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2665412"></a>The Front-End Challenge</h4></div></div></div><p> 83 81 <a class="indexterm" name="id2665420"></a> 84 82 <a class="indexterm" name="id2665427"></a> 85 83 <a class="indexterm" name="id2665434"></a> 86 <a class="indexterm" name="id266544 1"></a>84 <a class="indexterm" name="id2665440"></a> 87 85 <a class="indexterm" name="id2665448"></a> 86 <a class="indexterm" name="id2665454"></a> 87 <a class="indexterm" name="id2665461"></a> 88 88 To make it possible for a cluster of file servers to appear as a single server that has one 89 89 name and one IP address, the incoming TCP data streams from clients must be processed by the … … 91 91 layer level and then feed the SMB packet to different servers in the cluster. 92 92 </p><p> 93 <a class="indexterm" name="id26654 64"></a>94 <a class="indexterm" name="id26654 71"></a>93 <a class="indexterm" name="id2665477"></a> 94 <a class="indexterm" name="id2665484"></a> 95 95 One could split all IPC$ connections and RPC calls to one server to handle printing and user 96 96 lookup requirements. RPC printing handles are shared between different IPC4 sessions it is … … 99 99 Conceptually speaking, all other servers would then provide only file services. This is a simpler 100 100 problem to concentrate on. 101 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2665492"></a>Demultiplexing SMB Requests</h4></div></div></div><p> 102 <a class="indexterm" name="id2665500"></a> 103 <a class="indexterm" name="id2665507"></a> 101 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2665506"></a>Demultiplexing SMB Requests</h4></div></div></div><p> 104 102 <a class="indexterm" name="id2665514"></a> 105 103 <a class="indexterm" name="id2665521"></a> 104 <a class="indexterm" name="id2665528"></a> 105 <a class="indexterm" name="id2665535"></a> 106 106 De-multiplexing of SMB requests requires knowledge of SMB state information, 107 107 all of which must be held by the front-end <span class="emphasis"><em>virtual</em></span> server. 108 108 This is a perplexing and complicated problem to solve. 109 109 </p><p> 110 <a class="indexterm" name="id2665538"></a>111 <a class="indexterm" name="id2665545"></a>112 110 <a class="indexterm" name="id2665552"></a> 111 <a class="indexterm" name="id2665559"></a> 112 <a class="indexterm" name="id2665566"></a> 113 113 Windows XP and later have changed semantics so state information (vuid, tid, fid) 114 114 must match for a successful operation. This makes things simpler than before and is a 115 115 positive step forward. 116 116 </p><p> 117 <a class="indexterm" name="id26655 66"></a>118 <a class="indexterm" name="id26655 72"></a>117 <a class="indexterm" name="id2665579"></a> 118 <a class="indexterm" name="id2665586"></a> 119 119 SMB requests are sent by vuid to their associated server. No code exists today to 120 120 effect this solution. This problem is conceptually similar to the problem of … … 122 122 Terminal Server in Samba. 123 123 </p><p> 124 <a class="indexterm" name="id2665 587"></a>124 <a class="indexterm" name="id2665601"></a> 125 125 One possibility is to start by exposing the server pool to clients directly. 126 126 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="id2665 598"></a>The Distributed File System Challenge</h4></div></div></div><p>128 <a class="indexterm" name="id26656 07"></a>127 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2665612"></a>The Distributed File System Challenge</h4></div></div></div><p> 128 <a class="indexterm" name="id2665620"></a> 129 129 There exists many distributed file systems for UNIX and Linux. 130 130 </p><p> 131 <a class="indexterm" name="id2665618"></a>132 <a class="indexterm" name="id2665625"></a>133 131 <a class="indexterm" name="id2665632"></a> 134 132 <a class="indexterm" name="id2665639"></a> 135 133 <a class="indexterm" name="id2665646"></a> 136 <a class="indexterm" name="id2665652"></a> 134 <a class="indexterm" name="id2665653"></a> 135 <a class="indexterm" name="id2665659"></a> 136 <a class="indexterm" name="id2665666"></a> 137 137 Many could be adopted to backend our cluster, so long as awareness of SMB 138 138 semantics is kept in mind (share modes, locking, and oplock issues in particular). 139 139 Common free distributed file systems include: 140 <a class="indexterm" name="id2665663"></a>141 <a class="indexterm" name="id2665670"></a>142 140 <a class="indexterm" name="id2665677"></a> 143 141 <a class="indexterm" name="id2665683"></a> 142 <a class="indexterm" name="id2665690"></a> 143 <a class="indexterm" name="id2665697"></a> 144 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="id26657 14"></a>145 <a class="indexterm" name="id2665728"></a> 146 146 The server pool (cluster) can use any distributed file system backend if all SMB 147 147 semantics are performed within this pool. 148 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2665725"></a>Restrictive Constraints on Distributed File Systems</h4></div></div></div><p> 149 <a class="indexterm" name="id2665734"></a> 150 <a class="indexterm" name="id2665741"></a> 148 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2665739"></a>Restrictive Constraints on Distributed File Systems</h4></div></div></div><p> 151 149 <a class="indexterm" name="id2665748"></a> 152 150 <a class="indexterm" name="id2665754"></a> 151 <a class="indexterm" name="id2665761"></a> 152 <a class="indexterm" name="id2665768"></a> 153 153 Where a clustered server provides purely SMB services, oplock handling 154 154 may be done within the server pool without imposing a need for this to 155 155 be passed to the backend file system pool. 156 156 </p><p> 157 <a class="indexterm" name="id26657 68"></a>158 <a class="indexterm" name="id26657 75"></a>157 <a class="indexterm" name="id2665782"></a> 158 <a class="indexterm" name="id2665788"></a> 159 159 On the other hand, where the server pool also provides NFS or other file services, 160 160 it will be essential that the implementation be oplock-aware so it can … … 164 164 </p><p> 165 165 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="id2665 795"></a>Server Pool Communications</h4></div></div></div><p>167 <a class="indexterm" name="id26658 03"></a>168 <a class="indexterm" name="id26658 10"></a>169 <a class="indexterm" name="id26658 16"></a>170 <a class="indexterm" name="id26658 23"></a>166 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2665809"></a>Server Pool Communications</h4></div></div></div><p> 167 <a class="indexterm" name="id2665817"></a> 168 <a class="indexterm" name="id2665824"></a> 169 <a class="indexterm" name="id2665830"></a> 170 <a class="indexterm" name="id2665837"></a> 171 171 Most backend file systems support POSIX file semantics. This makes it difficult 172 172 to push SMB semantics back into the file system. POSIX locks have different properties 173 173 and semantics from SMB locks. 174 174 </p><p> 175 <a class="indexterm" name="id2665837"></a>176 <a class="indexterm" name="id2665844"></a>177 175 <a class="indexterm" name="id2665850"></a> 176 <a class="indexterm" name="id2665857"></a> 177 <a class="indexterm" name="id2665864"></a> 178 178 All <code class="literal">smbd</code> processes in the server pool must of necessity communicate 179 179 very quickly. For this, the current <em class="parameter"><code>tdb</code></em> file structure that Samba 180 180 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="id26658 80"></a>Server Pool Communications Demands</h4></div></div></div><p>181 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2665894"></a>Server Pool Communications Demands</h4></div></div></div><p> 182 182 High-speed interserver communications in the server pool is a design prerequisite 183 183 for a fully functional system. Possibilities for this include: 184 </p><div class="itemizedlist"><a class="indexterm" name="id2665 894"></a><a class="indexterm" name="id2665901"></a><ul type="disc"><li><p>184 </p><div class="itemizedlist"><a class="indexterm" name="id2665908"></a><a class="indexterm" name="id2665915"></a><ul type="disc"><li><p> 185 185 Proprietary shared memory bus (example: Myrinet or SCI [scalable coherent interface]). 186 186 These are high-cost items. … … 192 192 We have yet to identify metrics for performance demands to enable this to happen 193 193 effectively. 194 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26659 35"></a>Required Modifications to Samba</h4></div></div></div><p>194 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2665948"></a>Required Modifications to Samba</h4></div></div></div><p> 195 195 Samba needs to be significantly modified to work with a high-speed server interconnect 196 196 system to permit transparent failover clustering. … … 201 201 and the share mode database. 202 202 </p></li><li><p> 203 <a class="indexterm" name="id26659 62"></a>204 <a class="indexterm" name="id26659 69"></a>203 <a class="indexterm" name="id2665976"></a> 204 <a class="indexterm" name="id2665983"></a> 205 205 Failure semantics need to be defined. Samba behaves the same way as Windows. 206 206 When oplock messages fail, a file open request is allowed, but this is … … 210 210 Should this be implemented using a point-to-point lock manager, or can this 211 211 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="id2665992"></a>A Simple Solution</h3></div></div></div><p> 213 <a class="indexterm" name="id2666000"></a> 214 <a class="indexterm" name="id2666007"></a> 212 </p></li></ul></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2666006"></a>A Simple Solution</h3></div></div></div><p> 215 213 <a class="indexterm" name="id2666014"></a> 214 <a class="indexterm" name="id2666021"></a> 215 <a class="indexterm" name="id2666028"></a> 216 216 Allowing failover servers to handle different functions within the exported file system 217 217 removes the problem of requiring a distributed locking protocol. 218 218 </p><p> 219 <a class="indexterm" name="id26660 27"></a>220 <a class="indexterm" name="id26660 34"></a>219 <a class="indexterm" name="id2666041"></a> 220 <a class="indexterm" name="id2666048"></a> 221 221 If only one server is active in a pair, the need for high-speed server interconnect is avoided. 222 222 This allows the use of existing high-availability solutions, instead of inventing a new one. … … 225 225 must remember where all services are located a complexity not easily dealt with. 226 226 </p><p> 227 <a class="indexterm" name="id26660 59"></a>227 <a class="indexterm" name="id2666072"></a> 228 228 The <span class="emphasis"><em>virtual server</em></span> is still needed to redirect requests to backend 229 229 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="id2666073"></a>High-Availability Server Products</h3></div></div></div><p> 231 <a class="indexterm" name="id2666081"></a> 232 <a class="indexterm" name="id2666088"></a> 230 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2666087"></a>High-Availability Server Products</h3></div></div></div><p> 233 231 <a class="indexterm" name="id2666095"></a> 234 232 <a class="indexterm" name="id2666102"></a> 235 233 <a class="indexterm" name="id2666109"></a> 234 <a class="indexterm" name="id2666116"></a> 235 <a class="indexterm" name="id2666122"></a> 236 236 Failover servers must communicate in order to handle resource failover. This is essential 237 237 for high-availability services. The use of a dedicated heartbeat is a common technique to … … 239 239 link (LAN or serial). 240 240 </p><p> 241 <a class="indexterm" name="id2666124"></a>242 <a class="indexterm" name="id2666131"></a>243 241 <a class="indexterm" name="id2666138"></a> 244 <a class="indexterm" name="id2666145"></a> 245 <a class="indexterm" name="id2666152"></a> 242 <a class="indexterm" name="id2666144"></a> 243 <a class="indexterm" name="id2666151"></a> 244 <a class="indexterm" name="id2666158"></a> 245 <a class="indexterm" name="id2666165"></a> 246 246 Many failover solutions (like Red Hat Cluster Manager and Microsoft Wolfpack) 247 247 can use a shared SCSI of Fiber Channel disk storage array for failover communication. … … 249 249 <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>. 250 250 </p><p> 251 <a class="indexterm" name="id26661 74"></a>251 <a class="indexterm" name="id2666187"></a> 252 252 The Linux High Availability project is a resource worthy of consultation if your desire is 253 253 to build a highly available Samba file server solution. Please consult the home page at 254 254 <a class="ulink" href="http://www.linux-ha.org/" target="_top">www.linux-ha.org/</a>. 255 255 </p><p> 256 <a class="indexterm" name="id2666 193"></a>257 <a class="indexterm" name="id26662 00"></a>256 <a class="indexterm" name="id2666207"></a> 257 <a class="indexterm" name="id2666214"></a> 258 258 Front-end server complexity remains a challenge for high availability because it must deal 259 259 gracefully with backend failures, while at the same time providing continuity of service 260 260 to all network clients. 261 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26662 13"></a>MS-DFS: The Poor Man's Cluster</h3></div></div></div><p>262 <a class="indexterm" name="id26662 21"></a>263 <a class="indexterm" name="id26662 28"></a>261 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2666227"></a>MS-DFS: The Poor Man's Cluster</h3></div></div></div><p> 262 <a class="indexterm" name="id2666235"></a> 263 <a class="indexterm" name="id2666242"></a> 264 264 MS-DFS links can be used to redirect clients to disparate backend servers. This pushes 265 265 complexity back to the network client, something already included by Microsoft. … … 269 269 Above all, at the cost of complexity of management, a distributed system (pseudo-cluster) can 270 270 be created using existing Samba functionality. 271 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26662 50"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2666264"></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> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/ServerType.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id25517 42">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2551910">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2552070">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2552243">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552418">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553160">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553317">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2553615">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2553819">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2553843">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553879">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553923">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553954">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2554012">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="id25517 02"></a>3 <a class="indexterm" name="id25517 09"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2551756">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2551923">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2552083">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2552257">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552431">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553173">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553330">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2553629">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2553833">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2553856">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553893">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553936">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553968">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2554025">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="id2551716"></a> 3 <a class="indexterm" name="id2551722"></a> 4 4 This chapter provides information regarding the types of server that Samba may be configured to be. A 5 5 Microsoft network administrator who wishes to migrate to or use Samba will want to know the meaning, within a … … 15 15 warned though, we want to be fair and reasonable, so not all features are positive toward Samba. The benefit 16 16 may 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="id25517 42"></a>Features and Benefits</h2></div></div></div><p>17 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2551756"></a>Features and Benefits</h2></div></div></div><p> 18 18 Two men were walking down a dusty road, when one suddenly kicked up a small red stone. It 19 19 hurt his toe and lodged in his sandal. He took the stone out and cursed it with a passion … … 26 26 a source of discomfort. 27 27 </p><p> 28 <a class="indexterm" name="id25517 71"></a>29 <a class="indexterm" name="id25517 81"></a>28 <a class="indexterm" name="id2551785"></a> 29 <a class="indexterm" name="id2551794"></a> 30 30 Samba started out as a project that sought to provide interoperability for MS Windows 3.x 31 31 clients with a UNIX server. It has grown up a lot since its humble beginnings and now provides … … 35 35 So, what are the benefits of the features mentioned in this chapter? 36 36 </p><div class="itemizedlist"><ul type="disc"><li><p> 37 <a class="indexterm" name="id25518 04"></a>37 <a class="indexterm" name="id2551817"></a> 38 38 Samba-3 can replace an MS Windows NT4 domain controller. 39 39 </p></li><li><p> 40 <a class="indexterm" name="id25518 18"></a>40 <a class="indexterm" name="id2551832"></a> 41 41 Samba-3 offers excellent interoperability with MS Windows NT4-style 42 42 domains as well as natively with Microsoft Active Directory domains. 43 43 </p></li><li><p> 44 <a class="indexterm" name="id25518 32"></a>44 <a class="indexterm" name="id2551846"></a> 45 45 Samba-3 permits full NT4-style interdomain trusts. 46 46 </p></li><li><p> 47 <a class="indexterm" name="id25518 47"></a>48 <a class="indexterm" name="id25518 54"></a>47 <a class="indexterm" name="id2551860"></a> 48 <a class="indexterm" name="id2551867"></a> 49 49 Samba has security modes that permit more flexible authentication 50 50 than is possible with MS Windows NT4 domain controllers. 51 51 </p></li><li><p> 52 <a class="indexterm" name="id25518 69"></a>53 <a class="indexterm" name="id25518 81"></a>52 <a class="indexterm" name="id2551883"></a> 53 <a class="indexterm" name="id2551895"></a> 54 54 Samba-3 permits use of multiple concurrent account database backends. 55 55 (Encrypted passwords that are stored in the account database are in 56 56 formats that are unique to Windows networking). 57 57 </p></li><li><p> 58 <a class="indexterm" name="id2551 895"></a>58 <a class="indexterm" name="id2551909"></a> 59 59 The account database backends can be distributed 60 60 and replicated using multiple methods. This gives Samba-3 … … 62 62 significantly higher utility than Active Directory domains 63 63 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="id25519 10"></a>Server Types</h2></div></div></div><p>65 <a class="indexterm" name="id25519 18"></a>64 </p></li></ul></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2551923"></a>Server Types</h2></div></div></div><p> 65 <a class="indexterm" name="id2551931"></a> 66 66 Administrators of Microsoft networks often refer to three different types of servers: 67 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="id25519 80"></a>69 <a class="indexterm" name="id255 1989"></a>70 <a class="indexterm" name="id255 1998"></a>71 <a class="indexterm" name="id25520 07"></a>68 <a class="indexterm" name="id2551993"></a> 69 <a class="indexterm" name="id2552002"></a> 70 <a class="indexterm" name="id2552012"></a> 71 <a class="indexterm" name="id2552021"></a> 72 72 The chapters covering domain control (<a class="link" href="samba-pdc.html" title="Chapter 4. Domain Control">Domain Control</a>), 73 73 backup domain control (<a class="link" href="samba-bdc.html" title="Chapter 5. Backup Domain Control">Backup Domain Control</a>), and … … 77 77 they lay the foundation for deployment of Samba domain security. 78 78 </p><p> 79 <a class="indexterm" name="id25520 47"></a>79 <a class="indexterm" name="id2552060"></a> 80 80 A Standalone server is autonomous in respect of the source of its account backend. 81 81 Refer to <a class="link" href="StandAloneServer.html" title="Chapter 7. Standalone Servers">Standalone Servers</a> to gain a wider appreciation 82 82 of 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="id25520 70"></a>Samba Security Modes</h2></div></div></div><p>84 <a class="indexterm" name="id25520 78"></a>85 <a class="indexterm" name="id25520 85"></a>83 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2552083"></a>Samba Security Modes</h2></div></div></div><p> 84 <a class="indexterm" name="id2552091"></a> 85 <a class="indexterm" name="id2552098"></a> 86 86 In this section, the function and purpose of Samba's security modes are described. An accurate understanding of 87 87 how Samba implements each security mode as well as how to configure MS Windows clients for each mode will 88 88 significantly reduce user complaints and administrator heartache. 89 89 </p><p> 90 <a class="indexterm" name="id25521 00"></a>91 <a class="indexterm" name="id25521 09"></a>90 <a class="indexterm" name="id2552113"></a> 91 <a class="indexterm" name="id2552122"></a> 92 92 Microsoft Windows networking uses a protocol that was originally called the Server Message Block (SMB) 93 93 protocol. Since some time around 1996 the protocol has been better known as the Common Internet Filesystem 94 94 (CIFS) protocol. 95 95 </p><p> 96 <a class="indexterm" name="id2552126"></a>97 <a class="indexterm" name="id2552132"></a>98 96 <a class="indexterm" name="id2552139"></a> 99 97 <a class="indexterm" name="id2552146"></a> 98 <a class="indexterm" name="id2552153"></a> 99 <a class="indexterm" name="id2552160"></a> 100 100 In the SMB/CIFS networking world, there are only two types of security: <span class="emphasis"><em>user-level</em></span> and 101 101 <span class="emphasis"><em>share level</em></span>. We refer to these collectively as <span class="emphasis"><em>security levels</em></span>. In … … 117 117 another Samba server, or any vanilla SMB or CIFS client application (e.g., <code class="literal">smbclient</code>) that 118 118 make 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="id25522 43"></a>User Level Security</h3></div></div></div><p>120 <a class="indexterm" name="id25522 51"></a>119 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2552257"></a>User Level Security</h3></div></div></div><p> 120 <a class="indexterm" name="id2552265"></a> 121 121 We describe user-level security first because its simpler. In user-level security, the client sends a session 122 122 setup request directly following protocol negotiation. This request provides a username and password. The … … 125 125 <span class="emphasis"><em>accept/reject</em></span> on anything other than: 126 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="id2552 290"></a>127 <a class="indexterm" name="id2552303"></a> 128 128 If the server accepts the username/password credentials, the client expects to be able to mount shares (using 129 129 a <span class="emphasis"><em>tree connection</em></span>) without further specifying a password. It expects that all access … … 131 131 setup</em></span>. 132 132 </p><p> 133 <a class="indexterm" name="id25523 12"></a>133 <a class="indexterm" name="id2552325"></a> 134 134 It is also possible for a client to send multiple <span class="emphasis"><em>session setup</em></span> 135 135 requests. When the server responds, it gives the client a <span class="emphasis"><em>uid</em></span> to use … … 137 137 authentication contexts in this way (WinDD is an example of an application that does this). 138 138 </p><p> 139 <a class="indexterm" name="id2552334"></a>140 <a class="indexterm" name="id2552341"></a>141 139 <a class="indexterm" name="id2552348"></a> 142 140 <a class="indexterm" name="id2552355"></a> 143 141 <a class="indexterm" name="id2552362"></a> 142 <a class="indexterm" name="id2552368"></a> 143 <a class="indexterm" name="id2552375"></a> 144 144 Windows networking user account names are case-insensitive, meaning that upper-case and lower-case characters 145 145 in the account name are considered equivalent. They are said to be case-preserving, but not case significant. … … 147 147 not necessarily case-preserving. All Windows NT family systems treat passwords as case-preserving and 148 148 case-sensitive. 149 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25523 77"></a>Example Configuration</h4></div></div></div><p>149 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2552391"></a>Example Configuration</h4></div></div></div><p> 150 150 The <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="id25524 00"></a><em class="parameter"><code>security = user</code></em></td></tr></table><p>151 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2552413"></a><em class="parameter"><code>security = user</code></em></td></tr></table><p> 152 152 This 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="id25524 18"></a>Share-Level Security</h3></div></div></div><p>154 <a class="indexterm" name="id25524 26"></a>155 <a class="indexterm" name="id25524 32"></a>153 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2552431"></a>Share-Level Security</h3></div></div></div><p> 154 <a class="indexterm" name="id2552439"></a> 155 <a class="indexterm" name="id2552446"></a> 156 156 In share-level security, the client authenticates itself separately for each share. It sends a password along 157 157 with each tree connection request (share mount), but it does not explicitly send a username with this … … 172 172 authenticated as that user. 173 173 </p><p> 174 <a class="indexterm" name="id25525 03"></a>175 <a class="indexterm" name="id25525 12"></a>176 <a class="indexterm" name="id25525 19"></a>174 <a class="indexterm" name="id2552517"></a> 175 <a class="indexterm" name="id2552526"></a> 176 <a class="indexterm" name="id2552533"></a> 177 177 Where the list of possible user names is not provided, Samba makes a UNIX system call to find the user 178 178 account that has a password that matches the one provided from the standard account database. On a system that … … 185 185 group: files nis ldap 186 186 </pre><p> 187 <a class="indexterm" name="id2552553"></a>188 <a class="indexterm" name="id2552560"></a>189 187 <a class="indexterm" name="id2552566"></a> 188 <a class="indexterm" name="id2552573"></a> 189 <a class="indexterm" name="id2552580"></a> 190 190 In the example shown here (not likely to be used in practice) the lookup will check 191 191 <code class="filename">/etc/passwd</code> and <code class="filename">/etc/group</code>, if not found it will check NIS, then 192 192 LDAP. 193 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2552 589"></a>Example Configuration</h4></div></div></div><p>193 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2552602"></a>Example Configuration</h4></div></div></div><p> 194 194 The <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="id2552611"></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="id2552625"></a>Domain Security Mode (User-Level Security)</h3></div></div></div><p> 196 <a class="indexterm" name="id2552632"></a> 197 <a class="indexterm" name="id2552642"></a> 198 <a class="indexterm" name="id2552651"></a> 199 <a class="indexterm" name="id2552657"></a> 195 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2552625"></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="id2552639"></a>Domain Security Mode (User-Level Security)</h3></div></div></div><p> 196 <a class="indexterm" name="id2552646"></a> 197 <a class="indexterm" name="id2552655"></a> 200 198 <a class="indexterm" name="id2552664"></a> 201 199 <a class="indexterm" name="id2552671"></a> 200 <a class="indexterm" name="id2552678"></a> 201 <a class="indexterm" name="id2552684"></a> 202 202 Domain security provides a mechanism for storing all user and group accounts in a central, shared, account 203 203 repository. The centralized account repository is shared between domain (security) controllers. Servers that … … 208 208 will a PDC. 209 209 </p><p> 210 <a class="indexterm" name="id2552703"></a>211 <a class="indexterm" name="id2552710"></a>212 210 <a class="indexterm" name="id2552717"></a> 213 <a class="indexterm" name="id2552726"></a> 214 <a class="indexterm" name="id2552735"></a> 211 <a class="indexterm" name="id2552724"></a> 212 <a class="indexterm" name="id2552731"></a> 213 <a class="indexterm" name="id2552740"></a> 214 <a class="indexterm" name="id2552749"></a> 215 215 When Samba is operating in <a class="link" href="smb.conf.5.html#SECURITY">security = domain</a> mode, the Samba server has a 216 216 domain security trust account (a machine account) and causes all authentication requests to be passed through … … 219 219 have a machine account in the security database. 220 220 </p><p> 221 <a class="indexterm" name="id25527 68"></a>222 <a class="indexterm" name="id25527 77"></a>223 <a class="indexterm" name="id2552 786"></a>224 <a class="indexterm" name="id2552 795"></a>221 <a class="indexterm" name="id2552782"></a> 222 <a class="indexterm" name="id2552790"></a> 223 <a class="indexterm" name="id2552800"></a> 224 <a class="indexterm" name="id2552809"></a> 225 225 Within the domain security environment, the underlying security architecture uses user-level security. Even 226 226 machines that are domain members must authenticate on startup. The machine account consists of an account … … 232 232 There are three possible domain member configurations: 233 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="id25528 44"></a>234 <a class="indexterm" name="id2552858"></a> 235 235 We will discuss each of these in separate chapters. For now, we are most interested in basic DMS 236 236 configuration. 237 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25528 53"></a>Example Configuration</h4></div></div></div><p><span class="emphasis"><em>237 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2552867"></a>Example Configuration</h4></div></div></div><p><span class="emphasis"><em> 238 238 Samba as a Domain Member Server 239 239 </em></span></p><p> 240 <a class="indexterm" name="id25528 66"></a>240 <a class="indexterm" name="id2552880"></a> 241 241 This 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="id2552 888"></a><em class="parameter"><code>security = domain</code></em></td></tr><tr><td><a class="indexterm" name="id2552900"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr></table><p>242 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2552902"></a><em class="parameter"><code>security = domain</code></em></td></tr><tr><td><a class="indexterm" name="id2552914"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr></table><p> 243 243 </p><p> 244 244 In order for this method to work, the Samba server needs to join the MS Windows NT 245 245 security domain. This is done as follows: 246 <a class="indexterm" name="id25529 17"></a>247 <a class="indexterm" name="id25529 26"></a>246 <a class="indexterm" name="id2552931"></a> 247 <a class="indexterm" name="id2552939"></a> 248 248 </p><div class="procedure"><ol type="1"><li><p>On the MS Windows NT domain controller, using 249 249 the Server Manager, add a machine account for the Samba server. 250 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="id25529 76"></a>251 <a class="indexterm" name="id2552989"></a> 252 252 Samba-2.2.4 and later Samba 2.2.x series releases can autojoin a Windows NT4-style domain just by executing: 253 253 </p><pre class="screen"> … … 255 255 -U Administrator%<em class="replaceable"><code>password</code></em></code></strong> 256 256 </pre><p> 257 <a class="indexterm" name="id25530 11"></a>257 <a class="indexterm" name="id2553024"></a> 258 258 Samba-3 can do the same by executing: 259 259 </p><pre class="screen"> … … 263 263 <em class="replaceable"><code>PDC_NAME</code></em>, as it figures this out from the <code class="filename">smb.conf</code> file settings. 264 264 </p></div><p> 265 <a class="indexterm" name="id2553059"></a>266 <a class="indexterm" name="id2553066"></a>267 265 <a class="indexterm" name="id2553073"></a> 266 <a class="indexterm" name="id2553080"></a> 267 <a class="indexterm" name="id2553087"></a> 268 268 Use of this mode of authentication requires there to be a standard UNIX account for each user in order to 269 269 assign a UID once the account has been authenticated by the Windows domain controller. This account can be … … 272 272 set the shell to the file <code class="filename">/bin/false</code>. 273 273 </p><p> 274 <a class="indexterm" name="id25531 02"></a>275 <a class="indexterm" name="id25531 09"></a>274 <a class="indexterm" name="id2553116"></a> 275 <a class="indexterm" name="id2553122"></a> 276 276 Domain controllers can be located anywhere that is convenient. The best advice is to have a BDC on every 277 277 physical 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. … … 280 280 </p><p> 281 281 For 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="id25531 60"></a>ADS Security Mode (User-Level Security)</h3></div></div></div><p>283 <a class="indexterm" name="id25531 68"></a>284 <a class="indexterm" name="id25531 74"></a>282 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553173"></a>ADS Security Mode (User-Level Security)</h3></div></div></div><p> 283 <a class="indexterm" name="id2553182"></a> 284 <a class="indexterm" name="id2553188"></a> 285 285 Both Samba-2.2, and Samba-3 can join an Active Directory domain using NT4 style RPC based security. This is 286 286 possible if the domain is run in native mode. Active Directory in native mode perfectly allows NT4-style … … 293 293 tickets. 294 294 </p><p> 295 <a class="indexterm" name="id25532 00"></a>296 <a class="indexterm" name="id25532 06"></a>295 <a class="indexterm" name="id2553213"></a> 296 <a class="indexterm" name="id2553220"></a> 297 297 Sites that use Microsoft Windows active directory services (ADS) should be aware of the significance of the 298 298 terms: <code class="literal">native mode</code> and <code class="literal">mixed mode</code> ADS operation. The term 299 299 <code class="literal">realm</code> is used to describe a Kerberos-based security architecture (such as is used by 300 300 Microsoft ADS). 301 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25532 36"></a>Example Configuration</h4></div></div></div><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2553249"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2553260"></a><em class="parameter"><code>security = ADS</code></em></td></tr></table><p>301 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2553250"></a>Example Configuration</h4></div></div></div><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2553262"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2553274"></a><em class="parameter"><code>security = ADS</code></em></td></tr></table><p> 302 302 The following parameter may be required: 303 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id25532 82"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p>303 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2553296"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p> 304 304 Please 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 305 305 ADS 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="id25533 17"></a>Server Security (User Level Security)</h3></div></div></div><p>306 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553330"></a>Server Security (User Level Security)</h3></div></div></div><p> 307 307 Server security mode is left over from the time when Samba was not capable of acting 308 308 as a domain member server. It is highly recommended not to use this feature. Server 309 309 security mode has many drawbacks that include: 310 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="id25533 70"></a>312 <a class="indexterm" name="id25533 77"></a>311 <a class="indexterm" name="id2553384"></a> 312 <a class="indexterm" name="id2553391"></a> 313 313 In server security mode the Samba server reports to the client that it is in user-level security. The client 314 314 then does a session setup as described earlier. The Samba server takes the username/password that the client … … 318 318 SMB server as the <a class="link" href="smb.conf.5.html#PASSWORDSERVER">password server</a>. 319 319 </p><p> 320 <a class="indexterm" name="id25534 20"></a>321 <a class="indexterm" name="id25534 26"></a>320 <a class="indexterm" name="id2553433"></a> 321 <a class="indexterm" name="id2553440"></a> 322 322 You should also note that at the start of all this, when the server tells the client 323 323 what security level it is in, it also tells the client if it supports encryption. If it … … 331 331 Windows NT server, the latter being natively capable of encrypted password support. 332 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="id25534 79"></a>334 <a class="indexterm" name="id2553 486"></a>333 <a class="indexterm" name="id2553493"></a> 334 <a class="indexterm" name="id2553500"></a> 335 335 When Samba is running in <span class="emphasis"><em>server security mode</em></span>, it is essential that the parameter 336 336 <span class="emphasis"><em>password server</em></span> is set to the precise NetBIOS machine name of the target authentication … … 338 338 server is arbitrary and cannot be determined from a domain name. In essence, a Samba server that is in 339 339 <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="id25535 11"></a>Example Configuration</h4></div></div></div><p><span class="emphasis"><em>340 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2553525"></a>Example Configuration</h4></div></div></div><p><span class="emphasis"><em> 341 341 Using MS Windows NT as an Authentication Server 342 342 </em></span></p><p> 343 343 This 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="id25535 39"></a><em class="parameter"><code>encrypt passwords = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2553551"></a><em class="parameter"><code>security = server</code></em></td></tr><tr><td><a class="indexterm" name="id2553563"></a><em class="parameter"><code>password server = "NetBIOS_name_of_a_DC"</code></em></td></tr></table><p>344 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2553553"></a><em class="parameter"><code>encrypt passwords = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2553565"></a><em class="parameter"><code>security = server</code></em></td></tr><tr><td><a class="indexterm" name="id2553576"></a><em class="parameter"><code>password server = "NetBIOS_name_of_a_DC"</code></em></td></tr></table><p> 345 345 There are two ways of identifying whether or not a username and password pair is valid. 346 346 One uses the reply information provided as part of the authentication messaging 347 347 process, the other uses just an error code. 348 348 </p><p> 349 <a class="indexterm" name="id25535 84"></a>350 <a class="indexterm" name="id2553 591"></a>349 <a class="indexterm" name="id2553598"></a> 350 <a class="indexterm" name="id2553604"></a> 351 351 The downside of this mode of configuration is that for security reasons Samba 352 352 will send the password server a bogus username and a bogus password, and if the remote … … 357 357 Use of this mode of authentication requires a standard UNIX account for the user. 358 358 This 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="id25536 15"></a>Password Checking</h2></div></div></div><p>359 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2553629"></a>Password Checking</h2></div></div></div><p> 360 360 MS Windows clients may use encrypted passwords as part of a challenge/response 361 361 authentication model (a.k.a. NTLMv1 and NTLMv2) or alone, or clear-text strings for simple … … 364 364 not both in the same authentication request. 365 365 </p><p> 366 <a class="indexterm" name="id25536 32"></a>367 <a class="indexterm" name="id25536 39"></a>366 <a class="indexterm" name="id2553646"></a> 367 <a class="indexterm" name="id2553653"></a> 368 368 When encrypted passwords are used, a password that has been entered by the user 369 369 is encrypted in two ways: … … 376 376 The resulting 16 bytes form the LanMan hash. 377 377 </p></li></ul></div><p> 378 <a class="indexterm" name="id25536 70"></a>378 <a class="indexterm" name="id2553684"></a> 379 379 MS Windows 95 pre-service pack 1 and MS Windows NT versions 3.x and version 4.0 pre-service pack 3 will use 380 380 either mode of password authentication. All versions of MS Windows that follow these versions no longer 381 381 support plain-text passwords by default. 382 382 </p><p> 383 <a class="indexterm" name="id2553 687"></a>383 <a class="indexterm" name="id2553700"></a> 384 384 MS Windows clients have a habit of dropping network mappings that have been idle 385 385 for 10 minutes or longer. When the user attempts to use the mapped drive … … 397 397 uppercasing usernames and passwords before transmitting them to the SMB server 398 398 when using clear-text authentication: 399 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id25537 28"></a></td></tr><tr><td><a class="indexterm" name="id2553734"></a></td></tr></table><p>399 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2553741"></a></td></tr><tr><td><a class="indexterm" name="id2553748"></a></td></tr></table><p> 400 400 By default Samba will convert to lowercase the username before attempting to lookup the user 401 401 in the database of local system accounts. Because UNIX usernames conventionally … … 403 403 is rarely needed. 404 404 </p><p> 405 <a class="indexterm" name="id25537 65"></a>405 <a class="indexterm" name="id2553778"></a> 406 406 However, passwords on UNIX systems often make use of mixed-case characters. This means that in order for a 407 407 user on a Windows 9x/Me client to connect to a Samba server using clear-text authentication, the … … 415 415 Samba is used. Most attempts to apply the registry change to re-enable plaintext 416 416 passwords 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="id25538 19"></a>Common Errors</h2></div></div></div><p>417 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2553833"></a>Common Errors</h2></div></div></div><p> 418 418 We all make mistakes. It is okay to make mistakes, as long as they are made in the right places 419 419 and at the right time. A mistake that causes lost productivity is seldom tolerated; however, a mistake … … 425 425 which has many phrases that are potentially vague and may be highly confusing 426 426 to 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="id25538 43"></a>What Makes Samba a Server?</h3></div></div></div><p>427 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553856"></a>What Makes Samba a Server?</h3></div></div></div><p> 428 428 To some, the nature of the Samba security mode is obvious, but entirely 429 429 wrong all the same. It is assumed that <a class="link" href="smb.conf.5.html#SECURITY">security = server</a> means that Samba … … 434 434 context, it is best to leave the security mode at the default setting. By default Samba-3 uses user-mode 435 435 security. 436 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25538 79"></a>What Makes Samba a Domain Controller?</h3></div></div></div><p>437 <a class="indexterm" name="id2553 887"></a>436 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553893"></a>What Makes Samba a Domain Controller?</h3></div></div></div><p> 437 <a class="indexterm" name="id2553900"></a> 438 438 The <code class="filename">smb.conf</code> parameter <a class="link" href="smb.conf.5.html#SECURITY">security = domain</a> does not really make Samba behave 439 439 as 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="id25539 23"></a>What Makes Samba a Domain Member?</h3></div></div></div><p>440 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553936"></a>What Makes Samba a Domain Member?</h3></div></div></div><p> 441 441 Guess! So many others do. But whatever you do, do not think that <a class="link" href="smb.conf.5.html#SECURITY">security = user</a> 442 442 makes Samba act as a domain member. Read the manufacturer's manual before the warranty expires. See 443 443 <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="id25539 54"></a>Constantly Losing Connections to Password Server</h3></div></div></div><p>“<span class="quote">444 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553968"></a>Constantly Losing Connections to Password Server</h3></div></div></div><p>“<span class="quote"> 445 445 Why does server_validate() simply give up rather than re-establish its connection to the 446 446 password server? Though I am not fluent in the SMB protocol, perhaps the cluster server … … 452 452 is at best a nasty hack. Please use <a class="link" href="smb.conf.5.html#SECURITY">security = domain</a>; 453 453 <a class="link" href="smb.conf.5.html#SECURITY">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="id25540 12"></a>Stand-alone Server is converted to Domain Controller Now User accounts don't work</h3></div></div></div><p>“<span class="quote">454 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2554025"></a>Stand-alone Server is converted to Domain Controller Now User accounts don't work</h3></div></div></div><p>“<span class="quote"> 455 455 When I try to log in to the DOMAIN, the eventlog shows <span class="emphasis"><em>tried credentials DOMAIN/username; effective 456 456 credentials SERVER/username</em></span> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/StandAloneServer.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id25672 16">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567310">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567511">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#id2568495">Common Errors</a></span></dt></dl></div><p>2 <a class="indexterm" name="id2567 189"></a>3 <a class="indexterm" name="id2567 196"></a>4 <a class="indexterm" name="id25672 03"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2567230">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567324">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567525">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#id2568508">Common Errors</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2567202"></a> 3 <a class="indexterm" name="id2567209"></a> 4 <a class="indexterm" name="id2567216"></a> 5 5 Standalone servers are independent of domain controllers on the network. 6 6 They are not domain members and function more like workgroup servers. In many 7 7 cases a standalone server is configured with a minimum of security control 8 8 with 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="id25672 16"></a>Features and Benefits</h2></div></div></div><p>10 <a class="indexterm" name="id25672 24"></a>11 <a class="indexterm" name="id25672 31"></a>9 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2567230"></a>Features and Benefits</h2></div></div></div><p> 10 <a class="indexterm" name="id2567238"></a> 11 <a class="indexterm" name="id2567244"></a> 12 12 Standalone servers can be as secure or as insecure as needs dictate. They can 13 13 have simple or complex configurations. Above all, despite the hoopla about 14 14 domain security, they remain a common installation. 15 15 </p><p> 16 <a class="indexterm" name="id2567244"></a>17 <a class="indexterm" name="id2567251"></a>18 16 <a class="indexterm" name="id2567258"></a> 19 17 <a class="indexterm" name="id2567265"></a> 18 <a class="indexterm" name="id2567272"></a> 19 <a class="indexterm" name="id2567278"></a> 20 20 If all that is needed is a server for read-only files, or for 21 21 printers alone, it may not make sense to effect a complex installation. … … 25 25 server is an ideal solution. 26 26 </p><p> 27 <a class="indexterm" name="id2567282"></a>28 <a class="indexterm" name="id2567288"></a>29 27 <a class="indexterm" name="id2567295"></a> 28 <a class="indexterm" name="id2567302"></a> 29 <a class="indexterm" name="id2567309"></a> 30 30 Another situation that warrants simplicity is an office that has many printers 31 31 that are queued off a single central server. Everyone needs to be able to print … … 33 33 be served from the print server. Again, a share-mode standalone server makes 34 34 a great solution. 35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25673 10"></a>Background</h2></div></div></div><p>36 <a class="indexterm" name="id25673 18"></a>37 <a class="indexterm" name="id25673 25"></a>38 <a class="indexterm" name="id25673 32"></a>35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2567324"></a>Background</h2></div></div></div><p> 36 <a class="indexterm" name="id2567331"></a> 37 <a class="indexterm" name="id2567338"></a> 38 <a class="indexterm" name="id2567345"></a> 39 39 The term <span class="emphasis"><em>standalone server</em></span> means that it will provide local authentication and access 40 40 control for all resources that are available from it. In general this means that there will be a local user … … 42 42 <span class="emphasis"><em>share</em></span> mode or in <span class="emphasis"><em>user</em></span> mode. 43 43 </p><p> 44 <a class="indexterm" name="id2567358"></a>45 <a class="indexterm" name="id2567365"></a>46 44 <a class="indexterm" name="id2567372"></a> 45 <a class="indexterm" name="id2567379"></a> 46 <a class="indexterm" name="id2567386"></a> 47 47 No special action is needed other than to create user accounts. Standalone 48 48 servers do not provide network logon services. This means that machines that … … 53 53 user name. There are several ways this can be done. 54 54 </p><p> 55 <a class="indexterm" name="id2567400"></a>56 <a class="indexterm" name="id2567407"></a>57 55 <a class="indexterm" name="id2567413"></a> 56 <a class="indexterm" name="id2567420"></a> 57 <a class="indexterm" name="id2567427"></a> 58 58 Samba tends to blur the distinction a little in defining 59 59 a standalone server. This is because the authentication database may be … … 61 61 the Samba server is not a member of a domain security context. 62 62 </p><p> 63 <a class="indexterm" name="id2567428"></a> 64 <a class="indexterm" name="id2567434"></a> 65 <a class="indexterm" name="id2567441"></a> 63 <a class="indexterm" name="id2567442"></a> 66 64 <a class="indexterm" name="id2567448"></a> 67 65 <a class="indexterm" name="id2567455"></a> 68 66 <a class="indexterm" name="id2567462"></a> 69 <a class="indexterm" name="id2567469"></a> 70 <a class="indexterm" name="id2567476"></a> 67 <a class="indexterm" name="id2567468"></a> 68 <a class="indexterm" name="id2567475"></a> 69 <a class="indexterm" name="id2567482"></a> 70 <a class="indexterm" name="id2567489"></a> 71 71 Through 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>) 72 72 and the name service switcher (NSS), which maintains the UNIX-user database, the source of authentication may … … 75 75 <code class="filename">/etc/shadow</code>), may use a local smbpasswd file, or may use an LDAP backend, or even via PAM 76 76 and 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="id25675 11"></a>Example Configuration</h2></div></div></div><p>78 <a class="indexterm" name="id25675 19"></a>79 <a class="indexterm" name="id25675 26"></a>77 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2567525"></a>Example Configuration</h2></div></div></div><p> 78 <a class="indexterm" name="id2567533"></a> 79 <a class="indexterm" name="id2567540"></a> 80 80 <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 81 81 attempt a high level of creativity and to introduce too much complexity in server and network design. 82 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="id2567564"></a>84 <a class="indexterm" name="id2567570"></a>85 83 <a class="indexterm" name="id2567577"></a> 86 84 <a class="indexterm" name="id2567584"></a> 85 <a class="indexterm" name="id2567590"></a> 86 <a class="indexterm" name="id2567597"></a> 87 87 Configuration of a read-only data server that everyone can access is very simple. By default, all shares are 88 88 read-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 … … 91 91 nobody. No home directories are shared, and there are no users in the <code class="filename">/etc/passwd</code> UNIX 92 92 system 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="id25676 57"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2567669"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2567681"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2567693"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2567704"></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="id2567725"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2567737"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2567748"></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 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="id2567671"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2567683"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2567695"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2567706"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2567718"></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="id2567739"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2567750"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2567762"></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> 94 94 I would have spoken more briefly, if I'd had more time to prepare. 95 95 </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="id2567774"></a>97 <a class="indexterm" name="id2567781"></a>98 96 <a class="indexterm" name="id2567788"></a> 99 97 <a class="indexterm" name="id2567795"></a> 98 <a class="indexterm" name="id2567802"></a> 99 <a class="indexterm" name="id2567809"></a> 100 100 In <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 101 101 workgroup is set to the name of the local workgroup (MIDEARTH) so the machine will appear together … … 108 108 many network administrators still need to learn the art of doing just enough to keep out of trouble. 109 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="id25678 45"></a>111 <a class="indexterm" name="id25678 51"></a>110 <a class="indexterm" name="id2567858"></a> 111 <a class="indexterm" name="id2567865"></a> 112 112 Configuration of a simple print server is easy if you have all the right tools on your system. 113 113 </p><div class="orderedlist"><p class="title"><b> Assumptions</b></p><ol type="1"><li><p> … … 123 123 of choice is the one shipped with the Windows OS for the Apple Color LaserWriter. 124 124 </p></li></ol></div><p> 125 <a class="indexterm" name="id2567908"></a>126 <a class="indexterm" name="id2567914"></a>127 125 <a class="indexterm" name="id2567921"></a> 126 <a class="indexterm" name="id2567928"></a> 127 <a class="indexterm" name="id2567935"></a> 128 128 In this example our print server will spool all incoming print jobs to 129 129 <code class="filename">/var/spool/samba</code> until the job is ready to be submitted by … … 131 131 the anonymous (guest) user, two things will be required to enable anonymous printing. 132 132 </p><div class="itemizedlist"><p class="title"><b>Enabling Anonymous Printing</b></p><ul type="disc"><li><p> 133 <a class="indexterm" name="id25679 49"></a>134 <a class="indexterm" name="id25679 56"></a>135 <a class="indexterm" name="id25679 63"></a>133 <a class="indexterm" name="id2567962"></a> 134 <a class="indexterm" name="id2567969"></a> 135 <a class="indexterm" name="id2567976"></a> 136 136 The UNIX/Linux system must have a <code class="literal">guest</code> account. 137 137 The default for this is usually the account <code class="literal">nobody</code>. … … 141 141 <code class="prompt">$ </code><strong class="userinput"><code>testparm -s -v | grep "guest account"</code></strong> 142 142 </pre><p> 143 <a class="indexterm" name="id25680 00"></a>143 <a class="indexterm" name="id2568014"></a> 144 144 Make sure that this account exists in your system password 145 145 database (<code class="filename">/etc/passwd</code>). 146 146 </p><p> 147 <a class="indexterm" name="id25680 18"></a>148 <a class="indexterm" name="id25680 25"></a>149 <a class="indexterm" name="id25680 32"></a>147 <a class="indexterm" name="id2568031"></a> 148 <a class="indexterm" name="id2568038"></a> 149 <a class="indexterm" name="id2568045"></a> 150 150 It is a good idea either to set a password on this account, or else to lock it 151 151 from UNIX use. Assuming that the guest account is called <code class="literal">pcguest</code>, … … 156 156 The exact command may vary depending on your UNIX/Linux distribution. 157 157 </p></li><li><p> 158 <a class="indexterm" name="id2568065"></a>159 <a class="indexterm" name="id2568071"></a>160 158 <a class="indexterm" name="id2568078"></a> 161 159 <a class="indexterm" name="id2568085"></a> 162 160 <a class="indexterm" name="id2568092"></a> 163 161 <a class="indexterm" name="id2568099"></a> 162 <a class="indexterm" name="id2568106"></a> 163 <a class="indexterm" name="id2568112"></a> 164 164 The directory into which Samba will spool the file must have write 165 165 access for the guest account. The following commands will ensure that … … 172 172 </p></li></ul></div><p> 173 173 The 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="id2568198"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2568210"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2568222"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2568234"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2568245"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2568257"></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="id2568278"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2568290"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2568301"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td><a class="indexterm" name="id2568313"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568325"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568336"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568348"></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="id2568364"></a> 176 <a class="indexterm" name="id2568373"></a> 177 <a class="indexterm" name="id2568380"></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="id2568212"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2568224"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2568236"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2568247"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2568259"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2568271"></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="id2568291"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2568303"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2568315"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td><a class="indexterm" name="id2568327"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568338"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568350"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568362"></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="id2568378"></a> 178 176 <a class="indexterm" name="id2568387"></a> 179 177 <a class="indexterm" name="id2568394"></a> 178 <a class="indexterm" name="id2568400"></a> 179 <a class="indexterm" name="id2568407"></a> 180 180 On CUPS-enabled systems there is a facility to pass raw data directly to the printer without intermediate 181 181 processing via CUPS print filters. Where use of this mode of operation is desired, it is necessary to … … 184 184 for application/octet-stream</a>. 185 185 </p></div><p> 186 <a class="indexterm" name="id2568436"></a>187 <a class="indexterm" name="id2568443"></a>188 186 <a class="indexterm" name="id2568450"></a> 189 187 <a class="indexterm" name="id2568457"></a> 188 <a class="indexterm" name="id2568464"></a> 189 <a class="indexterm" name="id2568470"></a> 190 190 The 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 191 191 via the CUPS libarary API. This means that all printers will be exposed to Windows users without need to … … 194 194 with the entry <em class="parameter"><code>printcap name = /etc/samba/myprintcap</code></em>. In this case the file specified 195 195 should 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="id2568 495"></a>Common Errors</h2></div></div></div><p>197 <a class="indexterm" name="id25685 03"></a>198 <a class="indexterm" name="id25685 10"></a>196 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2568508"></a>Common Errors</h2></div></div></div><p> 197 <a class="indexterm" name="id2568516"></a> 198 <a class="indexterm" name="id2568523"></a> 199 199 The greatest mistake so often made is to make a network configuration too complex. 200 200 It pays to use the simplest solution that will meet the needs of the moment. -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/TOSHpreface.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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#id25434 52">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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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#id2543465">Conventions Used</a></span></dt></dl></div><p> 2 2 The editors wish to thank you for your decision to purchase this book. 3 3 The Official Samba-3 HOWTO and Reference Guide is the result of many years … … 29 29 content that is not your own work unless proof of consent from the copyright holder accompanies your 30 30 submission. 31 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25434 52"></a>Conventions Used</h2></div></div></div><p>31 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2543465"></a>Conventions Used</h2></div></div></div><p> 32 32 The following notation conventions are used throughout this book: 33 33 </p><div class="itemizedlist"><ul type="disc"><li><p> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/VFS.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:tpot@samba.org">tpot@samba.org</a>></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#id26433 29">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643368">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643763">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2643769">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2643810">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644027">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#id2644354">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644750">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644801">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2645707">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2645732">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645792">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645831">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="id2643329"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26433 37"></a>3 <a class="indexterm" name="id26433 46"></a>4 <a class="indexterm" name="id26433 53"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:tpot@samba.org">tpot@samba.org</a>></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#id2643343">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643381">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643777">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2643783">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2643824">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644041">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#id2644367">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644764">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644814">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2645720">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2645746">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645805">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645845">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="id2643343"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2643351"></a> 3 <a class="indexterm" name="id2643360"></a> 4 <a class="indexterm" name="id2643367"></a> 5 5 Stackable VFS (Virtual File System) modules support was new to Samba-3 and has proven quite popular. Samba 6 6 passes each request to access the UNIX file system through the loaded VFS modules. This chapter covers the 7 7 modules 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="id26433 68"></a>Discussion</h2></div></div></div><p>9 <a class="indexterm" name="id26433 75"></a>10 <a class="indexterm" name="id26433 82"></a>8 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2643381"></a>Discussion</h2></div></div></div><p> 9 <a class="indexterm" name="id2643389"></a> 10 <a class="indexterm" name="id2643396"></a> 11 11 If not supplied with your platform distribution binary Samba package, you may have problems compiling these 12 12 modules, as shared libraries are compiled and linked in different ways on different systems. They currently 13 13 have been tested against GNU/Linux and IRIX. 14 14 </p><p> 15 <a class="indexterm" name="id2643397"></a>16 <a class="indexterm" name="id2643403"></a>17 15 <a class="indexterm" name="id2643410"></a> 16 <a class="indexterm" name="id2643417"></a> 17 <a class="indexterm" name="id2643424"></a> 18 18 To 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">vfs objects</a> parameter where you can list one or more VFS modules by name. For example, to log all 19 19 access 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 20 20 modules 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="id2643465"></a><em class="parameter"><code>comment = Audited /data directory</code></em></td></tr><tr><td><a class="indexterm" name="id2643477"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2643489"></a><em class="parameter"><code>vfs objects = audit recycle</code></em></td></tr><tr><td><a class="indexterm" name="id2643501"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2643512"></a><em class="parameter"><code>browseable = yes</code></em></td></tr></table></div></div><br class="example-break"><p> 22 <a class="indexterm" name="id2643527"></a> 23 <a class="indexterm" name="id2643534"></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="id2643479"></a><em class="parameter"><code>comment = Audited /data directory</code></em></td></tr><tr><td><a class="indexterm" name="id2643491"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2643503"></a><em class="parameter"><code>vfs objects = audit recycle</code></em></td></tr><tr><td><a class="indexterm" name="id2643514"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2643526"></a><em class="parameter"><code>browseable = yes</code></em></td></tr></table></div></div><br class="example-break"><p> 24 22 <a class="indexterm" name="id2643541"></a> 23 <a class="indexterm" name="id2643548"></a> 24 <a class="indexterm" name="id2643555"></a> 25 25 The modules are used in the order in which they are specified. Let's say that you want to both have a virus 26 26 scanner module and a recycle bin module. It is wise to put the virus scanner module as the first one so that … … 28 28 <a class="link" href="smb.conf.5.html#VFSOBJECTS">vfs objects = vscan-clamav recycle</a> 29 29 </p><p> 30 <a class="indexterm" name="id26435 69"></a>31 <a class="indexterm" name="id26435 76"></a>30 <a class="indexterm" name="id2643583"></a> 31 <a class="indexterm" name="id2643589"></a> 32 32 Samba will attempt to load modules from the <code class="filename">/lib</code> directory in the root directory of the 33 33 Samba installation (usually <code class="filename">/usr/lib/samba/vfs</code> or 34 34 <code class="filename">/usr/local/samba/lib/vfs</code>). 35 35 </p><p> 36 <a class="indexterm" name="id2643606"></a>37 <a class="indexterm" name="id2643612"></a>38 36 <a class="indexterm" name="id2643619"></a> 39 37 <a class="indexterm" name="id2643626"></a> 38 <a class="indexterm" name="id2643633"></a> 39 <a class="indexterm" name="id2643640"></a> 40 40 Some modules can be used twice for the same share. This can be done using a configuration similar to the one 41 41 shown 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>. 42 42 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="id26436 66"></a><em class="parameter"><code>comment = VFS TEST</code></em></td></tr><tr><td><a class="indexterm" name="id2643677"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2643689"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2643701"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2643712"></a><em class="parameter"><code>vfs objects = example:example1 example example:test</code></em></td></tr><tr><td><a class="indexterm" name="id2643724"></a><em class="parameter"><code>example1: parameter = 1</code></em></td></tr><tr><td><a class="indexterm" name="id2643736"></a><em class="parameter"><code>example: parameter = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2643748"></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="id26437 63"></a>Included Modules</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643769"></a>audit</h3></div></div></div><p>45 <a class="indexterm" name="id26437 77"></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 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="id2643680"></a><em class="parameter"><code>comment = VFS TEST</code></em></td></tr><tr><td><a class="indexterm" name="id2643691"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2643703"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2643714"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2643726"></a><em class="parameter"><code>vfs objects = example:example1 example example:test</code></em></td></tr><tr><td><a class="indexterm" name="id2643738"></a><em class="parameter"><code>example1: parameter = 1</code></em></td></tr><tr><td><a class="indexterm" name="id2643750"></a><em class="parameter"><code>example: parameter = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2643762"></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="id2643777"></a>Included Modules</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643783"></a>audit</h3></div></div></div><p> 45 <a class="indexterm" name="id2643790"></a> 46 46 A simple module to audit file access to the syslog facility. The following operations are logged: 47 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="id26438 10"></a>default_quota</h3></div></div></div><p>48 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643824"></a>default_quota</h3></div></div></div><p> 49 49 This module allows the default quota values, in the windows explorer GUI, to be stored on a Samba-3 server. 50 50 The challenge is that linux filesystems only store quotas for users and groups, but no default quotas. … … 118 118 ... 119 119 </pre><p> 120 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2644027"></a>extd_audit</h3></div></div></div><p> 121 <a class="indexterm" name="id2644035"></a> 122 <a class="indexterm" name="id2644042"></a> 120 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2644041"></a>extd_audit</h3></div></div></div><p> 123 121 <a class="indexterm" name="id2644049"></a> 122 <a class="indexterm" name="id2644056"></a> 123 <a class="indexterm" name="id2644063"></a> 124 124 This module is identical with the <code class="literal">audit</code> module above except 125 125 that it sends audit logs to both syslog as well as the <code class="literal">smbd</code> log files. The … … 127 127 </p><p> 128 128 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 & 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="id26441 84"></a>Configuration of Auditing</h4></div></div></div><p>130 <a class="indexterm" name="id2644 192"></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 & 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="id2644198"></a>Configuration of Auditing</h4></div></div></div><p> 130 <a class="indexterm" name="id2644206"></a> 131 131 This auditing tool is more felxible than most people readily will recognize. There are a number of ways 132 132 by which useful logging information can be recorded. … … 146 146 in the <code class="filename">smb.conf</code> file. 147 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="id2644318"></a>149 <a class="indexterm" name="id2644324"></a>150 148 <a class="indexterm" name="id2644331"></a> 151 149 <a class="indexterm" name="id2644338"></a> 150 <a class="indexterm" name="id2644345"></a> 151 <a class="indexterm" name="id2644352"></a> 152 152 This module was created to allow Roaming Profile files and directories to be set (on the Samba server 153 153 under UNIX) as read only. This module will, if installed on the Profiles share, report to the client 154 154 that the Profile files and directories are writeable. This satisfies the client even though the files 155 155 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="id2644354"></a>recycle</h3></div></div></div><p> 157 <a class="indexterm" name="id2644361"></a> 158 <a class="indexterm" name="id2644368"></a> 156 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2644367"></a>recycle</h3></div></div></div><p> 159 157 <a class="indexterm" name="id2644375"></a> 158 <a class="indexterm" name="id2644382"></a> 159 <a class="indexterm" name="id2644389"></a> 160 160 A Recycle Bin-like module. Where used, unlink calls will be intercepted and files moved 161 161 to the recycle directory instead of being deleted. This gives the same effect as the 162 162 <span class="guiicon">Recycle Bin</span> on Windows computers. 163 163 </p><p> 164 <a class="indexterm" name="id2644395"></a>165 <a class="indexterm" name="id2644402"></a>166 164 <a class="indexterm" name="id2644408"></a> 167 165 <a class="indexterm" name="id2644415"></a> 166 <a class="indexterm" name="id2644422"></a> 167 <a class="indexterm" name="id2644429"></a> 168 168 The <span class="guiicon">Recycle Bin</span> will not appear in 169 169 <span class="application">Windows Explorer</span> views of the network … … 180 180 </p><p>Supported options for the <code class="literal">recycle</code> module are as follow: 181 181 </p><div class="variablelist"><dl><dt><span class="term">recycle:repository</span></dt><dd><p> 182 <a class="indexterm" name="id2644 493"></a>182 <a class="indexterm" name="id2644507"></a> 183 183 Path of the directory where deleted files should be moved. 184 184 </p></dd><dt><span class="term">recycle:directory_mode</span></dt><dd><p> 185 <a class="indexterm" name="id26445 12"></a>185 <a class="indexterm" name="id2644526"></a> 186 186 Set it to the octal mode you want for the recycle directory. With 187 187 this mode the recycle directory will be created if it not … … 192 192 mode 0700 is used. 193 193 </p></dd><dt><span class="term">recycle:subdir_mode</span></dt><dd><p> 194 <a class="indexterm" name="id26445 48"></a>194 <a class="indexterm" name="id2644561"></a> 195 195 Set it to the octal mode you want for the sub directories of 196 196 the recycle directory. With this mode the sub directories will … … 200 200 <em class="parameter"><code>directory_mode</code></em>. 201 201 </p></dd><dt><span class="term">recycle:keeptree</span></dt><dd><p> 202 <a class="indexterm" name="id26445 82"></a>202 <a class="indexterm" name="id2644596"></a> 203 203 Specifies whether the directory structure should be kept or if the files in the directory that is being 204 204 deleted should be kept separately in the recycle bin. 205 205 </p></dd><dt><span class="term">recycle:versions</span></dt><dd><p> 206 <a class="indexterm" name="id26446 03"></a>206 <a class="indexterm" name="id2644617"></a> 207 207 If this option is set, two files 208 208 with the same name that are deleted will both … … 210 210 of a file will be called “<span class="quote">Copy #x of <em class="replaceable"><code>filename</code></em></span>”. 211 211 </p></dd><dt><span class="term">recycle:touch</span></dt><dd><p> 212 <a class="indexterm" name="id26446 30"></a>212 <a class="indexterm" name="id2644644"></a> 213 213 Specifies whether a file's access date should be touched when the file is moved to the recycle bin. 214 214 </p></dd><dt><span class="term">recycle:touch_mtime</span></dt><dd><p> 215 <a class="indexterm" name="id26446 50"></a>215 <a class="indexterm" name="id2644664"></a> 216 216 Specifies whether a file's last modify date date should be touched when the file is moved to the recycle bin. 217 217 </p></dd><dt><span class="term">recycle:maxsize</span></dt><dd><p> 218 <a class="indexterm" name="id26446 71"></a>218 <a class="indexterm" name="id2644684"></a> 219 219 Files that are larger than the number of bytes specified by this parameter will not be put into the recycle bin. 220 220 </p></dd><dt><span class="term">recycle:exclude</span></dt><dd><p> 221 <a class="indexterm" name="id2644 691"></a>221 <a class="indexterm" name="id2644704"></a> 222 222 List of files that should not be put into the recycle bin when deleted, but deleted in the regular way. 223 223 </p></dd><dt><span class="term">recycle:exclude_dir</span></dt><dd><p> 224 <a class="indexterm" name="id26447 11"></a>224 <a class="indexterm" name="id2644724"></a> 225 225 Contains a list of directories. When files from these directories are 226 226 deleted, they are not put into the … … 228 228 regular way. 229 229 </p></dd><dt><span class="term">recycle:noversions</span></dt><dd><p> 230 <a class="indexterm" name="id26447 32"></a>230 <a class="indexterm" name="id2644746"></a> 231 231 Specifies a list of paths (wildcards such as * and ? are supported) for which no versioning 232 232 should be used. Only useful when <span class="emphasis"><em>recycle:versions</em></span> is enabled. 233 233 </p></dd></dl></div><p> 234 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26447 50"></a>netatalk</h3></div></div></div><p>235 <a class="indexterm" name="id26447 58"></a>234 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2644764"></a>netatalk</h3></div></div></div><p> 235 <a class="indexterm" name="id2644772"></a> 236 236 A netatalk module will ease co-existence of Samba and netatalk file sharing services. 237 237 </p><p>Advantages compared to the old netatalk module: 238 </p><div class="itemizedlist"><a class="indexterm" name="id26447 73"></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="id26448 01"></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="id26448 09"></a>238 </p><div class="itemizedlist"><a class="indexterm" name="id2644787"></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="id2644814"></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="id2644823"></a> 241 241 <span class="emphasis"><em>THIS IS NOT A BACKUP, ARCHIVAL, OR VERSION CONTROL SOLUTION!</em></span> 242 242 </p><p> 243 <a class="indexterm" name="id26448 24"></a>243 <a class="indexterm" name="id2644838"></a> 244 244 With Samba or Windows servers, shadow_copy is designed to be an end-user tool only. It does not replace or 245 245 enhance your backup and archival solutions and should in no way be considered as such. Additionally, if you … … 252 252 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>. 253 253 </p><p> 254 <a class="indexterm" name="id2644869"></a>255 <a class="indexterm" name="id2644876"></a>256 254 <a class="indexterm" name="id2644882"></a> 257 255 <a class="indexterm" name="id2644889"></a> 258 <a class="indexterm" name="id2644896"></a> 259 <a class="indexterm" name="id2644903"></a> 256 <a class="indexterm" name="id2644895"></a> 257 <a class="indexterm" name="id2644902"></a> 258 <a class="indexterm" name="id2644909"></a> 259 <a class="indexterm" name="id2644916"></a> 260 260 The shadow_copy VFS module requires some underlying file system setup with some sort of Logical Volume Manager 261 261 (LVM) such as LVM1, LVM2, or EVMS. Setting up LVM is beyond the scope of this document; however, we will … … 270 270 Linux LVM, Part 1</a> and <a class="ulink" href="http://www-106.ibm.com/developerworks/library/l-lvm2.html" target="_top">Learning 271 271 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="id264 4988"></a>Shadow Copy Setup</h4></div></div></div><p>273 <a class="indexterm" name="id264 4996"></a>274 <a class="indexterm" name="id26450 03"></a>272 source code and reiserfs.</p></li></ul></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2645002"></a>Shadow Copy Setup</h4></div></div></div><p> 273 <a class="indexterm" name="id2645010"></a> 274 <a class="indexterm" name="id2645016"></a> 275 275 At the time of this writing, not much testing has been done. I tested the shadow copy VFS module with a 276 276 specific scenario which was not deployed in a production environment, but more as a proof of concept. The … … 287 287 working Samba 3.0.3 or later server running. 288 288 </p></li><li><p><b>Install & Configure LVM. </b> 289 <a class="indexterm" name="id26450 81"></a>290 <a class="indexterm" name="id2645 088"></a>289 <a class="indexterm" name="id2645095"></a> 290 <a class="indexterm" name="id2645102"></a> 291 291 Before you can make shadow copies available to the client, you have to create the shadow copies. This is 292 292 done by taking some sort of file system snapshot. Snapshots are a typical feature of Logical Volume … … 296 296 using the "testing" or "Sarge" distribution. 297 297 </p><ul type="disc"><li><p> 298 <a class="indexterm" name="id2645113"></a>299 <a class="indexterm" name="id2645120"></a>300 298 <a class="indexterm" name="id2645127"></a> 301 299 <a class="indexterm" name="id2645134"></a> 302 300 <a class="indexterm" name="id2645140"></a> 301 <a class="indexterm" name="id2645147"></a> 302 <a class="indexterm" name="id2645154"></a> 303 303 Install lvm10 and devfsd packages if you have not done so already. On Debian systems, you are warned of the 304 304 interaction of devfs and lvm1 which requires the use of devfs filenames. Running <code class="literal">apt-get update 305 305 && apt-get install lvm10 devfsd xfsprogs</code> should do the trick for this example. 306 306 </p></li><li><p> 307 <a class="indexterm" name="id2645164"></a>308 <a class="indexterm" name="id2645171"></a>309 307 <a class="indexterm" name="id2645178"></a> 310 308 <a class="indexterm" name="id2645184"></a> 311 309 <a class="indexterm" name="id2645191"></a> 310 <a class="indexterm" name="id2645198"></a> 311 <a class="indexterm" name="id2645205"></a> 312 312 Now you need to create a volume. You will need to create a partition (or partitions) to add to your volume. 313 313 Use your favorite partitioning tool (e.g., Linux fdisk, cfdisk, etc.). The partition type should be set to 314 314 0x8e for "Linux LVM." In this example, we will use /dev/hdb1. 315 315 </p><p> 316 <a class="indexterm" name="id2645206"></a>317 <a class="indexterm" name="id2645213"></a>318 316 <a class="indexterm" name="id2645220"></a> 317 <a class="indexterm" name="id2645227"></a> 318 <a class="indexterm" name="id2645234"></a> 319 319 Once you have the Linux LVM partition (type 0x8e), you can run a series of commands to create the LVM volume. 320 320 You can use several disks and/or partitions, but we will use only one in this example. You may also need to … … 322 322 it on reboot by adding it to (<code class="filename">/etc/modules</code>). 323 323 </p></li><li><p> 324 <a class="indexterm" name="id26452 49"></a>324 <a class="indexterm" name="id2645263"></a> 325 325 Create the physical volume with <code class="literal">pvcreate /dev/hdb1</code> 326 326 </p></li><li><p> 327 <a class="indexterm" name="id26452 67"></a>328 <a class="indexterm" name="id26452 74"></a>327 <a class="indexterm" name="id2645280"></a> 328 <a class="indexterm" name="id2645287"></a> 329 329 Create the volume group and add /dev/hda1 to it with <code class="literal">vgcreate shadowvol /dev/hdb1</code> 330 330 </p><p> 331 <a class="indexterm" name="id2645 291"></a>331 <a class="indexterm" name="id2645305"></a> 332 332 You can use <code class="literal">vgdisplay</code> to review information about the volume group. 333 333 </p></li><li><p> 334 <a class="indexterm" name="id26453 09"></a>334 <a class="indexterm" name="id2645323"></a> 335 335 Now you can create the logical volume with something like <code class="literal">lvcreate -L400M -nsh_test shadowvol</code> 336 336 </p><p> 337 <a class="indexterm" name="id26453 26"></a>337 <a class="indexterm" name="id2645340"></a> 338 338 This creates the logical volume of 400 MBs named "sh_test" in the volume group we created called shadowvol. 339 339 If everything is working so far, you should see them in <code class="filename">/dev/shadowvol</code>. 340 340 </p></li><li><p> 341 <a class="indexterm" name="id26453 47"></a>341 <a class="indexterm" name="id2645360"></a> 342 342 Now we should be ready to format the logical volume we named sh_test with <code class="literal">mkfs.xfs 343 343 /dev/shadowvol/sh_test</code> 344 344 </p><p> 345 <a class="indexterm" name="id2645364"></a>346 <a class="indexterm" name="id2645371"></a>347 345 <a class="indexterm" name="id2645378"></a> 348 <a class="indexterm" name="id264538 4"></a>346 <a class="indexterm" name="id2645385"></a> 349 347 <a class="indexterm" name="id2645391"></a> 348 <a class="indexterm" name="id2645398"></a> 349 <a class="indexterm" name="id2645405"></a> 350 350 You can format the logical volume with any file system you choose, but make sure to use one that allows you to 351 351 take advantage of the additional features of LVM such as freezing, resizing, and growing your file systems. 352 352 </p><p> 353 <a class="indexterm" name="id2645405"></a>354 <a class="indexterm" name="id2645412"></a>355 353 <a class="indexterm" name="id2645419"></a> 354 <a class="indexterm" name="id2645426"></a> 355 <a class="indexterm" name="id2645433"></a> 356 356 Now we have an LVM volume where we can play with the shadow_copy VFS module. 357 357 </p></li><li><p> 358 <a class="indexterm" name="id2645432"></a>359 <a class="indexterm" name="id2645438"></a>360 358 <a class="indexterm" name="id2645445"></a> 359 <a class="indexterm" name="id2645452"></a> 360 <a class="indexterm" name="id2645459"></a> 361 361 Now we need to prepare the directory with something like 362 362 </p><pre class="screen"> … … 367 367 once you get things working. 368 368 </p></li><li><p> 369 <a class="indexterm" name="id26454 79"></a>369 <a class="indexterm" name="id2645493"></a> 370 370 Mount the LVM volume using something like <code class="literal">mount /dev/shadowvol/sh_test /data/shadow_share</code> 371 371 </p><p> 372 <a class="indexterm" name="id2645 497"></a>372 <a class="indexterm" name="id2645510"></a> 373 373 You may also want to edit your <code class="filename">/etc/fstab</code> so that this partition mounts during the system boot. 374 374 </p></li></ul></div></li><li><p><b>Install & Configure the shadow_copy VFS Module. </b> … … 376 376 3.0.3 and higher. The smb.conf configuration is pretty standard. Here is our example of a share configured 377 377 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="id2645554"></a><em class="parameter"><code>comment = Shadow Copy Enabled Share</code></em></td></tr><tr><td><a class="indexterm" name="id2645566"></a><em class="parameter"><code>path = /data/shadow_share</code></em></td></tr><tr><td><a class="indexterm" name="id2645578"></a><em class="parameter"><code>vfs objects = shadow_copy</code></em></td></tr><tr><td><a class="indexterm" name="id2645590"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2645601"></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="id2645624"></a> 380 <a class="indexterm" name="id2645631"></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 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="id2645568"></a><em class="parameter"><code>comment = Shadow Copy Enabled Share</code></em></td></tr><tr><td><a class="indexterm" name="id2645580"></a><em class="parameter"><code>path = /data/shadow_share</code></em></td></tr><tr><td><a class="indexterm" name="id2645592"></a><em class="parameter"><code>vfs objects = shadow_copy</code></em></td></tr><tr><td><a class="indexterm" name="id2645603"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2645615"></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> 381 379 <a class="indexterm" name="id2645638"></a> 380 <a class="indexterm" name="id2645645"></a> 381 <a class="indexterm" name="id2645652"></a> 382 382 Before you can browse the shadow copies, you must create them and mount them. This will most likely be done 383 383 with a script that runs as a cron job. With this particular solution, the shadow_copy VFS module is used to … … 405 405 "properties." If anything has changed, then you will see it on the "Previous Versions" tab of the properties 406 406 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="id26457 07"></a>VFS Modules Available Elsewhere</h2></div></div></div><p>408 <a class="indexterm" name="id26457 15"></a>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="id2645720"></a>VFS Modules Available Elsewhere</h2></div></div></div><p> 408 <a class="indexterm" name="id2645729"></a> 409 409 This section contains a listing of various other VFS modules that have been posted but do not currently reside 410 410 in the Samba CVS tree for one reason or another (e.g., it is easy for the maintainer to have his or her own … … 412 412 </p><p> 413 413 No 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="id26457 32"></a>DatabaseFS</h3></div></div></div><p>415 <a class="indexterm" name="id26457 40"></a>414 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2645746"></a>DatabaseFS</h3></div></div></div><p> 415 <a class="indexterm" name="id2645753"></a> 416 416 URL: <a class="ulink" href="http://www.css.tayloru.edu/~elorimer/databasefs/index.php" target="_top"> 417 417 Taylors University DatabaeFS</a> … … 426 426 Any feedback would be appreciated: comments, suggestions, patches, and so on. If nothing else, it 427 427 might 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="id2645 792"></a>vscan</h3></div></div></div><a class="indexterm" name="id2645797"></a><p>URL: <a class="ulink" href="http://www.openantivirus.org/projects.php#samba-vscan" target="_top">428 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2645805"></a>vscan</h3></div></div></div><a class="indexterm" name="id2645811"></a><p>URL: <a class="ulink" href="http://www.openantivirus.org/projects.php#samba-vscan" target="_top"> 429 429 Open Anti-Virus vscan</a> 430 430 </p><p> 431 <a class="indexterm" name="id26458 18"></a>431 <a class="indexterm" name="id2645832"></a> 432 432 samba-vscan is a proof-of-concept module for Samba, which provides on-access anti-virus support for files 433 433 shared 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="id26458 31"></a>vscan-clamav</h3></div></div></div><p>434 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2645845"></a>vscan-clamav</h3></div></div></div><p> 435 435 Samba users have been using the RPMS from SerNet without a problem. 436 436 OpenSUSE Linux users have also used the vscan scanner for quite some time -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/apa.html
r149 r204 1 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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 2 <acronym class="acronym">GNU</acronym> 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="id2686 396"></a>Appendix 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" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2686410"></a>Appendix A. 4 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#id26864 24">A.5 </h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="bridgehead"><a href="apa.html#id2686438">A. 6 6 Preamble 7 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26865 69">A.7 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686583">A. 8 8 TERMS AND CONDITIONS 9 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26865 73">A.9 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686587">A. 10 10 0. Definitions. 11 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26866 65">A.11 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686679">A. 12 12 1. Source Code. 13 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26867 64">A.13 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686778">A. 14 14 2. Basic Permissions. 15 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26868 02">A.15 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686816">A. 16 16 3. Protecting Users’ Legal Rights From Anti-Circumvention Law. 17 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26868 38">A.17 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686852">A. 18 18 4. Conveying Verbatim Copies. 19 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26868 65">A.19 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686879">A. 20 20 5. Conveying Modified Source Versions. 21 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26869 61">A.21 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686975">A. 22 22 6. Conveying Non-Source Forms. 23 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26871 51">A.23 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687165">A. 24 24 7. Additional Terms. 25 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687 286">A.25 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687300">A. 26 26 8. Termination. 27 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26873 30">A.27 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687344">A. 28 28 9. Acceptance Not Required for Having Copies. 29 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26873 50">A.29 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687364">A. 30 30 10. Automatic Licensing of Downstream Recipients. 31 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26874 02">A.31 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687416">A. 32 32 11. Patents. 33 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26875 47">A.33 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687561">A. 34 34 12. No Surrender of Others’ Freedom. 35 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26875 69">A.35 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687583">A. 36 36 13. Use with the ???TITLE??? Affero General Public License. 37 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687 598">A.37 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687612">A. 38 38 14. Revised Versions of this License. 39 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26876 60">A.39 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687674">A. 40 40 15. Disclaimer of Warranty. 41 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687 686">A.41 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687700">A. 42 42 16. Limitation of Liability. 43 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26877 07">A.43 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687721">A. 44 44 17. Interpretation of Sections 15 and 16. 45 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26877 23">A.45 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687737">A. 46 46 END OF TERMS AND CONDITIONS 47 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26877 27">A.47 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687741">A. 48 48 How to Apply These Terms to Your New Programs 49 49 </a></span></dt></dl></div><p> … … 55 55 Everyone is permitted to copy and distribute verbatim copies of this license 56 56 document, but changing it is not allowed. 57 </p><h2><a name="id26864 24"></a>57 </p><h2><a name="id2686438"></a> 58 58 Preamble 59 59 </h2><p> … … 119 119 The precise terms and conditions for copying, distribution and modification 120 120 follow. 121 </p><h2><a name="id26865 69"></a>121 </p><h2><a name="id2686583"></a> 122 122 TERMS AND CONDITIONS 123 </h2><h2><a name="id26865 73"></a>123 </h2><h2><a name="id2686587"></a> 124 124 0. Definitions. 125 125 </h2><p> … … 163 163 a list of user commands or options, such as a menu, a prominent item in the 164 164 list meets this criterion. 165 </p><h2><a name="id26866 65"></a>165 </p><h2><a name="id2686679"></a> 166 166 1. Source Code. 167 167 </h2><p> … … 203 203 </p><p> 204 204 The Corresponding Source for a work in source code form is that same work. 205 </p><h2><a name="id26867 64"></a>205 </p><h2><a name="id2686778"></a> 206 206 2. Basic Permissions. 207 207 </h2><p> … … 228 228 conditions stated below. Sublicensing is not allowed; section 10 makes it 229 229 unnecessary. 230 </p><h2><a name="id26868 02"></a>230 </p><h2><a name="id2686816"></a> 231 231 3. Protecting Users’ Legal Rights From Anti-Circumvention Law. 232 232 </h2><p> … … 243 243 third parties’ legal rights to forbid circumvention of technological 244 244 measures. 245 </p><h2><a name="id26868 38"></a>245 </p><h2><a name="id2686852"></a> 246 246 4. Conveying Verbatim Copies. 247 247 </h2><p> … … 256 256 You may charge any price or no price for each copy that you convey, and you 257 257 may offer support or warranty protection for a fee. 258 </p><h2><a name="id26868 65"></a>258 </p><h2><a name="id2686879"></a> 259 259 5. Conveying Modified Source Versions. 260 260 </h2><p> … … 292 292 permit. Inclusion of a covered work in an aggregate does not cause 293 293 this License to apply to the other parts of the aggregate. 294 </p><h2><a name="id26869 61"></a>294 </p><h2><a name="id2686975"></a> 295 295 6. Conveying Non-Source Forms. 296 296 </h2><p> … … 387 387 and must require no special password or key for unpacking, reading or 388 388 copying. 389 </p><h2><a name="id26871 51"></a>389 </p><h2><a name="id2687165"></a> 390 390 7. Additional Terms. 391 391 </h2><p> … … 451 451 of a separately written license, or stated as exceptions; the above 452 452 requirements apply either way. 453 </p><h2><a name="id2687 286"></a>453 </p><h2><a name="id2687300"></a> 454 454 8. Termination. 455 455 </h2><p> … … 477 477 reinstated, you do not qualify to receive new licenses for the same 478 478 material under section 10. 479 </p><h2><a name="id26873 30"></a>479 </p><h2><a name="id2687344"></a> 480 480 9. Acceptance Not Required for Having Copies. 481 481 </h2><p> … … 488 488 Therefore, by modifying or propagating a covered work, you indicate your 489 489 acceptance of this License to do so. 490 </p><h2><a name="id26873 50"></a>490 </p><h2><a name="id2687364"></a> 491 491 10. Automatic Licensing of Downstream Recipients. 492 492 </h2><p> … … 513 513 by making, using, selling, offering for sale, or importing the Program or 514 514 any portion of it. 515 </p><h2><a name="id26874 02"></a>515 </p><h2><a name="id2687416"></a> 516 516 11. Patents. 517 517 </h2><p> … … 580 580 implied license or other defenses to infringement that may otherwise be 581 581 available to you under applicable patent law. 582 </p><h2><a name="id26875 47"></a>582 </p><h2><a name="id2687561"></a> 583 583 12. No Surrender of Others’ Freedom. 584 584 </h2><p> … … 592 592 Program, the only way you could satisfy both those terms and this License 593 593 would be to refrain entirely from conveying the Program. 594 </p><h2><a name="id26875 69"></a>594 </p><h2><a name="id2687583"></a> 595 595 13. Use with the <acronym class="acronym">GNU</acronym> Affero General Public License. 596 596 </h2><p> … … 603 603 section 13, concerning interaction through a network will apply to the 604 604 combination as such. 605 </p><h2><a name="id2687 598"></a>605 </p><h2><a name="id2687612"></a> 606 606 14. Revised Versions of this License. 607 607 </h2><p> … … 628 628 However, no additional obligations are imposed on any author or copyright 629 629 holder as a result of your choosing to follow a later version. 630 </p><h2><a name="id26876 60"></a>630 </p><h2><a name="id2687674"></a> 631 631 15. Disclaimer of Warranty. 632 632 </h2><p> … … 639 639 YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL 640 640 NECESSARY SERVICING, REPAIR OR CORRECTION. 641 </p><h2><a name="id2687 686"></a>641 </p><h2><a name="id2687700"></a> 642 642 16. Limitation of Liability. 643 643 </h2><p> … … 651 651 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 652 652 SUCH DAMAGES. 653 </p><h2><a name="id26877 07"></a>653 </p><h2><a name="id2687721"></a> 654 654 17. Interpretation of Sections 15 and 16. 655 655 </h2><p> … … 660 660 warranty or assumption of liability accompanies a copy of the Program in 661 661 return for a fee. 662 </p><h2><a name="id26877 23"></a>662 </p><h2><a name="id2687737"></a> 663 663 END OF TERMS AND CONDITIONS 664 </h2><h2><a name="id26877 27"></a>664 </h2><h2><a name="id2687741"></a> 665 665 How to Apply These Terms to Your New Programs 666 666 </h2><p> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/bugreport.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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#id26790 08">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679097">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#id2679333">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2679534">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679668">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679792">Patches</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2679008"></a>Introduction</h2></div></div></div><p>2 <a class="indexterm" name="id26790 16"></a>3 <a class="indexterm" name="id26790 22"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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#id2679022">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679111">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#id2679347">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2679548">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679682">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679806">Patches</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2679022"></a>Introduction</h2></div></div></div><p> 2 <a class="indexterm" name="id2679030"></a> 3 <a class="indexterm" name="id2679036"></a> 4 4 Please report bugs using Samba's <a class="ulink" href="https://bugzilla.samba.org/" target="_top">Bugzilla</a> facilities and take 5 5 the time to read this file before you submit a bug report. Also, check to see if it has changed between … … 13 13 us fix it fast. 14 14 </p><p> 15 <a class="indexterm" name="id2679055"></a>16 <a class="indexterm" name="id2679062"></a>17 15 <a class="indexterm" name="id2679069"></a> 16 <a class="indexterm" name="id2679076"></a> 17 <a class="indexterm" name="id2679083"></a> 18 18 If you post the bug to the comp.protocols.smb 19 19 newsgroup or the mailing list, do not assume that we will read it. If you suspect that your … … 25 25 which are conveniently accessible on the Samba Web pages 26 26 at <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="id2679 097"></a>General Information</h2></div></div></div><p>27 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2679111"></a>General Information</h2></div></div></div><p> 28 28 Before submitting a bug report, check your config for silly 29 29 errors. Look in your log files for obvious messages that tell … … 43 43 detail but may use too much disk space. 44 44 </p><p> 45 <a class="indexterm" name="id26791 49"></a>46 <a class="indexterm" name="id26791 56"></a>45 <a class="indexterm" name="id2679163"></a> 46 <a class="indexterm" name="id2679169"></a> 47 47 To set the debug level, use the <a class="link" href="smb.conf.5.html#LOGLEVEL">log level</a> in your 48 48 <code class="filename">smb.conf</code>. You may also find it useful to set the log 49 49 level higher for just one machine and keep separate logs for each machine. 50 50 To 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="id2679 196"></a><em class="parameter"><code>log level = 10</code></em></td></tr><tr><td><a class="indexterm" name="id2679208"></a><em class="parameter"><code>log file = /usr/local/samba/lib/log.%m</code></em></td></tr><tr><td><a class="indexterm" name="id2679219"></a><em class="parameter"><code>include = /usr/local/samba/lib/smb.conf.%m</code></em></td></tr></table><p>51 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2679210"></a><em class="parameter"><code>log level = 10</code></em></td></tr><tr><td><a class="indexterm" name="id2679221"></a><em class="parameter"><code>log file = /usr/local/samba/lib/log.%m</code></em></td></tr><tr><td><a class="indexterm" name="id2679233"></a><em class="parameter"><code>include = /usr/local/samba/lib/smb.conf.%m</code></em></td></tr></table><p> 52 52 and create a file <code class="filename">/usr/local/samba/lib/smb.conf.<em class="replaceable"><code>machine</code></em></code> where 53 53 <em class="replaceable"><code>machine</code></em> is the name of the client you wish to debug. In that file put any … … 62 62 <code class="constant">3</code>. Nearly all bugs can be tracked at a setting of <code class="constant">10</code>, but be 63 63 prepared for a large volume of log data. 64 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2679333"></a>Debugging-Specific Operations</h3></div></div></div><p> 65 <a class="indexterm" name="id2679341"></a> 66 <a class="indexterm" name="id2679347"></a> 67 <a class="indexterm" name="id2679354"></a> 64 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2679347"></a>Debugging-Specific Operations</h3></div></div></div><p> 65 <a class="indexterm" name="id2679355"></a> 68 66 <a class="indexterm" name="id2679361"></a> 67 <a class="indexterm" name="id2679368"></a> 68 <a class="indexterm" name="id2679375"></a> 69 69 Samba-3.x permits debugging (logging) of specific functional components without unnecessarily 70 70 cluttering the log files with detailed logs for all operations. An example configuration to 71 71 achieve this is shown in: 72 72 </p><p> 73 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26793 80"></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="id2679392"></a><em class="parameter"><code>max log size = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2679403"></a><em class="parameter"><code>log file = /var/log/samba/%U.%m.log</code></em></td></tr></table><p>73 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2679394"></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="id2679406"></a><em class="parameter"><code>max log size = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2679417"></a><em class="parameter"><code>log file = /var/log/samba/%U.%m.log</code></em></td></tr></table><p> 74 74 </p><p> 75 75 This will cause the level of detail to be expanded to the debug class (log level) passed to … … 78 78 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> 79 79 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="id26795 34"></a>Internal Errors</h2></div></div></div><p>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="id2679548"></a>Internal Errors</h2></div></div></div><p> 81 81 If you get the message “<span class="quote"><span class="errorname">INTERNAL ERROR</span></span>” in your log files, 82 82 it means that Samba got an unexpected signal while running. It is probably a … … 92 92 possible. Please make this reasonably detailed. 93 93 </p><p> 94 <a class="indexterm" name="id26795 67"></a>94 <a class="indexterm" name="id2679581"></a> 95 95 You may also find that a core file appeared in a <code class="filename">corefiles</code> 96 96 subdirectory of the directory where you keep your Samba log 97 97 files. This file is the most useful tool for tracking down the bug. To 98 98 use it, you do this: 99 <a class="indexterm" name="id26795 83"></a>100 <a class="indexterm" name="id2679 589"></a>99 <a class="indexterm" name="id2679597"></a> 100 <a class="indexterm" name="id2679603"></a> 101 101 </p><pre class="screen"> 102 102 <code class="prompt">$ </code><strong class="userinput"><code>gdb smbd core</code></strong> 103 103 </pre><p> 104 104 </p><p> 105 <a class="indexterm" name="id26796 15"></a>106 <a class="indexterm" name="id26796 22"></a>105 <a class="indexterm" name="id2679629"></a> 106 <a class="indexterm" name="id2679636"></a> 107 107 adding appropriate paths to smbd and core so gdb can find them. If you 108 108 do not have gdb, try <strong class="userinput"><code>dbx</code></strong>. Then within the debugger, … … 110 110 problem occurred. Include this in your report. 111 111 </p><p> 112 <a class="indexterm" name="id26796 47"></a>112 <a class="indexterm" name="id2679661"></a> 113 113 If you know any assembly language, do a <code class="literal">disass</code> of the routine 114 114 where the problem occurred (if it's in a library routine, then … … 117 117 do not know assembly, including this information in the bug report can be 118 118 useful. 119 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26796 68"></a>Attaching to a Running Process</h2></div></div></div><p>120 <a class="indexterm" name="id26796 76"></a>121 <a class="indexterm" name="id26796 82"></a>122 <a class="indexterm" name="id2679 689"></a>119 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2679682"></a>Attaching to a Running Process</h2></div></div></div><p> 120 <a class="indexterm" name="id2679690"></a> 121 <a class="indexterm" name="id2679696"></a> 122 <a class="indexterm" name="id2679703"></a> 123 123 Unfortunately, some UNIXes (in particular some recent Linux kernels) 124 124 refuse to dump a core file if the task has changed UID (which smbd … … 146 146 <code class="prompt">root# </code> gdb /usr/local/samba/sbin/smbd 147 147 </pre><p> 148 <a class="indexterm" name="id26797 74"></a>148 <a class="indexterm" name="id2679788"></a> 149 149 then “<span class="quote">attach `pid'</span>” (of the spinning process), then type “<span class="quote">bt</span>” to 150 150 get 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="id2679 792"></a>Patches</h2></div></div></div><p>152 <a class="indexterm" name="id26798 00"></a>153 <a class="indexterm" name="id26798 07"></a>151 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2679806"></a>Patches</h2></div></div></div><p> 152 <a class="indexterm" name="id2679814"></a> 153 <a class="indexterm" name="id2679821"></a> 154 154 The best sort of bug report is one that includes a fix! If you send us 155 155 patches, please use <strong class="userinput"><code>diff -u</code></strong> format if your version of -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/cfgsmarts.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id26668 81">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2668301">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26667 25"></a>3 <a class="indexterm" name="id26667 32"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2666894">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2668315">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2666738"></a> 3 <a class="indexterm" name="id2666745"></a> 4 4 Since the release of the first edition of this book there have been repeated requests to better document 5 5 configuration techniques that may help a network administrator to get more out of Samba. Some users have asked 6 6 for documentation regarding the use of the <a class="link" href="smb.conf.5.html#INCLUDE">include = file-name</a> parameter. 7 7 </p><p> 8 <a class="indexterm" name="id26667 59"></a>9 <a class="indexterm" name="id26667 66"></a>8 <a class="indexterm" name="id2666773"></a> 9 <a class="indexterm" name="id2666780"></a> 10 10 Commencing around mid-2004 there has been increasing interest in the ability to host multiple Samba servers on 11 11 one machine. There has also been an interest in the hosting of multiple Samba server personalities on one 12 12 server. 13 13 </p><p> 14 <a class="indexterm" name="id26667 80"></a>15 <a class="indexterm" name="id2666 787"></a>14 <a class="indexterm" name="id2666794"></a> 15 <a class="indexterm" name="id2666801"></a> 16 16 Feedback from technical reviewers made the inclusion of this chapter a necessity. So, here is an 17 17 answer the questions that have to date not been adequately addressed. Additional user input is welcome as 18 18 it will help this chapter to mature. What is presented here is just a small beginning. 19 19 </p><p> 20 <a class="indexterm" name="id2666802"></a>21 <a class="indexterm" name="id2666809"></a>22 20 <a class="indexterm" name="id2666816"></a> 21 <a class="indexterm" name="id2666823"></a> 22 <a class="indexterm" name="id2666830"></a> 23 23 There are a number of ways in which multiple servers can be hosted on a single Samba server. Multiple server 24 24 hosting makes it possible to host multiple domain controllers on one machine. Each such machine is 25 25 independent, and each can be stopped or started without affecting another. 26 26 </p><p> 27 <a class="indexterm" name="id26668 31"></a>28 <a class="indexterm" name="id26668 38"></a>29 <a class="indexterm" name="id26668 44"></a>27 <a class="indexterm" name="id2666845"></a> 28 <a class="indexterm" name="id2666852"></a> 29 <a class="indexterm" name="id2666858"></a> 30 30 Sometimes it is desirable to host multiple servers, each with its own security mode. For example, a single 31 31 UNIX/Linux host may be a domain member server (DMS) as well as a generic anonymous print server. In this case, … … 34 34 is to host a CDROM server. 35 35 </p><p> 36 <a class="indexterm" name="id26668 62"></a>37 <a class="indexterm" name="id26668 69"></a>36 <a class="indexterm" name="id2666876"></a> 37 <a class="indexterm" name="id2666883"></a> 38 38 Some environments dictate the need to have separate servers, each with their own resources, each of which are 39 39 accessible only by certain users or groups. This is one of the simple, but highly effective, ways that Samba 40 40 can 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="id2666881"></a>Implementation</h2></div></div></div><p> 42 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2666890"></a>Multiple Server Hosting</h3></div></div></div><p> 43 <a class="indexterm" name="id2666898"></a> 44 <a class="indexterm" name="id2666905"></a> 45 <a class="indexterm" name="id2666912"></a> 41 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666894"></a>Implementation</h2></div></div></div><p> 42 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2666903"></a>Multiple Server Hosting</h3></div></div></div><p> 43 <a class="indexterm" name="id2666911"></a> 46 44 <a class="indexterm" name="id2666918"></a> 47 45 <a class="indexterm" name="id2666925"></a> 48 46 <a class="indexterm" name="id2666932"></a> 49 47 <a class="indexterm" name="id2666939"></a> 48 <a class="indexterm" name="id2666946"></a> 49 <a class="indexterm" name="id2666953"></a> 50 50 The use of multiple server hosting involves running multiple separate instances of Samba, each with it's own 51 51 configuration 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> … … 55 55 <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. 56 56 </p><p> 57 <a class="indexterm" name="id2667022"></a>58 <a class="indexterm" name="id2667028"></a>59 57 <a class="indexterm" name="id2667035"></a> 60 58 <a class="indexterm" name="id2667042"></a> 59 <a class="indexterm" name="id2667049"></a> 60 <a class="indexterm" name="id2667056"></a> 61 61 Each instance should operate on its own IP address (that independent IP address can be an IP Alias). 62 62 Each 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 … … 64 64 own SID also, this means that the servers are discrete and independent of each other. 65 65 </p><p> 66 <a class="indexterm" name="id2667088"></a>67 <a class="indexterm" name="id2667095"></a>68 66 <a class="indexterm" name="id2667102"></a> 69 67 <a class="indexterm" name="id2667109"></a> 70 <a class="indexterm" name="id266711 6"></a>68 <a class="indexterm" name="id2667115"></a> 71 69 <a class="indexterm" name="id2667122"></a> 72 70 <a class="indexterm" name="id2667129"></a> 73 71 <a class="indexterm" name="id2667136"></a> 74 72 <a class="indexterm" name="id2667143"></a> 73 <a class="indexterm" name="id2667150"></a> 74 <a class="indexterm" name="id2667157"></a> 75 75 The user of multiple server hosting is non-trivial, and requires careful configuration of each aspect of 76 76 process management and start up. The <code class="filename">smb.conf</code> parameters that must be carefully configured includes: 77 77 <a class="link" href="smb.conf.5.html#PRIVATEDIR">private dir</a>, <a class="link" href="smb.conf.5.html#PIDDIRECTORY">pid directory</a>,<a class="link" href="smb.conf.5.html#LOCKDIRECTORY">lock directory</a>, <a class="link" href="smb.conf.5.html#INTERFACES">interfaces</a>, <a class="link" href="smb.conf.5.html#BINDINTERFACESONLY">bind interfaces only</a>, <a class="link" href="smb.conf.5.html#NETBIOSNAME">netbios name</a>, <a class="link" href="smb.conf.5.html#WORKGROUP">workgroup</a>, <a class="link" href="smb.conf.5.html#SOCKETADDRESS">socket address</a>. 78 78 </p><p> 79 <a class="indexterm" name="id2667255"></a>80 <a class="indexterm" name="id2667262"></a>81 79 <a class="indexterm" name="id2667269"></a> 80 <a class="indexterm" name="id2667276"></a> 81 <a class="indexterm" name="id2667282"></a> 82 82 Those who elect to create multiple Samba servers should have the ability to read and follow 83 83 the Samba source code, and to modify it as needed. This mode of deployment is considered beyond the scope of … … 85 85 if it is suitable extend this section of this chapter. Until such documentation becomes available the hosting 86 86 of 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="id2667287"></a>Multiple Virtual Server Personalities</h3></div></div></div><p> 88 <a class="indexterm" name="id2667294"></a> 89 <a class="indexterm" name="id2667301"></a> 87 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2667300"></a>Multiple Virtual Server Personalities</h3></div></div></div><p> 90 88 <a class="indexterm" name="id2667308"></a> 89 <a class="indexterm" name="id2667315"></a> 90 <a class="indexterm" name="id2667322"></a> 91 91 Samba has the ability to host multiple virtual servers, each of which have their own personality. This is 92 92 achieved by configuring an <code class="filename">smb.conf</code> file that is common to all personalities hosted. Each server … … 94 94 <a class="link" href="smb.conf.5.html#%5BGLOBAL%5D">[global]</a> section. Each server may have its own stanzas for services and meta-services. 95 95 </p><p> 96 <a class="indexterm" name="id26673 56"></a>97 <a class="indexterm" name="id26673 62"></a>98 <a class="indexterm" name="id26673 69"></a>96 <a class="indexterm" name="id2667370"></a> 97 <a class="indexterm" name="id2667376"></a> 98 <a class="indexterm" name="id2667383"></a> 99 99 When hosting multiple virtual servers, each with their own personality, each can be in a different workgroup. 100 100 Only the primary server can be a domain member or a domain controller. The personality is defined by the 101 101 combination of the <a class="link" href="smb.conf.5.html#SECURITY">security</a> mode it is operating in, the <a class="link" href="smb.conf.5.html#NETBIOSALIASES">netbios aliases</a> it has, and the <a class="link" href="smb.conf.5.html#WORKGROUP">workgroup</a> that is defined for it. 102 102 </p><p> 103 <a class="indexterm" name="id2667419"></a> 104 <a class="indexterm" name="id2667425"></a> 105 <a class="indexterm" name="id2667432"></a> 103 <a class="indexterm" name="id2667433"></a> 106 104 <a class="indexterm" name="id2667439"></a> 107 105 <a class="indexterm" name="id2667446"></a> 108 106 <a class="indexterm" name="id2667453"></a> 107 <a class="indexterm" name="id2667460"></a> 108 <a class="indexterm" name="id2667467"></a> 109 109 This configuration style can be used either with NetBIOS names, or using NetBIOS-less SMB over TCP services. 110 110 If run using NetBIOS mode (the most common method) it is important that the parameter <a class="link" href="smb.conf.5.html#SMBPORTS">smb ports = 139</a> should be specified in the primary <code class="filename">smb.conf</code> file. Failure to do this will result … … 115 115 is not serviceable. 116 116 </p><p> 117 <a class="indexterm" name="id26675 32"></a>118 <a class="indexterm" name="id26675 39"></a>119 <a class="indexterm" name="id26675 46"></a>120 <a class="indexterm" name="id26675 53"></a>117 <a class="indexterm" name="id2667545"></a> 118 <a class="indexterm" name="id2667552"></a> 119 <a class="indexterm" name="id2667560"></a> 120 <a class="indexterm" name="id2667566"></a> 121 121 It is possible to host multiple servers, each with their own personality, using port 445 (the NetBIOS-less SMB 122 122 port), in which case the <code class="literal">%i</code> macro can be used to provide separate server identities (by … … 126 126 more complex than that using NetBIOS names only using TCP port 139. 127 127 </p><p> 128 <a class="indexterm" name="id26676 20"></a>128 <a class="indexterm" name="id2667634"></a> 129 129 Consider an example environment that consists of a standalone, user-mode security Samba server and a read-only 130 130 Windows 95 file server that has to be replaced. Instead of replacing the Windows 95 machine with a new PC, it … … 136 136 possible implementation is shown here: 137 137 </p><p> 138 <a class="indexterm" name="id2667664"></a>139 <a class="indexterm" name="id2667671"></a>140 138 <a class="indexterm" name="id2667678"></a> 141 139 <a class="indexterm" name="id2667685"></a> 140 <a class="indexterm" name="id2667692"></a> 141 <a class="indexterm" name="id2667699"></a> 142 142 The <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>. 143 143 This 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 … … 146 146 clients that must access this server are also in the workgroup <code class="literal">ROBINSNEST</code> as this will make 147 147 browsing 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="id26677 75"></a><em class="parameter"><code>workgroup = ROBINSNEST</code></em></td></tr><tr><td><a class="indexterm" name="id2667787"></a><em class="parameter"><code>netbios name = ELASTIC</code></em></td></tr><tr><td><a class="indexterm" name="id2667799"></a><em class="parameter"><code>netbios aliases = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2667811"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2667822"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2667834"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2667846"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2667858"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2667870"></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="id2667890"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2667902"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2667914"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2667925"></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="id2667946"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2667958"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2667969"></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="id2667990"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2668001"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2668013"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2668025"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668036"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668048"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668060"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p>149 <a class="indexterm" name="id26680 75"></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 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="id2667789"></a><em class="parameter"><code>workgroup = ROBINSNEST</code></em></td></tr><tr><td><a class="indexterm" name="id2667801"></a><em class="parameter"><code>netbios name = ELASTIC</code></em></td></tr><tr><td><a class="indexterm" name="id2667813"></a><em class="parameter"><code>netbios aliases = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2667824"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2667836"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2667848"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2667860"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2667872"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2667884"></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="id2667904"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2667916"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2667928"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2667939"></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="id2667960"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2667971"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2667983"></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="id2668004"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2668015"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2668027"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2668039"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668050"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668062"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668074"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p> 149 <a class="indexterm" name="id2668088"></a> 150 150 The 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 151 151 smb-cdserver.conf file</a>. This file is called <code class="filename">smb-cdserver.conf</code> and it should be 152 152 located in the <code class="filename">/etc/samba</code> directory. Machines that are in the workgroup 153 153 <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="id2668140"></a><em class="parameter"><code>workgroup = ARTSDEPT</code></em></td></tr><tr><td><a class="indexterm" name="id2668152"></a><em class="parameter"><code>netbios name = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2668164"></a><em class="parameter"><code>map to guest = Bad User</code></em></td></tr><tr><td><a class="indexterm" name="id2668176"></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="id2668196"></a><em class="parameter"><code>comment = CDROM Share</code></em></td></tr><tr><td><a class="indexterm" name="id2668208"></a><em class="parameter"><code>path = /export/cddata</code></em></td></tr><tr><td><a class="indexterm" name="id2668220"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668231"></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="id2668246"></a> 156 <a class="indexterm" name="id2668253"></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 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="id2668154"></a><em class="parameter"><code>workgroup = ARTSDEPT</code></em></td></tr><tr><td><a class="indexterm" name="id2668166"></a><em class="parameter"><code>netbios name = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2668178"></a><em class="parameter"><code>map to guest = Bad User</code></em></td></tr><tr><td><a class="indexterm" name="id2668190"></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="id2668210"></a><em class="parameter"><code>comment = CDROM Share</code></em></td></tr><tr><td><a class="indexterm" name="id2668222"></a><em class="parameter"><code>path = /export/cddata</code></em></td></tr><tr><td><a class="indexterm" name="id2668234"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668245"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><p> 157 155 <a class="indexterm" name="id2668260"></a> 158 156 <a class="indexterm" name="id2668267"></a> 157 <a class="indexterm" name="id2668274"></a> 158 <a class="indexterm" name="id2668281"></a> 159 159 The two servers have different resources and are in separate workgroups. The server <code class="literal">ELASTIC</code> 160 160 can only be accessed by uses who have an appropriate account on the host server. All users will be able to … … 162 162 permissions should set so that the <code class="literal">others</code> user has read-only access to the directory and its 163 163 contents. 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="id2668301"></a>Multiple Virtual Server Hosting</h3></div></div></div><p> 165 <a class="indexterm" name="id2668309"></a> 166 <a class="indexterm" name="id2668316"></a> 164 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2668315"></a>Multiple Virtual Server Hosting</h3></div></div></div><p> 167 165 <a class="indexterm" name="id2668323"></a> 166 <a class="indexterm" name="id2668330"></a> 167 <a class="indexterm" name="id2668337"></a> 168 168 In this example, the requirement is for a primary domain controller for the domain called 169 169 <code class="literal">MIDEARTH</code>. The PDC will be called <code class="literal">MERLIN</code>. An extra machine called … … 171 171 same domain/workgroup. 172 172 </p><p> 173 <a class="indexterm" name="id2668355"></a>174 <a class="indexterm" name="id2668362"></a>175 173 <a class="indexterm" name="id2668369"></a> 174 <a class="indexterm" name="id2668376"></a> 175 <a class="indexterm" name="id2668383"></a> 176 176 The 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>. 177 177 The 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 178 178 smb-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 179 179 Section</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="id26684 44"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2668456"></a><em class="parameter"><code>netbios name = MERLIN</code></em></td></tr><tr><td><a class="indexterm" name="id2668468"></a><em class="parameter"><code>netbios aliases = SAURON</code></em></td></tr><tr><td><a class="indexterm" name="id2668480"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2668492"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2668503"></a><em class="parameter"><code>syslog = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2668515"></a><em class="parameter"><code>printcap name = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2668527"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2668539"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2668551"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2668563"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2668575"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2668588"></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="id2668600"></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="id2668613"></a><em class="parameter"><code>logon script = scripts\login.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2668625"></a><em class="parameter"><code>logon path = </code></em></td></tr><tr><td><a class="indexterm" name="id2668636"></a><em class="parameter"><code>logon drive = X:</code></em></td></tr><tr><td><a class="indexterm" name="id2668648"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668660"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668672"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668683"></a><em class="parameter"><code>printing = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2668695"></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="id2668736"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2668747"></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="id2668768"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2668780"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2668792"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2668803"></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="id2668824"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2668835"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2668847"></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="id2668867"></a><em class="parameter"><code>comment = NETLOGON</code></em></td></tr><tr><td><a class="indexterm" name="id2668879"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2668891"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668902"></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="id2668923"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2668935"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2668946"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668958"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668970"></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="id2669010"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2669022"></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="id2669043"></a><em class="parameter"><code>comment = Web Pages</code></em></td></tr><tr><td><a class="indexterm" name="id2669054"></a><em class="parameter"><code>path = /srv/www/htdocs</code></em></td></tr><tr><td><a class="indexterm" name="id2669066"></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 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="id2668458"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2668470"></a><em class="parameter"><code>netbios name = MERLIN</code></em></td></tr><tr><td><a class="indexterm" name="id2668482"></a><em class="parameter"><code>netbios aliases = SAURON</code></em></td></tr><tr><td><a class="indexterm" name="id2668494"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2668506"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2668517"></a><em class="parameter"><code>syslog = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2668529"></a><em class="parameter"><code>printcap name = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2668540"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2668553"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2668565"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2668577"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2668589"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2668601"></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="id2668614"></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="id2668627"></a><em class="parameter"><code>logon script = scripts\login.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2668639"></a><em class="parameter"><code>logon path = </code></em></td></tr><tr><td><a class="indexterm" name="id2668650"></a><em class="parameter"><code>logon drive = X:</code></em></td></tr><tr><td><a class="indexterm" name="id2668662"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668674"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668686"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668697"></a><em class="parameter"><code>printing = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2668709"></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="id2668750"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2668761"></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="id2668782"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2668794"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2668805"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2668817"></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="id2668838"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2668849"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2668861"></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="id2668881"></a><em class="parameter"><code>comment = NETLOGON</code></em></td></tr><tr><td><a class="indexterm" name="id2668893"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2668905"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668916"></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="id2668937"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2668949"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2668960"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668972"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668984"></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="id2669024"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2669036"></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="id2669057"></a><em class="parameter"><code>comment = Web Pages</code></em></td></tr><tr><td><a class="indexterm" name="id2669068"></a><em class="parameter"><code>path = /srv/www/htdocs</code></em></td></tr><tr><td><a class="indexterm" name="id2669080"></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.2.x/docs/htmldocs/Samba3-HOWTO/ch-ldap-tls.html
r149 r204 1 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Henry</span></h3><div class="affiliation"><span class="orgname">Suretec Systems Limited, UK<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:ghenry@suretecsystems.com">ghenry@suretecsystems.com</a>></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="id26844 08"></a>3 <a class="indexterm" name="id26844 18"></a>2 <a class="indexterm" name="id2684422"></a> 3 <a class="indexterm" name="id2684432"></a> 4 4 Up until now, we have discussed the straightforward configuration of <span class="trademark">OpenLDAP</span>™, 5 5 with some advanced features such as ACLs. This does not however, deal with the fact that the network … … 7 7 comes in. 8 8 </p><p> 9 <a class="indexterm" name="id26844 41"></a>9 <a class="indexterm" name="id2684455"></a> 10 10 <span class="trademark">OpenLDAP</span>™ clients and servers are capable of using the Transport Layer Security (TLS) 11 11 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): 12 12 Extension for Transport Layer Security.</em></span> 13 13 </p><p> 14 <a class="indexterm" name="id26844 71"></a>14 <a class="indexterm" name="id2684485"></a> 15 15 TLS uses X.509 certificates. All servers are required to have valid certificates, whereas client certificates 16 16 are optional. We will only be discussing server certificates. 17 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="id26844 85"></a>19 <a class="indexterm" name="id2684 492"></a>20 <a class="indexterm" name="id2684 498"></a>18 <a class="indexterm" name="id2684499"></a> 19 <a class="indexterm" name="id2684506"></a> 20 <a class="indexterm" name="id2684512"></a> 21 21 The DN of a server certificate must use the CN attribute to name the server, and the CN must carry the 22 22 server's fully qualified domain name (FQDN). Additional alias names and wildcards may be present in the … … 25 25 We will discuss this more in the next sections. 26 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="id26845 38"></a>27 <a class="indexterm" name="id2684552"></a> 28 28 Now on to the good bit. 29 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="id26845 61"></a>30 <a class="indexterm" name="id2684575"></a> 31 31 In order to create the relevant certificates, we need to become our own Certificate Authority (CA). 32 <sup>[<a name="id26845 71" href="#ftn.id2684571" class="footnote">8</a>]</sup> This is necessary, so we can sign the server certificate.33 </p><p> 34 <a class="indexterm" name="id26846 01"></a>35 We will be using the <a class="ulink" href="http://www.openssl.org" target="_top">OpenSSL</a> <sup>[<a name="id26846 14" href="#ftn.id2684614" 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="id26846 32" href="#ftn.id2684632" class="footnote">10</a>]</sup> presented here, are tailored for <span class="application">OpenLDAP</span>.32 <sup>[<a name="id2684585" href="#ftn.id2684585" class="footnote">8</a>]</sup> This is necessary, so we can sign the server certificate. 33 </p><p> 34 <a class="indexterm" name="id2684615"></a> 35 We will be using the <a class="ulink" href="http://www.openssl.org" target="_top">OpenSSL</a> <sup>[<a name="id2684628" href="#ftn.id2684628" 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="id2684646" href="#ftn.id2684646" class="footnote">10</a>]</sup> presented here, are tailored for <span class="application">OpenLDAP</span>. 38 38 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 39 39 The <span class="emphasis"><em>Common Name (CN)</em></span>, in the following example, <span class="emphasis"><em>MUST</em></span> be … … 52 52 </code> 53 53 </pre><p> 54 Now generate the CA:<sup>[<a name="id26847 08" href="#ftn.id2684708" class="footnote">11</a>]</sup>54 Now generate the CA:<sup>[<a name="id2684722" href="#ftn.id2684722" class="footnote">11</a>]</sup> 55 55 </p><pre class="screen"> 56 56 <code class="computeroutput"> … … 210 210 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 “Testing”</a> 211 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="id26851 15"></a>212 <a class="indexterm" name="id2685129"></a> 213 213 This is the easy part. Restart the server: 214 214 </p><pre class="screen"> … … 221 221 </pre><p> 222 222 Then, using <code class="literal">ldapsearch</code>, test an anonymous search with the 223 <code class="option">-ZZ</code><sup>[<a name="id26851 57" href="#ftn.id2685157" class="footnote">12</a>]</sup> option:223 <code class="option">-ZZ</code><sup>[<a name="id2685171" href="#ftn.id2685171" class="footnote">12</a>]</sup> option: 224 224 </p><pre class="screen"> 225 225 <code class="computeroutput"> … … 266 266 If you have any problems, please read <a class="xref" href="ch-ldap-tls.html#s1-int-ldap-tls" title="Troubleshooting">the section called “Troubleshooting”</a> 267 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="id26852 55"></a>268 <a class="indexterm" name="id2685269"></a> 269 269 The most common error when configuring TLS, as I have already mentioned numerous times, is that the 270 270 <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 “Generating the Server Certificate”</a> is … … 276 276 </p><p> 277 277 For 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.id26845 71" href="#id2684571" 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>, which278 </p></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2684585" href="#id2684585" 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 279 279 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.id26846 14" href="#id2684614" class="para">9</a>] </sup>The downside to280 </p></div><div class="footnote"><p><sup>[<a name="ftn.id2684628" href="#id2684628" class="para">9</a>] </sup>The downside to 281 281 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.id26846 32" href="#id2684632" class="para">10</a>] </sup>For information straight from the282 ones are.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2684646" href="#id2684646" class="para">10</a>] </sup>For information straight from the 283 283 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.id26847 08" href="#id2684708" class="para">11</a>] </sup>Your <code class="filename">CA.pl</code> or <code class="filename">CA.sh</code> might not be284 site.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2684722" href="#id2684722" class="para">11</a>] </sup>Your <code class="filename">CA.pl</code> or <code class="filename">CA.sh</code> might not be 285 285 in the same location as mine is, you can find it by using the <code class="literal">locate</code> command, i.e., 286 286 <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.id26851 57" href="#id2685157" 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.id2685171" href="#id2685171" 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.2.x/docs/htmldocs/Samba3-HOWTO/ch47.html
r203 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="id26853 36"></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#id2685467">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2685685">Commercial Support</a></span></dt></dl></div><p>2 <a class="indexterm" name="id26853 46"></a>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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="id2685350"></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#id2685480">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2685699">Commercial Support</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2685360"></a> 3 3 One of the most difficult to answer questions in the information technology industry is, “<span class="quote">What is 4 4 support?</span>”. That question irritates some folks, as much as common answers may annoy others. 5 5 </p><p> 6 <a class="indexterm" name="id26853 62"></a>6 <a class="indexterm" name="id2685376"></a> 7 7 The most aggravating situation pertaining to support is typified when, as a Linux user, a call is made to 8 8 an Internet service provider who, instead of listening to the problem to find a solution, blandly replies: … … 16 16 inconvenience, loss of productivity, disorientation, uncertainty, and real or perceived risk. 17 17 </p><p> 18 <a class="indexterm" name="id2685393"></a>19 <a class="indexterm" name="id2685400"></a>20 18 <a class="indexterm" name="id2685407"></a> 19 <a class="indexterm" name="id2685414"></a> 20 <a class="indexterm" name="id2685420"></a> 21 21 One of the forces that has become a driving force for the adoption of open source software is the fact that 22 22 many IT businesses have provided services that have perhaps failed to deliver what the customer expected, or 23 23 that have been found wanting for other reasons. 24 24 </p><p> 25 <a class="indexterm" name="id26854 22"></a>26 <a class="indexterm" name="id26854 29"></a>25 <a class="indexterm" name="id2685435"></a> 26 <a class="indexterm" name="id2685442"></a> 27 27 In recognition of the need for needs satisfaction as the primary experience an information technology user or 28 28 consumer expects, the information provided in this chapter may help someone to avoid an unpleasant experience 29 29 in respect of problem resolution. 30 30 </p><p> 31 <a class="indexterm" name="id2685443"></a>32 <a class="indexterm" name="id2685450"></a>33 31 <a class="indexterm" name="id2685457"></a> 32 <a class="indexterm" name="id2685464"></a> 33 <a class="indexterm" name="id2685470"></a> 34 34 In the open source software arena there are two support options: free support and paid-for (commercial) 35 35 support. 36 </p><div class="sect1" lang="en-US"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2685467"></a>Free Support</h2></div></div></div><p> 37 <a class="indexterm" name="id2685475"></a> 38 <a class="indexterm" name="id2685482"></a> 39 <a class="indexterm" name="id2685489"></a> 40 <a class="indexterm" name="id2685496"></a> 36 </p><div class="sect1" lang="en-US"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2685480"></a>Free Support</h2></div></div></div><p> 37 <a class="indexterm" name="id2685488"></a> 38 <a class="indexterm" name="id2685495"></a> 41 39 <a class="indexterm" name="id2685502"></a> 42 40 <a class="indexterm" name="id2685509"></a> 41 <a class="indexterm" name="id2685516"></a> 42 <a class="indexterm" name="id2685523"></a> 43 43 Free support may be obtained from friends, colleagues, user groups, mailing lists, and interactive help 44 44 facilities. An example of an interactive dacility is the Internet relay chat (IRC) channels that host user 45 45 supported mutual assistance. 46 46 </p><p> 47 <a class="indexterm" name="id2685524"></a>48 <a class="indexterm" name="id2685530"></a>49 47 <a class="indexterm" name="id2685537"></a> 50 48 <a class="indexterm" name="id2685544"></a> 51 49 <a class="indexterm" name="id2685551"></a> 50 <a class="indexterm" name="id2685558"></a> 51 <a class="indexterm" name="id2685564"></a> 52 52 The Samba project maintains a mailing list that is commonly used to discuss solutions to Samba deployments. 53 53 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 … … 56 56 the Samba <a class="ulink" href="http://www.samba.org/samba.irc.html" target="_top">IRC</a> web page. 57 57 </p><p> 58 <a class="indexterm" name="id2685592"></a>59 <a class="indexterm" name="id2685599"></a>60 58 <a class="indexterm" name="id2685606"></a> 61 <a class="indexterm" name="id2685612"></a> 59 <a class="indexterm" name="id2685613"></a> 60 <a class="indexterm" name="id2685620"></a> 61 <a class="indexterm" name="id2685626"></a> 62 62 As a general rule, it is considered poor net behavior to contact a Samba Team member directly 63 63 for free support. Most active members of the Samba Team work exceptionally long hours to assist … … 67 67 to show appropriate discretion and reservation in all direct contact. 68 68 </p><p> 69 <a class="indexterm" name="id2685632"></a>70 <a class="indexterm" name="id2685639"></a>71 69 <a class="indexterm" name="id2685646"></a> 70 <a class="indexterm" name="id2685653"></a> 71 <a class="indexterm" name="id2685660"></a> 72 72 When you stumble across a Samba bug, often the quickest way to get it resolved is by posting 73 73 a bug <a class="ulink" href="https://bugzilla.samba.org/" target="_top">report</a>. All such reports are mailed to … … 77 77 that will permit the problem to be reproduced. 78 78 </p><p> 79 <a class="indexterm" name="id26856 70"></a>79 <a class="indexterm" name="id2685684"></a> 80 80 We all recognize that sometimes free support does not provide the answer that is sought within 81 81 the time-frame required. At other times the problem is elusive and you may lack the experience 82 82 necessary to isolate the problem and thus to resolve it. This is a situation where is may be 83 83 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="id26856 85"></a>Commercial Support</h2></div></div></div><p>84 </p></div><div class="sect1" lang="en-US"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2685699"></a>Commercial Support</h2></div></div></div><p> 85 85 There are six basic support oriented services that are most commonly sought by Samba sites: 86 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="id26857 32"></a>88 <a class="indexterm" name="id26857 39"></a>87 <a class="indexterm" name="id2685746"></a> 88 <a class="indexterm" name="id2685753"></a> 89 89 Information regarding companies that provide professional Samba support can be obtained by performing a Google 90 90 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 … … 94 94 them. 95 95 </p><p> 96 <a class="indexterm" name="id26857 64"></a>96 <a class="indexterm" name="id2685778"></a> 97 97 The policy within the Samba Team is to treat all commercial support providers equally and to show no 98 98 preference. As a result, Samba Team members who provide commercial support are lumped in with everyone else. … … 100 100 is pro-community; so do what you can to help a local business to prosper. 101 101 </p><p> 102 <a class="indexterm" name="id26857 81"></a>102 <a class="indexterm" name="id2685795"></a> 103 103 Open source software support can be found in any quality, at any price and in any place you can 104 104 to obtain it. Over 180 companies around the world provide Samba support, there is no excuse for -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/classicalprinting.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:kpfeifle@danka.de">kpfeifle@danka.de</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id26150 70">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2615294">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615445">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2615504">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2615605">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615888">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2616085">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2616484">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2616940">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#id2619653">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619823">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619944">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620161">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620481">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2620624">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2620717">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#id2622652">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622669">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#id2623246">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623365">Always Make First Client Connection as root or “<span class="quote">printer admin</span>”</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623538">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623558">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623925">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624182">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624441">Error Message: “<span class="quote">Cannot connect under a different Name</span>”</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624555">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624864">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624974">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625011">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625068">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625102">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625118">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625135">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625268">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625539">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625578">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625727">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625756">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625762">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625803">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="id2615070"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26150 78"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:kpfeifle@danka.de">kpfeifle@danka.de</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2615084">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2615307">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615458">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2615518">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2615618">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615901">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2616098">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2616498">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2616953">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#id2619666">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619836">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619957">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620174">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620495">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2620637">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2620730">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#id2622666">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622682">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#id2623259">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623378">Always Make First Client Connection as root or “<span class="quote">printer admin</span>”</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623551">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623572">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623939">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624195">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624455">Error Message: “<span class="quote">Cannot connect under a different Name</span>”</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624568">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624877">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624987">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625024">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625081">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625115">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625131">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625148">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625282">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625553">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625591">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625740">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625769">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625775">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625816">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="id2615084"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2615092"></a> 3 3 Printing is often a mission-critical service for the users. Samba can provide this service reliably and 4 4 seamlessly for a client network consisting of Windows workstations. 5 5 </p><p> 6 <a class="indexterm" name="id2615092"></a> 7 <a class="indexterm" name="id2615098"></a> 8 <a class="indexterm" name="id2615106"></a> 6 <a class="indexterm" name="id2615105"></a> 9 7 <a class="indexterm" name="id2615112"></a> 10 8 <a class="indexterm" name="id2615119"></a> … … 14 12 <a class="indexterm" name="id2615147"></a> 15 13 <a class="indexterm" name="id2615154"></a> 16 <a class="indexterm" name="id2615161"></a> 17 <a class="indexterm" name="id2615168"></a> 18 <a class="indexterm" name="id2615175"></a> 19 <a class="indexterm" name="id2615182"></a> 14 <a class="indexterm" name="id2615160"></a> 15 <a class="indexterm" name="id2615167"></a> 16 <a class="indexterm" name="id2615174"></a> 17 <a class="indexterm" name="id2615181"></a> 18 <a class="indexterm" name="id2615188"></a> 19 <a class="indexterm" name="id2615195"></a> 20 20 A Samba print service may be run on a standalone or domain member server, side by side with file serving 21 21 functions, or on a dedicated print server. It can be made as tightly or as loosely secured as needs dictate. … … 31 31 supported by the newer Common UNIX Printing System (CUPS) as the print subsystem underneath the Samba hood. 32 32 </p><p> 33 <a class="indexterm" name="id26152 33"></a>34 <a class="indexterm" name="id26152 39"></a>33 <a class="indexterm" name="id2615246"></a> 34 <a class="indexterm" name="id2615252"></a> 35 35 This chapter outlines the fundamentals of Samba printing as implemented by the more traditional UNIX 36 36 BSD- and System V-style printing systems. Much of the information in this chapter applies also to CUPS. If … … 38 38 do. For further information refer to <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing Support</a>. 39 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="id26152 65"></a>41 <a class="indexterm" name="id26152 72"></a>42 <a class="indexterm" name="id26152 79"></a>40 <a class="indexterm" name="id2615278"></a> 41 <a class="indexterm" name="id2615285"></a> 42 <a class="indexterm" name="id2615292"></a> 43 43 Most of the following examples have been verified on Windows XP Professional clients. Where this document 44 44 describes the responses to commands given, bear in mind that Windows 200x/XP clients are quite similar but may 45 45 differ 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="id2615294"></a>Technical Introduction</h2></div></div></div><p> 47 <a class="indexterm" name="id2615302"></a> 48 <a class="indexterm" name="id2615308"></a> 46 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2615307"></a>Technical Introduction</h2></div></div></div><p> 49 47 <a class="indexterm" name="id2615315"></a> 48 <a class="indexterm" name="id2615322"></a> 49 <a class="indexterm" name="id2615329"></a> 50 50 Samba's printing support always relies on the installed print subsystem of the UNIX OS it runs on. Samba is a 51 51 <code class="literal">middleman.</code> It takes print files from Windows (or other SMB) clients and passes them to the real … … 55 55 features and are accessed differently. 56 56 </p><p> 57 <a class="indexterm" name="id26153 41"></a>58 <a class="indexterm" name="id26153 48"></a>57 <a class="indexterm" name="id2615354"></a> 58 <a class="indexterm" name="id2615361"></a> 59 59 This chapter deals with the traditional way of UNIX printing. The next chapter covers in great detail the more 60 60 modern CUPS. 61 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="id26153 61"></a>62 <a class="indexterm" name="id2615374"></a> 63 63 CUPS users, be warned: do not just jump on to the next chapter. You might miss important information only found here! 64 64 </p></div><p> 65 <a class="indexterm" name="id26153 73"></a>66 <a class="indexterm" name="id26153 80"></a>67 <a class="indexterm" name="id2615 387"></a>68 <a class="indexterm" name="id2615 394"></a>65 <a class="indexterm" name="id2615386"></a> 66 <a class="indexterm" name="id2615393"></a> 67 <a class="indexterm" name="id2615400"></a> 68 <a class="indexterm" name="id2615407"></a> 69 69 It is apparent from postings on the Samba mailing list that print configuration is one of the most problematic 70 70 aspects of Samba administration today. Many new Samba administrators have the impression that Samba performs … … 72 72 do any form of print filtering. 73 73 </p><p> 74 <a class="indexterm" name="id2615410"></a>75 <a class="indexterm" name="id2615417"></a>76 74 <a class="indexterm" name="id2615424"></a> 77 <a class="indexterm" name="id2615431"></a> 75 <a class="indexterm" name="id2615430"></a> 76 <a class="indexterm" name="id2615437"></a> 77 <a class="indexterm" name="id2615444"></a> 78 78 Samba obtains from its clients a data stream (print job) that it spools to a local spool area. When the entire 79 79 print job has been received, Samba invokes a local UNIX/Linux print command and passes the spooled file to it. 80 80 It is up to the local system printing subsystems to correctly process the print job and to submit it to the 81 81 printer. 82 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26154 45"></a>Client to Samba Print Job Processing</h3></div></div></div><p>82 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2615458"></a>Client to Samba Print Job Processing</h3></div></div></div><p> 83 83 Successful printing from a Windows client via a Samba print server to a UNIX 84 84 printer involves six (potentially seven) stages: … … 87 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 88 88 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="id2615504"></a>Printing-Related Configuration Parameters</h3></div></div></div><p> 90 <a class="indexterm" name="id2615513"></a> 91 <a class="indexterm" name="id2615520"></a> 89 configuration settings.</p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2615518"></a>Printing-Related Configuration Parameters</h3></div></div></div><p> 92 90 <a class="indexterm" name="id2615526"></a> 91 <a class="indexterm" name="id2615533"></a> 92 <a class="indexterm" name="id2615540"></a> 93 93 There are a number of configuration parameters to control Samba's printing behavior. Please refer to the man 94 94 page for <code class="filename">smb.conf</code> for an overview of these. As with other parameters, there are global-level (tagged with a … … 104 104 setting defined for the same parameter, thus overriding the 105 105 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="id26156 05"></a>Simple Print Configuration</h2></div></div></div><p>107 <a class="indexterm" name="id26156 13"></a>108 <a class="indexterm" name="id26156 20"></a>109 <a class="indexterm" name="id26156 27"></a>110 <a class="indexterm" name="id26156 34"></a>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="id2615618"></a>Simple Print Configuration</h2></div></div></div><p> 107 <a class="indexterm" name="id2615626"></a> 108 <a class="indexterm" name="id2615633"></a> 109 <a class="indexterm" name="id2615640"></a> 110 <a class="indexterm" name="id2615647"></a> 111 111 <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. 112 112 If you compare this with your own, you may find additional parameters that have been preconfigured by your OS … … 114 114 parameters. However, in many environments these are enough to provide a valid <code class="filename">smb.conf</code> file that enables 115 115 all 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="id26156 86"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2615697"></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="id2615718"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2615730"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2615741"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2615753"></a><em class="parameter"><code>writable = no</code></em></td></tr></table></div></div><br class="example-break"><p>117 <a class="indexterm" name="id26157 68"></a>118 <a class="indexterm" name="id26157 74"></a>119 <a class="indexterm" name="id26157 82"></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 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="id2615699"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2615710"></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="id2615731"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2615743"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2615754"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2615766"></a><em class="parameter"><code>writable = no</code></em></td></tr></table></div></div><br class="example-break"><p> 117 <a class="indexterm" name="id2615781"></a> 118 <a class="indexterm" name="id2615788"></a> 119 <a class="indexterm" name="id2615795"></a> 120 120 This is only an example configuration. Samba assigns default values to all configuration parameters. The 121 121 defaults are conservative and sensible. When a parameter is specified in the <code class="filename">smb.conf</code> file, this overwrites … … 125 125 pager program. 126 126 </p><p> 127 <a class="indexterm" name="id26158 23"></a>128 <a class="indexterm" name="id26158 30"></a>129 <a class="indexterm" name="id26158 38"></a>127 <a class="indexterm" name="id2615837"></a> 128 <a class="indexterm" name="id2615844"></a> 129 <a class="indexterm" name="id2615851"></a> 130 130 The syntax for the configuration file is easy to grasp. You should know that is not very picky about its 131 131 syntax. As has been explained elsewhere in this book, Samba tolerates some spelling errors (such as … … 133 133 case-insensitive. It is permissible to use <em class="parameter"><code>Yes/No</code></em> or <em class="parameter"><code>True/False</code></em> 134 134 for 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="id2615888"></a>Verifying Configuration with <code class="literal">testparm</code></h3></div></div></div><p> 136 <a class="indexterm" name="id2615901"></a> 137 <a class="indexterm" name="id2615908"></a> 138 <a class="indexterm" name="id2615915"></a> 135 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2615901"></a>Verifying Configuration with <code class="literal">testparm</code></h3></div></div></div><p> 136 <a class="indexterm" name="id2615914"></a> 139 137 <a class="indexterm" name="id2615921"></a> 140 138 <a class="indexterm" name="id2615928"></a> 141 139 <a class="indexterm" name="id2615935"></a> 142 <a class="indexterm" name="id261594 2"></a>143 <a class="indexterm" name="id261594 9"></a>140 <a class="indexterm" name="id2615941"></a> 141 <a class="indexterm" name="id2615948"></a> 144 142 <a class="indexterm" name="id2615955"></a> 145 143 <a class="indexterm" name="id2615962"></a> 146 144 <a class="indexterm" name="id2615969"></a> 145 <a class="indexterm" name="id2615976"></a> 146 <a class="indexterm" name="id2615982"></a> 147 147 To see all (or at least most) printing-related settings in Samba, including the implicitly used ones, try the 148 148 command outlined below. This command greps for all occurrences of <code class="constant">lp</code>, … … 195 195 “<span class="quote">-v</span>” switch, it only shows you the settings actually written into! To see the complete 196 196 configuration used, add the “<span class="quote">-v</span>” parameter to testparm. 197 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26160 85"></a>Rapid Configuration Validation</h3></div></div></div><p>198 <a class="indexterm" name="id2616 093"></a>199 <a class="indexterm" name="id26161 00"></a>200 <a class="indexterm" name="id26161 07"></a>201 <a class="indexterm" name="id26161 14"></a>197 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2616098"></a>Rapid Configuration Validation</h3></div></div></div><p> 198 <a class="indexterm" name="id2616106"></a> 199 <a class="indexterm" name="id2616113"></a> 200 <a class="indexterm" name="id2616120"></a> 201 <a class="indexterm" name="id2616127"></a> 202 202 Should you need to troubleshoot at any stage, please always come back to this point first and verify if 203 203 <code class="literal">testparm</code> shows the parameters you expect. To give you a warning from personal experience, … … 212 212 load printers = Yes 213 213 </pre><p> 214 <a class="indexterm" name="id26161 70"></a>215 <a class="indexterm" name="id26161 77"></a>214 <a class="indexterm" name="id2616183"></a> 215 <a class="indexterm" name="id2616190"></a> 216 216 I assumed that commenting out of this setting should prevent Samba from 217 217 publishing my printers, but it still did. It took some time to figure out … … 227 227 load printers = No 228 228 </pre><p> 229 <a class="indexterm" name="id26162 20"></a>229 <a class="indexterm" name="id2616234"></a> 230 230 Only when the parameter is explicitly set to <a class="link" href="smb.conf.5.html#LOADPRINTERS">load printers = No</a> would 231 231 Samba conform with my intentions. So, my strong advice is: … … 238 238 [printers] 239 239 </pre><p> 240 <a class="indexterm" name="id2616 289"></a>241 <a class="indexterm" name="id2616 295"></a>240 <a class="indexterm" name="id2616302"></a> 241 <a class="indexterm" name="id2616309"></a> 242 242 This example should show that you can use <code class="literal">testparm</code> to test any Samba configuration file. 243 243 Actually, we encourage you <span class="emphasis"><em>not</em></span> to change your working system (unless you know exactly … … 277 277 <code class="literal">testparm</code> issued two warnings: 278 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="id26164 00"></a>280 <a class="indexterm" name="id26164 07"></a>281 <a class="indexterm" name="id26164 12"></a>282 <a class="indexterm" name="id26164 18"></a>279 <a class="indexterm" name="id2616413"></a> 280 <a class="indexterm" name="id2616420"></a> 281 <a class="indexterm" name="id2616425"></a> 282 <a class="indexterm" name="id2616431"></a> 283 283 However, this was not fatal, and Samba will default to values that will work. Please, do not rely on this and 284 284 do not use this example. This was included to encourage you to be careful to design and specify your setup to … … 289 289 clearly says: <code class="literal">Internal whitespace in a parameter value is retained verbatim.</code> This means 290 290 that 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="id26164 58"></a><em class="parameter"><code>printing = lprng</code></em></td></tr></table><p>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="id2616471"></a><em class="parameter"><code>printing = lprng</code></em></td></tr></table><p> 292 292 </p><p> 293 293 will regard the whole of the string after the <code class="literal">=</code> sign as the value you want to define. This 294 294 is 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="id2616484"></a>Extended Printing Configuration</h2></div></div></div><p> 296 <a class="indexterm" name="id2616493"></a> 297 <a class="indexterm" name="id2616500"></a> 298 <a class="indexterm" name="id2616507"></a> 295 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2616498"></a>Extended Printing Configuration</h2></div></div></div><p> 296 <a class="indexterm" name="id2616506"></a> 299 297 <a class="indexterm" name="id2616513"></a> 298 <a class="indexterm" name="id2616520"></a> 299 <a class="indexterm" name="id2616527"></a> 300 300 <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 301 301 print-related settings in a BSD-style printing environment. What follows is a discussion and explanation of … … 305 305 are 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 306 306 <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="id2616 587"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2616599"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616611"></a><em class="parameter"><code>show add printer wizard = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616623"></a><em class="parameter"><code>printcap name = /etc/printcap</code></em></td></tr><tr><td><a class="indexterm" name="id2616635"></a><em class="parameter"><code>printer admin = @ntadmin, root</code></em></td></tr><tr><td><a class="indexterm" name="id2616647"></a><em class="parameter"><code>max print jobs = 100</code></em></td></tr><tr><td><a class="indexterm" name="id2616659"></a><em class="parameter"><code>lpq cache time = 20</code></em></td></tr><tr><td><a class="indexterm" name="id2616670"></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="id2616691"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2616703"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616714"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2616726"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2616738"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616749"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616761"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616773"></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="id2616793"></a><em class="parameter"><code>comment = Printer with Restricted Access</code></em></td></tr><tr><td><a class="indexterm" name="id2616805"></a><em class="parameter"><code>path = /var/spool/samba_my_printer</code></em></td></tr><tr><td><a class="indexterm" name="id2616817"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2616829"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616841"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616852"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2616864"></a><em class="parameter"><code>hosts allow = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2616876"></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="id2616888"></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="id26169 02"></a>309 <a class="indexterm" name="id26169 07"></a>310 <a class="indexterm" name="id26169 12"></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 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="id2616600"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2616612"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616624"></a><em class="parameter"><code>show add printer wizard = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616636"></a><em class="parameter"><code>printcap name = /etc/printcap</code></em></td></tr><tr><td><a class="indexterm" name="id2616648"></a><em class="parameter"><code>printer admin = @ntadmin, root</code></em></td></tr><tr><td><a class="indexterm" name="id2616660"></a><em class="parameter"><code>max print jobs = 100</code></em></td></tr><tr><td><a class="indexterm" name="id2616672"></a><em class="parameter"><code>lpq cache time = 20</code></em></td></tr><tr><td><a class="indexterm" name="id2616684"></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="id2616704"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2616716"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616728"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2616739"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2616751"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616763"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616774"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616786"></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="id2616807"></a><em class="parameter"><code>comment = Printer with Restricted Access</code></em></td></tr><tr><td><a class="indexterm" name="id2616819"></a><em class="parameter"><code>path = /var/spool/samba_my_printer</code></em></td></tr><tr><td><a class="indexterm" name="id2616830"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2616842"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616854"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616866"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2616877"></a><em class="parameter"><code>hosts allow = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2616889"></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="id2616901"></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="id2616915"></a> 309 <a class="indexterm" name="id2616920"></a> 310 <a class="indexterm" name="id2616926"></a> 311 311 This is an example configuration. You may not find all the settings that are in the configuration file that 312 312 was provided by the OS vendor. Samba configuration parameters, if not explicitly set, default to a sensible 313 313 value. To see all settings, as <code class="constant">root</code> use the <code class="literal">testparm</code> utility. 314 314 <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="id26169 40"></a>Detailed Explanation Settings</h3></div></div></div><p>315 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2616953"></a>Detailed Explanation Settings</h3></div></div></div><p> 316 316 The 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 317 317 Configuration</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="id2616964"></a>The [global] Section</h4></div></div></div><p> 319 <a class="indexterm" name="id2616972"></a> 320 <a class="indexterm" name="id2616979"></a> 318 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616978"></a>The [global] Section</h4></div></div></div><p> 321 319 <a class="indexterm" name="id2616986"></a> 322 <a class="indexterm" name="id2616993"></a> 320 <a class="indexterm" name="id2616992"></a> 321 <a class="indexterm" name="id2616999"></a> 322 <a class="indexterm" name="id2617006"></a> 323 323 The <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 324 324 <em class="parameter"><code>[global]</code></em> contains all parameters that apply to the server as a whole. It is the place … … 328 328 globally set share settings and specify other values). 329 329 </p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTING">printing = bsd </a></span></dt><dd><p> 330 <a class="indexterm" name="id2617060"></a>331 <a class="indexterm" name="id2617066"></a>332 330 <a class="indexterm" name="id2617073"></a> 333 331 <a class="indexterm" name="id2617080"></a> 334 <a class="indexterm" name="id261708 7"></a>332 <a class="indexterm" name="id2617086"></a> 335 333 <a class="indexterm" name="id2617093"></a> 336 334 <a class="indexterm" name="id2617100"></a> 337 <a class="indexterm" name="id261710 7"></a>338 <a class="indexterm" name="id261711 4"></a>335 <a class="indexterm" name="id2617106"></a> 336 <a class="indexterm" name="id2617113"></a> 339 337 <a class="indexterm" name="id2617120"></a> 340 338 <a class="indexterm" name="id2617127"></a> 341 <a class="indexterm" name="id2617134"></a> 339 <a class="indexterm" name="id2617133"></a> 340 <a class="indexterm" name="id2617140"></a> 341 <a class="indexterm" name="id2617147"></a> 342 342 Causes Samba to use default print commands applicable for the BSD (also known as RFC 1179 style or LPR/LPD) 343 343 printing system. In general, the <em class="parameter"><code>printing</code></em> parameter informs Samba about the print … … 345 345 systems defaults to a different <a class="link" href="smb.conf.5.html#PRINTCOMMAND">print command</a> (and other queue control commands). 346 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="id26171 70"></a>348 <a class="indexterm" name="id26171 76"></a>347 <a class="indexterm" name="id2617183"></a> 348 <a class="indexterm" name="id2617190"></a> 349 349 The <a class="link" href="smb.conf.5.html#PRINTING">printing</a> parameter is normally a service-level parameter. Since it is included 350 350 here in the <em class="parameter"><code>[global]</code></em> section, it will take effect for all printer shares that are not 351 351 defined differently. Samba-3 no longer supports the SOFTQ printing system. 352 352 </p></div></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#LOADPRINTERS">load printers = yes </a></span></dt><dd><p> 353 <a class="indexterm" name="id2617225"></a> 354 <a class="indexterm" name="id2617231"></a> 355 <a class="indexterm" name="id2617237"></a> 353 <a class="indexterm" name="id2617238"></a> 356 354 <a class="indexterm" name="id2617244"></a> 355 <a class="indexterm" name="id2617251"></a> 356 <a class="indexterm" name="id2617258"></a> 357 357 Tells Samba to create automatically all available printer shares. Available printer shares are discovered by 358 358 scanning the printcap file. All created printer shares are also loaded for browsing. If you use this … … 362 362 share separately, leaving out some you do not want to be publicly visible and available). 363 363 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#SHOWADDPRINTERWIZARD">show add printer wizard = yes </a></span></dt><dd><p> 364 <a class="indexterm" name="id2617293"></a>365 <a class="indexterm" name="id2617299"></a>366 364 <a class="indexterm" name="id2617306"></a> 367 <a class="indexterm" name="id261731 2"></a>365 <a class="indexterm" name="id2617313"></a> 368 366 <a class="indexterm" name="id2617319"></a> 367 <a class="indexterm" name="id2617326"></a> 368 <a class="indexterm" name="id2617332"></a> 369 369 Setting is normally enabled by default (even if the parameter is not specified in <code class="filename">smb.conf</code>). It causes the 370 370 <span class="guiicon">Add Printer Wizard</span> icon to appear in the <span class="guiicon">Printers</span> folder of the Samba … … 375 375 before the action), or exchange a printer's driver for any other previously uploaded driver. 376 376 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#MAXPRINTJOBS">max print jobs = 100 </a></span></dt><dd><p> 377 <a class="indexterm" name="id26174 02"></a>377 <a class="indexterm" name="id2617415"></a> 378 378 Sets the upper limit to 100 print jobs being active on the Samba server at any one time. Should a client 379 379 submit a job that exceeds this number, a "no more space available on server" type of error message will be … … 381 381 at all. 382 382 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTCAPNAME">printcap name = /etc/printcap </a></span></dt><dd><p> 383 <a class="indexterm" name="id26174 38"></a>384 <a class="indexterm" name="id26174 44"></a>385 <a class="indexterm" name="id26174 50"></a>383 <a class="indexterm" name="id2617451"></a> 384 <a class="indexterm" name="id2617457"></a> 385 <a class="indexterm" name="id2617464"></a> 386 386 Tells Samba where to look for a list of available printer names. Where CUPS is used, make sure that a printcap 387 387 file is written. This is controlled by the <code class="constant">Printcap</code> directive in the 388 388 <code class="filename">cupsd.conf</code> file. 389 389 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTERADMIN">printer admin = @ntadmin </a></span></dt><dd><p> 390 <a class="indexterm" name="id2617489"></a>391 <a class="indexterm" name="id2617495"></a>392 390 <a class="indexterm" name="id2617502"></a> 393 391 <a class="indexterm" name="id2617508"></a> 392 <a class="indexterm" name="id2617515"></a> 393 <a class="indexterm" name="id2617522"></a> 394 394 Members of the ntadmin group should be able to add drivers and set printer properties 395 395 (<code class="constant">ntadmin</code> is only an example name; it needs to be a valid UNIX group name); root is … … 400 400 per-share parameter. This permits different groups to administer each printer share. 401 401 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#LPQCACHETIME">lpq cache time = 20 </a></span></dt><dd><p> 402 <a class="indexterm" name="id2617 590"></a>403 <a class="indexterm" name="id2617 596"></a>402 <a class="indexterm" name="id2617603"></a> 403 <a class="indexterm" name="id2617609"></a> 404 404 Controls the cache time for the results of the lpq command. It prevents the lpq command being called too often 405 405 and reduces the load on a heavily used print server. 406 406 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#USECLIENTDRIVER">use client driver = no </a></span></dt><dd><p> 407 <a class="indexterm" name="id26176 25"></a>407 <a class="indexterm" name="id2617638"></a> 408 408 If set to <code class="constant">yes</code>, only takes effect for Windows NT/200x/XP clients (and not for Win 409 409 95/98/ME). Its default value is <code class="constant">No</code> (or <code class="constant">False</code>). It must … … 412 412 explanations, see the <code class="filename">smb.conf</code> man page. 413 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="id26176 77"></a>415 <a class="indexterm" name="id26176 83"></a>414 <a class="indexterm" name="id2617690"></a> 415 <a class="indexterm" name="id2617697"></a> 416 416 The printers section is the second special section. If a section with this name appears in the <code class="filename">smb.conf</code>, 417 417 users are able to connect to any printer specified in the Samba host's printcap file, because Samba on startup … … 469 469 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#WRITABLE">writable = no </a></span></dt><dd><p> 470 470 Is a synonym for <a class="link" href="smb.conf.5.html#READONLY">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="id26180 70"></a>Any [my_printer_name] Section</h4></div></div></div><p>472 <a class="indexterm" name="id26180 78"></a>473 <a class="indexterm" name="id26180 85"></a>471 </p></dd></dl></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2618083"></a>Any [my_printer_name] Section</h4></div></div></div><p> 472 <a class="indexterm" name="id2618092"></a> 473 <a class="indexterm" name="id2618098"></a> 474 474 If a <em class="parameter"><code>[my_printer_name]</code></em> section appears in the <code class="filename">smb.conf</code> file, which includes the 475 475 parameter <a class="link" href="smb.conf.5.html#PRINTABLE">printable = yes</a> Samba will configure it as a printer share. … … 503 503 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#GUESTOK">guest ok = no </a></span></dt><dd><p> 504 504 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="id2618365"></a>Print Commands</h4></div></div></div><p> 506 <a class="indexterm" name="id2618372"></a> 507 <a class="indexterm" name="id2618379"></a> 505 </p></dd></dl></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2618378"></a>Print Commands</h4></div></div></div><p> 508 506 <a class="indexterm" name="id2618386"></a> 509 <a class="indexterm" name="id2618393"></a> 507 <a class="indexterm" name="id2618392"></a> 508 <a class="indexterm" name="id2618399"></a> 509 <a class="indexterm" name="id2618406"></a> 510 510 In each section defining a printer (or in the <em class="parameter"><code>[printers]</code></em> section), 511 511 a <em class="parameter"><code>print command</code></em> parameter may be defined. It sets a command to process the files … … 519 519 make sure you pay attention to the need to remove the files from the Samba spool directory. Otherwise, 520 520 your 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="id26184 41"></a>Default UNIX System Printing Commands</h4></div></div></div><p>522 <a class="indexterm" name="id26184 48"></a>521 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2618454"></a>Default UNIX System Printing Commands</h4></div></div></div><p> 522 <a class="indexterm" name="id2618462"></a> 523 523 You learned earlier that Samba, in most cases, uses its built-in settings for many parameters if it cannot 524 524 find an explicitly stated one in its configuration file. The same is true for the <a class="link" href="smb.conf.5.html#PRINTCOMMAND">print command</a>. The default print command varies depending on the <a class="link" href="smb.conf.5.html#PRINTING">printing</a> parameter … … 529 529 of 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>. 530 530 </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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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="id2618912"></a>532 <a class="indexterm" name="id2618918"></a>533 531 <a class="indexterm" name="id2618925"></a> 534 532 <a class="indexterm" name="id2618932"></a> 533 <a class="indexterm" name="id2618938"></a> 534 <a class="indexterm" name="id2618946"></a> 535 535 For <em class="parameter"><code>printing = CUPS</code></em>, if Samba is compiled against libcups, it uses the CUPS API to 536 536 submit jobs. (It is a good idea also to set <a class="link" href="smb.conf.5.html#PRINTCAP">printcap = cups</a> in case your … … 539 539 <code class="literal">lp -c -d%p -oraw; rm %s</code>. With <em class="parameter"><code>printing = cups</code></em>, and if Samba is 540 540 compiled 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="id26189 84"></a>Custom Print Commands</h4></div></div></div><p>542 <a class="indexterm" name="id261 8992"></a>543 <a class="indexterm" name="id261 8999"></a>541 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2618998"></a>Custom Print Commands</h4></div></div></div><p> 542 <a class="indexterm" name="id2619006"></a> 543 <a class="indexterm" name="id2619012"></a> 544 544 After a print job has finished spooling to a service, the <a class="link" href="smb.conf.5.html#PRINTCOMMAND">print command</a> will be used 545 545 by Samba via a system() call to process the spool file. Usually the command specified will submit the spool … … 548 548 that the spool file is deleted after it has been processed. 549 549 </p><p> 550 <a class="indexterm" name="id2619029"></a>551 <a class="indexterm" name="id2619036"></a>552 550 <a class="indexterm" name="id2619042"></a> 553 551 <a class="indexterm" name="id2619049"></a> 552 <a class="indexterm" name="id2619056"></a> 553 <a class="indexterm" name="id2619063"></a> 554 554 There is no difficulty with using your own customized print commands with the traditional printing systems. 555 555 However, if you do not wish to roll your own, you should be well informed about the default built-in commands … … 561 561 printing, the following ones do have special relevance: 562 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="id26191 48"></a>563 <a class="indexterm" name="id2619161"></a> 564 564 The print command must contain at least one occurrence of <em class="parameter"><code>%s</code></em> or 565 565 <em class="parameter"><code>%f</code></em>. The <em class="parameter"><code>%p</code></em> is optional. If no printer name is supplied, … … 567 567 sent to the default printer. 568 568 </p><p> 569 <a class="indexterm" name="id26191 84"></a>570 <a class="indexterm" name="id2619 191"></a>569 <a class="indexterm" name="id2619197"></a> 570 <a class="indexterm" name="id2619204"></a> 571 571 If specified in the <em class="parameter"><code>[global]</code></em> section, the print command given will be 572 572 used for any printable service that does not have its own print command specified. If there is neither a … … 574 574 but not processed! Most importantly, print files will not be removed, so they will consume disk space. 575 575 </p><p> 576 <a class="indexterm" name="id26192 13"></a>577 <a class="indexterm" name="id26192 20"></a>576 <a class="indexterm" name="id2619226"></a> 577 <a class="indexterm" name="id2619233"></a> 578 578 Printing may fail on some UNIX systems when using the <span class="emphasis"><em>nobody</em></span> account. If this happens, create an 579 579 alternative guest account and give it the privilege to print. Set up this guest account in the 580 580 <em class="parameter"><code>[global]</code></em> section with the <em class="parameter"><code>guest account</code></em> parameter. 581 581 </p><p> 582 <a class="indexterm" name="id26192 50"></a>583 <a class="indexterm" name="id26192 57"></a>584 <a class="indexterm" name="id26192 64"></a>582 <a class="indexterm" name="id2619263"></a> 583 <a class="indexterm" name="id2619270"></a> 584 <a class="indexterm" name="id2619277"></a> 585 585 You can form quite complex print commands. You need to realize that print commands are just 586 586 passed to a UNIX shell. The shell is able to expand the included environment variables as … … 590 590 to <code class="filename">/tmp/print.log</code>, print the file, then remove it. The semicolon (“<span class="quote">;</span>” 591 591 is the usual separator for commands in shell scripts: 592 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26193 19"></a><em class="parameter"><code>print command = echo Printing %s >> /tmp/print.log; lpr -P %p %s; rm %s</code></em></td></tr></table><p>592 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2619332"></a><em class="parameter"><code>print command = echo Printing %s >> /tmp/print.log; lpr -P %p %s; rm %s</code></em></td></tr></table><p> 593 593 You may have to vary your own command considerably from this example depending on how you normally print 594 594 files on your system. The default for the <a class="link" href="smb.conf.5.html#PRINTCOMMAND">print command</a> 595 595 parameter varies depending on the setting of the <a class="link" href="smb.conf.5.html#PRINTING">printing</a> 596 596 parameter. Another example is: 597 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2619370"></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="id2619396"></a> 599 <a class="indexterm" name="id2619403"></a> 597 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2619383"></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> 600 598 <a class="indexterm" name="id2619409"></a> 599 <a class="indexterm" name="id2619416"></a> 600 <a class="indexterm" name="id2619423"></a> 601 601 Prior to Samba-2.2.x, print server support for Windows clients was limited to <span class="emphasis"><em>LanMan</em></span> 602 602 printing calls. This is the same protocol level as Windows 9x/Me PCs offer when they share printers. … … 607 607 The additional functionality provided by the new SPOOLSS support includes: 608 608 </p><div class="itemizedlist"><ul type="disc"><li><p> 609 <a class="indexterm" name="id26194 45"></a>609 <a class="indexterm" name="id2619458"></a> 610 610 Support for downloading printer driver files to Windows 95/98/NT/2000 clients upon 611 611 demand (<span class="emphasis"><em>Point'n'Print</em></span>). 612 612 </p></li><li><p> 613 <a class="indexterm" name="id26194 61"></a>613 <a class="indexterm" name="id2619475"></a> 614 614 Uploading of printer drivers via the Windows NT <span class="emphasis"><em>Add Printer Wizard</em></span> (APW) 615 615 or the <a class="ulink" href="http://imprints.sourceforge.net/" target="_top">Imprints</a> tool set. 616 616 </p></li><li><p> 617 <a class="indexterm" name="id26194 84"></a>618 <a class="indexterm" name="id2619 491"></a>619 <a class="indexterm" name="id2619 498"></a>620 <a class="indexterm" name="id26195 05"></a>621 <a class="indexterm" name="id26195 12"></a>617 <a class="indexterm" name="id2619497"></a> 618 <a class="indexterm" name="id2619504"></a> 619 <a class="indexterm" name="id2619511"></a> 620 <a class="indexterm" name="id2619518"></a> 621 <a class="indexterm" name="id2619525"></a> 622 622 Support for the native MS-RPC printing calls such as StartDocPrinter, EnumJobs(), and so on. (See the 623 623 <a class="ulink" href="http://msdn.microsoft.com/" target="_top">MSDN documentation</a> for more information on the 624 624 Win32 printing API). 625 625 </p></li><li><p> 626 <a class="indexterm" name="id26195 32"></a>627 <a class="indexterm" name="id26195 38"></a>626 <a class="indexterm" name="id2619545"></a> 627 <a class="indexterm" name="id2619552"></a> 628 628 Support for NT Access Control Lists (ACL) on printer objects. 629 629 </p></li><li><p> 630 <a class="indexterm" name="id26195 51"></a>630 <a class="indexterm" name="id2619564"></a> 631 631 Improved support for printer queue manipulation through the use of internal databases for spooled 632 632 job information (implemented by various <code class="filename">*.tdb</code> files). 633 633 </p></li></ul></div><p> 634 <a class="indexterm" name="id26195 70"></a>635 <a class="indexterm" name="id26195 77"></a>634 <a class="indexterm" name="id2619584"></a> 635 <a class="indexterm" name="id2619590"></a> 636 636 A benefit of updating is that Samba-3 is able to publish its printers to Active Directory (or LDAP). 637 637 </p><p> 638 <a class="indexterm" name="id2619 589"></a>638 <a class="indexterm" name="id2619602"></a> 639 639 A fundamental difference exists between MS Windows NT print servers and Samba operation. Windows NT 640 640 permits the installation of local printers that are not shared. This is an artifact of the fact that … … 642 642 printers that are made available, either by default or by specific declaration via printer-specific shares. 643 643 </p><p> 644 <a class="indexterm" name="id2619606"></a>645 <a class="indexterm" name="id2619613"></a>646 644 <a class="indexterm" name="id2619619"></a> 647 645 <a class="indexterm" name="id2619626"></a> 648 646 <a class="indexterm" name="id2619633"></a> 647 <a class="indexterm" name="id2619640"></a> 648 <a class="indexterm" name="id2619646"></a> 649 649 Windows NT/200x/XP Professional clients do not have to use the standard SMB printer share; they can 650 650 print directly to any printer on another Windows NT host using MS-RPC. This, of course, assumes that … … 653 653 <span class="emphasis"><em>Everyone</em></span> group. (The older clients of type Windows 9x/Me can only print to shared 654 654 printers.) 655 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26196 53"></a>Point'n'Print Client Drivers on Samba Servers</h3></div></div></div><p>656 <a class="indexterm" name="id26196 62"></a>655 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2619666"></a>Point'n'Print Client Drivers on Samba Servers</h3></div></div></div><p> 656 <a class="indexterm" name="id2619675"></a> 657 657 There is much confusion about what all this means. The question is often asked, “<span class="quote">Is it or is 658 658 it not necessary for printer drivers to be installed on a Samba host in order to support printing from 659 659 Windows clients?</span>” The answer to this is no, it is not necessary. 660 660 </p><p> 661 <a class="indexterm" name="id26196 80"></a>662 <a class="indexterm" name="id2619 686"></a>661 <a class="indexterm" name="id2619693"></a> 662 <a class="indexterm" name="id2619700"></a> 663 663 Windows NT/2000 clients can, of course, also run their APW to install drivers <span class="emphasis"><em>locally</em></span> 664 664 (which then connect to a Samba-served print queue). This is the same method used by Windows 9x/Me … … 666 666 require that the Samba server possess a valid driver for the printer. This was fixed in Samba 2.2.1). 667 667 </p><p> 668 <a class="indexterm" name="id26197 06"></a>669 <a class="indexterm" name="id26197 13"></a>668 <a class="indexterm" name="id2619719"></a> 669 <a class="indexterm" name="id2619726"></a> 670 670 But it is a new capability to install the printer drivers into the <em class="parameter"><code>[print$]</code></em> 671 671 share of the Samba server, and a big convenience, too. Then <span class="emphasis"><em>all</em></span> clients … … 683 683 Using <span class="emphasis"><em>cupsaddsmb</em></span> (only works for the CUPS printing system, not for LPR/LPD, LPRng, and so on). 684 684 </p></li></ul></div><p> 685 <a class="indexterm" name="id2619 795"></a>686 <a class="indexterm" name="id26198 02"></a>685 <a class="indexterm" name="id2619808"></a> 686 <a class="indexterm" name="id2619815"></a> 687 687 Samba does not use these uploaded drivers in any way to process spooled files. These drivers are utilized 688 688 entirely by the clients who download and install them via the “<span class="quote">Point'n'Print</span>” mechanism … … 690 690 (or the UNIX print system) requires. Print files received by Samba are handed over to the UNIX printing 691 691 system, 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="id26198 23"></a>The Obsoleted [printer$] Section</h3></div></div></div><p>693 <a class="indexterm" name="id26198 31"></a>694 <a class="indexterm" name="id26198 38"></a>692 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2619836"></a>The Obsoleted [printer$] Section</h3></div></div></div><p> 693 <a class="indexterm" name="id2619844"></a> 694 <a class="indexterm" name="id2619851"></a> 695 695 Versions of Samba prior to 2.2 made it possible to use a share named <em class="parameter"><code>[printer$]</code></em>. This 696 696 name was taken from the same named service created by Windows 9x/Me clients when a printer was shared by them. … … 702 702 be sent to the client. 703 703 </p><p> 704 <a class="indexterm" name="id2619882"></a>705 <a class="indexterm" name="id2619889"></a>706 704 <a class="indexterm" name="id2619896"></a> 705 <a class="indexterm" name="id2619902"></a> 706 <a class="indexterm" name="id2619909"></a> 707 707 These parameters, including the <em class="parameter"><code>printer driver file</code></em> parameter, 708 708 are now removed and cannot be used in installations of Samba-3. The share name … … 714 714 9x/Me clients are now thrown aside. They can use Samba's <em class="parameter"><code>[print$]</code></em> 715 715 share support just fine. 716 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26199 44"></a>Creating the [print$] Share</h3></div></div></div><p>717 <a class="indexterm" name="id26199 52"></a>716 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2619957"></a>Creating the [print$] Share</h3></div></div></div><p> 717 <a class="indexterm" name="id2619965"></a> 718 718 In order to support the uploading and downloading of printer driver files, you must first configure a 719 719 file share named <em class="parameter"><code>[print$]</code></em>. The public name of this share is hard coded … … 725 725 as <a class="link" href="smb.conf.5.html#PATH">path</a>, are arbitrary and should be replaced with appropriate values for your 726 726 site). 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="id26200 36"></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="id2620073"></a><em class="parameter"><code>comment = Printer Driver Download Area</code></em></td></tr><tr><td><a class="indexterm" name="id2620084"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2620096"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2620108"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2620119"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2620131"></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 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="id2620050"></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="id2620085"></a><em class="parameter"><code>comment = Printer Driver Download Area</code></em></td></tr><tr><td><a class="indexterm" name="id2620097"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2620109"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2620121"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2620132"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2620144"></a><em class="parameter"><code>write list = @ntadmin, root</code></em></td></tr></table></div></div><br class="example-break"><p> 728 728 Of course, you also need to ensure that the directory named by the 729 729 <a class="link" href="smb.conf.5.html#PATH">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="id2620161"></a>[print$] Stanza Parameters</h3></div></div></div><p> 731 <a class="indexterm" name="id2620169"></a> 732 <a class="indexterm" name="id2620176"></a> 730 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2620174"></a>[print$] Stanza Parameters</h3></div></div></div><p> 733 731 <a class="indexterm" name="id2620182"></a> 734 732 <a class="indexterm" name="id2620189"></a> 735 733 <a class="indexterm" name="id2620196"></a> 734 <a class="indexterm" name="id2620203"></a> 735 <a class="indexterm" name="id2620210"></a> 736 736 The <em class="parameter"><code>[print$]</code></em> is a special section in <code class="filename">smb.conf</code>. It contains settings relevant to 737 737 potential printer driver download and is used by Windows clients for local print driver installation. … … 778 778 be mentioned in the global <a class="link" href="smb.conf.5.html#PRINTERADMIN">printer admin</a> 779 779 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="id26204 81"></a>The [print$] Share Directory</h3></div></div></div><p>780 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2620495"></a>The [print$] Share Directory</h3></div></div></div><p> 781 781 In order for a Windows NT print server to support the downloading of driver files by multiple client 782 782 architectures, you must create several subdirectories within the <em class="parameter"><code>[print$]</code></em> … … 813 813 have located the server, navigate to its <span class="guiicon">Printers and Faxes</span> folder. You should see 814 814 an 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="id26206 24"></a>Installing Drivers into [print$]</h2></div></div></div><p>815 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2620637"></a>Installing Drivers into [print$]</h2></div></div></div><p> 816 816 Have you successfully created the <em class="parameter"><code>[print$]</code></em> share in <code class="filename">smb.conf</code>, and have you forced 817 817 Samba to reread its <code class="filename">smb.conf</code> file? Good. But you are not yet ready to use the new facility. The client … … 829 829 </p></li></ul></div><p> 830 830 The 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="id26207 17"></a>Add Printer Wizard Driver Installation</h3></div></div></div><p>831 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2620730"></a>Add Printer Wizard Driver Installation</h3></div></div></div><p> 832 832 The printers initially listed in the Samba host's <span class="guiicon">Printers</span> folder accessed from a 833 833 client's Explorer will have no real printer driver assigned to them. By default this driver name is set … … 880 880 </p></li></ol></div><p> 881 881 We 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="id262 0993"></a>Identifying Driver Files</h4></div></div></div><p>883 <a class="indexterm" name="id26210 01"></a>884 <a class="indexterm" name="id26210 08"></a>885 <a class="indexterm" name="id26210 15"></a>882 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2621006"></a>Identifying Driver Files</h4></div></div></div><p> 883 <a class="indexterm" name="id2621014"></a> 884 <a class="indexterm" name="id2621021"></a> 885 <a class="indexterm" name="id2621028"></a> 886 886 To find out about the driver files, you have two options. You can check the contents of the driver 887 887 CDROM that came with your printer. Study the <code class="filename">*.inf</code> files located on the CD-ROM. This … … 891 891 extremely difficult to identify the driver files required. 892 892 </p><p> 893 <a class="indexterm" name="id26210 45"></a>893 <a class="indexterm" name="id2621059"></a> 894 894 Then you have the second option. Install the driver locally on a Windows client and 895 895 investigate which filenames and paths it uses after they are installed. (You need to repeat … … 898 898 clients.) 899 899 </p><p> 900 <a class="indexterm" name="id26210 72"></a>900 <a class="indexterm" name="id2621085"></a> 901 901 A good method to recognize the driver files is to print the test page from the driver's 902 902 <span class="guilabel">Properties</span> dialog (<span class="guilabel">General</span> tab). Then look at the list of … … 906 906 (this may vary slightly for Windows NT). You need to note all filenames for the next steps. 907 907 </p><p> 908 <a class="indexterm" name="id2621128"></a>909 <a class="indexterm" name="id2621135"></a>910 908 <a class="indexterm" name="id2621142"></a> 909 <a class="indexterm" name="id2621148"></a> 910 <a class="indexterm" name="id2621155"></a> 911 911 Another method to quickly test the driver filenames and related paths is provided by the 912 912 <code class="literal">rpcclient</code> utility. Run it with <code class="literal">enumdrivers</code> or with the … … 949 949 Defaultdatatype: [] 950 950 </pre><p> 951 <a class="indexterm" name="id2621258"></a>952 <a class="indexterm" name="id2621264"></a>953 951 <a class="indexterm" name="id2621271"></a> 954 952 <a class="indexterm" name="id2621278"></a> 953 <a class="indexterm" name="id2621284"></a> 954 <a class="indexterm" name="id2621291"></a> 955 955 You may notice that this driver has quite a large number of <span class="guilabel">Dependent files</span> 956 956 (there are worse cases, however). Also, strangely, the … … 962 962 Windows PC. This PC can also host the Windows 9x/Me drivers, even if it runs on Windows NT, 2000, or XP. 963 963 </p><p> 964 <a class="indexterm" name="id2621326"></a>965 <a class="indexterm" name="id2621333"></a>966 964 <a class="indexterm" name="id2621340"></a> 965 <a class="indexterm" name="id2621346"></a> 966 <a class="indexterm" name="id2621353"></a> 967 967 Since the <em class="parameter"><code>[print$]</code></em> share is usually accessible through the <span class="guiicon">Network 968 968 Neighborhood</span>, you can also use the UNC notation from Windows Explorer to poke at it. The Windows … … 975 975 the Admin), its native mode for printer drivers is user mode execution. This requires drivers designed 976 976 for this purpose. These types of drivers install into the “<span class="quote">3</span>” subdirectory. 977 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26214 04"></a>Obtaining Driver Files from Windows Client [print$] Shares</h4></div></div></div><p>977 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2621417"></a>Obtaining Driver Files from Windows Client [print$] Shares</h4></div></div></div><p> 978 978 Now we need to collect all the driver files we identified in our previous step. Where do we get them 979 979 from? Well, why not retrieve them from the very PC and the same <em class="parameter"><code>[print$]</code></em> … … 1000 1000 <code class="literal">smbclient</code> exits again. 1001 1001 </p><p> 1002 <a class="indexterm" name="id26215 11"></a>1002 <a class="indexterm" name="id2621525"></a> 1003 1003 Remember to repeat the procedure for the <span class="application">WIN40</span> architecture should you need to 1004 1004 support Windows 9x/Me/XP clients. Remember too, the files for these architectures are in the 1005 1005 <code class="filename">WIN40/0/</code> subdirectory. Once this is complete, we can run <code class="literal">smbclient. . 1006 1006 .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="id26215 49"></a>Installing Driver Files into [print$]</h4></div></div></div><p>1007 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2621562"></a>Installing Driver Files into [print$]</h4></div></div></div><p> 1008 1008 We are now going to locate the driver files into the <em class="parameter"><code>[print$]</code></em> share. Remember, the 1009 1009 UNIX path to this share has been defined previously in your <code class="filename">smb.conf</code> file. You also have created … … 1018 1018 (yet) into the <code class="filename">0</code> subdirectory. 1019 1019 </p></li></ul></div><p> 1020 <a class="indexterm" name="id26216 28"></a>1021 <a class="indexterm" name="id26216 35"></a>1020 <a class="indexterm" name="id2621641"></a> 1021 <a class="indexterm" name="id2621648"></a> 1022 1022 We again use smbclient to transfer the driver files across the network. We specify the same files 1023 1023 and paths as were leaked to us by running <code class="literal">getdriver</code> against the original … … 1056 1056 putting file HDNIS01_de.NTF as \W32X86\HDNIS01_de.NTF 1057 1057 </pre><p> 1058 <a class="indexterm" name="id26217 07"></a>1059 <a class="indexterm" name="id26217 14"></a>1060 <a class="indexterm" name="id26217 21"></a>1058 <a class="indexterm" name="id2621720"></a> 1059 <a class="indexterm" name="id2621727"></a> 1060 <a class="indexterm" name="id2621734"></a> 1061 1061 Whew that was a lot of typing! Most drivers are a lot smaller many have only three generic 1062 1062 PostScript driver files plus one PPD. While we did retrieve the files from the <code class="filename">2</code> … … 1065 1065 <code class="literal">adddriver</code> command, which we will run shortly (and do not forget to also put the files 1066 1066 for 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="id26217 67"></a><code class="literal">smbclient</code> to Confirm Driver Installation</h4></div></div></div><p>1068 <a class="indexterm" name="id26217 80"></a>1069 <a class="indexterm" name="id2621 786"></a>1067 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2621780"></a><code class="literal">smbclient</code> to Confirm Driver Installation</h4></div></div></div><p> 1068 <a class="indexterm" name="id2621793"></a> 1069 <a class="indexterm" name="id2621800"></a> 1070 1070 For now we verify that our files are there. This can be done with <code class="literal">smbclient</code>, too 1071 1071 (but, of course, you can log in via SSH also and do this through a standard UNIX shell access): … … 1108 1108 40976 blocks of size 262144. 709 blocks available 1109 1109 </pre><p> 1110 <a class="indexterm" name="id2621861"></a>1111 <a class="indexterm" name="id2621868"></a>1112 1110 <a class="indexterm" name="id2621875"></a> 1111 <a class="indexterm" name="id2621882"></a> 1112 <a class="indexterm" name="id2621889"></a> 1113 1113 Notice that there are already driver files present in the <code class="filename">2</code> subdirectory (probably from a 1114 1114 previous installation). Once the files for the new driver are there too, you are still a few steps away from … … 1118 1118 special, namely <span class="emphasis"><em>printer driver files</em></span>, and it does not know to which print queue(s) these 1119 1119 driver files belong. 1120 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2621904"></a>Running <code class="literal">rpcclient</code> with <code class="literal">adddriver</code></h4></div></div></div><p> 1121 <a class="indexterm" name="id2621922"></a> 1122 <a class="indexterm" name="id2621929"></a> 1120 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2621917"></a>Running <code class="literal">rpcclient</code> with <code class="literal">adddriver</code></h4></div></div></div><p> 1123 1121 <a class="indexterm" name="id2621936"></a> 1122 <a class="indexterm" name="id2621942"></a> 1123 <a class="indexterm" name="id2621950"></a> 1124 1124 Next, you must tell Samba about the special category of the files you just uploaded into the 1125 1125 <em class="parameter"><code>[print$]</code></em> share. This is done by the <code class="literal">adddriver</code> … … 1145 1145 Printer Driver dm9110 successfully installed. 1146 1146 </pre><p> 1147 <a class="indexterm" name="id262 1991"></a>1148 <a class="indexterm" name="id262 1998"></a>1149 <a class="indexterm" name="id26220 05"></a>1147 <a class="indexterm" name="id2622004"></a> 1148 <a class="indexterm" name="id2622011"></a> 1149 <a class="indexterm" name="id2622018"></a> 1150 1150 After this step, the driver should be recognized by Samba on the print server. You need to be very 1151 1151 careful when typing the command. Don't exchange the order of the fields. Some changes would lead to … … 1154 1154 Hints about the syntax of the adddriver command are in the man page. 1155 1155 provides 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="id26220 28"></a>Checking <code class="literal">adddriver</code> Completion</h4></div></div></div><p>1156 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2622041"></a>Checking <code class="literal">adddriver</code> Completion</h4></div></div></div><p> 1157 1157 One indication for Samba's recognition of the files as driver files is the <code class="computeroutput">successfully 1158 1158 installed</code> message. Another one is the fact that our files have been moved by the … … 1199 1199 Another verification is that the timestamp of the printing TDB files is now updated 1200 1200 (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="id26221 70"></a>Check Samba for Driver Recognition</h4></div></div></div><p>1202 <a class="indexterm" name="id26221 78"></a>1201 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2622183"></a>Check Samba for Driver Recognition</h4></div></div></div><p> 1202 <a class="indexterm" name="id2622191"></a> 1203 1203 Now the driver should be registered with Samba. We can easily verify this and will do so in a 1204 1204 moment. However, this driver is not yet associated with a particular printer. We may check the driver 1205 1205 status of the files by at least three methods: 1206 1206 </p><div class="itemizedlist"><ul type="disc"><li><p> 1207 <a class="indexterm" name="id2622196"></a> 1208 <a class="indexterm" name="id2622203"></a> 1209 <a class="indexterm" name="id2622210"></a> 1207 <a class="indexterm" name="id2622209"></a> 1210 1208 <a class="indexterm" name="id2622216"></a> 1211 1209 <a class="indexterm" name="id2622223"></a> 1210 <a class="indexterm" name="id2622230"></a> 1211 <a class="indexterm" name="id2622237"></a> 1212 1212 From any Windows client browse Network Neighborhood, find the Samba host, and open the Samba 1213 1213 <span class="guiicon">Printers and Faxes</span> folder. Select any printer icon, right-click and select … … 1219 1219 the list will differ if you look at it from Windows95/98/ME or Windows NT/2000/XP.) 1220 1220 </p></li><li><p> 1221 <a class="indexterm" name="id26222 63"></a>1221 <a class="indexterm" name="id2622276"></a> 1222 1222 From a Windows 200x/XP client (not Windows NT) browse <span class="guiicon">Network Neighborhood</span>, 1223 1223 search for the Samba server, open the server's <span class="guiicon">Printers</span> folder, … … 1248 1248 95, 98, and Me</span>, you'll have to repeat the whole procedure with the WIN40 architecture 1249 1249 and subdirectory. 1250 </p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2622 397"></a>Specific Driver Name Flexibility</h4></div></div></div><p>1251 <a class="indexterm" name="id26224 06"></a>1250 </p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2622411"></a>Specific Driver Name Flexibility</h4></div></div></div><p> 1251 <a class="indexterm" name="id2622419"></a> 1252 1252 You can name the driver as you like. If you repeat the <code class="literal">adddriver</code> step with the same 1253 1253 files as before but with a different driver name, it will work the same: … … 1272 1272 Printer Driver mydrivername successfully installed. 1273 1273 </pre><p> 1274 <a class="indexterm" name="id26224 53"></a>1275 <a class="indexterm" name="id26224 60"></a>1276 <a class="indexterm" name="id26224 67"></a>1274 <a class="indexterm" name="id2622466"></a> 1275 <a class="indexterm" name="id2622473"></a> 1276 <a class="indexterm" name="id2622480"></a> 1277 1277 You will be able to bind that driver to any print queue (however, you are responsible that 1278 1278 you associate drivers to queues that make sense with respect to target printers). You cannot run the … … 1281 1281 respective subdirectories, so you must execute an <code class="literal">smbclient ... put</code> command before 1282 1282 each <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="id26225 12"></a>Running <code class="literal">rpcclient</code> with <code class="literal">setdriver</code></h4></div></div></div><p>1284 <a class="indexterm" name="id26225 30"></a>1285 <a class="indexterm" name="id26225 37"></a>1283 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2622525"></a>Running <code class="literal">rpcclient</code> with <code class="literal">setdriver</code></h4></div></div></div><p> 1284 <a class="indexterm" name="id2622543"></a> 1285 <a class="indexterm" name="id2622550"></a> 1286 1286 Samba needs to know which printer owns which driver. Create a mapping of the driver to a printer, and 1287 1287 store this information in Samba's memory, the TDB files. The <code class="literal">rpcclient setdriver</code> command … … 1310 1310 or at least send an HUP signal to all running smbd processes to work around this: <strong class="userinput"><code>kill -HUP 1311 1311 `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="id26226 52"></a>Client Driver Installation Procedure</h2></div></div></div><p>1312 </p></div></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2622666"></a>Client Driver Installation Procedure</h2></div></div></div><p> 1313 1313 As Don Quixote said, “<span class="quote">The proof of the pudding is in the eating.</span>” The proof 1314 1314 for our setup lies in the printing. So let's install the printer driver onto the client PCs. This is 1315 1315 not 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="id26226 69"></a>First Client Driver Installation</h3></div></div></div><p>1316 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2622682"></a>First Client Driver Installation</h3></div></div></div><p> 1317 1317 Especially important is the installation onto the first client PC (for each architectural platform 1318 1318 separately). Once this is done correctly, all further clients are easy to set up and shouldn't need further … … 1348 1348 and Faxes</span>). 1349 1349 </p><p> 1350 <a class="indexterm" name="id26228 46"></a>1350 <a class="indexterm" name="id2622859"></a> 1351 1351 Most likely you are tempted to try to print a test page. After all, you now can open the printer 1352 1352 properties, and on the <span class="guimenu">General</span> tab there is a button offering to do just that. But … … 1360 1360 For a printer to be truly usable by a Windows NT/200x/XP client, it must possess: 1361 1361 </p><div class="itemizedlist"><ul type="disc"><li><p> 1362 <a class="indexterm" name="id26229 07"></a>1362 <a class="indexterm" name="id2622920"></a> 1363 1363 A valid <span class="emphasis"><em>device mode</em></span> generated by the driver for the printer (defining things 1364 1364 like paper size, orientation and duplex settings). 1365 1365 </p></li><li><p> 1366 <a class="indexterm" name="id26229 24"></a>1366 <a class="indexterm" name="id2622937"></a> 1367 1367 A complete set of <span class="emphasis"><em>printer driver data</em></span> generated by the driver. 1368 1368 </p></li></ul></div><p> 1369 <a class="indexterm" name="id2622940"></a> 1370 <a class="indexterm" name="id2622947"></a> 1371 <a class="indexterm" name="id2622954"></a> 1369 <a class="indexterm" name="id2622953"></a> 1372 1370 <a class="indexterm" name="id2622960"></a> 1373 1371 <a class="indexterm" name="id2622967"></a> 1372 <a class="indexterm" name="id2622974"></a> 1373 <a class="indexterm" name="id2622980"></a> 1374 1374 If either of these is incomplete, the clients can produce less than optimal output at best. In the 1375 1375 worst cases, unreadable garbage or nothing at all comes from the printer, or it produces a harvest of … … 1397 1397 effect to happen and feeds back the new device mode to our Samba server. You can use the native Windows 1398 1398 NT/200x/XP printer properties page from a Window client for this: 1399 </p><div class="procedure"><a name="id26230 66"></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"><a name="id2623079"></a><p class="title"><b>Procedure 21.1. Procedure to Initialize the Printer Driver Settings</b></p><ol type="1"><li><p> 1400 1400 Browse the <span class="guiicon">Network Neighborhood</span>. 1401 1401 </p></li><li><p> … … 1427 1427 folder, too, if you are a Samba printer admin user. From now on, printing should work as expected. 1428 1428 </p><p> 1429 <a class="indexterm" name="id26232 19"></a>1429 <a class="indexterm" name="id2623233"></a> 1430 1430 Samba includes a service-level parameter name <em class="parameter"><code>default devmode</code></em> for generating a default 1431 1431 device mode for a printer. Some drivers function well with Samba's default set of properties. Others 1432 1432 may crash the client's spooler service. So use this parameter with caution. It is always better to have 1433 1433 the 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="id26232 46"></a>Additional Client Driver Installation</h3></div></div></div><p>1435 <a class="indexterm" name="id26232 54"></a>1434 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2623259"></a>Additional Client Driver Installation</h3></div></div></div><p> 1435 <a class="indexterm" name="id2623268"></a> 1436 1436 Every additional driver may be installed in the same way as just described. Browse <code class="literal">Network 1437 1437 Neighborhood</code>, open the <span class="guiicon">Printers</span> folder on Samba server, right-click on … … 1446 1446 </pre><p> 1447 1447 or this command on Windows NT 4.0 workstations: 1448 <a class="indexterm" name="id26233 21"></a>1448 <a class="indexterm" name="id2623335"></a> 1449 1449 </p><pre class="screen"> 1450 1450 <strong class="userinput"><code>rundll32 shell32.dll,Control_RunDLL MAIN.CPL @2</code></strong> … … 1453 1453 You can enter the commands either inside a <span class="guilabel">DOS box</span> window or in the <span class="guimenuitem">Run 1454 1454 command...</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="id26233 65"></a>Always Make First Client Connection as root or “<span class="quote">printer admin</span>”</h3></div></div></div><p>1455 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2623378"></a>Always Make First Client Connection as root or “<span class="quote">printer admin</span>”</h3></div></div></div><p> 1456 1456 After you installed the driver on the Samba server (in its <em class="parameter"><code>[print$]</code></em> share), you 1457 1457 should always make sure that your first client installation completes correctly. Make it a habit for yourself … … 1468 1468 printer for <span class="guiicon">duplex</span> as the default, and so on). 1469 1469 </p><p> 1470 <a class="indexterm" name="id26234 59"></a>1470 <a class="indexterm" name="id2623472"></a> 1471 1471 To connect as root to a Samba printer, try this command from a Windows 200x/XP DOS box command prompt: 1472 1472 </p><pre class="screen"> … … 1482 1482 <code class="literal">Point'n'Print</code>) will have the same defaults set for them. If you miss this step, you'll get a 1483 1483 lot 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="id26235 38"></a>Other Gotchas</h2></div></div></div><p>1484 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623551"></a>Other Gotchas</h2></div></div></div><p> 1485 1485 Your driver is installed. It is now ready for Point'n'Print installation by the clients. You may have tried to 1486 1486 download and use it on your first client machine, but wait. Let's make sure you are acquainted first with a … … 1488 1488 advised in the preceding paragraphs. Your users complain about various issues (such as, “<span class="quote">We need to set 1489 1489 the paper size for each job from Letter to A4 and it will not store it</span>”). 1490 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26235 58"></a>Setting Default Print Options for Client Drivers</h3></div></div></div><p>1490 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2623572"></a>Setting Default Print Options for Client Drivers</h3></div></div></div><p> 1491 1491 The last sentence might be viewed with mixed feelings by some users and Admins. They have struggled for hours 1492 1492 and could not arrive at a point where their settings seemed to be saved. It is not their fault. The confusing … … 1537 1537 defaults for all users. 1538 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="id26238 52"></a>1539 <a class="indexterm" name="id2623865"></a> 1540 1540 </p><p><strong class="userinput"><code> 1541 1541 rundll32 printui.dll,PrintUIEntry /p /t3 /n\\<em class="replaceable"><code>SAMBA-SERVER</code></em>\<em class="replaceable"><code>printersharename</code></em> … … 1548 1548 button (the one that does not set systemwide defaults), you can 1549 1549 start the commands from inside a DOS box or from <span class="guimenu">Start</span> -> <span class="guimenuitem">Run</span>. 1550 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26239 25"></a>Supporting Large Numbers of Printers</h3></div></div></div><p>1550 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2623939"></a>Supporting Large Numbers of Printers</h3></div></div></div><p> 1551 1551 One issue that has arisen during the recent development phase of Samba is the need to support driver 1552 1552 downloads for hundreds of printers. Using Windows NT APW for this task is somewhat awkward (to say the least). If … … 1631 1631 the two commas in the description field). After the <code class="literal">setdriver</code> command 1632 1632 succeeds, all is well. 1633 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26241 82"></a>Adding New Printers with the Windows NT APW</h3></div></div></div><p>1633 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2624195"></a>Adding New Printers with the Windows NT APW</h3></div></div></div><p> 1634 1634 By default, Samba exhibits all printer shares defined in <code class="filename">smb.conf</code> in the <span class="guiicon">Printers</span> 1635 1635 folder. Also located in this folder is the Windows NT Add Printer Wizard icon. The APW will be shown only if: … … 1671 1671 you unwittingly under the wrong privilege. You should check it by using the <code class="literal">smbstatus</code> 1672 1672 command. 1673 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26244 41"></a>Error Message: “<span class="quote">Cannot connect under a different Name</span>”</h3></div></div></div><p>1673 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2624455"></a>Error Message: “<span class="quote">Cannot connect under a different Name</span>”</h3></div></div></div><p> 1674 1674 Once you are connected with the wrong credentials, there is no means to reverse the situation other than 1675 1675 to close all Explorer windows, and perhaps reboot. 1676 1676 </p><div class="itemizedlist"><ul type="disc"><li><p> 1677 <a class="indexterm" name="id26244 61"></a>1677 <a class="indexterm" name="id2624474"></a> 1678 1678 The <code class="literal">net use \\SAMBA-SERVER\sharename /user:root</code> gives you an error message: 1679 1679 “<span class="quote">Multiple connections to a server or a shared resource by the same user utilizing … … 1701 1701 </pre><p> 1702 1702 This 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="id26245 55"></a>Take Care When Assembling Driver Files</h3></div></div></div><p>1703 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2624568"></a>Take Care When Assembling Driver Files</h3></div></div></div><p> 1704 1704 You need to be extremely careful when you take notes about the files belonging to a particular 1705 1705 driver. Don't confuse the files for driver version “<span class="quote">0</span>” (for Windows 9x/Me, going into … … 1832 1832 correct driver files for each driver version. Don't rely on the names alone, and don't interchange files 1833 1833 belonging to different driver versions. 1834 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26248 64"></a>Samba and Printer Ports</h3></div></div></div><p>1835 <a class="indexterm" name="id26248 72"></a>1836 <a class="indexterm" name="id26248 79"></a>1837 <a class="indexterm" name="id26248 86"></a>1838 <a class="indexterm" name="id2624 893"></a>1834 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2624877"></a>Samba and Printer Ports</h3></div></div></div><p> 1835 <a class="indexterm" name="id2624885"></a> 1836 <a class="indexterm" name="id2624892"></a> 1837 <a class="indexterm" name="id2624899"></a> 1838 <a class="indexterm" name="id2624906"></a> 1839 1839 Windows NT/2000 print servers associate a port with each printer. These normally take the form of 1840 1840 <code class="filename">LPT1:</code>, <code class="filename">COM1:</code>, <code class="filename">FILE:</code>, and so on. Samba must also … … 1845 1845 information to keep the Windows clients happy. 1846 1846 </p><p> 1847 <a class="indexterm" name="id26249 37"></a>1847 <a class="indexterm" name="id2624950"></a> 1848 1848 Samba does not support the concept of <code class="constant">Printer Pooling</code> internally either. Printer 1849 1849 pooling assigns a logical printer to multiple ports as a form of load balancing or failover. … … 1852 1852 that they are working with Samba), configure the <a class="link" href="smb.conf.5.html#ENUMPORTSCOMMAND">enumports command</a>, 1853 1853 which 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="id26249 74"></a>Avoiding Common Client Driver Misconfiguration</h3></div></div></div><p>1854 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2624987"></a>Avoiding Common Client Driver Misconfiguration</h3></div></div></div><p> 1855 1855 So now the printing works, but there are still problems. Most jobs print well, some do not print at 1856 1856 all. Some jobs have problems with fonts, which do not look good. Some jobs print fast and some … … 1859 1859 Chapter</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 1860 1860 Client</a>. 1861 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26250 11"></a>The Imprints Toolset</h2></div></div></div><p>1862 <a class="indexterm" name="id26250 19"></a>1861 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625024"></a>The Imprints Toolset</h2></div></div></div><p> 1862 <a class="indexterm" name="id2625032"></a> 1863 1863 The Imprints tool set provides a UNIX equivalent of the Windows NT APW. For complete information, please 1864 1864 refer to the <a class="ulink" href="http://imprints.sourceforge.net/" target="_top">Imprints</a> Web site as well as the … … 1872 1872 there are prepared packages to use. Packages for more up-to-date print devices are needed if Imprints 1873 1873 should 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="id26250 68"></a>What Is Imprints?</h3></div></div></div><p>1874 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2625081"></a>What Is Imprints?</h3></div></div></div><p> 1875 1875 Imprints is a collection of tools for supporting these goals: 1876 1876 </p><div class="itemizedlist"><ul type="disc"><li><p> … … 1881 1881 Providing an installation client that will obtain printer drivers from a central Internet (or intranet) Imprints Server 1882 1882 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="id26251 02"></a>Creating Printer Driver Packages</h3></div></div></div><p>1883 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2625115"></a>Creating Printer Driver Packages</h3></div></div></div><p> 1884 1884 The process of creating printer driver packages is beyond the scope of this document (refer to Imprints.txt, 1885 1885 included with the Samba distribution for more information). In short, an Imprints driver package 1886 1886 is a gzipped tarball containing the driver files, related INF files, and a control file needed by the 1887 1887 installation client. 1888 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26251 18"></a>The Imprints Server</h3></div></div></div><p>1888 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2625131"></a>The Imprints Server</h3></div></div></div><p> 1889 1889 The Imprints server is really a database server that may be queried via standard HTTP mechanisms. Each 1890 1890 printer entry in the database has an associated URL for the actual downloading of the package. Each … … 1893 1893 the one referred in the Imprints database. It is strongly recommended that this security check 1894 1894 not be disabled. 1895 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26251 35"></a>The Installation Client</h3></div></div></div><p>1895 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2625148"></a>The Installation Client</h3></div></div></div><p> 1896 1896 More information regarding the Imprints installation client is available from the documentation file 1897 1897 <code class="filename">Imprints-Client-HOWTO.ps</code> that is included with the Imprints source package. The Imprints … … 1923 1923 The way of sidestepping this limitation is to require that all Imprints printer driver packages include both the Intel Windows NT and 1924 1924 95/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="id26252 68"></a>Adding Network Printers without User Interaction</h2></div></div></div><p>1925 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625282"></a>Adding Network Printers without User Interaction</h2></div></div></div><p> 1926 1926 The following MS Knowledge Base article may be of some help if you need to handle Windows 2000 clients: 1927 1927 <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 … … 1982 1982 added, changed, and deleted at will on the server with no user intervention required from the clients 1983 1983 (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="id26255 39"></a>The <code class="literal">addprinter</code> Command</h2></div></div></div><p>1984 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625553"></a>The <code class="literal">addprinter</code> Command</h2></div></div></div><p> 1985 1985 The <code class="literal">addprinter</code> command can be configured to be a shell script or program executed by 1986 1986 Samba. It is triggered by running the APW from a client against the Samba print server. The APW asks … … 1990 1990 by executing the <code class="literal">lpadmin</code> command on more modern systems) and create the associated share, 1991 1991 then 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="id26255 78"></a>Migration of Classical Printing to Samba</h2></div></div></div><p>1992 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625591"></a>Migration of Classical Printing to Samba</h2></div></div></div><p> 1993 1993 The basic NT-style printer driver management has not changed considerably in 3.0 over the 2.2.x releases 1994 1994 (apart from many small improvements). Here migration should be quite easy, especially if you followed … … 2020 2020 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 2021 2021 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="id26257 27"></a>Publishing Printer Information in Active Directory or LDAP</h2></div></div></div><p>2022 </p></li></ul></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625740"></a>Publishing Printer Information in Active Directory or LDAP</h2></div></div></div><p> 2023 2023 This 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 2024 2024 Net Command</a>. If you wish to volunteer your services to help document this further, please contact 2025 2025 <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="id26257 56"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2625762"></a>I Give My Root Password but I Do Not Get Access</h3></div></div></div><p>2026 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625769"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2625775"></a>I Give My Root Password but I Do Not Get Access</h3></div></div></div><p> 2027 2027 Do not confuse the root password, which is valid for the UNIX system (and in most cases stored in the 2028 2028 form of a one-way hash in a file named <code class="filename">/etc/shadow</code>), with the password used to … … 2035 2035 Retype new SMB password: secret 2036 2036 </pre><p> 2037 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26258 03"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2625816"></a>My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</h3></div></div></div><p> 2038 2038 Do not use the existing UNIX print system spool directory for the Samba spool directory. It may seem 2039 2039 convenient and a savings of space, but it only leads to problems. The two must be separate. The UNIX/Linux -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/compiling.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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#id26805 28">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2680534">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2680576">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2680767">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680842">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680980">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2681217">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#id2681487">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2681707">Alternative: Starting <span class="application">smbd</span> 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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#id2680542">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2680548">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2680589">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2680781">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680855">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680993">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2681231">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#id2681501">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2681721">Alternative: Starting <span class="application">smbd</span> as a Daemon</a></span></dt></dl></dd></dl></div><p> 2 2 You can obtain the Samba source file from the 3 3 <a class="ulink" href="http://samba.org/" target="_top">Samba Web site</a>. To obtain a development version, 4 4 you 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="id26805 28"></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="id2680534"></a>Introduction</h3></div></div></div><p>6 <a class="indexterm" name="id26805 42"></a>5 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2680542"></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="id2680548"></a>Introduction</h3></div></div></div><p> 6 <a class="indexterm" name="id2680556"></a> 7 7 Samba is developed in an open environment. Developers use a 8 8 Subversion to “<span class="quote">checkin</span>” (also known as … … 13 13 This chapter is a modified version of the instructions found at the 14 14 <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="id26805 76"></a>Subversion Access to samba.org</h3></div></div></div><p>15 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2680589"></a>Subversion Access to samba.org</h3></div></div></div><p> 16 16 The machine samba.org runs a publicly accessible Subversion 17 17 repository for access to the source code of several packages, 18 18 including Samba, rsync, distcc, ccache, and jitterbug. There are two main ways 19 19 of accessing the Subversion server on this host. 20 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2680 589"></a>Access via ViewCVS</h4></div></div></div><p>21 <a class="indexterm" name="id2680 597"></a>20 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2680603"></a>Access via ViewCVS</h4></div></div></div><p> 21 <a class="indexterm" name="id2680611"></a> 22 22 You can access the source code via your favorite WWW browser. This allows you to access 23 23 the contents of individual files in the repository and also to look at the revision … … 27 27 Use the URL 28 28 <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="id26806 25"></a>Access via Subversion</h4></div></div></div><p>30 <a class="indexterm" name="id26806 33"></a>29 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2680639"></a>Access via Subversion</h4></div></div></div><p> 30 <a class="indexterm" name="id2680647"></a> 31 31 You can also access the source code via a normal Subversion client. This gives you much more control over what 32 32 you can do with the repository and allows you to check out whole source trees and keep them up to date via … … 38 38 </p><p> 39 39 To gain access via anonymous Subversion, use the following steps. 40 </p><div class="procedure"><a name="id26806 66"></a><p class="title"><b>Procedure 42.1. Retrieving Samba using Subversion</b></p><ol type="1"><li><p>40 </p><div class="procedure"><a name="id2680680"></a><p class="title"><b>Procedure 42.1. Retrieving Samba using Subversion</b></p><ol type="1"><li><p> 41 41 Install a recent copy of Subversion. All you really need is a 42 42 copy of the Subversion client binary. … … 63 63 <strong class="userinput"><code>svn update</code></strong> 64 64 </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="id26807 67"></a>Accessing the Samba Sources via rsync and ftp</h2></div></div></div><p>66 <a class="indexterm" name="id26807 75"></a>67 <a class="indexterm" name="id26807 82"></a>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="id2680781"></a>Accessing the Samba Sources via rsync and ftp</h2></div></div></div><p> 66 <a class="indexterm" name="id2680789"></a> 67 <a class="indexterm" name="id2680796"></a> 68 68 <em class="parameter"><code>pserver.samba.org</code></em> also exports unpacked copies of most parts of the Subversion tree 69 69 at the Samba <a class="ulink" href="ftp://pserver.samba.org/pub/unpacked" target="_top">pserver</a> location and also … … 75 75 merging of local changes as Subversion does. <code class="literal">rsync</code> access is most convenient 76 76 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="id26808 42"></a>Verifying Samba's PGP Signature</h2></div></div></div><p>78 <a class="indexterm" name="id26808 50"></a>79 <a class="indexterm" name="id26808 56"></a>77 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2680855"></a>Verifying Samba's PGP Signature</h2></div></div></div><p> 78 <a class="indexterm" name="id2680864"></a> 79 <a class="indexterm" name="id2680870"></a> 80 80 It is strongly recommended that you verify the PGP signature for any source file before 81 81 installing it. Even if you're not downloading from a mirror site, verifying PGP signatures … … 88 88 <code class="prompt">$ </code><strong class="userinput"><code>wget http://us1.samba.org/samba/ftp/samba-pubkey.asc</code></strong> 89 89 </pre><p> 90 <a class="indexterm" name="id26809 04"></a>90 <a class="indexterm" name="id2680918"></a> 91 91 The first file is the PGP signature for the Samba source file; the other is the Samba public 92 92 PGP key itself. Import the public PGP key with: … … 106 106 gpg: BAD signature from “<span class="quote">Samba Distribution Verification Key</span>” 107 107 </pre><p> 108 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26809 80"></a>Building the Binaries</h2></div></div></div><p>109 <a class="indexterm" name="id268 0988"></a>110 <a class="indexterm" name="id268 0994"></a>108 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2680993"></a>Building the Binaries</h2></div></div></div><p> 109 <a class="indexterm" name="id2681001"></a> 110 <a class="indexterm" name="id2681008"></a> 111 111 After the source tarball has been unpacked, the next step involves 112 112 configuration to match Samba to your operating system platform. … … 121 121 </pre><p> 122 122 </p><p> 123 <a class="indexterm" name="id26810 36"></a>123 <a class="indexterm" name="id2681050"></a> 124 124 To build the binaries, run the program <strong class="userinput"><code>./configure 125 125 </code></strong> in the source directory. This should automatically … … 136 136 </pre><p> 137 137 </p><p> 138 <a class="indexterm" name="id26811 02"></a>138 <a class="indexterm" name="id2681116"></a> 139 139 Execute the following create the binaries: 140 140 </p><pre class="screen"> … … 165 165 As you can see from this, building and installing Samba does not need to 166 166 result in disaster! 167 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26812 17"></a>Compiling Samba with Active Directory Support</h3></div></div></div><p>167 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2681231"></a>Compiling Samba with Active Directory Support</h3></div></div></div><p> 168 168 In order to compile Samba with ADS support, you need to have installed 169 169 on your system: … … 188 188 your LDAP libraries. Look in <code class="filename">config.log</code> to figure 189 189 out why and fix it. 190 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26812 82"></a>Installing the Required Packages for Debian</h4></div></div></div><p>On Debian, you need to install the following packages:</p><p>190 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2681296"></a>Installing the Required Packages for Debian</h4></div></div></div><p>On Debian, you need to install the following packages:</p><p> 191 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="id26813 09"></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>192 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2681323"></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 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> 194 194 </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 195 195 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="id26813 54"></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" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2681368"></a>SuSE Linux Package Requirements</h4></div></div></div><p> 197 197 SuSE Linux installs Heimdal packages that may be required to allow you to build 198 198 binary packages. You should verify that the development libraries have been installed on … … 205 205 packages where they are available. 206 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="id26814 07"></a>207 <a class="indexterm" name="id2681421"></a> 208 208 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 209 209 <span class="application">inetd</span>. Don't try to do both! Either you can put … … 217 217 The main advantage of starting <span class="application">smbd</span> and <span class="application">nmbd</span> using the recommended daemon method 218 218 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="id2681 487"></a>Starting from inetd.conf</h3></div></div></div><a class="indexterm" name="id2681493"></a><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The following will be different if219 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2681501"></a>Starting from inetd.conf</h3></div></div></div><a class="indexterm" name="id2681507"></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 220 220 you use NIS, NIS+, or LDAP to distribute services maps.</p></div><p>Look at your <code class="filename">/etc/services</code>. 221 221 What is defined at port 139/tcp? If nothing is defined, … … 226 226 netbios-ns dgram udp wait root /usr/local/samba/sbin/nmbd nmbd 227 227 </pre><p> 228 </p><a class="indexterm" name="id26815 56"></a><p>228 </p><a class="indexterm" name="id2681569"></a><p> 229 229 The exact syntax of <code class="filename">/etc/inetd.conf</code> 230 230 varies between UNIXes. Look at the other entries in inetd.conf 231 231 for a guide. 232 232 </p><p> 233 <a class="indexterm" name="id26815 76"></a>233 <a class="indexterm" name="id2681590"></a> 234 234 Some distributions use xinetd instead of inetd. Consult the 235 235 xinetd manual for configuration information. … … 239 239 <code class="filename">/etc/inetd.conf</code> to make them consistent. 240 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="id26816 13"></a>241 <a class="indexterm" name="id2681627"></a> 242 242 On many systems you may need to use the 243 243 <a class="link" href="smb.conf.5.html#INTERFACES">interfaces</a> option in <code class="filename">smb.conf</code> to specify … … 254 254 Restart <span class="application">inetd</span>, perhaps just send it a HUP, 255 255 like this: 256 <a class="indexterm" name="id26816 82"></a>256 <a class="indexterm" name="id2681696"></a> 257 257 </p><pre class="screen"> 258 258 <code class="prompt">root# </code><strong class="userinput"><code>killall -HUP inetd</code></strong> 259 259 </pre><p> 260 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26817 07"></a>Alternative: Starting <span class="application">smbd</span> as a Daemon</h3></div></div></div><p>261 <a class="indexterm" name="id26817 21"></a>262 <a class="indexterm" name="id26817 28"></a>260 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2681721"></a>Alternative: Starting <span class="application">smbd</span> as a Daemon</h3></div></div></div><p> 261 <a class="indexterm" name="id2681735"></a> 262 <a class="indexterm" name="id2681742"></a> 263 263 To start the server as a daemon, you should create a script something 264 264 like this one, perhaps calling it <code class="filename">startsmb</code>. … … 279 279 <code class="filename">examples/svr4-startup</code> script to make Samba fit 280 280 into that system. 281 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26818 06"></a>Starting Samba for Red Hat Linux</h4></div></div></div><p>281 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2681820"></a>Starting Samba for Red Hat Linux</h4></div></div></div><p> 282 282 Red Hat Linux has not always included all Samba components in the standard installation. 283 283 So versions of Red Hat Linux do not install the winbind utility, even though it is present … … 312 312 </pre><p> 313 313 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="id26819 29"></a>Starting Samba for Novell SUSE Linux</h4></div></div></div><p>314 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2681942"></a>Starting Samba for Novell SUSE Linux</h4></div></div></div><p> 315 315 Novell SUSE Linux products automatically install all essential Samba components in a default installation. 316 316 Configure your <code class="filename">smb.conf</code> file, then execute the following to start Samba: -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/diagnosis.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>></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#id26757 42">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2675781">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2676074">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="id2675742"></a>Introduction</h2></div></div></div><p>2 <a class="indexterm" name="id26757 50"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>></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#id2675756">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2675795">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2676088">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="id2675756"></a>Introduction</h2></div></div></div><p> 2 <a class="indexterm" name="id2675764"></a> 3 3 This file contains a list of tests you can perform to validate your 4 4 Samba server. It also tells you what the likely cause of the problem … … 15 15 and you have not followed this test procedure, you should not be surprised 16 16 if 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="id26757 81"></a>Assumptions</h2></div></div></div><p>17 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2675795"></a>Assumptions</h2></div></div></div><p> 18 18 In all of the tests, it is assumed you have a Samba server called 19 19 BIGSERVER and a PC called ACLIENT, both in workgroup TESTGROUP. … … 25 25 You can add a <em class="parameter"><code>tmp</code></em> share like this by adding the 26 26 lines 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="id26758 52"></a><em class="parameter"><code>comment = temporary files </code></em></td></tr><tr><td><a class="indexterm" name="id2675864"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td><a class="indexterm" name="id2675875"></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 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="id2675866"></a><em class="parameter"><code>comment = temporary files </code></em></td></tr><tr><td><a class="indexterm" name="id2675878"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td><a class="indexterm" name="id2675889"></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> 28 28 These tests assume version 3.0.0 or later of the Samba suite. 29 29 Some commands shown did not exist in earlier versions. 30 30 </p></div><p> 31 <a class="indexterm" name="id2675896"></a>32 <a class="indexterm" name="id2675903"></a>33 31 <a class="indexterm" name="id2675910"></a> 32 <a class="indexterm" name="id2675917"></a> 33 <a class="indexterm" name="id2675924"></a> 34 34 Please pay attention to the error messages you receive. If any error message 35 35 reports that your server is being unfriendly, you should first check that your … … 37 37 file points to name servers that really do exist. 38 38 </p><p> 39 <a class="indexterm" name="id2675931"></a>40 <a class="indexterm" name="id2675938"></a>41 39 <a class="indexterm" name="id2675945"></a> 42 40 <a class="indexterm" name="id2675952"></a> 41 <a class="indexterm" name="id2675959"></a> 42 <a class="indexterm" name="id2675966"></a> 43 43 Also, if you do not have DNS server access for name resolution, please check 44 44 that the settings for your <code class="filename">smb.conf</code> file results in <em class="parameter"><code>dns proxy = no</code></em>. The 45 45 best way to check this is with <code class="literal">testparm smb.conf</code>. 46 46 </p><p> 47 <a class="indexterm" name="id2675982"></a>48 <a class="indexterm" name="id2675989"></a>49 47 <a class="indexterm" name="id2675996"></a> 50 48 <a class="indexterm" name="id2676003"></a> 51 49 <a class="indexterm" name="id2676010"></a> 50 <a class="indexterm" name="id2676017"></a> 51 <a class="indexterm" name="id2676024"></a> 52 52 It is helpful to monitor the log files during testing by using the 53 53 <code class="literal">tail -F log_file_name</code> in a separate … … 60 60 If you make changes to your <code class="filename">smb.conf</code> file while going through these test, 61 61 remember 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="id26760 74"></a>The Tests</h2></div></div></div><div class="procedure"><a name="id2676079"></a><p class="title"><b>Procedure 38.1. Diagnosing Your Samba Server</b></p><ol type="1"><li><p>63 <a class="indexterm" name="id2676 092"></a>62 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676088"></a>The Tests</h2></div></div></div><div class="procedure"><a name="id2676093"></a><p class="title"><b>Procedure 38.1. Diagnosing Your Samba Server</b></p><ol type="1"><li><p> 63 <a class="indexterm" name="id2676106"></a> 64 64 In the directory in which you store your <code class="filename">smb.conf</code> file, run the command 65 65 <code class="literal">testparm smb.conf</code>. If it reports any errors, then your <code class="filename">smb.conf</code> 66 66 configuration file is faulty. 67 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="id26761 23"></a>69 <a class="indexterm" name="id26761 30"></a>68 <a class="indexterm" name="id2676137"></a> 69 <a class="indexterm" name="id2676144"></a> 70 70 Your <code class="filename">smb.conf</code> file may be located in <code class="filename">/etc/samba</code> 71 71 or in <code class="filename">/usr/local/samba/lib</code>. 72 72 </p></div></li><li><p> 73 <a class="indexterm" name="id26761 64"></a>73 <a class="indexterm" name="id2676178"></a> 74 74 Run the command <code class="literal">ping BIGSERVER</code> from the PC and 75 75 <code class="literal">ping ACLIENT</code> from the UNIX box. If you do not get a valid response, … … 78 78 You will need to start a “<span class="quote">DOS prompt</span>” window on the PC to run ping. 79 79 </p><p> 80 <a class="indexterm" name="id2676197"></a>81 <a class="indexterm" name="id2676203"></a>82 80 <a class="indexterm" name="id2676210"></a> 81 <a class="indexterm" name="id2676217"></a> 82 <a class="indexterm" name="id2676224"></a> 83 83 If you get a message saying “<span class="quote"><span class="errorname">host not found</span></span>” or a similar message, then 84 84 your DNS software or <code class="filename">/etc/hosts</code> file is not correctly set up. If using DNS, check that … … 87 87 remainder of these tests. 88 88 </p><p> 89 <a class="indexterm" name="id2676242"></a>90 <a class="indexterm" name="id2676249"></a>91 89 <a class="indexterm" name="id2676256"></a> 90 <a class="indexterm" name="id2676263"></a> 91 <a class="indexterm" name="id2676270"></a> 92 92 Another reason why ping might fail is if your host is running firewall 93 93 software. You will need to relax the rules to let in the workstation … … 99 99 This is a common problem that is often overlooked. 100 100 </p></div><p> 101 <a class="indexterm" name="id2676 291"></a>102 <a class="indexterm" name="id2676 298"></a>101 <a class="indexterm" name="id2676305"></a> 102 <a class="indexterm" name="id2676312"></a> 103 103 If you wish to check what firewall rules may be present in a system under test, simply run 104 104 <code class="literal">iptables -L -v</code>, or if <em class="parameter"><code>ipchains</code></em>-based firewall rules are in use, … … 134 134 on the UNIX box. You should get back a list of available shares. 135 135 </p><p> 136 <a class="indexterm" name="id2676390"></a>137 <a class="indexterm" name="id2676396"></a>138 136 <a class="indexterm" name="id2676403"></a> 139 137 <a class="indexterm" name="id2676410"></a> 140 138 <a class="indexterm" name="id2676417"></a> 141 139 <a class="indexterm" name="id2676424"></a> 140 <a class="indexterm" name="id2676431"></a> 141 <a class="indexterm" name="id2676438"></a> 142 142 If you get an error message containing the string “<span class="quote">bad password</span>”, then 143 143 you probably have either an incorrect <em class="parameter"><code>hosts allow</code></em>, … … 147 147 <em class="parameter"><code>valid users</code></em>, or <em class="parameter"><code>invalid users</code></em> lines. 148 148 </p><p> 149 <a class="indexterm" name="id2676 494"></a>149 <a class="indexterm" name="id2676508"></a> 150 150 If you get a message <code class="literal">connection refused</code> response, then the <code class="literal">smbd</code> server may 151 151 not be running. If you installed it in <code class="filename">inetd.conf</code>, then you probably edited … … 154 154 state using <code class="literal">netstat -a</code>. 155 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="id26765 34"></a>157 <a class="indexterm" name="id26765 40"></a>156 <a class="indexterm" name="id2676548"></a> 157 <a class="indexterm" name="id2676554"></a> 158 158 Some UNIX/Linux systems use <code class="literal">xinetd</code> in place of 159 159 <code class="literal">inetd</code>. Check your system documentation for the location … … 172 172 a session request. The most common of these involve one or more of 173 173 the <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="id26766 53"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2676665"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy</code></em></td></tr><tr><td><a class="indexterm" name="id2676677"></a><em class="parameter"><code>interfaces = eth0</code></em></td></tr><tr><td><a class="indexterm" name="id2676688"></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="id26767 04"></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="id2676667"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2676679"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy</code></em></td></tr><tr><td><a class="indexterm" name="id2676691"></a><em class="parameter"><code>interfaces = eth0</code></em></td></tr><tr><td><a class="indexterm" name="id2676702"></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="id2676717"></a> 176 176 In <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 177 177 allowance has been made for any session requests that will automatically translate to the loopback adapter 178 178 address 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 179 179 example</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="id26767 55"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2676767"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy 127.</code></em></td></tr><tr><td><a class="indexterm" name="id2676779"></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="id2676 794"></a>182 <a class="indexterm" name="id26768 01"></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="id2676769"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2676781"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy 127.</code></em></td></tr><tr><td><a class="indexterm" name="id2676793"></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="id2676808"></a> 182 <a class="indexterm" name="id2676814"></a> 183 183 Another common cause of these two errors is having something already running on port <code class="constant">139</code>, 184 184 such as Samba (<span class="application">smbd</span> is running from <span class="application">inetd</span> already) or Digital's Pathworks. Check … … 186 186 lot of frustration! 187 187 </p><p> 188 <a class="indexterm" name="id2676845"></a> 189 <a class="indexterm" name="id2676851"></a> 190 <a class="indexterm" name="id2676858"></a> 188 <a class="indexterm" name="id2676859"></a> 191 189 <a class="indexterm" name="id2676865"></a> 192 190 <a class="indexterm" name="id2676872"></a> 191 <a class="indexterm" name="id2676879"></a> 192 <a class="indexterm" name="id2676886"></a> 193 193 And yet another possible cause for failure of this test is when the subnet mask and/or broadcast address 194 194 settings are incorrect. Please check that the network interface IP address/broadcast address/subnet mask 195 195 settings are correct and that Samba has correctly noted these in the <code class="filename">log.nmbd</code> file. 196 196 </p></li><li><p> 197 <a class="indexterm" name="id2676 898"></a>197 <a class="indexterm" name="id2676912"></a> 198 198 Run the command <code class="literal">nmblookup -B BIGSERVER __SAMBA__</code>. 199 199 You should get back the IP address of your Samba server. 200 200 </p><p> 201 <a class="indexterm" name="id26769 16"></a>202 <a class="indexterm" name="id26769 23"></a>203 <a class="indexterm" name="id26769 29"></a>201 <a class="indexterm" name="id2676930"></a> 202 <a class="indexterm" name="id2676936"></a> 203 <a class="indexterm" name="id2676943"></a> 204 204 If you do not, then <span class="application">nmbd</span> is incorrectly installed. Check your <code class="filename">inetd.conf</code> 205 205 if you run it from there, or that the daemon is running and listening to UDP port 137. … … 210 210 inetd. 211 211 </p></li><li><p> 212 <a class="indexterm" name="id26769 66"></a>212 <a class="indexterm" name="id2676980"></a> 213 213 Run the command <code class="literal">nmblookup -B ACLIENT `*'</code>. 214 214 </p><p> … … 229 229 messages from several hosts. 230 230 </p><p> 231 <a class="indexterm" name="id26770 24"></a>231 <a class="indexterm" name="id2677038"></a> 232 232 If this does not give a result similar to the previous test, then nmblookup isn't correctly getting your 233 233 broadcast address through its automatic mechanism. In this case you should experiment with the <a class="link" href="smb.conf.5.html#INTERFACES">interfaces</a> option in <code class="filename">smb.conf</code> to manually configure your IP address, broadcast, and netmask. … … 239 239 not correct. (Refer to test 3 notes above). 240 240 </p></li><li><p> 241 <a class="indexterm" name="id26770 76"></a>241 <a class="indexterm" name="id2677090"></a> 242 242 Run the command <code class="literal">smbclient //BIGSERVER/TMP</code>. You should 243 243 then be prompted for a password. You should use the password of the account … … 267 267 <code class="literal">smbpasswd -a username</code> 268 268 </p></li></ol></div><p> 269 <a class="indexterm" name="id2677260"></a>270 <a class="indexterm" name="id2677267"></a>271 269 <a class="indexterm" name="id2677274"></a> 272 <a class="indexterm" name="id2677280"></a> 270 <a class="indexterm" name="id2677281"></a> 271 <a class="indexterm" name="id2677288"></a> 272 <a class="indexterm" name="id2677294"></a> 273 273 Once connected, you should be able to use the commands <code class="literal">dir</code>, <code class="literal">get</code>, 274 274 <code class="literal">put</code>, and so on. Type <code class="literal">help command</code> for instructions. You should 275 275 especially check that the amount of free disk space shown is correct when you type <code class="literal">dir</code>. 276 276 </p></li><li><p> 277 <a class="indexterm" name="id26773 27"></a>277 <a class="indexterm" name="id2677341"></a> 278 278 On the PC, type the command <code class="literal">net view \\BIGSERVER</code>. You will 279 279 need to do this from within a DOS prompt window. You should get back a 280 280 list of shares available on the server. 281 281 </p><p> 282 <a class="indexterm" name="id26773 46"></a>282 <a class="indexterm" name="id2677360"></a> 283 283 If you get a message <code class="literal">network name not found</code> or similar error, then NetBIOS 284 284 name resolution is not working. This is usually caused by a problem in <code class="literal">nmbd</code>. -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/domain-member.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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">SuSE<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>></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#id2562183">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#id2562869">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563306">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563586">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563692">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#id2564157">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2564892">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#id2565174">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2565365">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#id2566460">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2566532">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2566738">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2566777">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2566853">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2567089">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2562130"></a> 3 <a class="indexterm" name="id2562137"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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">SuSE<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>></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#id2562196">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#id2562883">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563599">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563705">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#id2564171">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2564906">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#id2565187">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2565378">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#id2566473">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2566545">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2566752">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2566792">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2566867">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2567103">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></div><p> 4 2 <a class="indexterm" name="id2562144"></a> 3 <a class="indexterm" name="id2562151"></a> 4 <a class="indexterm" name="id2562158"></a> 5 5 Domain membership is a subject of vital concern. Samba must be able to 6 6 participate as a member server in a Microsoft domain security context, and … … 8 8 otherwise it would not be able to offer a viable option for many users. 9 9 </p><p> 10 <a class="indexterm" name="id25621 59"></a>11 <a class="indexterm" name="id25621 66"></a>10 <a class="indexterm" name="id2562173"></a> 11 <a class="indexterm" name="id2562180"></a> 12 12 This chapter covers background information pertaining to domain membership, 13 13 the Samba configuration for it, and MS Windows client procedures for joining a … … 17 17 misinformation, incorrect understanding, and lack of knowledge. Hopefully 18 18 this 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="id2562183"></a>Features and Benefits</h2></div></div></div><p> 20 <a class="indexterm" name="id2562191"></a> 21 <a class="indexterm" name="id2562198"></a> 19 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2562196"></a>Features and Benefits</h2></div></div></div><p> 22 20 <a class="indexterm" name="id2562204"></a> 21 <a class="indexterm" name="id2562211"></a> 22 <a class="indexterm" name="id2562218"></a> 23 23 MS Windows workstations and servers that want to participate in domain security need to 24 24 be made domain members. Participating in domain security is often called … … 28 28 server) or a Samba server a member of an MS Windows domain security context. 29 29 </p><p> 30 <a class="indexterm" name="id2562236"></a>31 <a class="indexterm" name="id2562243"></a>32 30 <a class="indexterm" name="id2562250"></a> 33 31 <a class="indexterm" name="id2562257"></a> 32 <a class="indexterm" name="id2562263"></a> 33 <a class="indexterm" name="id2562270"></a> 34 34 Samba-3 can join an MS Windows NT4-style domain as a native member server, an 35 35 MS Windows Active Directory domain as a native member server, or a Samba domain 36 36 control network. Domain membership has many advantages: 37 37 </p><div class="itemizedlist"><ul type="disc"><li><p> 38 <a class="indexterm" name="id25622 76"></a>38 <a class="indexterm" name="id2562290"></a> 39 39 MS Windows workstation users get the benefit of SSO. 40 40 </p></li><li><p> 41 <a class="indexterm" name="id2562288"></a>42 <a class="indexterm" name="id2562295"></a>43 41 <a class="indexterm" name="id2562302"></a> 44 <a class="indexterm" name="id2562309"></a> 42 <a class="indexterm" name="id2562308"></a> 43 <a class="indexterm" name="id2562315"></a> 44 <a class="indexterm" name="id2562322"></a> 45 45 Domain user access rights and file ownership/access controls can be set 46 46 from the single Domain Security Account Manager (SAM) database … … 48 48 that are domain members). 49 49 </p></li><li><p> 50 <a class="indexterm" name="id25623 24"></a>51 <a class="indexterm" name="id25623 31"></a>50 <a class="indexterm" name="id2562337"></a> 51 <a class="indexterm" name="id2562344"></a> 52 52 Only <span class="application">MS Windows NT4/200x/XP Professional</span> 53 53 workstations that are domain members can use network logon facilities. 54 54 </p></li><li><p> 55 <a class="indexterm" name="id2562350"></a>56 <a class="indexterm" name="id2562356"></a>57 55 <a class="indexterm" name="id2562363"></a> 58 56 <a class="indexterm" name="id2562370"></a> 57 <a class="indexterm" name="id2562377"></a> 58 <a class="indexterm" name="id2562384"></a> 59 59 Domain member workstations can be better controlled through the use of 60 60 policy files (<code class="filename">NTConfig.POL</code>) and desktop profiles. 61 61 </p></li><li><p> 62 <a class="indexterm" name="id2562390"></a>63 <a class="indexterm" name="id2562396"></a>64 62 <a class="indexterm" name="id2562403"></a> 63 <a class="indexterm" name="id2562410"></a> 64 <a class="indexterm" name="id2562417"></a> 65 65 Through the use of logon scripts, users can be given transparent access to network 66 66 applications that run off application servers. 67 67 </p></li><li><p> 68 <a class="indexterm" name="id2562417"></a>69 <a class="indexterm" name="id2562424"></a>70 68 <a class="indexterm" name="id2562431"></a> 71 <a class="indexterm" name="id2562437"></a> 69 <a class="indexterm" name="id2562438"></a> 70 <a class="indexterm" name="id2562444"></a> 71 <a class="indexterm" name="id2562451"></a> 72 72 Network administrators gain better application and user access management 73 73 abilities because there is no need to maintain user accounts on any network … … 76 76 LDAP directory, or via an Active Directory infrastructure). 77 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="id2562466"></a>79 <a class="indexterm" name="id2562472"></a>80 78 <a class="indexterm" name="id2562479"></a> 81 79 <a class="indexterm" name="id2562486"></a> 80 <a class="indexterm" name="id2562493"></a> 81 <a class="indexterm" name="id2562500"></a> 82 82 A Machine Trust Account is an account that is used to authenticate a client machine (rather than a user) to 83 83 the domain controller server. In Windows terminology, this is known as a “<span class="quote">computer account.</span>” The … … 85 85 access to a domain member workstation. 86 86 </p><p> 87 <a class="indexterm" name="id2562506"></a> 88 <a class="indexterm" name="id2562515"></a> 89 <a class="indexterm" name="id2562522"></a> 87 <a class="indexterm" name="id2562519"></a> 90 88 <a class="indexterm" name="id2562529"></a> 91 89 <a class="indexterm" name="id2562536"></a> 90 <a class="indexterm" name="id2562543"></a> 91 <a class="indexterm" name="id2562550"></a> 92 92 The password of a Machine Trust Account acts as the shared secret for secure communication with the domain 93 93 controller. This is a security feature to prevent an unauthorized machine with the same NetBIOS name from … … 97 97 possess a Machine Trust Account, and, thus, has no shared secret with the domain controller. 98 98 </p><p> 99 <a class="indexterm" name="id25625 57"></a>100 <a class="indexterm" name="id25625 64"></a>101 <a class="indexterm" name="id25625 70"></a>102 <a class="indexterm" name="id25625 77"></a>99 <a class="indexterm" name="id2562571"></a> 100 <a class="indexterm" name="id2562578"></a> 101 <a class="indexterm" name="id2562584"></a> 102 <a class="indexterm" name="id2562591"></a> 103 103 A Windows NT4 PDC stores each Machine Trust Account in the Windows Registry. 104 104 The introduction of MS Windows 2000 saw the introduction of Active Directory, … … 108 108 109 109 </p><div class="itemizedlist"><ul type="disc"><li><p> 110 <a class="indexterm" name="id2562594"></a>111 <a class="indexterm" name="id2562601"></a>112 110 <a class="indexterm" name="id2562608"></a> 111 <a class="indexterm" name="id2562615"></a> 112 <a class="indexterm" name="id2562622"></a> 113 113 A domain security account (stored in the <a class="link" href="smb.conf.5.html#PASSDBBACKEND">passdb backend</a>) that has been configured in 114 114 the <code class="filename">smb.conf</code> file. The precise nature of the account information that is stored depends on the type of 115 115 backend database that has been chosen. 116 116 </p><p> 117 <a class="indexterm" name="id2562640"></a>118 <a class="indexterm" name="id2562647"></a>119 117 <a class="indexterm" name="id2562654"></a> 120 118 <a class="indexterm" name="id2562660"></a> 121 119 <a class="indexterm" name="id2562667"></a> 122 120 <a class="indexterm" name="id2562674"></a> 121 <a class="indexterm" name="id2562681"></a> 122 <a class="indexterm" name="id2562688"></a> 123 123 The older format of this data is the <code class="filename">smbpasswd</code> database 124 124 that contains the UNIX login ID, the UNIX user identifier (UID), and the … … 126 126 this file that we do not need to concern ourselves with here. 127 127 </p><p> 128 <a class="indexterm" name="id2562696"></a>129 <a class="indexterm" name="id2562703"></a>130 128 <a class="indexterm" name="id2562710"></a> 131 129 <a class="indexterm" name="id2562717"></a> 130 <a class="indexterm" name="id2562723"></a> 131 <a class="indexterm" name="id2562730"></a> 132 132 The two newer database types are called ldapsam and tdbsam. Both store considerably more data than the older 133 133 <code class="filename">smbpasswd</code> file did. The extra information enables new user account controls to be 134 134 implemented. 135 135 </p></li><li><p> 136 <a class="indexterm" name="id25627 37"></a>137 <a class="indexterm" name="id25627 44"></a>136 <a class="indexterm" name="id2562751"></a> 137 <a class="indexterm" name="id2562758"></a> 138 138 A corresponding UNIX account, typically stored in <code class="filename">/etc/passwd</code>. Work is in progress to 139 139 allow a simplified mode of operation that does not require UNIX user accounts, but this has not been a feature … … 141 141 </p></li></ul></div><p> 142 142 </p><p> 143 <a class="indexterm" name="id25627 70"></a>143 <a class="indexterm" name="id2562784"></a> 144 144 There are three ways to create Machine Trust Accounts: 145 145 </p><div class="itemizedlist"><ul type="disc"><li><p> 146 <a class="indexterm" name="id2562 786"></a>146 <a class="indexterm" name="id2562800"></a> 147 147 Manual creation from the UNIX/Linux command line. Here, both the Samba and 148 148 corresponding UNIX account are created by hand. 149 149 </p></li><li><p> 150 <a class="indexterm" name="id25628 00"></a>151 <a class="indexterm" name="id25628 07"></a>150 <a class="indexterm" name="id2562814"></a> 151 <a class="indexterm" name="id2562821"></a> 152 152 Using the MS Windows NT4 Server Manager, either from an NT4 domain member 153 153 server or using the Nexus toolkit available from the Microsoft Web site. … … 155 155 logged on as the administrator account. 156 156 </p></li><li><p> 157 <a class="indexterm" name="id25628 23"></a>158 <a class="indexterm" name="id25628 30"></a>157 <a class="indexterm" name="id2562836"></a> 158 <a class="indexterm" name="id2562843"></a> 159 159 “<span class="quote">On-the-fly</span>” creation. The Samba Machine Trust Account is automatically 160 160 created by Samba at the time the client is joined to the domain. … … 162 162 account may be created automatically or manually. 163 163 </p></li></ul></div><p> 164 <a class="indexterm" name="id25628 49"></a>165 <a class="indexterm" name="id25628 56"></a>164 <a class="indexterm" name="id2562862"></a> 165 <a class="indexterm" name="id2562869"></a> 166 166 Neither MS Windows NT4/200x/XP Professional, nor Samba, provide any method for enforcing the method of machine 167 167 trust 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="id25628 69"></a>Manual Creation of Machine Trust Accounts</h3></div></div></div><p>169 <a class="indexterm" name="id25628 78"></a>170 <a class="indexterm" name="id25628 84"></a>171 <a class="indexterm" name="id2562 890"></a>172 <a class="indexterm" name="id2562 897"></a>168 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2562883"></a>Manual Creation of Machine Trust Accounts</h3></div></div></div><p> 169 <a class="indexterm" name="id2562891"></a> 170 <a class="indexterm" name="id2562898"></a> 171 <a class="indexterm" name="id2562903"></a> 172 <a class="indexterm" name="id2562910"></a> 173 173 The first step in manually creating a Machine Trust Account is to manually 174 174 create the corresponding UNIX account in <code class="filename">/etc/passwd</code>. … … 184 184 </pre><p> 185 185 </p><p> 186 <a class="indexterm" name="id2562965"></a>187 <a class="indexterm" name="id2562972"></a>188 186 <a class="indexterm" name="id2562979"></a> 187 <a class="indexterm" name="id2562986"></a> 188 <a class="indexterm" name="id2562992"></a> 189 189 In the example above there is an existing system group “<span class="quote">machines</span>” which is used 190 190 as the primary group for all machine accounts. In the following examples the “<span class="quote">machines</span>” group 191 191 numeric GID is 100. 192 192 </p><p> 193 <a class="indexterm" name="id256 2999"></a>194 <a class="indexterm" name="id25630 06"></a>193 <a class="indexterm" name="id2563013"></a> 194 <a class="indexterm" name="id2563020"></a> 195 195 On *BSD systems, this can be done using the <code class="literal">chpass</code> utility: 196 196 </p><pre class="screen"> … … 199 199 </pre><p> 200 200 </p><p> 201 <a class="indexterm" name="id2563047"></a> 202 <a class="indexterm" name="id2563054"></a> 203 <a class="indexterm" name="id2563060"></a> 201 <a class="indexterm" name="id2563061"></a> 204 202 <a class="indexterm" name="id2563067"></a> 203 <a class="indexterm" name="id2563074"></a> 204 <a class="indexterm" name="id2563081"></a> 205 205 The <code class="filename">/etc/passwd</code> entry will list the machine name 206 206 with a “<span class="quote">$</span>” appended, and will not have a password, will have a null shell and no … … 211 211 </pre><p> 212 212 </p><p> 213 <a class="indexterm" name="id2563110"></a>214 <a class="indexterm" name="id2563116"></a>215 213 <a class="indexterm" name="id2563123"></a> 214 <a class="indexterm" name="id2563130"></a> 215 <a class="indexterm" name="id2563137"></a> 216 216 in which <em class="replaceable"><code>machine_nickname</code></em> can be any 217 217 descriptive name for the client, such as BasementComputer. … … 221 221 this as a Machine Trust Account. 222 222 </p><p> 223 <a class="indexterm" name="id2563149"></a>224 <a class="indexterm" name="id2563156"></a>225 223 <a class="indexterm" name="id2563163"></a> 224 <a class="indexterm" name="id2563170"></a> 225 <a class="indexterm" name="id2563177"></a> 226 226 Now that the corresponding UNIX account has been created, the next step is to create 227 227 the Samba account for the client containing the well-known initial … … 233 233 </pre><p> 234 234 </p><p> 235 <a class="indexterm" name="id2563204"></a>236 <a class="indexterm" name="id2563211"></a>237 235 <a class="indexterm" name="id2563218"></a> 238 236 <a class="indexterm" name="id2563225"></a> 237 <a class="indexterm" name="id2563232"></a> 238 <a class="indexterm" name="id2563238"></a> 239 239 where <em class="replaceable"><code>machine_name</code></em> is the machine's NetBIOS 240 240 name. The RID of the new machine account is generated from the UID of 241 241 the corresponding UNIX account. 242 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="id2563247"></a>244 <a class="indexterm" name="id2563254"></a>245 243 <a class="indexterm" name="id2563260"></a> 246 244 <a class="indexterm" name="id2563267"></a> 247 245 <a class="indexterm" name="id2563274"></a> 246 <a class="indexterm" name="id2563281"></a> 247 <a class="indexterm" name="id2563288"></a> 248 248 Manually creating a Machine Trust Account using this method is the 249 249 equivalent of creating a Machine Trust Account on a Windows NT PDC using 250 <a class="indexterm" name="id25632 84"></a>250 <a class="indexterm" name="id2563297"></a> 251 251 the <span class="application">Server Manager</span>. From the time at which the 252 252 account is created to the time the client joins the domain and … … 255 255 trusts members of the domain and will serve out a large degree of user 256 256 information 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="id25633 06"></a>Managing Domain Machine Accounts using NT4 Server Manager</h3></div></div></div><p>258 <a class="indexterm" name="id25633 15"></a>259 <a class="indexterm" name="id25633 22"></a>260 <a class="indexterm" name="id25633 29"></a>257 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2563320"></a>Managing Domain Machine Accounts using NT4 Server Manager</h3></div></div></div><p> 258 <a class="indexterm" name="id2563328"></a> 259 <a class="indexterm" name="id2563335"></a> 260 <a class="indexterm" name="id2563342"></a> 261 261 A working <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT">add machine script</a> is essential 262 262 for machine trust accounts to be automatically created. This applies no matter whether 263 263 you use automatic account creation or the NT4 Domain Server Manager. 264 264 </p><p> 265 <a class="indexterm" name="id2563355"></a>266 <a class="indexterm" name="id2563361"></a>267 265 <a class="indexterm" name="id2563368"></a> 268 266 <a class="indexterm" name="id2563375"></a> 267 <a class="indexterm" name="id2563381"></a> 268 <a class="indexterm" name="id2563388"></a> 269 269 If the machine from which you are trying to manage the domain is an 270 270 <span class="application">MS Windows NT4 workstation or MS Windows 200x/XP Professional</span>, … … 273 273 and <code class="literal">UsrMgr.exe</code> (both are domain management tools for MS Windows NT4 workstation). 274 274 </p><p> 275 <a class="indexterm" name="id25634 13"></a>276 <a class="indexterm" name="id25634 20"></a>275 <a class="indexterm" name="id2563426"></a> 276 <a class="indexterm" name="id2563433"></a> 277 277 If your workstation is a <span class="application">Microsoft Windows 9x/Me</span> family product, 278 278 you should download the <code class="literal">Nexus.exe</code> package from the Microsoft Web site. … … 284 284 <a class="ulink" href="http://support.microsoft.com/default.aspx?scid=kb;en-us;172540" target="_top">172540</a> 285 285 </p><p> 286 <a class="indexterm" name="id25634 64"></a>287 <a class="indexterm" name="id25634 71"></a>286 <a class="indexterm" name="id2563478"></a> 287 <a class="indexterm" name="id2563484"></a> 288 288 Launch the <code class="literal">srvmgr.exe</code> (Server Manager for Domains) and follow these steps: 289 </p><div class="procedure"><a name="id2563 486"></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"><a name="id2563500"></a><p class="title"><b>Procedure 6.1. Server Manager Account Machine Account Management</b></p><ol type="1"><li><p> 290 290 From the menu select <span class="guimenu">Computer</span>. 291 291 </p></li><li><p> … … 304 304 enter the machine name in the field provided, and click the 305 305 <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="id25635 86"></a>On-the-Fly Creation of Machine Trust Accounts</h3></div></div></div><p>307 <a class="indexterm" name="id2563 594"></a>306 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2563599"></a>On-the-Fly Creation of Machine Trust Accounts</h3></div></div></div><p> 307 <a class="indexterm" name="id2563608"></a> 308 308 The third (and recommended) way of creating Machine Trust Accounts is simply to allow the Samba server to 309 309 create them as needed when the client is joined to the domain. 310 310 </p><p> 311 <a class="indexterm" name="id25636 10"></a>312 <a class="indexterm" name="id25636 19"></a>313 <a class="indexterm" name="id25636 26"></a>311 <a class="indexterm" name="id2563623"></a> 312 <a class="indexterm" name="id2563633"></a> 313 <a class="indexterm" name="id2563640"></a> 314 314 Since each Samba Machine Trust Account requires a corresponding UNIX account, a method 315 315 for automatically creating the UNIX account is usually supplied; this requires configuration of the … … 317 317 accounts may also be created manually. 318 318 </p><p> 319 <a class="indexterm" name="id25636 48"></a>320 <a class="indexterm" name="id25636 54"></a>319 <a class="indexterm" name="id2563661"></a> 320 <a class="indexterm" name="id2563668"></a> 321 321 Here 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="id25636 77"></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="id2563 692"></a>Making an MS Windows Workstation or Server a Domain Member</h3></div></div></div><p>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="id2563690"></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="id2563705"></a>Making an MS Windows Workstation or Server a Domain Member</h3></div></div></div><p> 324 324 The procedure for making an MS Windows workstation or server a member of the domain varies 325 325 with the version of Windows. 326 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25637 02"></a>Windows 200x/XP Professional Client</h4></div></div></div><p>327 <a class="indexterm" name="id25637 11"></a>328 <a class="indexterm" name="id25637 18"></a>329 <a class="indexterm" name="id25637 27"></a>330 <a class="indexterm" name="id25637 34"></a>326 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2563716"></a>Windows 200x/XP Professional Client</h4></div></div></div><p> 327 <a class="indexterm" name="id2563724"></a> 328 <a class="indexterm" name="id2563731"></a> 329 <a class="indexterm" name="id2563741"></a> 330 <a class="indexterm" name="id2563748"></a> 331 331 When the user elects to make the client a domain member, Windows 200x prompts for 332 332 an account and password that has privileges to create machine accounts in the domain. … … 335 335 account is given. 336 336 </p><p> 337 <a class="indexterm" name="id25637 54"></a>338 <a class="indexterm" name="id25637 61"></a>337 <a class="indexterm" name="id2563767"></a> 338 <a class="indexterm" name="id2563774"></a> 339 339 For security reasons, the password for this administrator account should be set 340 340 to a password that is other than that used for the root user in <code class="filename">/etc/passwd</code>. 341 341 </p><p> 342 <a class="indexterm" name="id25637 79"></a>343 <a class="indexterm" name="id25637 86"></a>344 <a class="indexterm" name="id2563 793"></a>345 <a class="indexterm" name="id25638 00"></a>342 <a class="indexterm" name="id2563792"></a> 343 <a class="indexterm" name="id2563799"></a> 344 <a class="indexterm" name="id2563806"></a> 345 <a class="indexterm" name="id2563813"></a> 346 346 The name of the account that is used to create domain member machine trust accounts can be 347 347 anything the network administrator may choose. If it is other than <code class="constant">root</code>, … … 349 349 <a class="link" href="smb.conf.5.html#USERNAMEMAP">username map = /etc/samba/smbusers</a>. 350 350 </p><p> 351 <a class="indexterm" name="id2563840"></a>352 <a class="indexterm" name="id2563846"></a>353 351 <a class="indexterm" name="id2563853"></a> 352 <a class="indexterm" name="id2563860"></a> 353 <a class="indexterm" name="id2563867"></a> 354 354 The session key of the Samba administrator account acts as an encryption key for setting the password of the machine trust 355 355 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="id2563866"></a>Windows NT4 Client</h4></div></div></div><p> 357 <a class="indexterm" name="id2563874"></a> 358 <a class="indexterm" name="id2563881"></a> 356 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2563880"></a>Windows NT4 Client</h4></div></div></div><p> 359 357 <a class="indexterm" name="id2563888"></a> 358 <a class="indexterm" name="id2563895"></a> 359 <a class="indexterm" name="id2563902"></a> 360 360 If the Machine Trust Account was created manually, on the 361 361 Identification Changes menu enter the domain name, but do not … … 364 364 to the domain. 365 365 </p><p> 366 <a class="indexterm" name="id2563908"></a>367 <a class="indexterm" name="id2563915"></a>368 366 <a class="indexterm" name="id2563922"></a> 369 367 <a class="indexterm" name="id2563929"></a> 368 <a class="indexterm" name="id2563935"></a> 369 <a class="indexterm" name="id2563942"></a> 370 370 If the Machine Trust Account is to be created on the fly, on the Identification Changes menu enter the domain 371 371 name and check the box <span class="guilabel">Create a Computer Account in the Domain</span>. In this case, joining 372 372 the domain proceeds as above for Windows 2000 (i.e., you must supply a Samba administrator account when 373 373 prompted). 374 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25639 49"></a>Samba Client</h4></div></div></div><p>375 <a class="indexterm" name="id25639 57"></a>374 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2563963"></a>Samba Client</h4></div></div></div><p> 375 <a class="indexterm" name="id2563971"></a> 376 376 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 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="id2563988"></a>379 <a class="indexterm" name="id2563995"></a>380 378 <a class="indexterm" name="id2564002"></a> 381 379 <a class="indexterm" name="id2564009"></a> 380 <a class="indexterm" name="id2564016"></a> 381 <a class="indexterm" name="id2564023"></a> 382 382 This mode of server operation involves the Samba machine being made a member 383 383 of a domain security context. This means by definition that all user … … 388 388 </p><p> 389 389 <span class="emphasis"><em> 390 <a class="indexterm" name="id2564028"></a> 391 <a class="indexterm" name="id2564037"></a> 392 <a class="indexterm" name="id2564044"></a> 390 <a class="indexterm" name="id2564042"></a> 393 391 <a class="indexterm" name="id2564051"></a> 394 392 <a class="indexterm" name="id2564058"></a> 395 393 <a class="indexterm" name="id2564065"></a> 396 <a class="indexterm" name="id256407 1"></a>394 <a class="indexterm" name="id2564072"></a> 397 395 <a class="indexterm" name="id2564078"></a> 396 <a class="indexterm" name="id2564085"></a> 397 <a class="indexterm" name="id2564092"></a> 398 398 Of course it should be clear that the authentication backend itself could be 399 399 from any distributed directory architecture server that is supported by Samba. … … 402 402 </em></span> 403 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="id2564094"></a>405 <a class="indexterm" name="id2564101"></a>406 404 <a class="indexterm" name="id2564108"></a> 405 <a class="indexterm" name="id2564115"></a> 406 <a class="indexterm" name="id2564122"></a> 407 407 When Samba is configured to use an LDAP or other identity management and/or 408 408 directory service, it is Samba that continues to perform user and machine … … 410 410 authentication handling in place of what Samba is designed to do. 411 411 </p></div><p> 412 <a class="indexterm" name="id25641 23"></a>413 <a class="indexterm" name="id25641 31"></a>414 <a class="indexterm" name="id25641 38"></a>412 <a class="indexterm" name="id2564137"></a> 413 <a class="indexterm" name="id2564144"></a> 414 <a class="indexterm" name="id2564151"></a> 415 415 Please refer to <a class="link" href="samba-pdc.html" title="Chapter 4. Domain Control">Domain Control</a>, for more information regarding 416 416 how to create a domain machine account for a domain member server as well as for 417 417 information on how to enable the Samba domain member machine to join the domain 418 418 and be fully trusted by it. 419 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25641 57"></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="id25642 41"></a>419 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2564171"></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="id2564255"></a> 421 421 First, you must edit your <code class="filename">smb.conf</code> file to tell Samba it should now use domain security. 422 422 </p><p> 423 <a class="indexterm" name="id2564257"></a>424 <a class="indexterm" name="id2564264"></a>425 423 <a class="indexterm" name="id2564271"></a> 426 424 <a class="indexterm" name="id2564278"></a> 425 <a class="indexterm" name="id2564285"></a> 426 <a class="indexterm" name="id2564292"></a> 427 427 Change (or add) your <a class="link" href="smb.conf.5.html#SECURITY">security</a> line in the [global] section 428 428 of 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="id25643 09"></a><em class="parameter"><code>security = domain</code></em></td></tr></table><p>429 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2564322"></a><em class="parameter"><code>security = domain</code></em></td></tr></table><p> 430 430 Note that if the parameter <em class="parameter"><code>security = user</code></em> is used, this machine would function as a 431 431 standalone server and not as a domain member server. Domain security mode causes Samba to work within the … … 434 434 Next change the <a class="link" href="smb.conf.5.html#WORKGROUP">workgroup</a> line in the <em class="parameter"><code>[global]</code></em> 435 435 section to read: 436 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id25643 57"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr></table><p>436 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2564371"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr></table><p> 437 437 This is the name of the domain we are joining. 438 438 </p><p> 439 <a class="indexterm" name="id25643 73"></a>440 <a class="indexterm" name="id25643 80"></a>439 <a class="indexterm" name="id2564386"></a> 440 <a class="indexterm" name="id2564393"></a> 441 441 You must also have the parameter <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS">encrypt passwords</a> 442 442 set to <code class="constant">yes</code> in order for your users to authenticate to the NT PDC. … … 444 444 parameter, but if it is specified in the <code class="filename">smb.conf</code> file, it must be set to <code class="constant">Yes</code>. 445 445 </p><p> 446 <a class="indexterm" name="id2564419"></a>447 <a class="indexterm" name="id2564425"></a>448 446 <a class="indexterm" name="id2564432"></a> 449 447 <a class="indexterm" name="id2564439"></a> 448 <a class="indexterm" name="id2564445"></a> 449 <a class="indexterm" name="id2564452"></a> 450 450 Finally, add (or modify) a <a class="link" href="smb.conf.5.html#PASSWORDSERVER">password server</a> line in the [global] 451 451 section to read: 452 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id25644 63"></a><em class="parameter"><code>password server = DOMPDC DOMBDC1 DOMBDC2</code></em></td></tr></table><p>452 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2564477"></a><em class="parameter"><code>password server = DOMPDC DOMBDC1 DOMBDC2</code></em></td></tr></table><p> 453 453 These are the PDC and BDCs Samba 454 454 will attempt to contact in order to authenticate users. Samba will … … 457 457 among Domain Controllers. 458 458 </p><p> 459 <a class="indexterm" name="id25644 83"></a>460 <a class="indexterm" name="id2564 490"></a>461 <a class="indexterm" name="id2564 497"></a>462 <a class="indexterm" name="id25645 04"></a>459 <a class="indexterm" name="id2564496"></a> 460 <a class="indexterm" name="id2564503"></a> 461 <a class="indexterm" name="id2564510"></a> 462 <a class="indexterm" name="id2564517"></a> 463 463 Alternatively, if you want smbd to determine automatically the list of domain controllers to use for 464 464 authentication, you may set this line to be: 465 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id25645 19"></a><em class="parameter"><code>password server = *</code></em></td></tr></table><p>466 <a class="indexterm" name="id25645 30"></a>465 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2564532"></a><em class="parameter"><code>password server = *</code></em></td></tr></table><p> 466 <a class="indexterm" name="id2564544"></a> 467 467 This method allows Samba to use exactly the same mechanism that NT does. The 468 468 method either uses broadcast-based name resolution, performs a WINS database … … 471 471 </p><p> 472 472 To join the domain, run this command: 473 <a class="indexterm" name="id25645 46"></a>473 <a class="indexterm" name="id2564560"></a> 474 474 </p><pre class="screen"> 475 475 <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> 476 476 </pre><p> 477 477 </p><p> 478 <a class="indexterm" name="id2564579"></a>479 <a class="indexterm" name="id2564586"></a>480 478 <a class="indexterm" name="id2564593"></a> 481 479 <a class="indexterm" name="id2564600"></a> 480 <a class="indexterm" name="id2564606"></a> 481 <a class="indexterm" name="id2564613"></a> 482 482 If 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 483 483 the NetBIOS name of the PDC will be obtained either using a WINS lookup or via NetBIOS broadcast based name 484 484 look up. 485 485 </p><p> 486 <a class="indexterm" name="id2564623"></a>487 <a class="indexterm" name="id2564630"></a>488 486 <a class="indexterm" name="id2564636"></a> 489 487 <a class="indexterm" name="id2564643"></a> 488 <a class="indexterm" name="id2564650"></a> 489 <a class="indexterm" name="id2564657"></a> 490 490 The machine is joining the domain DOM, and the PDC for that domain (the only machine 491 491 that has write access to the domain SAM database) is DOMPDC; therefore, use the <code class="option">-S</code> … … 498 498 </pre><p> 499 499 </p><p> 500 <a class="indexterm" name="id25646 79"></a>501 <a class="indexterm" name="id2564 690"></a>502 <a class="indexterm" name="id2564 697"></a>500 <a class="indexterm" name="id2564693"></a> 501 <a class="indexterm" name="id2564704"></a> 502 <a class="indexterm" name="id2564710"></a> 503 503 Where Active Directory is used, the command used to join the ADS domain is: 504 504 </p><pre class="screen"> … … 513 513 administration</a> for further information. 514 514 </p><p> 515 <a class="indexterm" name="id2564754"></a>516 <a class="indexterm" name="id2564761"></a>517 515 <a class="indexterm" name="id2564768"></a> 516 <a class="indexterm" name="id2564775"></a> 517 <a class="indexterm" name="id2564782"></a> 518 518 This process joins the server to the domain without separately having to create the machine 519 519 trust account on the PDC beforehand. 520 520 </p><p> 521 <a class="indexterm" name="id25647 80"></a>522 <a class="indexterm" name="id2564 790"></a>523 <a class="indexterm" name="id2564 797"></a>524 <a class="indexterm" name="id25648 04"></a>521 <a class="indexterm" name="id2564794"></a> 522 <a class="indexterm" name="id2564803"></a> 523 <a class="indexterm" name="id2564811"></a> 524 <a class="indexterm" name="id2564818"></a> 525 525 This command goes through the machine account password change protocol, then writes the new (random) machine 526 526 account password for this Samba server into a file in the same directory in which a smbpasswd file would be … … 528 528 <code class="filename">/usr/local/samba/private/secrets.tdb</code> or <code class="filename">/etc/samba/secrets.tdb</code>. 529 529 </p><p> 530 <a class="indexterm" name="id25648 33"></a>531 <a class="indexterm" name="id25648 40"></a>530 <a class="indexterm" name="id2564846"></a> 531 <a class="indexterm" name="id2564853"></a> 532 532 This file is created and owned by root and is not readable by any other user. It is 533 533 the key to the domain-level security for your system and should be treated as carefully 534 534 as a shadow password file. 535 535 </p><p> 536 <a class="indexterm" name="id2564853"></a>537 <a class="indexterm" name="id2564860"></a>538 536 <a class="indexterm" name="id2564867"></a> 537 <a class="indexterm" name="id2564874"></a> 538 <a class="indexterm" name="id2564881"></a> 539 539 Finally, restart your Samba daemons and get ready for clients to begin using domain 540 540 security. The way you can restart your Samba daemons depends on your distribution, … … 543 543 <code class="prompt">root# </code>/etc/init.d/samba restart 544 544 </pre><p> 545 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2564 892"></a>Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</h3></div></div></div><p>546 <a class="indexterm" name="id25649 06"></a>547 <a class="indexterm" name="id25649 13"></a>548 <a class="indexterm" name="id25649 20"></a>545 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2564906"></a>Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</h3></div></div></div><p> 546 <a class="indexterm" name="id2564919"></a> 547 <a class="indexterm" name="id2564926"></a> 548 <a class="indexterm" name="id2564933"></a> 549 549 Currently, domain security in Samba does not free you from having to create local UNIX users to represent the 550 550 users attaching to your server. This means that if domain user <code class="constant">DOM\fred</code> attaches to your … … 553 553 NT server in the same way as a Windows 95 or Windows 98 server would. 554 554 </p><p> 555 <a class="indexterm" name="id25649 54"></a>556 <a class="indexterm" name="id25649 60"></a>557 <a class="indexterm" name="id25649 67"></a>555 <a class="indexterm" name="id2564968"></a> 556 <a class="indexterm" name="id2564974"></a> 557 <a class="indexterm" name="id2564980"></a> 558 558 Please 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 559 559 to automatically assign UNIX UIDs and GIDs to Windows NT domain users and groups. 560 560 </p><p> 561 <a class="indexterm" name="id2564986"></a>562 <a class="indexterm" name="id2564993"></a>563 561 <a class="indexterm" name="id2565000"></a> 562 <a class="indexterm" name="id2565007"></a> 563 <a class="indexterm" name="id2565014"></a> 564 564 The advantage of domain-level security is that the authentication in domain-level security is passed down the 565 565 authenticated RPC channel in exactly the same way that an NT server would do it. This means Samba servers now … … 568 568 domain PDC). 569 569 </p><p> 570 <a class="indexterm" name="id2565018"></a>571 <a class="indexterm" name="id2565024"></a>572 570 <a class="indexterm" name="id2565031"></a> 571 <a class="indexterm" name="id2565038"></a> 572 <a class="indexterm" name="id2565044"></a> 573 573 In addition, with <a class="link" href="smb.conf.5.html#SECURITY">security = server</a>, every Samba daemon on a server has to 574 574 keep a connection open to the authenticating server for as long as that daemon lasts. This can drain the … … 578 578 connection resources. 579 579 </p><p> 580 <a class="indexterm" name="id2565071"></a> 581 <a class="indexterm" name="id2565077"></a> 582 <a class="indexterm" name="id2565084"></a> 580 <a class="indexterm" name="id2565085"></a> 583 581 <a class="indexterm" name="id2565091"></a> 582 <a class="indexterm" name="id2565098"></a> 583 <a class="indexterm" name="id2565104"></a> 584 584 Finally, acting in the same manner as an NT server authenticating to a PDC means that as part of the 585 585 authentication reply, the Samba server gets the user identification information such as the user SID, the list … … 590 590 <span class="emphasis"><em>Doing the NIS/NT Samba</em></span>. 591 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="id25651 41"></a>593 <a class="indexterm" name="id25651 47"></a>594 <a class="indexterm" name="id25651 56"></a>595 <a class="indexterm" name="id25651 63"></a>592 <a class="indexterm" name="id2565154"></a> 593 <a class="indexterm" name="id2565161"></a> 594 <a class="indexterm" name="id2565170"></a> 595 <a class="indexterm" name="id2565177"></a> 596 596 This is a rough guide to setting up Samba-3 with Kerberos authentication against a 597 597 Windows 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="id25651 74"></a>Configure <code class="filename">smb.conf</code></h3></div></div></div><p>598 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565187"></a>Configure <code class="filename">smb.conf</code></h3></div></div></div><p> 599 599 You 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="id2565200"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2565211"></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="id2565231"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr></table><p> 601 <a class="indexterm" name="id2565245"></a> 602 <a class="indexterm" name="id2565252"></a> 600 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2565213"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2565225"></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="id2565245"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr></table><p> 603 601 <a class="indexterm" name="id2565259"></a> 604 <a class="indexterm" name="id256526 5"></a>602 <a class="indexterm" name="id2565266"></a> 605 603 <a class="indexterm" name="id2565272"></a> 604 <a class="indexterm" name="id2565279"></a> 605 <a class="indexterm" name="id2565286"></a> 606 606 In case samba cannot correctly identify the appropriate ADS server using the realm name, use the 607 607 <a class="link" href="smb.conf.5.html#PASSWORDSERVER">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="id25653 03"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p>608 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2565317"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p> 609 609 The most common reason for which Samba may not be able to locate the ADS domain controller is a consequence of 610 610 sites maintaining some DNS servers on UNIX systems without regard for the DNS requirements of the ADS … … 612 612 server</code></em>. 613 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="id25653 30"></a>615 <a class="indexterm" name="id25653 37"></a>614 <a class="indexterm" name="id2565344"></a> 615 <a class="indexterm" name="id2565350"></a> 616 616 You do <span class="emphasis"><em>not</em></span> need an smbpasswd file, and older clients will be authenticated as 617 617 if <a class="link" href="smb.conf.5.html#SECURITY">security = domain</a>, although it will not do any harm and 618 618 allows 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="id25653 65"></a>Configure <code class="filename">/etc/krb5.conf</code></h3></div></div></div><p>620 <a class="indexterm" name="id25653 77"></a>621 <a class="indexterm" name="id25653 84"></a>622 <a class="indexterm" name="id2565 393"></a>623 <a class="indexterm" name="id25654 00"></a>619 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565378"></a>Configure <code class="filename">/etc/krb5.conf</code></h3></div></div></div><p> 620 <a class="indexterm" name="id2565390"></a> 621 <a class="indexterm" name="id2565397"></a> 622 <a class="indexterm" name="id2565407"></a> 623 <a class="indexterm" name="id2565414"></a> 624 624 With both MIT and Heimdal Kerberos, it is unnecessary to configure the <code class="filename">/etc/krb5.conf</code>, 625 625 and it may be detrimental. 626 626 </p><p> 627 <a class="indexterm" name="id2565418"></a> 628 <a class="indexterm" name="id2565424"></a> 629 <a class="indexterm" name="id2565431"></a> 627 <a class="indexterm" name="id2565432"></a> 630 628 <a class="indexterm" name="id2565438"></a> 631 629 <a class="indexterm" name="id2565445"></a> 630 <a class="indexterm" name="id2565452"></a> 631 <a class="indexterm" name="id2565458"></a> 632 632 Microsoft ADS automatically create SRV records in the DNS zone 633 633 <em class="parameter"><code>_kerberos._tcp.REALM.NAME</code></em> for each KDC in the realm. This is part … … 636 636 active directory infrastructure. 637 637 </p><p> 638 <a class="indexterm" name="id2565466"></a>639 <a class="indexterm" name="id2565473"></a>640 638 <a class="indexterm" name="id2565480"></a> 641 639 <a class="indexterm" name="id2565487"></a> 642 640 <a class="indexterm" name="id2565494"></a> 643 641 <a class="indexterm" name="id2565500"></a> 642 <a class="indexterm" name="id2565507"></a> 643 <a class="indexterm" name="id2565514"></a> 644 644 UNIX systems can use kinit and the DES-CBC-MD5 or DES-CBC-CRC encryption types to authenticate to the Windows 645 645 2000 KDC. For further information regarding Windows 2000 ADS kerberos interoperability please refer to the … … 649 649 explains much of the magic behind the operation of Kerberos. 650 650 </p><p> 651 <a class="indexterm" name="id2565532"></a> 652 <a class="indexterm" name="id2565538"></a> 653 <a class="indexterm" name="id2565545"></a> 651 <a class="indexterm" name="id2565546"></a> 654 652 <a class="indexterm" name="id2565552"></a> 655 653 <a class="indexterm" name="id2565559"></a> 656 654 <a class="indexterm" name="id2565566"></a> 655 <a class="indexterm" name="id2565572"></a> 656 <a class="indexterm" name="id2565579"></a> 657 657 MIT's, as well as Heimdal's, recent KRB5 libraries default to checking for SRV records, so they will 658 658 automatically find the KDCs. In addition, <code class="filename">krb5.conf</code> only allows specifying … … 660 660 libraries to use whichever KDCs are available. 661 661 </p><p> 662 <a class="indexterm" name="id2565 587"></a>662 <a class="indexterm" name="id2565600"></a> 663 663 When manually configuring <code class="filename">krb5.conf</code>, the minimal configuration is: 664 664 </p><pre class="screen"> … … 675 675 </pre><p> 676 676 </p><p> 677 <a class="indexterm" name="id25656 12"></a>677 <a class="indexterm" name="id2565626"></a> 678 678 When using Heimdal versions before 0.6, use the following configuration settings: 679 679 </p><pre class="screen"> … … 692 692 </pre><p> 693 693 </p><p> 694 <a class="indexterm" name="id25656 35"></a>695 <a class="indexterm" name="id25656 41"></a>694 <a class="indexterm" name="id2565648"></a> 695 <a class="indexterm" name="id2565655"></a> 696 696 Test your config by doing a <strong class="userinput"><code>kinit 697 697 <em class="replaceable"><code>USERNAME</code></em>@<em class="replaceable"><code>REALM</code></em></code></strong> and 698 698 making sure that your password is accepted by the Win2000 KDC. 699 699 </p><p> 700 <a class="indexterm" name="id2565665"></a>701 <a class="indexterm" name="id2565672"></a>702 700 <a class="indexterm" name="id2565678"></a> 703 701 <a class="indexterm" name="id2565685"></a> 702 <a class="indexterm" name="id2565692"></a> 703 <a class="indexterm" name="id2565698"></a> 704 704 With Heimdal versions earlier than 0.6.x you can use only newly created accounts 705 705 in ADS or accounts that have had the password changed once after migration, or … … 709 709 in a state of flux. 710 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="id2565706"></a>712 <a class="indexterm" name="id2565713"></a>713 711 <a class="indexterm" name="id2565720"></a> 712 <a class="indexterm" name="id2565726"></a> 713 <a class="indexterm" name="id2565733"></a> 714 714 The realm must be in uppercase or you will get a “<span class="quote"><span class="errorname">Cannot find KDC for 715 715 requested realm while getting initial credentials</span></span>” error (Kerberos 716 716 is case-sensitive!). 717 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="id2565737"></a>719 <a class="indexterm" name="id2565744"></a>720 718 <a class="indexterm" name="id2565751"></a> 721 <a class="indexterm" name="id2565758"></a> 719 <a class="indexterm" name="id2565757"></a> 720 <a class="indexterm" name="id2565764"></a> 721 <a class="indexterm" name="id2565771"></a> 722 722 Time between the two servers must be synchronized. You will get a “<span class="quote"><span class="errorname">kinit(v5): Clock skew too 723 723 great while getting initial credentials</span></span>” if the time difference (clock skew) is more than five minutes. 724 724 </p></div><p> 725 <a class="indexterm" name="id25657 75"></a>726 <a class="indexterm" name="id25657 82"></a>725 <a class="indexterm" name="id2565789"></a> 726 <a class="indexterm" name="id2565796"></a> 727 727 Clock skew limits are configurable in the Kerberos protocols. The default setting is five minutes. 728 728 </p><p> 729 <a class="indexterm" name="id2565794"></a> 730 <a class="indexterm" name="id2565801"></a> 731 <a class="indexterm" name="id2565807"></a> 729 <a class="indexterm" name="id2565808"></a> 732 730 <a class="indexterm" name="id2565814"></a> 731 <a class="indexterm" name="id2565821"></a> 732 <a class="indexterm" name="id2565828"></a> 733 733 You also must ensure that you can do a reverse DNS lookup on the IP address of your KDC. Also, the name that 734 734 this reverse lookup maps to must either be the NetBIOS name of the KDC (i.e., the hostname with no domain 735 735 attached) or it can be the NetBIOS name followed by the realm. 736 736 </p><p> 737 <a class="indexterm" name="id2565829"></a>738 <a class="indexterm" name="id2565836"></a>739 737 <a class="indexterm" name="id2565842"></a> 738 <a class="indexterm" name="id2565849"></a> 739 <a class="indexterm" name="id2565856"></a> 740 740 The easiest way to ensure you get this right is to add a <code class="filename">/etc/hosts</code> entry mapping the IP 741 741 address of your KDC to its NetBIOS name. If you do not get this correct, then you will get a <span class="errorname">local 742 742 error</span> when you try to join the realm. 743 743 </p><p> 744 <a class="indexterm" name="id2565865"></a>745 <a class="indexterm" name="id2565872"></a>746 744 <a class="indexterm" name="id2565879"></a> 747 <a class="indexterm" name="id2565886"></a> 745 <a class="indexterm" name="id2565885"></a> 746 <a class="indexterm" name="id2565892"></a> 747 <a class="indexterm" name="id2565900"></a> 748 748 If 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> 749 749 and <span class="application">winbindd</span>. 750 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="id2565957"></a>752 <a class="indexterm" name="id2565964"></a>753 751 <a class="indexterm" name="id2565971"></a> 754 <a class="indexterm" name="id2565978"></a> 752 <a class="indexterm" name="id2565977"></a> 753 <a class="indexterm" name="id2565984"></a> 754 <a class="indexterm" name="id2565992"></a> 755 755 As a user who has write permission on the Samba private directory (usually root), run: 756 756 </p><pre class="screen"> … … 761 761 On the UNIX/Linux system, this command must be executed by an account that has UID=0 (root). 762 762 </p><p> 763 <a class="indexterm" name="id2566012"></a>764 <a class="indexterm" name="id2566019"></a>765 763 <a class="indexterm" name="id2566026"></a> 766 764 <a class="indexterm" name="id2566033"></a> 767 765 <a class="indexterm" name="id2566040"></a> 768 766 <a class="indexterm" name="id2566047"></a> 767 <a class="indexterm" name="id2566053"></a> 768 <a class="indexterm" name="id2566060"></a> 769 769 When making a Windows client a member of an ADS domain within a complex organization, you 770 770 may want to create the machine trust account within a particular organizational unit. Samba-3 permits … … 776 776 Your ADS manager will be able to advise what should be specified for the "organizational_unit" parameter. 777 777 </p><p> 778 <a class="indexterm" name="id2566 097"></a>779 <a class="indexterm" name="id25661 04"></a>780 <a class="indexterm" name="id25661 11"></a>781 <a class="indexterm" name="id25661 18"></a>778 <a class="indexterm" name="id2566110"></a> 779 <a class="indexterm" name="id2566117"></a> 780 <a class="indexterm" name="id2566124"></a> 781 <a class="indexterm" name="id2566131"></a> 782 782 For example, you may want to create the machine trust account in a container called “<span class="quote">Servers</span>” 783 783 under the organizational directory “<span class="quote">Computers/BusinessUnit/Department,</span>” like this: … … 790 790 valid characters in an OU name and used as escapes for other characters. If you need a backslash in an OU 791 791 name, 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="id25661 67"></a>Possible Errors</h4></div></div></div><p>792 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2566180"></a>Possible Errors</h4></div></div></div><p> 793 793 </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="id2566186"></a>795 <a class="indexterm" name="id2566193"></a>796 794 <a class="indexterm" name="id2566200"></a> 795 <a class="indexterm" name="id2566206"></a> 796 <a class="indexterm" name="id2566213"></a> 797 797 Samba must be reconfigured (remove config.cache) and recompiled (make clean all install) after the 798 798 Kerberos libraries and headers files are installed. 799 799 </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="id25662 20"></a>801 <a class="indexterm" name="id25662 26"></a>800 <a class="indexterm" name="id2566233"></a> 801 <a class="indexterm" name="id2566240"></a> 802 802 You need to log in to the domain using <strong class="userinput"><code>kinit 803 803 <em class="replaceable"><code>USERNAME</code></em>@<em class="replaceable"><code>REALM</code></em></code></strong>. 804 804 <em class="replaceable"><code>USERNAME</code></em> must be a user who has rights to add a machine to the domain. 805 805 </p></dd><dt><span class="term">Unsupported encryption/or checksum types</span></dt><dd><p> 806 <a class="indexterm" name="id25662 60"></a>807 <a class="indexterm" name="id25662 66"></a>808 <a class="indexterm" name="id25662 74"></a>806 <a class="indexterm" name="id2566273"></a> 807 <a class="indexterm" name="id2566280"></a> 808 <a class="indexterm" name="id2566287"></a> 809 809 Make sure that the <code class="filename">/etc/krb5.conf</code> is correctly configured 810 810 for the type and version of Kerberos installed on the system. 811 811 </p></dd></dl></div><p> 812 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="id2566305"></a>814 <a class="indexterm" name="id2566312"></a>815 813 <a class="indexterm" name="id2566319"></a> 814 <a class="indexterm" name="id2566326"></a> 815 <a class="indexterm" name="id2566332"></a> 816 816 If the join was successful, you will see a new computer account with the 817 817 NetBIOS name of your Samba server in Active Directory (in the “<span class="quote">Computers</span>” 818 818 folder under Users and Computers. 819 819 </p><p> 820 <a class="indexterm" name="id25663 35"></a>821 <a class="indexterm" name="id25663 42"></a>822 <a class="indexterm" name="id25663 51"></a>820 <a class="indexterm" name="id2566349"></a> 821 <a class="indexterm" name="id2566356"></a> 822 <a class="indexterm" name="id2566365"></a> 823 823 On a Windows 2000 client, try <strong class="userinput"><code>net use * \\server\share</code></strong>. You should 824 824 be logged in with Kerberos without needing to know a password. If this fails, then run … … 826 826 an encryption type of DES-CBC-MD5? 827 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="id2566378"></a>829 <a class="indexterm" name="id2566385"></a>830 828 <a class="indexterm" name="id2566392"></a> 829 <a class="indexterm" name="id2566399"></a> 830 <a class="indexterm" name="id2566406"></a> 831 831 Samba can use both DES-CBC-MD5 encryption as well as ARCFOUR-HMAC-MD5 encoding. 832 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="id2566419"></a>834 <a class="indexterm" name="id2566426"></a>835 833 <a class="indexterm" name="id2566432"></a> 834 <a class="indexterm" name="id2566439"></a> 835 <a class="indexterm" name="id2566446"></a> 836 836 On your Samba server try to log in to a Windows 2000 server or your Samba 837 837 server using <span class="application">smbclient</span> and Kerberos. Use <span class="application">smbclient</span> as usual, but 838 838 specify 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="id2566460"></a>Notes</h3></div></div></div><p> 840 <a class="indexterm" name="id2566467"></a> 841 <a class="indexterm" name="id2566474"></a> 839 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2566473"></a>Notes</h3></div></div></div><p> 842 840 <a class="indexterm" name="id2566481"></a> 841 <a class="indexterm" name="id2566488"></a> 842 <a class="indexterm" name="id2566495"></a> 843 843 You must change the administrator password at least once after installing a domain controller, 844 844 to create the right encryption types. 845 845 </p><p> 846 <a class="indexterm" name="id2566 494"></a>847 <a class="indexterm" name="id25665 01"></a>848 <a class="indexterm" name="id25665 08"></a>846 <a class="indexterm" name="id2566507"></a> 847 <a class="indexterm" name="id2566514"></a> 848 <a class="indexterm" name="id2566521"></a> 849 849 Windows 200x does not seem to create the <em class="parameter"><code>_kerberos._udp</code></em> and 850 850 <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="id2566532"></a>Sharing User ID Mappings between Samba Domain Members</h2></div></div></div><p> 852 <a class="indexterm" name="id2566540"></a> 853 <a class="indexterm" name="id2566547"></a> 851 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2566545"></a>Sharing User ID Mappings between Samba Domain Members</h2></div></div></div><p> 854 852 <a class="indexterm" name="id2566554"></a> 855 <a class="indexterm" name="id2566560"></a> 853 <a class="indexterm" name="id2566561"></a> 854 <a class="indexterm" name="id2566568"></a> 855 <a class="indexterm" name="id2566574"></a> 856 856 Samba maps UNIX users and groups (identified by UIDs and GIDs) to Windows users and groups (identified by SIDs). 857 857 These mappings are done by the <em class="parameter"><code>idmap</code></em> subsystem of Samba. 858 858 </p><p> 859 <a class="indexterm" name="id2566579"></a>860 <a class="indexterm" name="id2566586"></a>861 859 <a class="indexterm" name="id2566593"></a> 860 <a class="indexterm" name="id2566599"></a> 861 <a class="indexterm" name="id2566606"></a> 862 862 In some cases it is useful to share these mappings between Samba domain members, 863 863 so <span class="emphasis"><em>name->id</em></span> mapping is identical on all machines. 864 864 This may be needed in particular when sharing files over both CIFS and NFS. 865 865 </p><p> 866 <a class="indexterm" name="id25666 10"></a>867 <a class="indexterm" name="id25666 17"></a>866 <a class="indexterm" name="id2566624"></a> 867 <a class="indexterm" name="id2566630"></a> 868 868 To 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="id25666 40"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr></table><p>869 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2566654"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr></table><p> 870 870 See the <code class="filename">smb.conf</code> man page entry for the <a class="link" href="smb.conf.5.html#LDAPIDMAPSUFFIX">ldap idmap suffix</a> 871 871 parameter for further information. 872 872 </p><p> 873 <a class="indexterm" name="id2566677"></a>874 <a class="indexterm" name="id2566683"></a>875 873 <a class="indexterm" name="id2566690"></a> 874 <a class="indexterm" name="id2566696"></a> 875 <a class="indexterm" name="id2566704"></a> 876 876 Do not forget to specify also the <a class="link" href="smb.conf.5.html#LDAPADMINDN">ldap admin dn</a> 877 877 and to make certain to set the LDAP administrative password into the <code class="filename">secrets.tdb</code> using: … … 881 881 In place of <code class="literal">ldap-admin-password</code>, substitute the LDAP administration password for your 882 882 system. 883 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25667 38"></a>Common Errors</h2></div></div></div><p>884 <a class="indexterm" name="id25667 46"></a>885 <a class="indexterm" name="id25667 53"></a>883 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2566752"></a>Common Errors</h2></div></div></div><p> 884 <a class="indexterm" name="id2566760"></a> 885 <a class="indexterm" name="id2566766"></a> 886 886 In the process of adding/deleting/re-adding domain member machine trust accounts, there are 887 887 many traps for the unwary player and many “<span class="quote">little</span>” things that can go wrong. … … 891 891 of problem. The real solution is often quite simple, and with an understanding of how MS Windows 892 892 networking functions, it is easy to overcome. 893 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25667 77"></a>Cannot Add Machine Back to Domain</h3></div></div></div><p>894 <a class="indexterm" name="id2566 785"></a>895 <a class="indexterm" name="id2566 792"></a>893 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2566792"></a>Cannot Add Machine Back to Domain</h3></div></div></div><p> 894 <a class="indexterm" name="id2566800"></a> 895 <a class="indexterm" name="id2566807"></a> 896 896 “<span class="quote">A Windows workstation was reinstalled. The original domain machine trust 897 897 account was deleted and added immediately. The workstation will not join the domain if I use … … 899 899 exists on the network I know it does not. Why is this failing?</span>” 900 900 </p><p> 901 <a class="indexterm" name="id25668 14"></a>902 <a class="indexterm" name="id25668 21"></a>901 <a class="indexterm" name="id2566828"></a> 902 <a class="indexterm" name="id2566834"></a> 903 903 The original name is still in the NetBIOS name cache and must expire after machine account 904 904 deletion before adding that same name as a domain member again. The best advice is to delete … … 908 908 <code class="prompt">C:\> </code> nbtstat -R 909 909 </pre><p> 910 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25668 53"></a>Adding Machine to Domain Fails</h3></div></div></div><p>911 <a class="indexterm" name="id25668 62"></a>912 <a class="indexterm" name="id25668 68"></a>910 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2566867"></a>Adding Machine to Domain Fails</h3></div></div></div><p> 911 <a class="indexterm" name="id2566875"></a> 912 <a class="indexterm" name="id2566882"></a> 913 913 “<span class="quote">Adding a Windows 200x or XP Professional machine to the Samba PDC Domain fails with a 914 914 message that says, <span class="errorname">"The machine could not be added at this time, there is a network problem. 915 915 Please try again later."</span> Why?</span>” 916 916 </p><p> 917 <a class="indexterm" name="id2566 888"></a>917 <a class="indexterm" name="id2566902"></a> 918 918 You should check that there is an <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT">add machine script</a> in your <code class="filename">smb.conf</code> 919 919 file. If there is not, please add one that is appropriate for your OS platform. If a script … … 924 924 Possible causes include: 925 925 </p><div class="itemizedlist"><ul type="disc"><li><p> 926 <a class="indexterm" name="id25669 46"></a>927 <a class="indexterm" name="id25669 53"></a>926 <a class="indexterm" name="id2566960"></a> 927 <a class="indexterm" name="id2566967"></a> 928 928 The script does not actually exist, or could not be located in the path specified. 929 929 </p><p> 930 <a class="indexterm" name="id25669 65"></a>931 <a class="indexterm" name="id25669 72"></a>930 <a class="indexterm" name="id2566978"></a> 931 <a class="indexterm" name="id2566985"></a> 932 932 <span class="emphasis"><em>Corrective action:</em></span> Fix it. Make sure when run manually 933 933 that the script will add both the UNIX system account and the Samba SAM account. 934 934 </p></li><li><p> 935 <a class="indexterm" name="id256 6989"></a>936 <a class="indexterm" name="id256 6996"></a>935 <a class="indexterm" name="id2567002"></a> 936 <a class="indexterm" name="id2567009"></a> 937 937 The machine could not be added to the UNIX system accounts file <code class="filename">/etc/passwd</code>. 938 938 </p><p> 939 <a class="indexterm" name="id25670 13"></a>940 <a class="indexterm" name="id25670 20"></a>939 <a class="indexterm" name="id2567026"></a> 940 <a class="indexterm" name="id2567033"></a> 941 941 <span class="emphasis"><em>Corrective action:</em></span> Check that the machine name is a legal UNIX 942 942 system account name. If the UNIX utility <code class="literal">useradd</code> is called, … … 945 945 nor will it allow spaces in the name. 946 946 </p></li></ul></div><p> 947 <a class="indexterm" name="id2567051"></a>948 <a class="indexterm" name="id2567058"></a>949 947 <a class="indexterm" name="id2567065"></a> 948 <a class="indexterm" name="id2567072"></a> 949 <a class="indexterm" name="id2567079"></a> 950 950 The <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT">add machine script</a> does not create the 951 951 machine account in the Samba backend database; it is there only to create a UNIX system 952 952 account 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="id2567089"></a>I Can't Join a Windows 2003 PDC</h3></div></div></div><p> 954 <a class="indexterm" name="id2567097"></a> 955 <a class="indexterm" name="id2567104"></a> 956 <a class="indexterm" name="id2567110"></a> 953 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2567103"></a>I Can't Join a Windows 2003 PDC</h3></div></div></div><p> 954 <a class="indexterm" name="id2567111"></a> 957 955 <a class="indexterm" name="id2567117"></a> 956 <a class="indexterm" name="id2567124"></a> 957 <a class="indexterm" name="id2567131"></a> 958 958 Windows 2003 requires SMB signing. Client-side SMB signing has been implemented in Samba-3.0. 959 959 Set <a class="link" href="smb.conf.5.html#CLIENTUSESPNEGO">client use spnego = yes</a> when communicating -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/go01.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id26879 15"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id2687929"></a>Glossary</h2></div></div></div><dl><dt>Access Control List</dt><dd><p> 2 2 A detailed list of permissions granted to users or groups with respect to file and network resource access. 3 3 See <a class="link" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls">“File, Directory, and Share Access Controls”</a>, -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/groupmapping.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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#id2588907">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2589322">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2589658">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590298">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591162">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591239">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591250">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591422">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591549">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591562">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591649">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2588781"></a> 3 <a class="indexterm" name="id2588790"></a> 4 <a class="indexterm" name="id2588796"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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#id2588920">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2589335">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2589671">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590312">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591175">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591252">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591264">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591436">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591563">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591576">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591663">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2588794"></a> 5 3 <a class="indexterm" name="id2588803"></a> 6 4 <a class="indexterm" name="id2588810"></a> 7 5 <a class="indexterm" name="id2588817"></a> 6 <a class="indexterm" name="id2588824"></a> 7 <a class="indexterm" name="id2588830"></a> 8 8 Starting with Samba-3, new group mapping functionality is available to create associations 9 9 between Windows group SIDs and UNIX group GIDs. The <code class="literal">groupmap</code> subcommand 10 10 included with the <span class="application">net</span> tool can be used to manage these associations. 11 11 </p><p> 12 <a class="indexterm" name="id25888 42"></a>13 <a class="indexterm" name="id25888 49"></a>12 <a class="indexterm" name="id2588856"></a> 13 <a class="indexterm" name="id2588862"></a> 14 14 The new facility for mapping NT groups to UNIX system groups allows the administrator to decide 15 15 which NT domain groups are to be exposed to MS Windows clients. Only those NT groups that map … … 17 17 in group selection lists in tools that access domain users and groups. 18 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="id25888 70"></a>20 <a class="indexterm" name="id25888 77"></a>19 <a class="indexterm" name="id2588884"></a> 20 <a class="indexterm" name="id2588891"></a> 21 21 The <em class="parameter"><code>domain admin group</code></em> parameter has been removed in Samba-3 and should no longer 22 22 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 23 23 <code class="constant">Domain Admins</code> Windows group, which gave local admin rights on their workstations 24 24 (in default configurations). 25 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25889 07"></a>Features and Benefits</h2></div></div></div><p>25 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2588920"></a>Features and Benefits</h2></div></div></div><p> 26 26 Samba allows the administrator to create MS Windows NT4/200x group accounts and to 27 27 arbitrarily associate them with UNIX/Linux group accounts. 28 28 </p><p> 29 <a class="indexterm" name="id2588920"></a> 30 <a class="indexterm" name="id2588927"></a> 31 <a class="indexterm" name="id2588933"></a> 32 <a class="indexterm" name="id2588940"></a> 33 <a class="indexterm" name="id2588947"></a> 29 <a class="indexterm" name="id2588934"></a> 30 <a class="indexterm" name="id2588940"></a> 31 <a class="indexterm" name="id2588947"></a> 34 32 <a class="indexterm" name="id2588954"></a> 35 33 <a class="indexterm" name="id2588960"></a> 34 <a class="indexterm" name="id2588967"></a> 35 <a class="indexterm" name="id2588974"></a> 36 36 Group accounts can be managed using the MS Windows NT4 or MS Windows 200x/XP Professional MMC tools. 37 37 Appropriate interface scripts should be provided in <code class="filename">smb.conf</code> if it is desired that UNIX/Linux system … … 42 42 parameters in the <code class="filename">smb.conf</code> file. 43 43 </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="id25891 02"></a>45 <a class="indexterm" name="id25891 09"></a>46 <a class="indexterm" name="id25891 16"></a>47 <a class="indexterm" name="id25891 25"></a>44 <a class="indexterm" name="id2589116"></a> 45 <a class="indexterm" name="id2589123"></a> 46 <a class="indexterm" name="id2589130"></a> 47 <a class="indexterm" name="id2589138"></a> 48 48 In both cases, when winbindd is not running, only locally resolvable groups can be recognized. Please refer to 49 49 <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 … … 51 51 group mappings</a>. 52 52 </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="id25892 11"></a>54 <a class="indexterm" name="id25892 18"></a>55 <a class="indexterm" name="id25892 25"></a>56 <a class="indexterm" name="id25892 31"></a>53 <a class="indexterm" name="id2589225"></a> 54 <a class="indexterm" name="id2589231"></a> 55 <a class="indexterm" name="id2589238"></a> 56 <a class="indexterm" name="id2589245"></a> 57 57 Administrators should be aware that where <code class="filename">smb.conf</code> group interface scripts make 58 58 direct calls to the UNIX/Linux system tools (the shadow utilities, <code class="literal">groupadd</code>, … … 63 63 UNIX/Linux group, an attempt that will of course fail. 64 64 </p><p> 65 <a class="indexterm" name="id25892 79"></a>66 <a class="indexterm" name="id25892 85"></a>65 <a class="indexterm" name="id2589292"></a> 66 <a class="indexterm" name="id2589299"></a> 67 67 There are several possible workarounds for the operating system tools limitation. One 68 68 method is to use a script that generates a name for the UNIX/Linux system group that … … 70 70 back to the calling Samba interface. This will provide a dynamic workaround solution. 71 71 </p><p> 72 <a class="indexterm" name="id25893 01"></a>72 <a class="indexterm" name="id2589315"></a> 73 73 Another workaround is to manually create a UNIX/Linux group, then manually create the 74 74 MS Windows NT4/200x group on the Samba server, and then use the <code class="literal">net groupmap</code> 75 75 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="id25893 22"></a>Discussion</h2></div></div></div><p>77 <a class="indexterm" name="id25893 29"></a>78 <a class="indexterm" name="id25893 36"></a>76 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2589335"></a>Discussion</h2></div></div></div><p> 77 <a class="indexterm" name="id2589343"></a> 78 <a class="indexterm" name="id2589350"></a> 79 79 When you install <span class="application">MS Windows NT4/200x</span> on a computer, the installation 80 80 program creates default users and groups, notably the <code class="constant">Administrators</code> group, … … 83 83 local machine. 84 84 </p><p> 85 <a class="indexterm" name="id25893 61"></a>85 <a class="indexterm" name="id2589375"></a> 86 86 The <code class="constant">Administrator</code> user is a member of the <code class="constant">Administrators</code> group, and thus inherits 87 87 <code class="constant">Administrators</code> group privileges. If a <code class="constant">joe</code> user is created to be a member of the … … 89 89 <code class="constant">Administrator</code>. 90 90 </p><p> 91 <a class="indexterm" name="id2589400"></a>92 <a class="indexterm" name="id2589406"></a>93 91 <a class="indexterm" name="id2589413"></a> 94 92 <a class="indexterm" name="id2589420"></a> 93 <a class="indexterm" name="id2589427"></a> 94 <a class="indexterm" name="id2589434"></a> 95 95 When an MS Windows NT4/200x/XP machine is made a domain member, the “<span class="quote">Domain Admins</span>” group of the 96 96 PDC is added to the local <code class="constant">Administrators</code> group of the workstation. Every member of the … … 98 98 logging on the workstation. 99 99 </p><p> 100 <a class="indexterm" name="id25894 49"></a>101 <a class="indexterm" name="id25894 56"></a>100 <a class="indexterm" name="id2589463"></a> 101 <a class="indexterm" name="id2589470"></a> 102 102 The following steps describe how to make Samba PDC users members of the <code class="constant">Domain Admins</code> group. 103 103 </p><div class="orderedlist"><ol type="1"><li><p> 104 104 Create a UNIX group (usually in <code class="filename">/etc/group</code>); let's call it <code class="constant">domadm</code>. 105 105 </p></li><li><p> 106 <a class="indexterm" name="id2589 494"></a>106 <a class="indexterm" name="id2589507"></a> 107 107 Add to this group the users that must be “<span class="quote">Administrators</span>”. For example, 108 108 if you want <code class="constant">joe, john</code>, and <code class="constant">mary</code> to be administrators, … … 118 118 </pre><p> 119 119 </p><p> 120 <a class="indexterm" name="id25895 61"></a>120 <a class="indexterm" name="id2589574"></a> 121 121 The quotes around “<span class="quote">Domain Admins</span>” are necessary due to the space in the group name. 122 122 Also make sure to leave no white space surrounding the equal character (=). … … 124 124 Now <code class="constant">joe, john</code>, and <code class="constant">mary</code> are domain administrators. 125 125 </p><p> 126 <a class="indexterm" name="id2589 590"></a>126 <a class="indexterm" name="id2589603"></a> 127 127 It is possible to map any arbitrary UNIX group to any Windows NT4/200x group as well as 128 128 to make any UNIX group a Windows domain group. For example, if you wanted to include a … … 136 136 the space from being interpreted as a command delimiter. 137 137 </p><p> 138 <a class="indexterm" name="id25896 37"></a>139 <a class="indexterm" name="id25896 43"></a>138 <a class="indexterm" name="id2589650"></a> 139 <a class="indexterm" name="id2589657"></a> 140 140 Be aware that the RID parameter is an unsigned 32-bit integer that should 141 141 normally start at 1000. However, this RID must not overlap with any RID assigned … … 143 143 you are using. Future versions of the tools may perform the verification automatically, 144 144 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="id25896 58"></a>Warning: User Private Group Problems</h3></div></div></div><p>146 <a class="indexterm" name="id25896 66"></a>147 <a class="indexterm" name="id25896 73"></a>148 <a class="indexterm" name="id25896 80"></a>145 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2589671"></a>Warning: User Private Group Problems</h3></div></div></div><p> 146 <a class="indexterm" name="id2589679"></a> 147 <a class="indexterm" name="id2589686"></a> 148 <a class="indexterm" name="id2589693"></a> 149 149 Windows does not permit user and group accounts to have the same name. 150 150 This has serious implications for all sites that use private group accounts. … … 153 153 of Linux, by default create private groups. 154 154 </p><p> 155 <a class="indexterm" name="id2589 696"></a>156 <a class="indexterm" name="id25897 03"></a>155 <a class="indexterm" name="id2589710"></a> 156 <a class="indexterm" name="id2589716"></a> 157 157 When mapping a UNIX/Linux group to a Windows group account, all conflict can 158 158 be avoided by assuring that the Windows domain group name does not overlap 159 159 with any user account name. 160 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25897 15"></a>Nested Groups: Adding Windows Domain Groups to Windows Local Groups</h3></div></div></div><a class="indexterm" name="id2589722"></a><p>161 <a class="indexterm" name="id25897 33"></a>160 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2589729"></a>Nested Groups: Adding Windows Domain Groups to Windows Local Groups</h3></div></div></div><a class="indexterm" name="id2589735"></a><p> 161 <a class="indexterm" name="id2589747"></a> 162 162 This functionality is known as <code class="constant">nested groups</code> and was first added to 163 163 Samba-3.0.3. 164 164 </p><p> 165 <a class="indexterm" name="id25897 48"></a>165 <a class="indexterm" name="id2589762"></a> 166 166 All MS Windows products since the release of Windows NT 3.10 support the use of nested groups. 167 167 Many Windows network administrators depend on this capability because it greatly simplifies security 168 168 administration. 169 169 </p><p> 170 <a class="indexterm" name="id2589762"></a>171 <a class="indexterm" name="id2589769"></a>172 170 <a class="indexterm" name="id2589776"></a> 173 171 <a class="indexterm" name="id2589783"></a> 174 172 <a class="indexterm" name="id2589790"></a> 175 <a class="indexterm" name="id258979 7"></a>173 <a class="indexterm" name="id2589796"></a> 176 174 <a class="indexterm" name="id2589804"></a> 175 <a class="indexterm" name="id2589810"></a> 176 <a class="indexterm" name="id2589818"></a> 177 177 The nested group architecture was designed with the premise that day-to-day user and group membership 178 178 management should be performed on the domain security database. The application of group security … … 181 181 domain global groups and domain global users. 182 182 </p><p> 183 <a class="indexterm" name="id25898 22"></a>184 <a class="indexterm" name="id25898 29"></a>185 <a class="indexterm" name="id25898 36"></a>183 <a class="indexterm" name="id2589835"></a> 184 <a class="indexterm" name="id2589842"></a> 185 <a class="indexterm" name="id2589850"></a> 186 186 You may ask, What are the benefits of this arrangement? The answer is obvious to those who have plumbed 187 187 the dark depths of Windows networking architecture. Consider for a moment a server on which are stored … … 191 191 Answer: Account Unknown. 192 192 </p><p> 193 <a class="indexterm" name="id2589856"></a> 194 <a class="indexterm" name="id2589863"></a> 195 <a class="indexterm" name="id2589870"></a> 193 <a class="indexterm" name="id2589869"></a> 196 194 <a class="indexterm" name="id2589876"></a> 195 <a class="indexterm" name="id2589883"></a> 196 <a class="indexterm" name="id2589890"></a> 197 197 Unraveling the file ownership mess is an unenviable administrative task that can be avoided simply 198 198 by using local groups to control all file and directory access control. In this case, only the members … … 202 202 entries for domain global groups in the new domain that the server has been made a member of. 203 203 </p><p> 204 <a class="indexterm" name="id25899 07"></a>205 <a class="indexterm" name="id25899 14"></a>206 <a class="indexterm" name="id25899 21"></a>207 <a class="indexterm" name="id25899 28"></a>208 <a class="indexterm" name="id25899 35"></a>209 <a class="indexterm" name="id25899 42"></a>210 <a class="indexterm" name="id25899 49"></a>211 <a class="indexterm" name="id25899 56"></a>204 <a class="indexterm" name="id2589920"></a> 205 <a class="indexterm" name="id2589927"></a> 206 <a class="indexterm" name="id2589934"></a> 207 <a class="indexterm" name="id2589941"></a> 208 <a class="indexterm" name="id2589948"></a> 209 <a class="indexterm" name="id2589955"></a> 210 <a class="indexterm" name="id2589962"></a> 211 <a class="indexterm" name="id2589969"></a> 212 212 Another prominent example of the use of nested groups involves implementation of administrative privileges 213 213 on domain member workstations and servers. Administrative privileges are given to all members of the … … 218 218 privileges on each domain member. 219 219 </p><p> 220 <a class="indexterm" name="id2589984"></a> 221 <a class="indexterm" name="id2589991"></a> 222 <a class="indexterm" name="id2589998"></a> 220 <a class="indexterm" name="id2589997"></a> 223 221 <a class="indexterm" name="id2590004"></a> 222 <a class="indexterm" name="id2590011"></a> 223 <a class="indexterm" name="id2590018"></a> 224 224 UNIX/Linux has no concept of support for nested groups, and thus Samba has for a long time not supported 225 225 them either. The problem is that you would have to enter UNIX groups as auxiliary members of a group in … … 229 229 controller that the Samba server is a member of. 230 230 </p><p> 231 <a class="indexterm" name="id2590035"></a> 232 <a class="indexterm" name="id2590042"></a> 233 <a class="indexterm" name="id2590049"></a> 234 <a class="indexterm" name="id2590056"></a> 231 <a class="indexterm" name="id2590048"></a> 232 <a class="indexterm" name="id2590055"></a> 235 233 <a class="indexterm" name="id2590062"></a> 234 <a class="indexterm" name="id2590069"></a> 235 <a class="indexterm" name="id2590076"></a> 236 236 In effect, Samba supplements the <code class="filename">/etc/group</code> data via the dynamic 237 237 <code class="literal">libnss_winbind</code> mechanism. Beginning with Samba-3.0.3, this facility is used to provide … … 243 243 UNIX/Linux group <code class="constant">demo</code>. 244 244 </p><p> 245 <a class="indexterm" name="id2590109"></a>246 <a class="indexterm" name="id2590116"></a>247 245 <a class="indexterm" name="id2590122"></a> 248 246 <a class="indexterm" name="id2590129"></a> 249 247 <a class="indexterm" name="id2590136"></a> 250 <a class="indexterm" name="id2590143"></a> 251 <a class="indexterm" name="id2590150"></a> 248 <a class="indexterm" name="id2590142"></a> 249 <a class="indexterm" name="id2590149"></a> 250 <a class="indexterm" name="id2590156"></a> 251 <a class="indexterm" name="id2590163"></a> 252 252 To enable the use of nested groups, <code class="literal">winbindd</code> must be used with NSS winbind. 253 253 Creation and administration of the local groups is done best via the Windows Domain User Manager or its … … 257 257 <code class="prompt">root# </code> net rpc group add demo -L -Uroot%not24get 258 258 </pre><p> 259 <a class="indexterm" name="id2590 193"></a>260 <a class="indexterm" name="id25902 00"></a>259 <a class="indexterm" name="id2590207"></a> 260 <a class="indexterm" name="id2590213"></a> 261 261 Here the -L switch means that you want to create a local group. It may be necessary to add -S and -U 262 262 switches for accessing the correct host with appropriate user or root privileges. Adding and removing … … 267 267 net rpc group addmem demo "DOM\Domain Users" 268 268 </pre><p> 269 <a class="indexterm" name="id2590240"></a> 270 <a class="indexterm" name="id2590247"></a> 271 <a class="indexterm" name="id2590254"></a> 269 <a class="indexterm" name="id2590253"></a> 272 270 <a class="indexterm" name="id2590260"></a> 271 <a class="indexterm" name="id2590267"></a> 272 <a class="indexterm" name="id2590274"></a> 273 273 Having completed these two steps, the execution of <code class="literal">getent group demo</code> will show demo 274 274 members of the global <code class="constant">Domain Users</code> group as members of the group … … 278 278 added to the <code class="constant">demo</code> group now have the same local access permissions as local domain 279 279 users have. 280 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2590 298"></a>Important Administrative Information</h3></div></div></div><p>280 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2590312"></a>Important Administrative Information</h3></div></div></div><p> 281 281 Administrative rights are necessary in two specific forms: 282 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="id25903 30"></a>284 <a class="indexterm" name="id25903 37"></a>285 <a class="indexterm" name="id25903 44"></a>283 <a class="indexterm" name="id2590343"></a> 284 <a class="indexterm" name="id2590350"></a> 285 <a class="indexterm" name="id2590357"></a> 286 286 Versions of Samba up to and including 3.0.10 do not provide a means for assigning rights and privileges 287 287 that are necessary for system administration tasks from a Windows domain member client machine, so … … 289 289 managing workstation domain membership accounts, can be handled by any account other than root. 290 290 </p><p> 291 <a class="indexterm" name="id25903 61"></a>292 <a class="indexterm" name="id25903 68"></a>293 <a class="indexterm" name="id25903 75"></a>291 <a class="indexterm" name="id2590374"></a> 292 <a class="indexterm" name="id2590381"></a> 293 <a class="indexterm" name="id2590388"></a> 294 294 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>) 295 295 that permits these tasks to be delegated to non-root (i.e., accounts other than the equivalent of the 296 296 MS Windows Administrator) accounts. 297 297 </p><p> 298 <a class="indexterm" name="id2590 396"></a>299 <a class="indexterm" name="id25904 02"></a>298 <a class="indexterm" name="id2590409"></a> 299 <a class="indexterm" name="id2590416"></a> 300 300 Administrative tasks on a Windows domain member workstation can be done by anyone who is a member of the 301 301 <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="id25904 17"></a>Applicable Only to Versions Earlier than 3.0.11</h4></div></div></div><p>303 <a class="indexterm" name="id25904 26"></a>302 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2590431"></a>Applicable Only to Versions Earlier than 3.0.11</h4></div></div></div><p> 303 <a class="indexterm" name="id2590439"></a> 304 304 Administrative tasks on UNIX/Linux systems, such as adding users or groups, requires 305 305 <code class="constant">root</code>-level privilege. The addition of a Windows client to a Samba domain involves the 306 306 addition of a user account for the Windows client. 307 307 </p><p> 308 <a class="indexterm" name="id25904 43"></a>309 <a class="indexterm" name="id25904 50"></a>308 <a class="indexterm" name="id2590457"></a> 309 <a class="indexterm" name="id2590464"></a> 310 310 Many UNIX administrators continue to request that the Samba Team make it possible to add Windows workstations, or 311 311 the ability to add, delete, or modify user accounts, without requiring <code class="constant">root</code> privileges. 312 312 Such a request violates every understanding of basic UNIX system security. 313 313 </p><p> 314 <a class="indexterm" name="id2590468"></a>315 <a class="indexterm" name="id2590475"></a>316 314 <a class="indexterm" name="id2590482"></a> 317 315 <a class="indexterm" name="id2590489"></a> 318 316 <a class="indexterm" name="id2590496"></a> 319 317 <a class="indexterm" name="id2590503"></a> 318 <a class="indexterm" name="id2590510"></a> 319 <a class="indexterm" name="id2590517"></a> 320 320 There is no safe way to provide access on a UNIX/Linux system without providing 321 321 <code class="constant">root</code>-level privileges. Provision of <code class="constant">root</code> privileges can be done … … 325 325 accounts as well as domain member server and client accounts. This level of privilege is also needed to manage 326 326 share-level ACLs. 327 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2590539"></a>Default Users, Groups, and Relative Identifiers</h3></div></div></div><p> 328 <a class="indexterm" name="id2590547"></a> 329 <a class="indexterm" name="id2590556"></a> 330 <a class="indexterm" name="id2590563"></a> 331 <a class="indexterm" name="id2590570"></a> 332 <a class="indexterm" name="id2590577"></a> 333 <a class="indexterm" name="id2590584"></a> 334 <a class="indexterm" name="id2590591"></a> 327 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2590552"></a>Default Users, Groups, and Relative Identifiers</h3></div></div></div><p> 328 <a class="indexterm" name="id2590561"></a> 329 <a class="indexterm" name="id2590570"></a> 330 <a class="indexterm" name="id2590576"></a> 331 <a class="indexterm" name="id2590583"></a> 332 <a class="indexterm" name="id2590590"></a> 335 333 <a class="indexterm" name="id2590597"></a> 334 <a class="indexterm" name="id2590604"></a> 335 <a class="indexterm" name="id2590611"></a> 336 336 When first installed, Windows NT4/200x/XP are preconfigured with certain user, group, and 337 337 alias entities. Each has a well-known RID. These must be preserved for continued … … 341 341 (provision) the default NT groups. 342 342 </p><p> 343 <a class="indexterm" name="id2590619"></a>344 <a class="indexterm" name="id2590626"></a>345 343 <a class="indexterm" name="id2590633"></a> 346 344 <a class="indexterm" name="id2590640"></a> 345 <a class="indexterm" name="id2590647"></a> 346 <a class="indexterm" name="id2590654"></a> 347 347 Each essential domain group must be assigned its respective well-known RID. The default users, groups, 348 348 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 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="id2590662"></a>351 <a class="indexterm" name="id2590668"></a>352 350 <a class="indexterm" name="id2590675"></a> 353 351 <a class="indexterm" name="id2590682"></a> 354 <a class="indexterm" name="id2590689"></a> 352 <a class="indexterm" name="id2590688"></a> 353 <a class="indexterm" name="id2590695"></a> 354 <a class="indexterm" name="id2590702"></a> 355 355 It is the administrator's responsibility to create the essential domain groups and to assign each 356 356 its default RID. 357 357 </p></div><p> 358 <a class="indexterm" name="id25907 01"></a>359 <a class="indexterm" name="id25907 08"></a>358 <a class="indexterm" name="id2590714"></a> 359 <a class="indexterm" name="id2590721"></a> 360 360 It is permissible to create any domain group that may be necessary; just make certain that the essential 361 361 domain groups (well known) have been created and assigned their default RIDs. Other groups you create may … … 366 366 </p><p> 367 367 </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="id25911 62"></a>Example Configuration</h3></div></div></div><p>369 <a class="indexterm" name="id25911 70"></a>368 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2591175"></a>Example Configuration</h3></div></div></div><p> 369 <a class="indexterm" name="id2591183"></a> 370 370 You can list the various groups in the mapping database by executing 371 371 <code class="literal">net groupmap list</code>. Here is an example: 372 372 </p><p> 373 <a class="indexterm" name="id2591 192"></a>373 <a class="indexterm" name="id2591206"></a> 374 374 </p><pre class="screen"> 375 375 <code class="prompt">root# </code> <strong class="userinput"><code>net groupmap list</code></strong> … … 380 380 </p><p> 381 381 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="id25912 39"></a>Configuration Scripts</h2></div></div></div><p>382 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2591252"></a>Configuration Scripts</h2></div></div></div><p> 383 383 Everyone needs tools. Some of us like to create our own, others prefer to use canned tools 384 384 (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="id2591250"></a>Sample <code class="filename">smb.conf</code> Add Group Script</h3></div></div></div><p> 386 <a class="indexterm" name="id2591264"></a> 387 <a class="indexterm" name="id2591271"></a> 385 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2591264"></a>Sample <code class="filename">smb.conf</code> Add Group Script</h3></div></div></div><p> 388 386 <a class="indexterm" name="id2591278"></a> 389 <a class="indexterm" name="id2591285"></a> 390 <a class="indexterm" name="id2591292"></a> 387 <a class="indexterm" name="id2591285"></a> 388 <a class="indexterm" name="id2591292"></a> 389 <a class="indexterm" name="id2591299"></a> 390 <a class="indexterm" name="id2591305"></a> 391 391 A script to create complying group names for use by the Samba group interfaces 392 392 is provided in <a class="link" href="groupmapping.html#smbgrpadd.sh" title="Example 12.1. smbgrpadd.sh">smbgrpadd.sh</a>. This script … … 416 416 <code class="filename">smb.conf</code> for the add group Script</a> demonstrates how it may be used. 417 417 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="id25914 07"></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="id25914 22"></a>Script to Configure Group Mapping</h3></div></div></div><p>420 <a class="indexterm" name="id25914 30"></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 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="id2591420"></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="id2591436"></a>Script to Configure Group Mapping</h3></div></div></div><p> 420 <a class="indexterm" name="id2591444"></a> 421 421 In our example we have created a UNIX/Linux group called <code class="literal">ntadmin</code>. 422 422 Our script will create the additional groups <code class="literal">Orks</code>, <code class="literal">Elves</code>, and <code class="literal">Gnomes</code>. … … 424 424 For the sake of convenience we elect to save this script as a file called <code class="filename">initGroups.sh</code>. 425 425 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="id25914 80"></a>426 <a class="indexterm" name="id2591494"></a> 427 427 </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"> 428 428 #!/bin/bash … … 451 451 must now be manually and explicitly created and mapped to a valid UNIX GID by the Samba 452 452 administrator. 453 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25915 49"></a>Common Errors</h2></div></div></div><p>453 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2591563"></a>Common Errors</h2></div></div></div><p> 454 454 At this time there are many little surprises for the unwary administrator. In a real sense 455 455 it is imperative that every step of automated control scripts be carefully tested 456 456 manually before putting it into active service. 457 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25915 62"></a>Adding Groups Fails</h3></div></div></div><p>458 <a class="indexterm" name="id25915 70"></a>457 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2591576"></a>Adding Groups Fails</h3></div></div></div><p> 458 <a class="indexterm" name="id2591584"></a> 459 459 This is a common problem when the <code class="literal">groupadd</code> is called directly 460 460 by the Samba interface script for the <a class="link" href="smb.conf.5.html#ADDGROUPSCRIPT">add group script</a> in 461 461 the <code class="filename">smb.conf</code> file. 462 462 </p><p> 463 <a class="indexterm" name="id25916 08"></a>464 <a class="indexterm" name="id25916 14"></a>463 <a class="indexterm" name="id2591621"></a> 464 <a class="indexterm" name="id2591628"></a> 465 465 The most common cause of failure is an attempt to add an MS Windows group account 466 466 that has an uppercase character and/or a space character in it. 467 467 </p><p> 468 <a class="indexterm" name="id25916 27"></a>468 <a class="indexterm" name="id2591641"></a> 469 469 There are three possible workarounds. First, use only group names that comply 470 470 with the limitations of the UNIX/Linux <code class="literal">groupadd</code> system tool. … … 473 473 for the MS Windows group name, then use the procedure listed above to map that group 474 474 to the MS Windows group. 475 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25916 49"></a>Adding Domain Users to the Workstation Power Users Group</h3></div></div></div><p>“<span class="quote">475 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2591663"></a>Adding Domain Users to the Workstation Power Users Group</h3></div></div></div><p>“<span class="quote"> 476 476 What must I do to add domain users to the Power Users group? 477 477 </span>”</p><p> 478 <a class="indexterm" name="id25916 63"></a>478 <a class="indexterm" name="id2591677"></a> 479 479 The Power Users group is a group that is local to each Windows 200x/XP Professional workstation. 480 480 You cannot add the Domain Users group to the Power Users group automatically, it must be done on -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/idmapper.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2597496">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2597522">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598545">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598779">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2598850">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2598914">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2599635">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600226">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600811">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2597222"></a> 3 <a class="indexterm" name="id2597229"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2597510">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2597535">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598558">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598792">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2598864">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2598927">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2599649">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600239">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600824">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></div><p> 4 2 <a class="indexterm" name="id2597236"></a> 5 <a class="indexterm" name="id259724 3"></a>6 <a class="indexterm" name="id25972 52"></a>7 <a class="indexterm" name="id259725 8"></a>3 <a class="indexterm" name="id2597242"></a> 4 <a class="indexterm" name="id2597249"></a> 5 <a class="indexterm" name="id2597256"></a> 8 6 <a class="indexterm" name="id2597265"></a> 7 <a class="indexterm" name="id2597272"></a> 8 <a class="indexterm" name="id2597278"></a> 9 9 The Microsoft Windows operating system has a number of features that impose specific challenges 10 10 to interoperability with the operating systems on which Samba is implemented. This chapter deals … … 17 17 This is followed by an overview of how the IDMAP facility may be implemented. 18 18 </p><p> 19 <a class="indexterm" name="id2597289"></a>20 <a class="indexterm" name="id2597296"></a>21 19 <a class="indexterm" name="id2597303"></a> 22 20 <a class="indexterm" name="id2597310"></a> 21 <a class="indexterm" name="id2597316"></a> 22 <a class="indexterm" name="id2597323"></a> 23 23 The IDMAP facility is of concern where more than one Samba server (or Samba network client) 24 24 is installed in a domain. Where there is a single Samba server, do not be too concerned regarding … … 27 27 another, and that is where the fun begins! 28 28 </p><p> 29 <a class="indexterm" name="id2597330"></a> 30 <a class="indexterm" name="id2597337"></a> 31 <a class="indexterm" name="id2597343"></a> 29 <a class="indexterm" name="id2597344"></a> 32 30 <a class="indexterm" name="id2597350"></a> 33 31 <a class="indexterm" name="id2597356"></a> 34 32 <a class="indexterm" name="id2597363"></a> 35 33 <a class="indexterm" name="id2597370"></a> 36 <a class="indexterm" name="id2597377"></a> 34 <a class="indexterm" name="id2597376"></a> 35 <a class="indexterm" name="id2597383"></a> 36 <a class="indexterm" name="id2597390"></a> 37 37 Where user and group account information is stored in an LDAP directory every server can have the same 38 38 consistent UID and GID for users and groups. This is achieved using NSS and the nss_ldap tool. Samba … … 42 42 or if there is a need to keep the security name-space separate (i.e., the user 43 43 <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="id25974 06" href="#ftn.id2597406" class="footnote">4</a>]</sup> free from inadvertent cross-over, close attention should be given44 <code class="literal">FRANCISCUS\FJones</code><sup>[<a name="id2597419" href="#ftn.id2597419" class="footnote">4</a>]</sup> free from inadvertent cross-over, close attention should be given 45 45 to the way that the IDMAP facility is configured. 46 46 </p><p> 47 <a class="indexterm" name="id2597433"></a>48 <a class="indexterm" name="id2597440"></a>49 47 <a class="indexterm" name="id2597447"></a> 50 48 <a class="indexterm" name="id2597454"></a> 51 49 <a class="indexterm" name="id2597460"></a> 52 50 <a class="indexterm" name="id2597467"></a> 51 <a class="indexterm" name="id2597474"></a> 52 <a class="indexterm" name="id2597480"></a> 53 53 The use of IDMAP is important where the Samba server will be accessed by workstations or servers from 54 54 more than one domain, in which case it is important to run winbind so it can handle the resolution (ID mapping) 55 55 of foreign SIDs to local UNIX UIDs and GIDs. 56 56 </p><p> 57 <a class="indexterm" name="id25974 81"></a>57 <a class="indexterm" name="id2597495"></a> 58 58 The 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="id2597 496"></a>Samba Server Deployment Types and IDMAP</h2></div></div></div><p>60 <a class="indexterm" name="id25975 05"></a>59 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2597510"></a>Samba Server Deployment Types and IDMAP</h2></div></div></div><p> 60 <a class="indexterm" name="id2597518"></a> 61 61 There 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 62 62 on Server Types and Security Modes</a>. 63 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2597522"></a>Standalone Samba Server</h3></div></div></div><p> 64 <a class="indexterm" name="id2597530"></a> 65 <a class="indexterm" name="id2597536"></a> 63 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2597535"></a>Standalone Samba Server</h3></div></div></div><p> 66 64 <a class="indexterm" name="id2597543"></a> 65 <a class="indexterm" name="id2597550"></a> 66 <a class="indexterm" name="id2597557"></a> 67 67 A standalone Samba server is an implementation that is not a member of a Windows NT4 domain, 68 68 a Windows 200X Active Directory domain, or a Samba domain. 69 69 </p><p> 70 <a class="indexterm" name="id25975 56"></a>71 <a class="indexterm" name="id25975 63"></a>72 <a class="indexterm" name="id25975 70"></a>70 <a class="indexterm" name="id2597569"></a> 71 <a class="indexterm" name="id2597576"></a> 72 <a class="indexterm" name="id2597583"></a> 73 73 By definition, this means that users and groups will be created and controlled locally, and 74 74 the identity of a network user must match a local UNIX/Linux user login. The IDMAP facility 75 75 is therefore of little to no interest, winbind will not be necessary, and the IDMAP facility 76 76 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="id2597584"></a>Domain Member Server or Domain Member Client</h3></div></div></div><p> 78 <a class="indexterm" name="id2597592"></a> 79 <a class="indexterm" name="id2597599"></a> 80 <a class="indexterm" name="id2597605"></a> 77 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2597597"></a>Domain Member Server or Domain Member Client</h3></div></div></div><p> 78 <a class="indexterm" name="id2597606"></a> 81 79 <a class="indexterm" name="id2597612"></a> 82 <a class="indexterm" name="id2597618"></a> 80 <a class="indexterm" name="id2597619"></a> 81 <a class="indexterm" name="id2597625"></a> 82 <a class="indexterm" name="id2597632"></a> 83 83 Samba-3 can act as a Windows NT4 PDC or BDC, thereby providing domain control protocols that 84 84 are compatible with Windows NT4. Samba-3 file and print sharing protocols are compatible with … … 86 86 extensively makes use of Windows SIDs. 87 87 </p><p> 88 <a class="indexterm" name="id2597634"></a>89 <a class="indexterm" name="id2597641"></a>90 88 <a class="indexterm" name="id2597647"></a> 89 <a class="indexterm" name="id2597654"></a> 90 <a class="indexterm" name="id2597661"></a> 91 91 Samba-3 domain member servers and clients must interact correctly with MS Windows SIDs. Incoming 92 92 Windows SIDs must be translated to local UNIX UIDs and GIDs. Outgoing information from the Samba 93 93 server must provide to MS Windows clients and servers appropriate SIDs. 94 94 </p><p> 95 <a class="indexterm" name="id25976 62"></a>96 <a class="indexterm" name="id25976 68"></a>95 <a class="indexterm" name="id2597675"></a> 96 <a class="indexterm" name="id2597682"></a> 97 97 A Samba member of a Windows networking domain (NT4-style or ADS) can be configured to handle 98 98 identity mapping in a variety of ways. The mechanism it uses depends on whether or not … … 100 100 The configuration options are briefly described here: 101 101 </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="id2597699"></a> 103 <a class="indexterm" name="id2597706"></a> 104 <a class="indexterm" name="id2597713"></a> 105 <a class="indexterm" name="id2597720"></a> 102 <a class="indexterm" name="id2597712"></a> 103 <a class="indexterm" name="id2597719"></a> 106 104 <a class="indexterm" name="id2597726"></a> 107 105 <a class="indexterm" name="id2597733"></a> 108 106 <a class="indexterm" name="id2597740"></a> 109 107 <a class="indexterm" name="id2597747"></a> 110 <a class="indexterm" name="id259775 3"></a>108 <a class="indexterm" name="id2597754"></a> 111 109 <a class="indexterm" name="id2597760"></a> 112 110 <a class="indexterm" name="id2597767"></a> 111 <a class="indexterm" name="id2597774"></a> 112 <a class="indexterm" name="id2597781"></a> 113 113 Where <code class="literal">winbindd</code> is not used Samba (<code class="literal">smbd</code>) 114 114 uses the underlying UNIX/Linux mechanisms to resolve the identity of incoming … … 120 120 <code class="filename">/etc/passwd</code> and <code class="filename">/etc/group</code> respectively. 121 121 </p><p> 122 <a class="indexterm" name="id25978 09"></a>123 <a class="indexterm" name="id25978 16"></a>122 <a class="indexterm" name="id2597823"></a> 123 <a class="indexterm" name="id2597830"></a> 124 124 For example, when the user <code class="literal">BERYLIUM\WambatW</code> tries to open a 125 125 connection to a Samba server the incoming SessionSetupAndX request will make a … … 127 127 <code class="filename">/etc/passwd</code> file. 128 128 </p><p> 129 <a class="indexterm" name="id2597847"></a>130 <a class="indexterm" name="id2597854"></a>131 129 <a class="indexterm" name="id2597861"></a> 132 130 <a class="indexterm" name="id2597868"></a> 133 <a class="indexterm" name="id259787 4"></a>131 <a class="indexterm" name="id2597875"></a> 134 132 <a class="indexterm" name="id2597881"></a> 135 133 <a class="indexterm" name="id2597888"></a> 136 134 <a class="indexterm" name="id2597894"></a> 135 <a class="indexterm" name="id2597901"></a> 136 <a class="indexterm" name="id2597908"></a> 137 137 This configuration may be used with standalone Samba servers, domain member 138 138 servers (NT4 or ADS), and for a PDC that uses either an smbpasswd 139 139 or a tdbsam-based Samba passdb backend. 140 140 </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="id2597918"></a> 142 <a class="indexterm" name="id2597925"></a> 143 <a class="indexterm" name="id2597932"></a> 141 <a class="indexterm" name="id2597931"></a> 144 142 <a class="indexterm" name="id2597938"></a> 145 143 <a class="indexterm" name="id2597945"></a> 146 144 <a class="indexterm" name="id2597952"></a> 145 <a class="indexterm" name="id2597959"></a> 146 <a class="indexterm" name="id2597965"></a> 147 147 In this situation user and group accounts are treated as if they are local 148 148 accounts. The only way in which this differs from having local accounts is … … 150 150 this means that they will reside in either an NIS-type database or else in LDAP. 151 151 </p><p> 152 <a class="indexterm" name="id2597967"></a>153 <a class="indexterm" name="id2597974"></a>154 152 <a class="indexterm" name="id2597981"></a> 155 153 <a class="indexterm" name="id2597988"></a> 156 <a class="indexterm" name="id259799 4"></a>154 <a class="indexterm" name="id2597995"></a> 157 155 <a class="indexterm" name="id2598001"></a> 158 156 <a class="indexterm" name="id2598008"></a> 157 <a class="indexterm" name="id2598014"></a> 158 <a class="indexterm" name="id2598021"></a> 159 159 This configuration may be used with standalone Samba servers, domain member 160 160 servers (NT4 or ADS), and for a PDC that uses either an smbpasswd 161 161 or a tdbsam-based Samba passdb backend. 162 162 </p></dd><dt><span class="term">Winbind/NSS with the default local IDMAP table: </span></dt><dd><p> 163 <a class="indexterm" name="id2598031"></a>164 <a class="indexterm" name="id2598037"></a>165 163 <a class="indexterm" name="id2598044"></a> 166 164 <a class="indexterm" name="id2598051"></a> 165 <a class="indexterm" name="id2598058"></a> 166 <a class="indexterm" name="id2598064"></a> 167 167 There are many sites that require only a simple Samba server or a single Samba 168 168 server that is a member of a Windows NT4 domain or an ADS domain. A typical example … … 172 172 Active Directory. 173 173 </p><p> 174 <a class="indexterm" name="id2598069"></a>175 <a class="indexterm" name="id2598076"></a>176 174 <a class="indexterm" name="id2598082"></a> 177 175 <a class="indexterm" name="id2598089"></a> 178 176 <a class="indexterm" name="id2598096"></a> 177 <a class="indexterm" name="id2598103"></a> 178 <a class="indexterm" name="id2598110"></a> 179 179 Winbind is a great convenience in this situation. All that is needed is a range of 180 180 UID numbers and GID numbers that can be defined in the <code class="filename">smb.conf</code> file. The … … 183 183 The SIDs are allocated a UID/GID in the order in which winbind receives them. 184 184 </p><p> 185 <a class="indexterm" name="id2598130"></a>186 <a class="indexterm" name="id2598136"></a>187 185 <a class="indexterm" name="id2598143"></a> 188 186 <a class="indexterm" name="id2598150"></a> 187 <a class="indexterm" name="id2598156"></a> 188 <a class="indexterm" name="id2598163"></a> 189 189 This configuration is not convenient or practical in sites that have more than one 190 190 Samba server and that require the same UID or GID for the same user or group across … … 195 195 the rightful owners. 196 196 </p></dd><dt><span class="term">Winbind/NSS uses RID based IDMAP: </span></dt><dd><p> 197 <a class="indexterm" name="id2598188"></a> 198 <a class="indexterm" name="id2598195"></a> 199 <a class="indexterm" name="id2598201"></a> 197 <a class="indexterm" name="id2598202"></a> 200 198 <a class="indexterm" name="id2598208"></a> 199 <a class="indexterm" name="id2598215"></a> 200 <a class="indexterm" name="id2598221"></a> 201 201 The IDMAP_RID facility is new to Samba version 3.0.8. It was added to make life easier 202 202 for a number of sites that are committed to use of MS ADS, that do not apply … … 206 206 IDMAP table problem, then IDMAP_RID is an obvious choice. 207 207 </p><p> 208 <a class="indexterm" name="id2598227"></a>209 <a class="indexterm" name="id2598234"></a>210 208 <a class="indexterm" name="id2598240"></a> 211 209 <a class="indexterm" name="id2598247"></a> 212 210 <a class="indexterm" name="id2598254"></a> 213 <a class="indexterm" name="id259826 0"></a>211 <a class="indexterm" name="id2598261"></a> 214 212 <a class="indexterm" name="id2598267"></a> 215 213 <a class="indexterm" name="id2598274"></a> 214 <a class="indexterm" name="id2598280"></a> 215 <a class="indexterm" name="id2598287"></a> 216 216 This facility requires the allocation of the <em class="parameter"><code>idmap uid</code></em> and the 217 217 <em class="parameter"><code>idmap gid</code></em> ranges, and within the <em class="parameter"><code>idmap uid</code></em> … … 223 223 the resulting UID will be <code class="constant">1000 + 1234 = 2234</code>. 224 224 </p></dd><dt><span class="term">Winbind with an NSS/LDAP backend-based IDMAP facility: </span></dt><dd><p> 225 <a class="indexterm" name="id2598342"></a>226 <a class="indexterm" name="id2598349"></a>227 225 <a class="indexterm" name="id2598356"></a> 228 226 <a class="indexterm" name="id2598362"></a> 229 227 <a class="indexterm" name="id2598369"></a> 230 <a class="indexterm" name="id259837 5"></a>228 <a class="indexterm" name="id2598376"></a> 231 229 <a class="indexterm" name="id2598382"></a> 232 230 <a class="indexterm" name="id2598389"></a> 231 <a class="indexterm" name="id2598396"></a> 232 <a class="indexterm" name="id2598402"></a> 233 233 In this configuration <code class="literal">winbind</code> resolved SIDs to UIDs and GIDs from 234 234 the <em class="parameter"><code>idmap uid</code></em> and <em class="parameter"><code>idmap gid</code></em> ranges specified … … 237 237 a common IDMAP table. 238 238 </p><p> 239 <a class="indexterm" name="id2598428"></a>240 <a class="indexterm" name="id2598435"></a>241 239 <a class="indexterm" name="id2598441"></a> 240 <a class="indexterm" name="id2598448"></a> 241 <a class="indexterm" name="id2598455"></a> 242 242 It is important that all LDAP IDMAP clients use only the master LDAP server because the 243 243 <em class="parameter"><code>idmap backend</code></em> facility in the <code class="filename">smb.conf</code> file does not correctly … … 248 248 SIDs are consistent across all servers. 249 249 </p><p> 250 <a class="indexterm" name="id25984 83"></a>251 <a class="indexterm" name="id2598 490"></a>250 <a class="indexterm" name="id2598496"></a> 251 <a class="indexterm" name="id2598503"></a> 252 252 The use of the LDAP-based passdb backend requires use of the PADL nss_ldap utility or 253 253 an equivalent. In this situation winbind is used to handle foreign SIDs, that is, SIDs from … … 256 256 in precisely the same manner as when using winbind with a local IDMAP table. 257 257 </p><p> 258 <a class="indexterm" name="id2598508"></a>259 <a class="indexterm" name="id2598514"></a>260 258 <a class="indexterm" name="id2598521"></a> 259 <a class="indexterm" name="id2598528"></a> 260 <a class="indexterm" name="id2598535"></a> 261 261 The nss_ldap tool set can be used to access UIDs and GIDs via LDAP as well as via Active 262 262 Directory. In order to use Active Directory, it is necessary to modify the ADS schema by … … 267 267 Management tool. Each account must be separately UNIX-enabled before the UID and GID data can 268 268 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="id2598545"></a>Primary Domain Controller</h3></div></div></div><p> 270 <a class="indexterm" name="id2598553"></a> 271 <a class="indexterm" name="id2598560"></a> 269 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598558"></a>Primary Domain Controller</h3></div></div></div><p> 272 270 <a class="indexterm" name="id2598566"></a> 273 271 <a class="indexterm" name="id2598573"></a> 272 <a class="indexterm" name="id2598580"></a> 273 <a class="indexterm" name="id2598586"></a> 274 274 Microsoft Windows domain security systems generate the user and group SID as part 275 275 of the process of creation of an account. Windows does not have a concept of the UNIX UID or a GID; rather, … … 279 279 in the <code class="filename">smb.conf</code> file, plus twice (2x) the UID or GID. This method is called “<span class="quote">algorithmic mapping</span>”. 280 280 </p><p> 281 <a class="indexterm" name="id25986 02"></a>281 <a class="indexterm" name="id2598615"></a> 282 282 For example, if a user has a UID of 4321, and the algorithmic RID base has a value of 1000, the RID will 283 283 be <code class="literal">1000 + (2 x 4321) = 9642</code>. Thus, if the domain SID is … … 285 285 <code class="literal">S-1-5-21-89238497-92787123-12341112-9642</code>. 286 286 </p><p> 287 <a class="indexterm" name="id2598633"></a>288 <a class="indexterm" name="id2598640"></a>289 287 <a class="indexterm" name="id2598647"></a> 290 288 <a class="indexterm" name="id2598654"></a> 289 <a class="indexterm" name="id2598660"></a> 290 <a class="indexterm" name="id2598667"></a> 291 291 The foregoing type of SID is produced by Samba as an automatic function and is either produced on the fly 292 292 (as is the case when using a <em class="parameter"><code>passdb backend = [tdbsam | smbpasswd]</code></em>), or may be stored 293 293 as a permanent part of an account in an LDAP-based ldapsam. 294 294 </p><p> 295 <a class="indexterm" name="id2598674"></a>296 <a class="indexterm" name="id2598681"></a>297 295 <a class="indexterm" name="id2598687"></a> 298 296 <a class="indexterm" name="id2598694"></a> … … 302 300 <a class="indexterm" name="id2598721"></a> 303 301 <a class="indexterm" name="id2598728"></a> 302 <a class="indexterm" name="id2598734"></a> 303 <a class="indexterm" name="id2598741"></a> 304 304 ADS uses a directory schema that can be extended to accommodate additional 305 305 account attributes such as UIDs and GIDs. The installation of Microsoft Service for UNIX 3.5 will expand … … 307 307 through a snap-in module to the normal ADS account management MMC interface. 308 308 </p><p> 309 <a class="indexterm" name="id2598744"></a>310 <a class="indexterm" name="id2598750"></a>311 309 <a class="indexterm" name="id2598757"></a> 312 310 <a class="indexterm" name="id2598764"></a> 311 <a class="indexterm" name="id2598771"></a> 312 <a class="indexterm" name="id2598777"></a> 313 313 Security identifiers used within a domain must be managed to avoid conflict and to preserve itegrity. 314 314 In an NT4 domain context, the PDC manages the distribution of all security credentials to the backup 315 315 domain controllers (BDCs). At this time the only passdb backend for a Samba domain controller that is suitable 316 316 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="id2598779"></a>Backup Domain Controller</h3></div></div></div><p> 318 <a class="indexterm" name="id2598787"></a> 319 <a class="indexterm" name="id2598794"></a> 317 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598792"></a>Backup Domain Controller</h3></div></div></div><p> 320 318 <a class="indexterm" name="id2598800"></a> 321 <a class="indexterm" name="id259880 8"></a>319 <a class="indexterm" name="id2598807"></a> 322 320 <a class="indexterm" name="id2598814"></a> 323 321 <a class="indexterm" name="id2598821"></a> 324 322 <a class="indexterm" name="id2598828"></a> 323 <a class="indexterm" name="id2598835"></a> 324 <a class="indexterm" name="id2598842"></a> 325 325 BDCs have read-only access to security credentials that are stored in LDAP. 326 326 Changes in user or group account information are passed by the BDC to the PDC. Only the PDC can write … … 331 331 in the IDMAP backend. This means that it is is unsafe to use a slave (replicate) LDAP server with 332 332 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="id2598850"></a>Examples of IDMAP Backend Usage</h2></div></div></div><p> 334 <a class="indexterm" name="id2598859"></a> 335 <a class="indexterm" name="id2598868"></a> 336 <a class="indexterm" name="id2598877"></a> 337 <a class="indexterm" name="id2598884"></a> 333 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2598864"></a>Examples of IDMAP Backend Usage</h2></div></div></div><p> 334 <a class="indexterm" name="id2598872"></a> 335 <a class="indexterm" name="id2598881"></a> 338 336 <a class="indexterm" name="id2598890"></a> 337 <a class="indexterm" name="id2598897"></a> 338 <a class="indexterm" name="id2598904"></a> 339 339 Anyone who wishes to use <code class="literal">winbind</code> will find the following example configurations helpful. 340 340 Remember that in the majority of cases <code class="literal">winbind</code> is of primary interest for use with 341 341 domain 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="id25989 14"></a>Default Winbind TDB</h3></div></div></div><p>342 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598927"></a>Default Winbind TDB</h3></div></div></div><p> 343 343 Two common configurations are used: 344 344 </p><div class="itemizedlist"><ul type="disc"><li><p> … … 346 346 </p></li><li><p> 347 347 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="id25989 38"></a>NT4-Style Domains (Includes Samba Domains)</h4></div></div></div><p>348 </p></li></ul></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2598951"></a>NT4-Style Domains (Includes Samba Domains)</h4></div></div></div><p> 349 349 <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 350 350 <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="id259 8990"></a><em class="parameter"><code>workgroup = MEGANET2</code></em></td></tr><tr><td><a class="indexterm" name="id2599002"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2599014"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2599026"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2599037"></a><em class="parameter"><code>template primary group = "Domain Users"</code></em></td></tr><tr><td><a class="indexterm" name="id2599050"></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="id25990 65"></a>353 <a class="indexterm" name="id25990 71"></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 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="id2599004"></a><em class="parameter"><code>workgroup = MEGANET2</code></em></td></tr><tr><td><a class="indexterm" name="id2599016"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2599027"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2599039"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2599051"></a><em class="parameter"><code>template primary group = "Domain Users"</code></em></td></tr><tr><td><a class="indexterm" name="id2599063"></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="id2599078"></a> 353 <a class="indexterm" name="id2599085"></a> 354 354 The use of <code class="literal">winbind</code> requires configuration of NSS. Edit the <code class="filename">/etc/nsswitch.conf</code> 355 355 so it includes the following entries: … … 374 374 Joined domain MEGANET2. 375 375 </pre><p> 376 <a class="indexterm" name="id25991 40"></a>376 <a class="indexterm" name="id2599154"></a> 377 377 The success of the join can be confirmed with the following command: 378 378 </p><pre class="screen"> … … 381 381 </pre><p> 382 382 A failed join would report an error message like the following: 383 <a class="indexterm" name="id25991 62"></a>383 <a class="indexterm" name="id2599175"></a> 384 384 </p><pre class="screen"> 385 385 <code class="prompt">root# </code> net rpc testjoin … … 388 388 </pre><p> 389 389 </p></li><li><p> 390 <a class="indexterm" name="id2599189"></a>391 <a class="indexterm" name="id2599196"></a>392 390 <a class="indexterm" name="id2599202"></a> 391 <a class="indexterm" name="id2599209"></a> 392 <a class="indexterm" name="id2599216"></a> 393 393 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="id25992 25"></a>ADS Domains</h4></div></div></div><p>395 <a class="indexterm" name="id25992 33"></a>396 <a class="indexterm" name="id25992 40"></a>394 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2599239"></a>ADS Domains</h4></div></div></div><p> 395 <a class="indexterm" name="id2599246"></a> 396 <a class="indexterm" name="id2599253"></a> 397 397 The procedure for joining an ADS domain is similar to the NT4 domain join, except the <code class="filename">smb.conf</code> file 398 398 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="id2599291"></a><em class="parameter"><code>workgroup = BUTTERNET</code></em></td></tr><tr><td><a class="indexterm" name="id2599303"></a><em class="parameter"><code>netbios name = GARGOYLE</code></em></td></tr><tr><td><a class="indexterm" name="id2599315"></a><em class="parameter"><code>realm = BUTTERNET.BIZ</code></em></td></tr><tr><td><a class="indexterm" name="id2599326"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2599338"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2599350"></a><em class="parameter"><code>idmap uid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599362"></a><em class="parameter"><code>idmap gid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599373"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2599385"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2599397"></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="id2599413"></a> 401 <a class="indexterm" name="id2599420"></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="id2599304"></a><em class="parameter"><code>workgroup = BUTTERNET</code></em></td></tr><tr><td><a class="indexterm" name="id2599316"></a><em class="parameter"><code>netbios name = GARGOYLE</code></em></td></tr><tr><td><a class="indexterm" name="id2599328"></a><em class="parameter"><code>realm = BUTTERNET.BIZ</code></em></td></tr><tr><td><a class="indexterm" name="id2599340"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2599351"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2599363"></a><em class="parameter"><code>idmap uid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599375"></a><em class="parameter"><code>idmap gid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599387"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2599399"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2599411"></a><em class="parameter"><code>printer admin = "BUTTERNET\Domain Admins"</code></em></td></tr></table></div></div><br class="example-break"><p> 402 400 <a class="indexterm" name="id2599426"></a> 403 401 <a class="indexterm" name="id2599433"></a> 404 402 <a class="indexterm" name="id2599440"></a> 405 403 <a class="indexterm" name="id2599447"></a> 406 <a class="indexterm" name="id2599454"></a> 404 <a class="indexterm" name="id2599453"></a> 405 <a class="indexterm" name="id2599460"></a> 406 <a class="indexterm" name="id2599467"></a> 407 407 ADS DMS operation requires use of kerberos (KRB). For this to work, the <code class="filename">krb5.conf</code> 408 408 must be configured. The exact requirements depends on which version of MIT or Heimdal Kerberos is being … … 417 417 </p></li><li><p> 418 418 Execute: 419 <a class="indexterm" name="id25995 12"></a>419 <a class="indexterm" name="id2599525"></a> 420 420 </p><pre class="screen"> 421 421 <code class="prompt">root# </code> net ads join -UAdministrator%password … … 437 437 Join to domain is not valid 438 438 </pre><p> 439 <a class="indexterm" name="id2599568"></a>440 <a class="indexterm" name="id2599575"></a>441 439 <a class="indexterm" name="id2599582"></a> 442 440 <a class="indexterm" name="id2599589"></a> 441 <a class="indexterm" name="id2599596"></a> 442 <a class="indexterm" name="id2599602"></a> 443 443 The specific error message may differ from the above because it depends on the type of failure that 444 444 may have occurred. Increase the <em class="parameter"><code>log level</code></em> to 10, repeat the test, … … 446 446 </p></li><li><p> 447 447 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="id2599635"></a>IDMAP_RID with Winbind</h3></div></div></div><p> 449 <a class="indexterm" name="id2599643"></a> 450 <a class="indexterm" name="id2599650"></a> 448 </p></li></ol></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2599649"></a>IDMAP_RID with Winbind</h3></div></div></div><p> 451 449 <a class="indexterm" name="id2599657"></a> 452 <a class="indexterm" name="id2599663"></a> 450 <a class="indexterm" name="id2599664"></a> 451 <a class="indexterm" name="id2599670"></a> 452 <a class="indexterm" name="id2599677"></a> 453 453 The <code class="literal">idmap_rid</code> facility is a new tool that, unlike native winbind, creates a 454 454 predictable mapping of MS Windows SIDs to UNIX UIDs and GIDs. The key benefit of this method … … 457 457 is not compatible with trusted domain implementations. 458 458 </p><p> 459 <a class="indexterm" name="id2599686"></a>460 <a class="indexterm" name="id2599693"></a>461 459 <a class="indexterm" name="id2599700"></a> 462 460 <a class="indexterm" name="id2599706"></a> 461 <a class="indexterm" name="id2599713"></a> 462 <a class="indexterm" name="id2599720"></a> 463 463 This alternate method of SID to UID/GID mapping can be achieved using the idmap_rid 464 464 plug-in. This plug-in uses the RID of the user SID to derive the UID and GID by adding the … … 468 468 <em class="parameter"><code>idmap gid</code></em> ranges must be specified. 469 469 </p><p> 470 <a class="indexterm" name="id25997 39"></a>471 <a class="indexterm" name="id25997 46"></a>470 <a class="indexterm" name="id2599752"></a> 471 <a class="indexterm" name="id2599759"></a> 472 472 The idmap_rid facility can be used both for NT4/Samba-style domains and Active Directory. 473 473 To use this with an NT4 domain, do not include the <em class="parameter"><code>realm</code></em> parameter; additionally, the … … 476 476 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 477 477 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="id2599813"></a><em class="parameter"><code>workgroup = KPAK</code></em></td></tr><tr><td><a class="indexterm" name="id2599825"></a><em class="parameter"><code>netbios name = BIGJOE</code></em></td></tr><tr><td><a class="indexterm" name="id2599837"></a><em class="parameter"><code>realm = CORP.KPAK.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2599848"></a><em class="parameter"><code>server string = Office Server</code></em></td></tr><tr><td><a class="indexterm" name="id2599860"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2599872"></a><em class="parameter"><code>allow trusted domains = No</code></em></td></tr><tr><td><a class="indexterm" name="id2599884"></a><em class="parameter"><code>idmap backend = idmap_rid:KPAK=500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599896"></a><em class="parameter"><code>idmap uid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599908"></a><em class="parameter"><code>idmap gid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599920"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2599932"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2599944"></a><em class="parameter"><code>winbind enum users = No</code></em></td></tr><tr><td><a class="indexterm" name="id2599956"></a><em class="parameter"><code>winbind enum groups = No</code></em></td></tr><tr><td><a class="indexterm" name="id2599967"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2599979"></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="id2599995"></a> 480 <a class="indexterm" name="id2600002"></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="id2599827"></a><em class="parameter"><code>workgroup = KPAK</code></em></td></tr><tr><td><a class="indexterm" name="id2599838"></a><em class="parameter"><code>netbios name = BIGJOE</code></em></td></tr><tr><td><a class="indexterm" name="id2599850"></a><em class="parameter"><code>realm = CORP.KPAK.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2599862"></a><em class="parameter"><code>server string = Office Server</code></em></td></tr><tr><td><a class="indexterm" name="id2599874"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2599885"></a><em class="parameter"><code>allow trusted domains = No</code></em></td></tr><tr><td><a class="indexterm" name="id2599897"></a><em class="parameter"><code>idmap backend = idmap_rid:KPAK=500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599910"></a><em class="parameter"><code>idmap uid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599921"></a><em class="parameter"><code>idmap gid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599933"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2599945"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2599957"></a><em class="parameter"><code>winbind enum users = No</code></em></td></tr><tr><td><a class="indexterm" name="id2599969"></a><em class="parameter"><code>winbind enum groups = No</code></em></td></tr><tr><td><a class="indexterm" name="id2599981"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2599993"></a><em class="parameter"><code>printer admin = "Domain Admins"</code></em></td></tr></table></div></div><br class="example-break"><p> 481 479 <a class="indexterm" name="id2600008"></a> 482 480 <a class="indexterm" name="id2600015"></a> 481 <a class="indexterm" name="id2600022"></a> 482 <a class="indexterm" name="id2600029"></a> 483 483 In a large domain with many users it is imperative to disable enumeration of users and groups. 484 484 For example, at a site that has 22,000 users in Active Directory the winbind-based user and … … 489 489 commands. It will be possible to perform the lookup for individual users, as shown in the following procedure. 490 490 </p><p> 491 <a class="indexterm" name="id26000 53"></a>492 <a class="indexterm" name="id26000 59"></a>491 <a class="indexterm" name="id2600066"></a> 492 <a class="indexterm" name="id2600073"></a> 493 493 The use of this tool requires configuration of NSS as per the native use of winbind. Edit the 494 494 <code class="filename">/etc/nsswitch.conf</code> so it has the following parameters: … … 516 516 </pre><p> 517 517 </p><p> 518 <a class="indexterm" name="id26001 39"></a>518 <a class="indexterm" name="id2600152"></a> 519 519 An invalid or failed join can be detected by executing: 520 520 </p><pre class="screen"> … … 532 532 </p></li><li><p> 533 533 Validate the operation of this configuration by executing: 534 <a class="indexterm" name="id26002 04"></a>534 <a class="indexterm" name="id2600217"></a> 535 535 </p><pre class="screen"> 536 536 <code class="prompt">root# </code> getent passwd administrator 537 537 administrator:x:1000:1013:Administrator:/home/BE/administrator:/bin/bash 538 538 </pre><p> 539 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26002 26"></a>IDMAP Storage in LDAP Using Winbind</h3></div></div></div><p>540 <a class="indexterm" name="id26002 34"></a>541 <a class="indexterm" name="id26002 40"></a>539 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2600239"></a>IDMAP Storage in LDAP Using Winbind</h3></div></div></div><p> 540 <a class="indexterm" name="id2600247"></a> 541 <a class="indexterm" name="id2600254"></a> 542 542 The storage of IDMAP information in LDAP can be used with both NT4/Samba-3-style domains and 543 543 ADS domains. OpenLDAP is a commonly used LDAP server for this purpose, although any … … 548 548 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 549 549 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="id2600 294"></a><em class="parameter"><code>workgroup = SNOWSHOW</code></em></td></tr><tr><td><a class="indexterm" name="id2600306"></a><em class="parameter"><code>netbios name = GOODELF</code></em></td></tr><tr><td><a class="indexterm" name="id2600318"></a><em class="parameter"><code>realm = SNOWSHOW.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2600330"></a><em class="parameter"><code>server string = Samba Server</code></em></td></tr><tr><td><a class="indexterm" name="id2600342"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2600353"></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="id2600365"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2600378"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2600390"></a><em class="parameter"><code>ldap suffix = dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2600401"></a><em class="parameter"><code>idmap backend = ldap:ldap://ldap.snowshow.com</code></em></td></tr><tr><td><a class="indexterm" name="id2600414"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2600425"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2600437"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2600449"></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="id26004 64"></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="id2600308"></a><em class="parameter"><code>workgroup = SNOWSHOW</code></em></td></tr><tr><td><a class="indexterm" name="id2600320"></a><em class="parameter"><code>netbios name = GOODELF</code></em></td></tr><tr><td><a class="indexterm" name="id2600331"></a><em class="parameter"><code>realm = SNOWSHOW.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2600343"></a><em class="parameter"><code>server string = Samba Server</code></em></td></tr><tr><td><a class="indexterm" name="id2600355"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2600367"></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="id2600379"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2600391"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2600403"></a><em class="parameter"><code>ldap suffix = dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2600415"></a><em class="parameter"><code>idmap backend = ldap:ldap://ldap.snowshow.com</code></em></td></tr><tr><td><a class="indexterm" name="id2600427"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2600439"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2600451"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2600462"></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="id2600478"></a> 552 552 In the case of an NT4 or Samba-3-style domain the <em class="parameter"><code>realm</code></em> is not used, and the 553 553 command used to join the domain is <code class="literal">net rpc join</code>. The above example also demonstrates 554 554 advanced error-reporting techniques that are documented in <a class="link" href="bugreport.html#dbglvl" title="Debug Levels">Reporting Bugs</a>. 555 555 </p><p> 556 <a class="indexterm" name="id2600498"></a>557 <a class="indexterm" name="id2600505"></a>558 556 <a class="indexterm" name="id2600512"></a> 557 <a class="indexterm" name="id2600518"></a> 558 <a class="indexterm" name="id2600525"></a> 559 559 Where MIT kerberos is installed (version 1.3.4 or later), edit the <code class="filename">/etc/krb5.conf</code> 560 560 file so it has the following contents: … … 611 611 </pre><p> 612 612 </p><p> 613 <a class="indexterm" name="id2600 595"></a>614 <a class="indexterm" name="id26006 02"></a>613 <a class="indexterm" name="id2600609"></a> 614 <a class="indexterm" name="id2600616"></a> 615 615 You will need the <a class="ulink" href="http://www.padl.com" target="_top">PADL</a> <code class="literal">nss_ldap</code> 616 616 tool set for this solution. Configure the <code class="filename">/etc/ldap.conf</code> file so it has … … 675 675 Start the <code class="literal">nmbd</code>, <code class="literal">winbind</code>, and <code class="literal">smbd</code> daemons in the order shown. 676 676 </p></li></ol></div><p> 677 <a class="indexterm" name="id2600 798"></a>677 <a class="indexterm" name="id2600811"></a> 678 678 Follow the diagnositic procedures shown earlier in this chapter to identify success or failure of the join. 679 679 In many cases a failure is indicated by a silent return to the command prompt with no indication of the 680 680 reason for failure. 681 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26008 11"></a>IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</h3></div></div></div><p>682 <a class="indexterm" name="id26008 20"></a>683 <a class="indexterm" name="id26008 26"></a>681 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2600824"></a>IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</h3></div></div></div><p> 682 <a class="indexterm" name="id2600833"></a> 683 <a class="indexterm" name="id2600840"></a> 684 684 The use of this method is messy. The information provided in the following is for guidance only 685 685 and is very definitely not complete. This method does work; it is used in a number of large sites … … 688 688 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 689 689 RFC2307bis 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="id2600 886"></a><em class="parameter"><code>workgroup = BOBBY</code></em></td></tr><tr><td><a class="indexterm" name="id2600898"></a><em class="parameter"><code>realm = BOBBY.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2600909"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2600921"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2600933"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2600944"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2600956"></a><em class="parameter"><code>winbind cache time = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2600968"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2600980"></a><em class="parameter"><code>winbind trusted domains only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2600992"></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="id26010 08"></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="id2600900"></a><em class="parameter"><code>workgroup = BOBBY</code></em></td></tr><tr><td><a class="indexterm" name="id2600911"></a><em class="parameter"><code>realm = BOBBY.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2600923"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2600934"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2600946"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2600958"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2600970"></a><em class="parameter"><code>winbind cache time = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2600982"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2600994"></a><em class="parameter"><code>winbind trusted domains only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2601006"></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="id2601021"></a> 692 692 The DMS must be joined to the domain using the usual procedure. Additionally, it is necessary 693 693 to build and install the PADL nss_ldap tool set. Be sure to build this tool set with the … … 698 698 </pre><p> 699 699 </p><p> 700 <a class="indexterm" name="id26010 28"></a>700 <a class="indexterm" name="id2601042"></a> 701 701 The following <code class="filename">/etc/nsswitch.conf</code> file contents are required: 702 702 </p><pre class="screen"> … … 710 710 </pre><p> 711 711 </p><p> 712 <a class="indexterm" name="id26010 52"></a>713 <a class="indexterm" name="id26010 59"></a>712 <a class="indexterm" name="id2601066"></a> 713 <a class="indexterm" name="id2601073"></a> 714 714 The <code class="filename">/etc/ldap.conf</code> file must be configured also. Refer to the PADL documentation 715 715 and source code for nss_ldap to specific instructions. … … 717 717 The next step involves preparation of the ADS schema. This is briefly discussed in the remaining 718 718 part of this chapter. 719 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26010 81"></a>IDMAP, Active Directory, and MS Services for UNIX 3.5</h4></div></div></div><p>720 <a class="indexterm" name="id2601 089"></a>719 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2601094"></a>IDMAP, Active Directory, and MS Services for UNIX 3.5</h4></div></div></div><p> 720 <a class="indexterm" name="id2601103"></a> 721 721 The Microsoft Windows Service for UNIX (SFU) version 3.5 is available for free 722 722 <a class="ulink" href="http://www.microsoft.com/windows/sfu/" target="_top">download</a> 723 723 from the Microsoft Web site. You will need to download this tool and install it following 724 724 Microsoft instructions. 725 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26011 08"></a>IDMAP, Active Directory and AD4UNIX</h4></div></div></div><p>725 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2601121"></a>IDMAP, Active Directory and AD4UNIX</h4></div></div></div><p> 726 726 Instructions for obtaining and installing the AD4UNIX tool set can be found from the 727 727 <a class="ulink" href="http://www.geekcomix.com/cgi-bin/classnotes/wiki.pl?LDAP01/An_Alternative_Approach" target="_top"> 728 728 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.id25974 06" href="#id2597406" 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.id2597419" href="#id2597419" 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.2.x/docs/htmldocs/Samba3-HOWTO/index.html
r149 r204 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>The Official Samba 3.2.x HOWTO and Reference Guide</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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.2.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.2.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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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#id25434 52">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#id2543643">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2494746">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2543940">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#id2544219">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2544264">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2544309">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#id2545276">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2545469">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2545912">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2545973">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2546028">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2546128">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546214">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2546260">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2546294">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546304">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2546399">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2546433">“<span class="quote"><span class="errorname">The network name cannot be found</span></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#id2546582">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546606">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546686">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2546704">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2548624">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2549549">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#id2551742">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2551910">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2552070">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2552243">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552418">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553160">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553317">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2553615">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2553819">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2553843">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553879">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553923">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553954">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2554012">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#id2554336">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2555570">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2555590">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2556095">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557346">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557399">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2557418">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2558282">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2558287">“<span class="quote">$</span>” Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558388">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558452">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558529">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558648">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558675">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558694">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#id2558877">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2559283">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560028">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560392">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560450">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560541">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561224">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2561680">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561724">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561779">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561834">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561939">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#id2562183">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#id2562869">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563306">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563586">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563692">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#id2564157">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2564892">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#id2565174">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2565365">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#id2566460">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2566532">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2566738">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2566777">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2566853">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2567089">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#id2567216">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567310">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567511">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#id2568495">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#id2568562">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2568622">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2568666">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570437">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2571409">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#id2571646">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2571658">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2571717">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572028">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572149">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572209">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572329">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#id2572592">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2572776">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#id2573212">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2573848">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#id2574407">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#id2575341">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#id2575942">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576182">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576203">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576389">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576529">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577215">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577499">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577651">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577854">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577941">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578138">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579402">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579429">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579502">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579550">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579797">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#id2580281">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2580317">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2580501">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#id2581069">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2581588">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#id2582137">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2582549">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#id2582990">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#id2585526">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2585579">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585921">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2586079">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2588612">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588618">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588656">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#id2588907">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2589322">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2589658">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590298">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591162">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591239">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591250">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591422">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591549">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591562">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591649">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#id2592044">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592338">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592419">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2592578">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#id2593942">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#id2594153">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594202">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594270">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2594698">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2594714">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595082">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2595316">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2595544">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2595590">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595778">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595808">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596431">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2596687">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596707">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596772">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596888">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596906">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2596949">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596985">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#id2597496">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2597522">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598545">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598779">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2598850">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2598914">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2599635">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600226">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600811">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#id2601479">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2601754">Using the “<span class="quote">net rpc rights</span>” Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602099">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2602897">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2603074">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2603080">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#id2603577">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2603772">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604123">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604246">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2604911">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2604944">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605311">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605647">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2605984">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606132">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2606479">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606485">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606532">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606602">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606746">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606961">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607118">Interaction with the Standard Samba “<span class="quote">create mask</span>” Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607487">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607560">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2607972">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2607984">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2608306">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#id2608352">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#id2608579">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2608676">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2608934">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2609919">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610013">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610427">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610614">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610636">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610702">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2610727">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610795">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610825">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610850">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610881">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#id2611056">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611155">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611301">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2611317">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611471">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611530">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#id2611881">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612025">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2612080">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2612124">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2612139">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612168">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#id2612728">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613078">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613114">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613211">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613296">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613505">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#id2613845">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614041">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614191">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614203">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614249">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#id2614427">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2614839">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2614872">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#id2615070">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2615294">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615445">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2615504">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2615605">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615888">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2616085">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2616484">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2616940">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#id2619653">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619823">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619944">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620161">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620481">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2620624">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2620717">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#id2622652">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622669">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#id2623246">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623365">Always Make First Client Connection as root or “<span class="quote">printer admin</span>”</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623538">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623558">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623925">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624182">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624441">Error Message: “<span class="quote">Cannot connect under a different Name</span>”</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624555">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624864">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624974">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625011">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625068">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625102">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625118">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625135">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625268">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625539">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625578">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625727">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625756">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625762">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625803">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#id2625945">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2625951">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626011">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2626130">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2626245">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626492">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626737">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627113">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2627130">Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627181">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627416">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable “<span class="quote">raw</span>” Printing for <span class="emphasis"><em>application/octet-stream</em></span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627703">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627824">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#id2628016">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628194">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#id2628553">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628706">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628790">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628909">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2628949">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629612">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629820">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629977">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630164">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630332">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630602">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630686">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630906">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631245">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631480">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631493"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631562">“<span class="quote">Raw</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631670">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631949">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632232"><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#id2632569">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632997">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633120">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633215">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633231">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633294">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633365">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633470">Network Printing (Windows Clients and UNIX/Samba Print2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633 488">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633679">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633759">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633848">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633893">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633961">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633975">Printer Drivers Running in “<span class="quote">Kernel Mode</span>” Cause Many3 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id26340 14">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634032">CUPS: A “<span class="quote">Magical Stone</span>”?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634075">PostScript Drivers with No Major Problems, Even in Kernel4 Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id26341 62">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634184"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634282">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#id2634563">CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634802">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634920">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634946">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635008">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635308">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635526">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635666">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635858">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636002">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636124">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636205">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636286">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#id2636521">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636695">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636866">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636971">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637104">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637328">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638287">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638430">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2638633">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638700">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638766">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638817">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638937">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639112">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639939">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640411">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640447">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640501">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640542">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640682">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640826">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640892">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640932">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640946">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641163">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641239">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641324">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641463">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2641511">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641806">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641918">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641924">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">cupsaddsmb</span>” Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642000">“<span class="quote">cupsaddsmb</span>” or “<span class="quote">rpcclient addriver</span>” Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642038">“<span class="quote">cupsaddsmb</span>” Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642112">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642137">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642228">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642279">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642317">Can't Use “<span class="quote">cupsaddsmb</span>” on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642352">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642387">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642420">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642461">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642487">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642533">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#id2642816">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642872"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642921">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#id2643020">Print Queue Called “<span class="quote">lp</span>” Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643089">Location of Adobe PostScript Driver Files for “<span class="quote">cupsaddsmb</span>”</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2643142">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#id2643329">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643368">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643763">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2643769">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2643810">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644027">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#id2644354">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644750">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644801">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2645707">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2645732">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645792">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645831">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#id2646095">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646438">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646528">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646681">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646726">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2646852">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646902">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646989">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647036">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647268">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647424">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647499">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2647556">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2647562">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647677">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647829">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2650287">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2650336">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2650378">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2650414">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#id2650603">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650630">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650773">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651176">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2651362">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651587">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651630">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#id2651772">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2652067">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652204">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652426">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2652874">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653101">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653114">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653196">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653236">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2653301">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653459">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653470">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#id2653555">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2653605">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2653659">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2654264">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655608">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655642">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655741">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2656092">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656232">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656311">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2656341">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2656493">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657055">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2657560">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2657571">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657632">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657804">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657967">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#id2658143">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2658773">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2658827">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2659825">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660131"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660211">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2660315">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2660708">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2660719">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660817">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#id2661040">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661060">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661189">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661262"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661451"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661487"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661538"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662096">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662183">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662356">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662384">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662411">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2662549">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662562">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662593">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662635">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#id2662840">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2662892">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663025">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663162">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663193">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2663332">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2663985">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2664108">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2664255">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2664260">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#id2664368">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2664412">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2664509">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664681">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664850">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664899">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#id2664995">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2665115">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2665149">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2665279">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2665992">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666073">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666213">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666250">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#id2666881">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2668301">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#id2669196">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669224">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#id2669274">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2669425">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669434">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2670644">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#id2672040">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2672074">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673019">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2673254">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2673340">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673574">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#id2674063">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2674187">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2674206">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#id2674844">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2674996">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2675194">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2675207">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675268">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675369">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675425">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675481">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675545">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675589">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675608">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#id2675742">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2675781">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2676074">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#id2677837">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2677889">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678144">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678194">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678338">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2678665">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678702">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678876">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#id2679008">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679097">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#id2679333">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2679534">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679668">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679792">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#id2679876">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2680338">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#id2680528">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2680534">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2680576">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2680767">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680842">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680980">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2681217">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#id2681487">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2681707">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#id2682092">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682195">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682234">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682376">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682419">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682481">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2682487">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#id2682662">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2682746">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2682752">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682872">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682928">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683021">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683027">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683110">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683136">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683194">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683226">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#id2683283">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683352">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683373">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2683569">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#id2683676">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683715">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683811">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683855">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683903">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683928">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683994">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684046">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684070">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684091">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684182">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684278">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#id2685467">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2685685">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#id2685838">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2686016">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2686107">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.1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>The Official Samba 3.2.x HOWTO and Reference Guide</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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.2.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.2.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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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#id2543465">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#id2543657">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2494764">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2543954">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#id2544233">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2544278">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2544323">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#id2545290">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2545482">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2545926">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2545986">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2546042">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2546142">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546228">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2546274">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2546307">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546318">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2546412">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2546446">“<span class="quote"><span class="errorname">The network name cannot be found</span></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#id2546595">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546619">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546699">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2546718">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2548638">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2549562">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#id2551756">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2551923">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2552083">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2552257">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552431">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553173">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553330">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2553629">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2553833">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2553856">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553893">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553936">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553968">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2554025">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#id2554350">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2555584">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2555604">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2556109">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557360">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557413">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2557432">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2558295">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2558301">“<span class="quote">$</span>” Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558401">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558466">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558542">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558661">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558689">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558707">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#id2558891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2559297">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560041">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560406">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560464">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560555">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561238">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2561694">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561737">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561792">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561847">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561952">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#id2562196">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#id2562883">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563599">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563705">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#id2564171">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2564906">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#id2565187">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2565378">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#id2566473">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2566545">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2566752">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2566792">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2566867">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2567103">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#id2567230">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567324">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567525">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#id2568508">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#id2568576">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2568636">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2568680">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570451">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2571422">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#id2571660">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2571671">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2571731">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572042">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572162">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572222">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572343">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#id2572606">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2572789">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#id2573226">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2573862">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#id2574421">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#id2575354">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#id2575955">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576195">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576217">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576403">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576543">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577228">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577512">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577664">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577867">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577954">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578151">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579416">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579442">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579515">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579563">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579810">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#id2580294">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2580330">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2580514">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#id2581082">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2581602">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#id2582150">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2582562">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#id2583003">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#id2585539">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2585593">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585935">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2586092">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2588626">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588632">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588669">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#id2588920">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2589335">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2589671">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590312">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591175">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591252">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591264">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591436">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591563">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591576">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591663">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#id2592057">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592351">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592433">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2592592">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#id2593955">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#id2594167">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594215">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594284">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2594712">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2594727">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595096">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2595330">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2595558">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2595603">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595792">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595822">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596445">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2596701">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596720">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596786">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596902">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596919">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2596963">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596998">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#id2597510">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2597535">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598558">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598792">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2598864">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2598927">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2599649">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600239">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600824">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#id2601492">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2601767">Using the “<span class="quote">net rpc rights</span>” Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602113">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2602911">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2603088">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2603093">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#id2603591">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2603786">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604136">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604259">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2604925">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2604958">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605324">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605660">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2605997">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606146">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2606492">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606498">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606545">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606616">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606759">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606974">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607131">Interaction with the Standard Samba “<span class="quote">create mask</span>” Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607500">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607573">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2607985">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2607997">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2608319">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#id2608365">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#id2608592">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2608689">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2608947">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2609932">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610027">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610440">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610627">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610649">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610715">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2610741">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610808">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610838">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610863">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610895">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#id2611069">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611168">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611314">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2611330">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611484">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611544">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#id2611894">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612038">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2612093">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2612137">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2612152">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612181">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#id2612741">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613091">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613127">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613224">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613309">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613518">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#id2613858">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614054">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614204">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614216">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614262">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#id2614440">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2614852">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2614885">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#id2615084">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2615307">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615458">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2615518">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2615618">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615901">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2616098">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2616498">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2616953">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#id2619666">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619836">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619957">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620174">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620495">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2620637">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2620730">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#id2622666">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622682">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#id2623259">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623378">Always Make First Client Connection as root or “<span class="quote">printer admin</span>”</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623551">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623572">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623939">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624195">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624455">Error Message: “<span class="quote">Cannot connect under a different Name</span>”</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624568">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624877">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624987">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625024">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625081">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625115">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625131">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625148">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625282">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625553">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625591">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625740">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625769">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625775">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625816">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#id2625959">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2625964">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626024">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2626143">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2626258">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626505">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626750">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627126">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2627144">Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627194">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627429">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable “<span class="quote">raw</span>” Printing for <span class="emphasis"><em>application/octet-stream</em></span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627716">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627838">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#id2628029">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628207">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#id2628566">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628720">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628803">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628923">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2628962">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629626">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629833">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629990">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630178">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630345">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630615">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630700">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630919">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631258">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631493">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631506"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631575">“<span class="quote">Raw</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631683">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631962">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632245"><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#id2632582">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633010">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633133">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633228">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633245">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633307">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633379">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633484">Network Printing (Windows Clients and UNIX/Samba Print 2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633502">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633693">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633772">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633862">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633907">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633975">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633989">Printer Drivers Running in “<span class="quote">Kernel Mode</span>” Cause Many 3 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634028">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634045">CUPS: A “<span class="quote">Magical Stone</span>”?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634088">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#id2634176">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634198"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634296">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#id2634576">CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634815">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634934">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634959">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635022">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635322">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635539">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635680">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635871">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636015">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636137">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636218">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636299">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#id2636534">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636708">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636880">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636985">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637117">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637342">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638300">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638444">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2638646">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638713">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638780">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638830">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638950">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639125">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639953">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640425">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640461">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640515">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640555">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640696">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640840">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640906">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640946">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640960">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641177">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641253">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641338">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641477">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2641524">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641820">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641932">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641937">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">cupsaddsmb</span>” Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642014">“<span class="quote">cupsaddsmb</span>” or “<span class="quote">rpcclient addriver</span>” Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642052">“<span class="quote">cupsaddsmb</span>” Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642126">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642150">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642242">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642293">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642330">Can't Use “<span class="quote">cupsaddsmb</span>” on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642366">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642401">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642434">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642475">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642500">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642547">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#id2642830">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642885"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642935">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#id2643033">Print Queue Called “<span class="quote">lp</span>” Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643102">Location of Adobe PostScript Driver Files for “<span class="quote">cupsaddsmb</span>”</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2643156">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#id2643343">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643381">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643777">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2643783">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2643824">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644041">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#id2644367">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644764">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644814">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2645720">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2645746">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645805">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645845">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#id2646109">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646452">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646541">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646694">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646740">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2646865">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646916">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647002">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647050">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647282">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647437">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647513">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2647570">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2647576">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647690">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647842">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2650301">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2650350">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2650391">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2650428">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#id2650617">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650643">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650787">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651190">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2651375">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651601">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651644">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#id2651786">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2652081">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652218">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652439">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2652888">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653115">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653128">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653210">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653250">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2653315">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653472">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653484">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#id2653569">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2653618">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2653672">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2654278">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655622">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655656">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655754">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2656106">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656246">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656325">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2656355">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2656507">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657069">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2657574">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2657585">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657646">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657817">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657981">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#id2658156">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2658787">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2658841">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2659838">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660145"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660225">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2660328">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2660722">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2660733">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660831">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#id2661053">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661074">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661203">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661276"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661464"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661500"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661552"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662110">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662196">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662369">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662397">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662425">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2662562">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662575">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662607">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662649">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#id2662854">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2662905">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663039">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663175">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663207">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2663346">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2663999">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2664122">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2664268">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2664274">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#id2664381">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2664426">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2664523">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664694">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664864">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664912">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#id2665008">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2665129">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2665163">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2665293">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666006">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666087">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666227">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666264">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#id2666894">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2668315">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#id2669210">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669238">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#id2669288">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2669439">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669448">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2670658">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#id2672054">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2672088">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673033">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2673268">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2673354">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673587">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#id2674077">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2674201">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2674220">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#id2674858">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675010">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2675207">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2675221">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675281">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675383">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675439">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675495">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675558">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675602">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675622">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#id2675756">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2675795">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2676088">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#id2677850">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2677902">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678158">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678208">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678352">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2678678">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678716">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678890">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#id2679022">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679111">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#id2679347">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2679548">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679682">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679806">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#id2679890">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2680352">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#id2680542">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2680548">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2680589">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2680781">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680855">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680993">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2681231">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#id2681501">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2681721">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#id2682105">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682209">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682248">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682390">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682433">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682495">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2682500">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#id2682676">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2682760">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2682766">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682886">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682942">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683035">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683041">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683124">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683150">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683208">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683240">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#id2683297">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683366">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683387">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2683583">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#id2683690">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683729">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683825">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683869">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683917">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683942">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684008">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684060">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684084">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684105">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684196">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684292">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#id2685480">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2685699">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#id2685852">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2686030">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2686121">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 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#id26864 24">A.6 </a></span></dt><dd><dl><dt><span class="bridgehead"><a href="apa.html#id2686438">A. 7 7 Preamble 8 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26865 69">A.8 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686583">A. 9 9 TERMS AND CONDITIONS 10 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26865 73">A.10 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686587">A. 11 11 0. Definitions. 12 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26866 65">A.12 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686679">A. 13 13 1. Source Code. 14 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26867 64">A.14 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686778">A. 15 15 2. Basic Permissions. 16 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26868 02">A.16 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686816">A. 17 17 3. Protecting Users’ Legal Rights From Anti-Circumvention Law. 18 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26868 38">A.18 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686852">A. 19 19 4. Conveying Verbatim Copies. 20 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26868 65">A.20 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686879">A. 21 21 5. Conveying Modified Source Versions. 22 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26869 61">A.22 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2686975">A. 23 23 6. Conveying Non-Source Forms. 24 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26871 51">A.24 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687165">A. 25 25 7. Additional Terms. 26 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687 286">A.26 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687300">A. 27 27 8. Termination. 28 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26873 30">A.28 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687344">A. 29 29 9. Acceptance Not Required for Having Copies. 30 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26873 50">A.30 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687364">A. 31 31 10. Automatic Licensing of Downstream Recipients. 32 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26874 02">A.32 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687416">A. 33 33 11. Patents. 34 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26875 47">A.34 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687561">A. 35 35 12. No Surrender of Others’ Freedom. 36 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26875 69">A.36 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687583">A. 37 37 13. Use with the ???TITLE??? Affero General Public License. 38 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687 598">A.38 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687612">A. 39 39 14. Revised Versions of this License. 40 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26876 60">A.40 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687674">A. 41 41 15. Disclaimer of Warranty. 42 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687 686">A.42 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687700">A. 43 43 16. Limitation of Liability. 44 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26877 07">A.44 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687721">A. 45 45 17. Interpretation of Sections 15 and 16. 46 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26877 23">A.46 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687737">A. 47 47 END OF TERMS AND CONDITIONS 48 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26877 27">A.48 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2687741">A. 49 49 How to Apply These Terms to Your New Programs 50 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.2.x/docs/htmldocs/Samba3-HOWTO/install.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:kauer@biplane.com.au">kauer@biplane.com.au</a>></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"><<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>></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#id25442 19">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2544264">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2544309">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#id2545276">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2545469">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2545912">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2545973">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2546028">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2546128">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546214">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2546260">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2546294">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546304">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2546399">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2546433">“<span class="quote"><span class="errorname">The network name cannot be found</span></span>”</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="id2544219"></a>Obtaining and Installing Samba</h2></div></div></div><p>2 <a class="indexterm" name="id25442 28"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:kauer@biplane.com.au">kauer@biplane.com.au</a>></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"><<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>></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#id2544233">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2544278">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2544323">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#id2545290">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2545482">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2545926">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2545986">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2546042">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2546142">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546228">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2546274">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2546307">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546318">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2546412">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2546446">“<span class="quote"><span class="errorname">The network name cannot be found</span></span>”</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="id2544233"></a>Obtaining and Installing Samba</h2></div></div></div><p> 2 <a class="indexterm" name="id2544241"></a> 3 3 Binary packages of Samba are included in almost any Linux or UNIX distribution. There are also some 4 4 packages available at <a class="ulink" href="http://samba.org/" target="_top">the Samba home page</a>. Refer to the manual of your 5 5 operating system for details on installing packages for your specific operating system. 6 6 </p><p> 7 <a class="indexterm" name="id25442 47"></a>7 <a class="indexterm" name="id2544261"></a> 8 8 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="id25442 64"></a>Configuring Samba (smb.conf)</h2></div></div></div><p>10 <a class="indexterm" name="id25442 72"></a>11 <a class="indexterm" name="id25442 79"></a>9 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2544278"></a>Configuring Samba (smb.conf)</h2></div></div></div><p> 10 <a class="indexterm" name="id2544286"></a> 11 <a class="indexterm" name="id2544293"></a> 12 12 Samba's configuration is stored in the <code class="filename">smb.conf</code> file, which usually resides in 13 13 <code class="filename">/etc/samba/smb.conf</code> or <code class="filename">/usr/local/samba/lib/smb.conf</code>. You can either 14 14 edit this file yourself or do it using one of the many graphical tools that are available, such as the 15 15 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="id25443 09"></a>Configuration File Syntax</h3></div></div></div><p>17 <a class="indexterm" name="id25443 17"></a>16 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2544323"></a>Configuration File Syntax</h3></div></div></div><p> 17 <a class="indexterm" name="id2544331"></a> 18 18 The <code class="filename">smb.conf</code> file uses the same syntax as the various old <code class="filename">.ini</code> files in Windows 19 19 3.1: Each file consists of various sections, which are started by putting the section name between brackets … … 22 22 editing tool. 23 23 </p><p> 24 <a class="indexterm" name="id2544357"></a> 25 <a class="indexterm" name="id2544364"></a> 26 <a class="indexterm" name="id2544373"></a> 27 <a class="indexterm" name="id2544380"></a> 24 <a class="indexterm" name="id2544371"></a> 25 <a class="indexterm" name="id2544378"></a> 28 26 <a class="indexterm" name="id2544387"></a> 29 <a class="indexterm" name="id2544396"></a> 27 <a class="indexterm" name="id2544394"></a> 28 <a class="indexterm" name="id2544400"></a> 29 <a class="indexterm" name="id2544410"></a> 30 30 Each section in the <code class="filename">smb.conf</code> file represents either a share or a meta-service on the Samba server. The 31 31 section <code class="literal">[global]</code> is special, since it contains settings that apply to the whole Samba … … 36 36 from Windows clients prior to being dispatched to the UNIX/Linux print spooler. 37 37 </p><p> 38 <a class="indexterm" name="id2544442"></a>39 <a class="indexterm" name="id2544449"></a>40 38 <a class="indexterm" name="id2544456"></a> 41 39 <a class="indexterm" name="id2544463"></a> 42 40 <a class="indexterm" name="id2544470"></a> 43 <a class="indexterm" name="id2544476"></a> 41 <a class="indexterm" name="id2544477"></a> 42 <a class="indexterm" name="id2544483"></a> 43 <a class="indexterm" name="id2544490"></a> 44 44 The <code class="literal">printers</code> meta-service will cause every printer that is either specified in a 45 45 <code class="literal">printcap</code> file, via the <code class="literal">lpstat</code>, or via the CUPS API, to be … … 50 50 of it will be displayed as part of the printer name in Windows Explorer browse lists. 51 51 </p><p> 52 <a class="indexterm" name="id25445 31"></a>52 <a class="indexterm" name="id2544545"></a> 53 53 Each section of the <code class="filename">smb.conf</code> file that specifies a share, or a meta-service, is called a stanza. 54 54 The <code class="literal">global</code> stanza specifies settings that affect all the other stanzas in the … … 57 57 and some can be used globally or just within a share or meta-service stanza. 58 58 </p><p> 59 <a class="indexterm" name="id25445 78"></a>59 <a class="indexterm" name="id2544591"></a> 60 60 <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="id25446 01"></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="id25446 33"></a><em class="parameter"><code>workgroup = WKG</code></em></td></tr><tr><td><a class="indexterm" name="id2544644"></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="id2544665"></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="id2544686"></a><em class="parameter"><code>path = /my_shared_folder</code></em></td></tr><tr><td><a class="indexterm" name="id2544697"></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="id2544615"></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="id2544646"></a><em class="parameter"><code>workgroup = WKG</code></em></td></tr><tr><td><a class="indexterm" name="id2544658"></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="id2544679"></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="id2544699"></a><em class="parameter"><code>path = /my_shared_folder</code></em></td></tr><tr><td><a class="indexterm" name="id2544711"></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> 63 63 This section contains brief descriptions of the databases that are used by Samba-3. 64 64 </p><p> 65 <a class="indexterm" name="id25447 28"></a>65 <a class="indexterm" name="id2544742"></a> 66 66 The directory in which Samba stores the tdb files is determined by compile-time directives. Samba-3 stores 67 67 tdb files in two locations. The best way to determine these locations is to execute the following … … 81 81 <code class="filename">/var/lib/samba</code> directory. 82 82 </p><p> 83 <a class="indexterm" name="id25447 84"></a>83 <a class="indexterm" name="id2544797"></a> 84 84 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 85 85 Descriptions table</a>. All persistent tdb files should be regularly backed up. Use the … … 107 107 needing to renegotiate the connection setup process. 108 108 </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="id25452 76"></a>Starting Samba</h3></div></div></div><p>110 <a class="indexterm" name="id25452 84"></a>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="id2545290"></a>Starting Samba</h3></div></div></div><p> 110 <a class="indexterm" name="id2545297"></a> 111 111 Samba essentially consists of two or three daemons. A daemon is a UNIX application that runs in the background and provides services. 112 112 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 … … 115 115 The Samba server is made up of the following daemons: 116 116 </p><div class="variablelist"><dl><dt><span class="term">nmbd</span></dt><dd><p> 117 <a class="indexterm" name="id25453 17"></a>118 <a class="indexterm" name="id25453 24"></a>117 <a class="indexterm" name="id2545330"></a> 118 <a class="indexterm" name="id2545337"></a> 119 119 This daemon handles all name registration and resolution requests. It is the primary vehicle involved 120 120 in network browsing. It handles all UDP-based protocols. The <code class="literal">nmbd</code> daemon should 121 121 be the first command started as part of the Samba startup process. 122 122 </p></dd><dt><span class="term">smbd</span></dt><dd><p> 123 <a class="indexterm" name="id25453 53"></a>124 <a class="indexterm" name="id25453 60"></a>123 <a class="indexterm" name="id2545367"></a> 124 <a class="indexterm" name="id2545374"></a> 125 125 This daemon handles all TCP/IP-based connection services for file- and print-based operations. It also 126 126 manages local authentication. It should be started immediately following the startup of <code class="literal">nmbd</code>. 127 127 </p></dd><dt><span class="term">winbindd</span></dt><dd><p> 128 <a class="indexterm" name="id2545 388"></a>129 <a class="indexterm" name="id2545 395"></a>128 <a class="indexterm" name="id2545402"></a> 129 <a class="indexterm" name="id2545409"></a> 130 130 This daemon should be started when Samba is a member of a Windows NT4 or ADS domain. It is also needed when 131 131 Samba has trust relationships with another domain. The <code class="literal">winbindd</code> daemon will check the … … 135 135 will start but it will not be able to allocate UIDs or GIDs. 136 136 </p></dd></dl></div><p> 137 <a class="indexterm" name="id25454 52"></a>137 <a class="indexterm" name="id2545466"></a> 138 138 When Samba has been packaged by an operating system vendor, the startup process is typically a custom feature of its 139 139 integration into the platform as a whole. Please refer to your operating system platform administration manuals for 140 140 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="id2545469"></a>Example Configuration</h3></div></div></div><p> 142 <a class="indexterm" name="id2545477"></a> 143 <a class="indexterm" name="id2545484"></a> 141 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2545482"></a>Example Configuration</h3></div></div></div><p> 144 142 <a class="indexterm" name="id2545491"></a> 145 143 <a class="indexterm" name="id2545498"></a> 146 144 <a class="indexterm" name="id2545504"></a> 145 <a class="indexterm" name="id2545511"></a> 146 <a class="indexterm" name="id2545518"></a> 147 147 There are sample configuration files in the examples subdirectory in the source code distribution tarball 148 148 package. It is suggested you read them carefully so you can see how the options go together in practice. See … … 150 150 <code class="filename">smb.conf.default</code> configuration file and adapt it to your needs. It contains plenty of comments. 151 151 </p><p> 152 <a class="indexterm" name="id25455 27"></a>152 <a class="indexterm" name="id2545541"></a> 153 153 The simplest useful configuration file would contain something like that shown in 154 154 <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="id2545547"></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="id2545579"></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="id2545600"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2545611"></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="id2545626"></a> 158 <a class="indexterm" name="id2545632"></a> 155 <a class="indexterm" name="id2545561"></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="id2545593"></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="id2545613"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2545624"></a><em class="parameter"><code>read only = no</code></em></td></tr></table></div></div><br class="example-break"><p> 159 157 <a class="indexterm" name="id2545639"></a> 160 158 <a class="indexterm" name="id2545646"></a> 159 <a class="indexterm" name="id2545653"></a> 160 <a class="indexterm" name="id2545660"></a> 161 161 This will allow connections by anyone with an account on the server, using either 162 162 their login name or <em class="parameter"><code>homes</code></em> as the service name. … … 164 164 workgroup name is WORKGROUP.) 165 165 </p><p> 166 <a class="indexterm" name="id25456 66"></a>166 <a class="indexterm" name="id2545680"></a> 167 167 Make sure you put the <code class="filename">smb.conf</code> file in the correct place. Note, the correct location of this file 168 168 depends on how the binary files were built. You can discover the correct location by executing from … … 172 172 </pre><p> 173 173 </p><p> 174 <a class="indexterm" name="id25457 04"></a>174 <a class="indexterm" name="id2545718"></a> 175 175 For more information about security settings for the <em class="parameter"><code>[homes]</code></em> share, please refer to 176 176 <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="id25457 28"></a>Test Your Config File with <code class="literal">testparm</code></h4></div></div></div><p>178 <a class="indexterm" name="id25457 41"></a>179 <a class="indexterm" name="id25457 48"></a>180 <a class="indexterm" name="id25457 55"></a>177 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2545741"></a>Test Your Config File with <code class="literal">testparm</code></h4></div></div></div><p> 178 <a class="indexterm" name="id2545754"></a> 179 <a class="indexterm" name="id2545761"></a> 180 <a class="indexterm" name="id2545768"></a> 181 181 It's important to validate the contents of the <code class="filename">smb.conf</code> file using the <span class="application">testparm</span> program. 182 182 If testparm runs correctly, it will list the loaded services. If not, it will give an error message. … … 190 190 Always run testparm again whenever the <code class="filename">smb.conf</code> file is changed! 191 191 </p><p> 192 <a class="indexterm" name="id2545806"></a>193 <a class="indexterm" name="id2545813"></a>194 192 <a class="indexterm" name="id2545820"></a> 195 193 <a class="indexterm" name="id2545827"></a> 194 <a class="indexterm" name="id2545834"></a> 195 <a class="indexterm" name="id2545840"></a> 196 196 The <code class="filename">smb.conf</code> file is constantly checked by the Samba daemons <code class="literal">smbd</code> and every instance of 197 197 itself that it spawns, <code class="literal">nmbd</code> and <code class="literal">winbindd</code>. It is good practice to … … 206 206 This administrative method makes it possible to maintain detailed configuration change records while at 207 207 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="id25459 12"></a>SWAT</h3></div></div></div><p>209 <a class="indexterm" name="id25459 20"></a>208 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2545926"></a>SWAT</h3></div></div></div><p> 209 <a class="indexterm" name="id2545933"></a> 210 210 SWAT is a Web-based interface that can be used to facilitate the configuration of Samba. SWAT might not 211 211 be available in the Samba package that shipped with your platform, but in a separate package. If it is … … 222 222 </p><p> 223 223 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>. 224 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25459 73"></a>List Shares Available on the Server</h2></div></div></div><p>224 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2545986"></a>List Shares Available on the Server</h2></div></div></div><p> 225 225 To list shares that are available from the configured Samba server, execute the 226 226 following command: … … 236 236 You can force it to list the shares without a password by adding the option 237 237 <code class="option">-N</code> to the command line. 238 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25460 28"></a>Connect with a UNIX Client</h2></div></div></div><p>238 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2546042"></a>Connect with a UNIX Client</h2></div></div></div><p> 239 239 Enter the following command: 240 240 </p><pre class="screen"> … … 245 245 is <em class="replaceable"><code>fred</code></em>, you would type:</p><pre class="screen"> 246 246 <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> 247 </pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25461 28"></a>Connect from a Remote SMB Client</h2></div></div></div><p>247 </pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2546142"></a>Connect from a Remote SMB Client</h2></div></div></div><p> 248 248 Now that Samba is working correctly locally, you can try to access it from other clients. Within a few 249 249 minutes, the Samba host should be listed in the Network Neighborhood on all Windows clients of its subnet. … … 266 266 </p><p> 267 267 </p><pre class="screen"><code class="prompt">C:\> </code><strong class="userinput"><code>print filename</code></strong> 268 </pre><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25462 14"></a>What If Things Don't Work?</h3></div></div></div><p>268 </pre><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2546228"></a>What If Things Don't Work?</h3></div></div></div><p> 269 269 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 270 270 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 … … 278 278 then follow the simple step-by-step procedure to deploy it. Later, when you have a working network 279 279 you may well want to refer back to this book for further insight into opportunities for improvement. 280 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25462 60"></a>Still Stuck?</h3></div></div></div><p>280 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2546274"></a>Still Stuck?</h3></div></div></div><p> 281 281 The best advice under the stress of abject frustration is to cool down! That may be challenging 282 282 of itself, but while you are angry or annoyed your ability to seek out a solution is somewhat … … 287 287 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> 288 288 for a process that can be followed to identify the cause of your problem. 289 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2546 294"></a>Common Errors</h2></div></div></div><p>289 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2546307"></a>Common Errors</h2></div></div></div><p> 290 290 The following questions and issues are raised repeatedly on the Samba mailing list. 291 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25463 04"></a>Large Number of smbd Processes</h3></div></div></div><p>291 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2546318"></a>Large Number of smbd Processes</h3></div></div></div><p> 292 292 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, 293 293 <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. … … 302 302 <span class="application">winbindd</span> will run as one or two daemons, depending on whether or not it is being 303 303 run in <span class="emphasis"><em>split mode</em></span> (in which case there will be two instances). 304 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2546 399"></a>Error Message: open_oplock_ipc</h3></div></div></div><p>304 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2546412"></a>Error Message: open_oplock_ipc</h3></div></div></div><p> 305 305 An error message is observed in the log files when <span class="application">smbd</span> is started: “<span class="quote">open_oplock_ipc: Failed to 306 306 get local UDP socket for address 100007f. Error was Cannot assign requested.</span>” … … 309 309 device is an internal (virtual) network device with the IP address <span class="emphasis"><em>127.0.0.1</em></span>. 310 310 Read your OS documentation for details on how to configure the loopback on your system. 311 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25464 33"></a>“<span class="quote"><span class="errorname">The network name cannot be found</span></span>”</h3></div></div></div><p>311 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2546446"></a>“<span class="quote"><span class="errorname">The network name cannot be found</span></span>”</h3></div></div></div><p> 312 312 This error can be caused by one of these misconfigurations: 313 313 </p><div class="itemizedlist"><ul type="disc"><li><p>You specified a nonexisting path -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/integrate-ms-networks.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id26610 40">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661060">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661189">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661262"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661451"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661487"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661538"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662096">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662183">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662356">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662384">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662411">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2662549">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662562">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662593">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662635">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id266 0998"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2661053">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661074">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661203">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661276"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661464"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661500"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661552"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662110">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662196">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662369">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662397">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662425">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2662562">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662575">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662607">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662649">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2661011"></a> 3 3 This chapter deals with NetBIOS over TCP/IP name to IP address resolution. If 4 4 your MS Windows clients are not configured to use NetBIOS over TCP/IP, then this … … 6 6 NetBIOS over TCP/IP, then this chapter may help you to resolve networking problems. 7 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="id26610 15"></a>9 <a class="indexterm" name="id26610 22"></a>8 <a class="indexterm" name="id2661029"></a> 9 <a class="indexterm" name="id2661036"></a> 10 10 NetBIOS over TCP/IP has nothing to do with NetBEUI. NetBEUI is NetBIOS 11 11 over Logical Link Control (LLC). On modern networks it is highly advised … … 13 13 NetBEUI over TCP/IP the existence of such a protocol is a complete 14 14 and utter misapprehension. 15 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26610 40"></a>Features and Benefits</h2></div></div></div><p>15 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2661053"></a>Features and Benefits</h2></div></div></div><p> 16 16 Many MS Windows network administrators have never been exposed to basic TCP/IP 17 17 networking as it is implemented in a UNIX/Linux operating system. Likewise, many UNIX and … … 21 21 This chapter gives a short introduction to the basics of how a name can be resolved to 22 22 its 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="id2661060"></a>Background Information</h2></div></div></div><p> 24 <a class="indexterm" name="id2661068"></a> 25 <a class="indexterm" name="id2661075"></a> 23 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2661074"></a>Background Information</h2></div></div></div><p> 26 24 <a class="indexterm" name="id2661082"></a> 27 <a class="indexterm" name="id2661089"></a> 28 <a class="indexterm" name="id2661096"></a> 25 <a class="indexterm" name="id2661088"></a> 26 <a class="indexterm" name="id2661095"></a> 27 <a class="indexterm" name="id2661102"></a> 28 <a class="indexterm" name="id2661109"></a> 29 29 Since the introduction of MS Windows 2000, it is possible to run MS Windows networking 30 30 without the use of NetBIOS over TCP/IP. NetBIOS over TCP/IP uses UDP port 137 for NetBIOS … … 37 37 Name Service, or WINS), TCP port 139, and TCP port 445 (for actual file and print traffic). 38 38 </p></div><p> 39 <a class="indexterm" name="id2661124"></a>40 <a class="indexterm" name="id2661130"></a>41 39 <a class="indexterm" name="id2661137"></a> 42 40 <a class="indexterm" name="id2661144"></a> 43 41 <a class="indexterm" name="id2661150"></a> 44 42 <a class="indexterm" name="id2661157"></a> 43 <a class="indexterm" name="id2661164"></a> 44 <a class="indexterm" name="id2661171"></a> 45 45 When NetBIOS over TCP/IP is disabled, the use of DNS is essential. Most installations that disable NetBIOS 46 46 over TCP/IP today use MS Active Directory Service (ADS). ADS requires 47 <a class="indexterm" name="id26611 67"></a> dynamic DNS with Service Resource48 Records (SRV RR) and with Incremental Zone Transfers (IXFR). <a class="indexterm" name="id26611 78"></a>47 <a class="indexterm" name="id2661181"></a> dynamic DNS with Service Resource 48 Records (SRV RR) and with Incremental Zone Transfers (IXFR). <a class="indexterm" name="id2661191"></a> 49 49 Use of DHCP with ADS is recommended as a further means of maintaining central control over the client 50 50 workstation network configuration. 51 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2661 189"></a>Name Resolution in a Pure UNIX/Linux World</h2></div></div></div><p>51 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2661203"></a>Name Resolution in a Pure UNIX/Linux World</h2></div></div></div><p> 52 52 The key configuration files covered in this section are: 53 </p><a class="indexterm" name="id2661 199"></a><a class="indexterm" name="id2661206"></a><a class="indexterm" name="id2661213"></a><a class="indexterm" name="id2661220"></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="id2661262"></a><code class="filename">/etc/hosts</code></h3></div></div></div><p>53 </p><a class="indexterm" name="id2661213"></a><a class="indexterm" name="id2661220"></a><a class="indexterm" name="id2661227"></a><a class="indexterm" name="id2661234"></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="id2661276"></a><code class="filename">/etc/hosts</code></h3></div></div></div><p> 54 54 This file contains a static list of IP addresses and names. 55 55 </p><pre class="programlisting"> … … 58 58 </pre><p> 59 59 </p><p> 60 <a class="indexterm" name="id26612 85"></a>61 <a class="indexterm" name="id2661 292"></a>60 <a class="indexterm" name="id2661298"></a> 61 <a class="indexterm" name="id2661306"></a> 62 62 The purpose of <code class="filename">/etc/hosts</code> is to provide a 63 63 name resolution mechanism so users do not need to remember 64 64 IP addresses. 65 65 </p><p> 66 <a class="indexterm" name="id2661310"></a>67 <a class="indexterm" name="id2661317"></a>68 66 <a class="indexterm" name="id2661324"></a> 67 <a class="indexterm" name="id2661330"></a> 68 <a class="indexterm" name="id2661337"></a> 69 69 Network packets that are sent over the physical network transport 70 70 layer communicate not via IP addresses but rather using the Media … … 73 73 numbers that are separated by a dot (or period) for example, 168.192.1.1. 74 74 </p><p> 75 <a class="indexterm" name="id26613 42"></a>75 <a class="indexterm" name="id2661356"></a> 76 76 MAC addresses use 48 bits (or 6 bytes) and are typically represented 77 77 as two-digit hexadecimal numbers separated by colons: 40:8e:0a:12:34:56. … … 85 85 address that will be returned in the Address Resolution Protocol (ARP) reply. 86 86 </p><p> 87 <a class="indexterm" name="id26613 73"></a>87 <a class="indexterm" name="id2661387"></a> 88 88 When a user or a process wants to communicate with another machine, 89 89 the protocol implementation ensures that the “<span class="quote">machine name</span>” or “<span class="quote">host … … 92 92 <code class="filename">/etc/hosts</code> is one such file. 93 93 </p><p> 94 <a class="indexterm" name="id26614 00"></a>94 <a class="indexterm" name="id2661414"></a> 95 95 When the IP address of the destination interface has been determined, a protocol called ARP/RARP is used to 96 96 identify the MAC address of the target interface. ARP is a broadcast-oriented method that uses User Datagram … … 100 100 IP address for each interface. 101 101 </p><p> 102 <a class="indexterm" name="id26614 29"></a>102 <a class="indexterm" name="id2661443"></a> 103 103 The <code class="filename">/etc/hosts</code> file is foundational to all 104 104 UNIX/Linux TCP/IP installations and as a minimum will contain … … 108 108 resolution can exist before any other method of name resolution 109 109 becomes available. 110 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26614 51"></a><code class="filename">/etc/resolv.conf</code></h3></div></div></div><p>110 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2661464"></a><code class="filename">/etc/resolv.conf</code></h3></div></div></div><p> 111 111 This file tells the name resolution libraries: 112 112 </p><div class="itemizedlist"><ul type="disc"><li><p>The name of the domain to which the machine … … 118 118 name servers that may be asked to perform name-to-address 119 119 translation lookups. 120 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2661 487"></a><code class="filename">/etc/host.conf</code></h3></div></div></div><p>121 <a class="indexterm" name="id2661 498"></a>120 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2661500"></a><code class="filename">/etc/host.conf</code></h3></div></div></div><p> 121 <a class="indexterm" name="id2661512"></a> 122 122 <code class="filename">/etc/host.conf</code> is the primary means by which the setting in 123 123 <code class="filename">/etc/resolv.conf</code> may be effected. It is a critical configuration file. This file controls … … 128 128 </pre><p>Both addresses should be returned. Please refer to the 129 129 man 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="id26615 38"></a><code class="filename">/etc/nsswitch.conf</code></h3></div></div></div><p>131 <a class="indexterm" name="id26615 49"></a>130 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2661552"></a><code class="filename">/etc/nsswitch.conf</code></h3></div></div></div><p> 131 <a class="indexterm" name="id2661563"></a> 132 132 This file controls the actual name resolution targets. The 133 133 file typically has resolver object specifications as follows: … … 161 161 principal of speaking only when necessary. 162 162 </p><p> 163 <a class="indexterm" name="id2661585"></a>164 <a class="indexterm" name="id2661592"></a>165 163 <a class="indexterm" name="id2661599"></a> 166 164 <a class="indexterm" name="id2661606"></a> 167 165 <a class="indexterm" name="id2661613"></a> 166 <a class="indexterm" name="id2661620"></a> 167 <a class="indexterm" name="id2661627"></a> 168 168 Starting with version 2.2.0, Samba has Linux support for extensions to 169 169 the name service switch infrastructure so Linux clients will … … 178 178 machine name, as long as that machine is within the workgroup to 179 179 which 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="id2661662"></a>Name Resolution as Used within MS Windows Networking</h2></div></div></div><p> 181 <a class="indexterm" name="id2661670"></a> 182 <a class="indexterm" name="id2661677"></a> 180 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2661676"></a>Name Resolution as Used within MS Windows Networking</h2></div></div></div><p> 183 181 <a class="indexterm" name="id2661684"></a> 184 182 <a class="indexterm" name="id2661691"></a> 183 <a class="indexterm" name="id2661698"></a> 184 <a class="indexterm" name="id2661705"></a> 185 185 MS Windows networking is predicated on the name each machine is given. This name is known variously (and 186 186 inconsistently) as the “<span class="quote">computer name,</span>” “<span class="quote">machine name,</span>” “<span class="quote">networking … … 196 196 list typical NetBIOS name/service type registrations. 197 197 </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<00></td><td align="justify">Server Service is running on MACHINENAME</td></tr><tr><td align="left">MACHINENAME<03></td><td align="justify">Generic machine name (NetBIOS name)</td></tr><tr><td align="left">MACHINENAME<20></td><td align="justify">LanMan server service is running on MACHINENAME</td></tr><tr><td align="left">WORKGROUP<1b></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<03></td><td align="justify">Generic name registered by all members of WORKGROUP</td></tr><tr><td align="left">WORKGROUP<1c></td><td align="justify">Domain cntrollers/netlogon servers</td></tr><tr><td align="left">WORKGROUP<1d></td><td align="justify">Local master browsers</td></tr><tr><td align="left">WORKGROUP<1e></td><td align="justify">Browser election service</td></tr></tbody></table></div></div><br class="table-break"><p> 198 <a class="indexterm" name="id2661 887"></a>198 <a class="indexterm" name="id2661901"></a> 199 199 It should be noted that all NetBIOS machines register their own 200 200 names 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 … … 203 203 are associated with each IP address. 204 204 </p><p> 205 <a class="indexterm" name="id2661922"></a>206 <a class="indexterm" name="id2661929"></a>207 205 <a class="indexterm" name="id2661936"></a> 206 <a class="indexterm" name="id2661943"></a> 207 <a class="indexterm" name="id2661950"></a> 208 208 One further point of clarification should be noted. The <code class="filename">/etc/hosts</code> 209 209 file and the DNS records do not provide the NetBIOS name information … … 217 217 Whichever machine first replies, it then ends up providing the logon services. 218 218 </p><p> 219 <a class="indexterm" name="id26619 68"></a>220 <a class="indexterm" name="id26619 74"></a>219 <a class="indexterm" name="id2661981"></a> 220 <a class="indexterm" name="id2661988"></a> 221 221 The name “<span class="quote">workgroup</span>” or “<span class="quote">domain</span>” really can be confusing, since these 222 222 have the added significance of indicating what is the security … … 231 231 of a username and a matching password. 232 232 </p><p> 233 <a class="indexterm" name="id2662007"></a> 234 <a class="indexterm" name="id2662014"></a> 235 <a class="indexterm" name="id2662023"></a> 236 <a class="indexterm" name="id2662032"></a> 237 <a class="indexterm" name="id2662042"></a> 238 <a class="indexterm" name="id2662052"></a> 239 <a class="indexterm" name="id2662058"></a> 233 <a class="indexterm" name="id2662021"></a> 234 <a class="indexterm" name="id2662027"></a> 235 <a class="indexterm" name="id2662037"></a> 236 <a class="indexterm" name="id2662046"></a> 237 <a class="indexterm" name="id2662056"></a> 240 238 <a class="indexterm" name="id2662065"></a> 239 <a class="indexterm" name="id2662072"></a> 240 <a class="indexterm" name="id2662079"></a> 241 241 MS Windows networking is thus predetermined to use machine names 242 242 for all local and remote machine message passing. The protocol used is … … 253 253 Since we are primarily concerned with TCP/IP, this demonstration is 254 254 limited to this area. 255 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662 096"></a>The NetBIOS Name Cache</h3></div></div></div><p>256 <a class="indexterm" name="id26621 04"></a>257 <a class="indexterm" name="id26621 10"></a>258 <a class="indexterm" name="id26621 17"></a>255 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662110"></a>The NetBIOS Name Cache</h3></div></div></div><p> 256 <a class="indexterm" name="id2662118"></a> 257 <a class="indexterm" name="id2662124"></a> 258 <a class="indexterm" name="id2662131"></a> 259 259 All MS Windows machines employ an in-memory buffer in which is 260 260 stored the NetBIOS names and IP addresses for all external … … 264 264 configured name resolution mechanisms. 265 265 </p><p> 266 <a class="indexterm" name="id26621 32"></a>266 <a class="indexterm" name="id2662146"></a> 267 267 If a machine whose name is in the local name cache is shut 268 268 down before the name is expired and flushed from the cache, then … … 272 272 frustrating for users but is a characteristic of the protocol. 273 273 </p><p> 274 <a class="indexterm" name="id2662149"></a>275 <a class="indexterm" name="id2662156"></a>276 274 <a class="indexterm" name="id2662162"></a> 275 <a class="indexterm" name="id2662169"></a> 276 <a class="indexterm" name="id2662176"></a> 277 277 The MS Windows utility that allows examination of the NetBIOS 278 278 name cache is called “<span class="quote">nbtstat.</span>” The Samba equivalent 279 279 is called <code class="literal">nmblookup</code>. 280 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26621 83"></a>The LMHOSTS File</h3></div></div></div><p>281 <a class="indexterm" name="id2662 191"></a>280 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662196"></a>The LMHOSTS File</h3></div></div></div><p> 281 <a class="indexterm" name="id2662204"></a> 282 282 This file is usually located in MS Windows NT 4.0 or Windows 200x/XP in the directory 283 283 <code class="filename">%SystemRoot%\SYSTEM32\DRIVERS\ETC</code> and contains the IP address … … 364 364 # Therefore it is not advisable to simply add lmhosts file entries onto the 365 365 # end of this file. 366 </pre></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26623 56"></a>HOSTS File</h3></div></div></div><p>366 </pre></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662369"></a>HOSTS File</h3></div></div></div><p> 367 367 This file is usually located in MS Windows NT 4.0 or Windows 200x/XP in 368 368 the directory <code class="filename">%SystemRoot%\SYSTEM32\DRIVERS\ETC</code> and contains … … 371 371 on how the TCP/IP environment is configured. This file is in 372 372 every 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="id26623 84"></a>DNS Lookup</h3></div></div></div><p>374 <a class="indexterm" name="id2662 391"></a>373 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662397"></a>DNS Lookup</h3></div></div></div><p> 374 <a class="indexterm" name="id2662405"></a> 375 375 This capability is configured in the TCP/IP setup area in the network 376 376 configuration facility. If enabled, an elaborate name resolution sequence … … 383 383 WINS server to obtain a lookup before DNS, HOSTS, LMHOSTS, or broadcast 384 384 lookup is used. 385 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26624 11"></a>WINS Lookup</h3></div></div></div><p>386 <a class="indexterm" name="id26624 19"></a>387 <a class="indexterm" name="id26624 25"></a>388 <a class="indexterm" name="id26624 35"></a>385 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662425"></a>WINS Lookup</h3></div></div></div><p> 386 <a class="indexterm" name="id2662432"></a> 387 <a class="indexterm" name="id2662439"></a> 388 <a class="indexterm" name="id2662449"></a> 389 389 A WINS (Windows Internet Name Server) service is the equivalent of the 390 390 rfc1001/1002 specified NBNS (NetBIOS Name Server). A WINS server stores … … 394 394 To configure Samba to be a WINS server, the following parameter needs 395 395 to 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="id26624 68"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr></table><p>397 <a class="indexterm" name="id26624 82"></a>396 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2662481"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr></table><p> 397 <a class="indexterm" name="id2662495"></a> 398 398 To configure Samba to use a WINS server, the following parameters are 399 399 needed 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="id26625 04"></a><em class="parameter"><code>wins support = No</code></em></td></tr><tr><td><a class="indexterm" name="id2662515"></a><em class="parameter"><code>wins server = xxx.xxx.xxx.xxx</code></em></td></tr></table><p>400 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2662517"></a><em class="parameter"><code>wins support = No</code></em></td></tr><tr><td><a class="indexterm" name="id2662529"></a><em class="parameter"><code>wins server = xxx.xxx.xxx.xxx</code></em></td></tr></table><p> 401 401 where <em class="replaceable"><code>xxx.xxx.xxx.xxx</code></em> is the IP address 402 402 of the WINS server. 403 403 </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="id26625 49"></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" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2662562"></a>Common Errors</h2></div></div></div><p> 405 405 TCP/IP network configuration problems find every network administrator sooner or later. 406 406 The cause can be anything from keyboard mishaps to forgetfulness to simple mistakes to 407 407 carelessness. 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="id26625 62"></a>Pinging Works Only One Way</h3></div></div></div><p>408 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662575"></a>Pinging Works Only One Way</h3></div></div></div><p> 409 409 “<span class="quote">I can ping my Samba server from Windows, but I cannot ping my Windows 410 410 machine from the Samba server.</span>” … … 416 416 Due to inconsistent netmasks, the Windows machine was on network 192.168.1.0/24, while 417 417 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="id2662 593"></a>Very Slow Network Connections</h3></div></div></div><p>418 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662607"></a>Very Slow Network Connections</h3></div></div></div><p> 419 419 A common cause of slow network response includes: 420 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="id26626 35"></a>Samba Server Name-Change Problem</h3></div></div></div><p>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="id2662649"></a>Samba Server Name-Change Problem</h3></div></div></div><p> 422 422 “<span class="quote">The name of the Samba server was changed, Samba was restarted, and now the Samba server cannot be 423 423 pinged by its new name from an MS Windows NT4 workstation, but it does still respond to pinging using -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/introduction.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id25440 70"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id2544084"></a>Preparing Samba for Configuration</h1></div></div></div><p> 2 2 This section of the Samba-HOWTO-Collection contains general info on how to install Samba 3 3 and how to configure the parts of Samba you will most likely need. 4 4 PLEASE 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#id25442 19">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2544264">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2544309">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#id2545276">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2545469">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2545912">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2545973">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2546028">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2546128">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546214">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2546260">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2546294">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546304">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2546399">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2546433">“<span class="quote"><span class="errorname">The network name cannot be found</span></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#id2546582">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546606">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546686">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2546704">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2548624">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2549549">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#id2544233">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2544278">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2544323">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#id2545290">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2545482">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2545926">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2545986">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2546042">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2546142">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546228">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2546274">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2546307">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546318">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2546412">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2546446">“<span class="quote"><span class="errorname">The network name cannot be found</span></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#id2546595">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546619">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546699">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2546718">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2548638">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2549562">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.2.x/docs/htmldocs/Samba3-HOWTO/ix01.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id26884 50"></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#id2635008">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2636286">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2637328">Manual Driver Installation in 15 Steps</a></dt><dt>$, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a></dt><dt>%i macro, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>%L, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>%PDF, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>%SystemRoot%\System32\config, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></dt><dt>../source/nsswitch, <a class="indexterm" href="winbind.html#id2649617">Configure Winbind and PAM</a></dt><dt>.ai, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>.AppleDouble, <a class="indexterm" href="VFS.html#id2644750">netatalk</a></dt><dt>.eps, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>.pdf, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>.PDS extension, <a class="indexterm" href="ProfileMgmt.html#id2654967">Windows NT4 Workstation</a></dt><dt>.profiles, <a class="indexterm" href="ProfileMgmt.html#id2653808">Windows 9x/Me User Profiles</a></dt><dt>.ps, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>.recycle, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>/bin/false, <a class="indexterm" href="ServerType.html#id2552853">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#id2644988">Shadow Copy Setup</a></dt><dt>/etc/cups/, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>/etc/cups/mime.convs, <a class="indexterm" href="CUPS-printing.html#id2627181">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#id2629612">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2631670">application/octet-stream Printing</a></dt><dt>/etc/cups/mime.types, <a class="indexterm" href="CUPS-printing.html#id2627181">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#id2631670">application/octet-stream Printing</a></dt><dt>/etc/fstab, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>/etc/group, <a class="indexterm" href="ServerType.html#id2552418">Share-Level Security</a>, <a class="indexterm" href="groupmapping.html#id2589322">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2591250">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a>, <a class="indexterm" href="Portability.html#id2682092">HPUX</a></dt><dt>/etc/groups, <a class="indexterm" href="pam.html#id2658906">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/host.conf, <a class="indexterm" href="integrate-ms-networks.html#id2661189">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661487">/etc/host.conf</a></dt><dt>/etc/hosts, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661189">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661262">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>/etc/hosts>, <a class="indexterm" href="integrate-ms-networks.html#id2661262">/etc/hosts</a></dt><dt>/etc/inetd.conf, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="compiling.html#id2681487">Starting from inetd.conf</a></dt><dt>/etc/init.d/samba, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="winbind.html#id2649223">Linux</a></dt><dt>/etc/init.d/samba.server, <a class="indexterm" href="winbind.html#id2649428">Solaris</a></dt><dt>/etc/init.d/smb, <a class="indexterm" href="winbind.html#id2649223">Linux</a></dt><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566167">Possible Errors</a>, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2600226">IDMAP Storage in LDAP Using Winbind</a></dt><dt>/etc/ldap.conf, <a class="indexterm" href="idmapper.html#id2600226">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2600811">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>/etc/logingroup, <a class="indexterm" href="Portability.html#id2682092">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#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598938">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2600811">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="winbind.html#id2647036">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661189">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661538">/etc/nsswitch.conf</a></dt><dt>/etc/openldap/slapd.conf, <a class="indexterm" href="FastStart.html#id2550528">The Primary Domain Controller</a></dt><dt>/etc/openldap/sldap.conf, <a class="indexterm" href="passdb.html#id2587498">Accounts and Groups Management</a></dt><dt>/etc/pam.conf, <a class="indexterm" href="winbind.html#id2650130">Solaris-Specific Configuration</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2658773">Technical Discussion</a>, <a class="indexterm" href="pam.html#id2658906">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/pam.d, <a class="indexterm" href="winbind.html#id2647677">Requirements</a>, <a class="indexterm" href="winbind.html#id2647829">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2649617">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>/etc/pam.d/, <a class="indexterm" href="winbind.html#id2647268">Pluggable Authentication Modules</a>, <a class="indexterm" href="pam.html#id2658773">Technical Discussion</a></dt><dt>/etc/pam.d/ftp, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/login, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/samba, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/passwd, <a class="indexterm" href="ServerType.html#id2552418">Share-Level Security</a>, <a class="indexterm" href="ServerType.html#id2552853">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2558287">“$” 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#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563702">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2566853">Adding Machine to Domain Fails</a>, <a class="indexterm" href="StandAloneServer.html#id2567310">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#id2580317">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2585579">Plaintext</a>, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="groupmapping.html#id2590417">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="idmapper.html#id2597584">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#id2646095">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2648862">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>/etc/printcap, <a class="indexterm" href="CUPS-printing.html#id2626130">Basic CUPS Support Configuration</a></dt><dt>/etc/resolv.conf, <a class="indexterm" href="integrate-ms-networks.html#id2661189">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="diagnosis.html#id2675781">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>/etc/samba, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2668301">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>/etc/samba/scripts, <a class="indexterm" href="NetCommand.html#id2593649">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>/etc/samba/secrets.tdb, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>/etc/samba/smb.conf, <a class="indexterm" href="install.html#id2544264">Configuring Samba (smb.conf)</a></dt><dt>/etc/samba/smbpasswd, <a class="indexterm" href="passdb.html#id2585579">Plaintext</a></dt><dt>/etc/samba/smbusers, <a class="indexterm" href="NetCommand.html#id2594270">User Mapping</a></dt><dt>/etc/shadow, <a class="indexterm" href="StandAloneServer.html#id2567310">Background</a>, <a class="indexterm" href="passdb.html#id2580317">Backward Compatibility Account Storage Systems</a></dt><dt>/etc/smbpasswd, <a class="indexterm" href="passdb.html#id2585579">Plaintext</a></dt><dt>/etc/ssl/certs/slapd.pem, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a></dt><dt>/etc/xinetd.d, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/xinetd.d/telnet, <a class="indexterm" href="winbind.html#id2649784">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#id2647036">Name Service Switch</a></dt><dt>/lib/libnss_files.so, <a class="indexterm" href="winbind.html#id2647036">Name Service Switch</a></dt><dt>/lib/security, <a class="indexterm" href="winbind.html#id2649617">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2658827">PAM Configuration Syntax</a></dt><dt>/lib/security/, <a class="indexterm" href="winbind.html#id2647268">Pluggable Authentication Modules</a></dt><dt>/opt/samba/bin, <a class="indexterm" href="SWAT.html#id2674277">Locating the SWAT File</a></dt><dt>/tmp, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a></dt><dt>/usr/bin/openssl, <a class="indexterm" href="SWAT.html#id2674844">Securing SWAT through SSL</a></dt><dt>/usr/lib/samba/vfs, <a class="indexterm" href="VFS.html#id2643368">Discussion</a></dt><dt>/usr/lib/security, <a class="indexterm" href="winbind.html#id2648314">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2649617">Configure Winbind and PAM</a></dt><dt>/usr/lib/security/methods.cfg, <a class="indexterm" href="winbind.html#id2648314">NSS Winbind on AIX</a></dt><dt>/usr/local/lib, <a class="indexterm" href="winbind.html#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>/usr/local/samba, <a class="indexterm" href="winbind.html#id2648862">Starting and Testing the winbindd Daemon</a></dt><dt>/usr/local/samba/bin, <a class="indexterm" href="winbind.html#id2649223">Linux</a>, <a class="indexterm" href="winbind.html#id2649428">Solaris</a>, <a class="indexterm" href="SWAT.html#id2674277">Locating the SWAT File</a></dt><dt>/usr/local/samba/lib, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>/usr/local/samba/lib/vfs, <a class="indexterm" href="VFS.html#id2643368">Discussion</a></dt><dt>/usr/local/samba/private/secrets.tdb, <a class="indexterm" href="domain-member.html#id2564157">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#id2605984">Access Controls on Shares</a>, <a class="indexterm" href="diagnosis.html#id2675781">Assumptions</a></dt><dt>/usr/local/samba/var/locks, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt><dt>/usr/sbin, <a class="indexterm" href="SWAT.html#id2674277">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#id2684182">Corrupt tdb Files</a></dt><dt>/var/log/samba, <a class="indexterm" href="diagnosis.html#id2675781">Assumptions</a></dt><dt>/var/run/samba, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt><dt>/var/spool/cups/, <a class="indexterm" href="CUPS-printing.html#id2641163">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#id2641163">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>250-user limit, <a class="indexterm" href="passdb.html#id2585921">tdbsam</a></dt><dt>3.0.11, <a class="indexterm" href="rights.html#id2602897">The Administrator Domain SID</a></dt><dt>4,500 user accounts, <a class="indexterm" href="passdb.html#id2585921">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#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>>Domain User Manager, <a class="indexterm" href="InterdomainTrusts.html#id2613114">Creating an NT4 Domain Trust</a></dt><dt>\\%L\%U\.profiles, <a class="indexterm" href="ProfileMgmt.html#id2653808">Windows 9x/Me User Profiles</a></dt><dt>\\SERVER, <a class="indexterm" href="NetworkBrowsing.html#id2578138">Problem Resolution</a></dt><dt>_kerberos.REALM.NAME, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a></dt><dt>_kerberos._udp, <a class="indexterm" href="domain-member.html#id2566460">Notes</a></dt><dt>_ldap._tcp, <a class="indexterm" href="domain-member.html#id2566460">Notes</a></dt><dt>_ldap._tcp.pdc._msdcs.quenya.org, <a class="indexterm" href="samba-bdc.html#id2560664">NetBIOS Over TCP/IP Disabled</a></dt></dl></div><div class="indexdiv"><h3></h3><dl><dt>, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a>, <a class="indexterm" href="install.html#id2545469">Example Configuration</a>, <a class="indexterm" href="FastStart.html#anon-ro">Anonymous Read-Only Document Server</a>, <a class="indexterm" href="FastStart.html#id2547160">Anonymous Read-Write Document Server</a>, <a class="indexterm" href="FastStart.html#id2547397">Anonymous Print Server</a>, <a class="indexterm" href="FastStart.html#id2547796">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548696">Example Configuration</a>, <a class="indexterm" href="FastStart.html#id2549629">Example: Engineering Office</a>, <a class="indexterm" href="FastStart.html#id2550528">The Primary Domain Controller</a>, <a class="indexterm" href="FastStart.html#id2551201">Backup Domain Controller</a>, <a class="indexterm" href="ServerType.html#id2552377">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2552589">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2552853">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2553236">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2553511">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2553615">Password Checking</a>, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2557465">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2559776">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563586">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563949">Samba Client</a>, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2565174">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566532">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#id2575341">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576203">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576389">Use of the Remote Announce Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576529">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577651">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#id2587074">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2591250">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="NetCommand.html#id2593649">Managing Nest Groups on Workstations from the Samba Server</a>, <a class="indexterm" href="idmapper.html#id2598938">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2600226">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2600811">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="rights.html#id2601754">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#id2607118">Interaction with the Standard Samba “create mask” Parameters</a>, <a class="indexterm" href="AccessControls.html#id2607984">Users Cannot Write to a Public Share</a>, <a class="indexterm" href="AccessControls.html#id2608352">MS Word with Samba Changes Owner of File</a>, <a class="indexterm" href="locking.html#id2610024">Disabling Oplocks</a>, <a class="indexterm" href="locking.html#id2610119">Disabling Kernel Oplocks</a>, <a class="indexterm" href="securing-samba.html#id2611155">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2611317">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2611471">User-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2611530">Using Interface Protection</a>, <a class="indexterm" href="securing-samba.html#id2611881">Using IPC$ Share-Based Denials </a>, <a class="indexterm" href="securing-samba.html#id2612168">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#id2614427">Features and Benefits</a>, <a class="indexterm" href="msdfs.html#id2614872">MSDFS UNIX Path Is Case-Critical</a>, <a class="indexterm" href="classicalprinting.html#id2615605">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2616085">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2616484">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2618984">Custom Print Commands</a>, <a class="indexterm" href="classicalprinting.html#id2619944">Creating the [print$] Share</a>, <a class="indexterm" href="classicalprinting.html#id2620993">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2626492">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2626737">More Complex CUPS smb.conf Settings</a>, <a class="indexterm" href="CUPS-printing.html#id2633488">From Windows Clients to a CUPS/Samba Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2634282">Prepare Your smb.conf for cupsaddsmb</a>, <a class="indexterm" href="VFS.html#id2643368">Discussion</a>, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2648427">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2649223">Linux</a>, <a class="indexterm" href="winbind.html#id2650130">Solaris-Specific Configuration</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="ProfileMgmt.html#id2653670">NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2653808">Windows 9x/Me User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2653966">Mixed Windows Windows 9x/Me and NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2657804">Changing the Default Profile</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662096">The NetBIOS Name Cache</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662411">WINS Lookup</a>, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a>, <a class="indexterm" href="unicode.html#id2663985">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#id2667287">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2668301">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671872">IdMap LDAP Support</a>, <a class="indexterm" href="diagnosis.html#id2675781">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a>, <a class="indexterm" href="bugreport.html#id2679333">Debugging-Specific Operations</a>, <a class="indexterm" href="Other-Clients.html#id2683373">Windows 2000 Service Pack 2</a> (see SSO)</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a></dt><dt>logon</dt><dd><dl><dt>service, <a class="indexterm" href="samba-bdc.html#id2559283">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#id2568666">TCP/IP Configuration</a></dt><dt>aborting shutdown, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>accept connections, <a class="indexterm" href="securing-samba.html#id2611530">Using Interface Protection</a></dt><dt>access, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a></dt><dt>Access, <a class="indexterm" href="rights.html#id2601754">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#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="StandAloneServer.html#id2567310">Background</a>, <a class="indexterm" href="AccessControls.html#id2605984">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#id2570964">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#id2672685">Server Share and Directory Layout</a></dt><dt>access controls, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="AccessControls.html#id2603577">Features and Benefits</a>, <a class="indexterm" href="AccessControls.html#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>Access Controls, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>access denied, <a class="indexterm" href="securing-samba.html#id2611881">Using IPC$ Share-Based Denials </a></dt><dt>access policies, <a class="indexterm" href="passdb.html#id2585239">Domain Account Policy Managment</a></dt><dt>access rights, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></dt><dt>account, <a class="indexterm" href="install.html#id2545469">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2563702">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="pam.html#id2658906">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a></dt><dt>database, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>backends, <a class="indexterm" href="ServerType.html#id2551742">Features and Benefits</a></dt></dl></dd></dl></dd><dt>account access controls, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a></dt><dt>account attributes, <a class="indexterm" href="idmapper.html#id2598545">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#id2586889">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#id2652874">Managing Account/User Policies</a></dt><dt>account database, <a class="indexterm" href="passdb.html#id2585526">Password Backends</a></dt><dt>account deleted, <a class="indexterm" href="passdb.html#id2584497">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#id2584175">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#id2585401">Account Import/Export</a></dt><dt>account information, <a class="indexterm" href="samba-bdc.html#id2559353">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#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="NetCommand.html#id2593942">UNIX and Windows User Management</a></dt><dt>account information database, <a class="indexterm" href="passdb.html#id2581588">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>account management, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a></dt><dt>account name, <a class="indexterm" href="idmapper.html#id2597584">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#id2556095">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#id2652874">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#id2671119">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#id2589715">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#id2647562">Introduction</a></dt><dt>ACL, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2587612">Security and sambaSamAccount</a>, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a>, <a class="indexterm" href="securing-samba.html#id2611155">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#id2619823">The Obsoleted [printer$] Section</a></dt><dd><dl><dt>File System, <a class="indexterm" href="AccessControls.html#id2604246">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#id2603577">Features and Benefits</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2603577">Features and Benefits</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2603577">Features and Benefits</a></dt></dl></dd><dt>ACLs on share, <a class="indexterm" href="AccessControls.html#id2606249">Windows 200x/XP</a></dt><dt>ACLs on shares, <a class="indexterm" href="AccessControls.html#id2603577">Features and Benefits</a></dt><dt>across network segments, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>active directory, <a class="indexterm" href="ServerType.html#id2551742">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2557346">Samba ADS Domain Control</a></dt><dt>Active Directory, <a class="indexterm" href="samba-bdc.html#id2560392">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#id2592419">UNIX and Windows Group Management</a>, <a class="indexterm" href="idmapper.html#id2597522">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599635">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#id2672074">Objectives</a></dt><dt>AD4UNIX, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>ADAM, <a class="indexterm" href="idmapper.html#id2600226">IDMAP Storage in LDAP Using Winbind</a></dt><dt>add a user account, <a class="indexterm" href="passdb.html#id2584409">Adding User Accounts</a></dt><dt>add client machines, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>add domain users and groups to a local group, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>add drivers, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>add machine script, <a class="indexterm" href="domain-member.html#id2563586">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671022">Changes in Behavior</a></dt><dt>Add Printer Wizard, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2616964">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#id2627703">Driver Upload Methods</a></dt><dt>add user script, <a class="indexterm" href="passdb.html#id2584058">User Account Management</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671022">Changes in Behavior</a></dt><dt>add/delete/change share, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>adddriver, <a class="indexterm" href="classicalprinting.html#id2621549">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2621904">Running rpcclient with adddriver</a>, <a class="indexterm" href="classicalprinting.html#id2622397">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2636695">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2638287">Troubleshooting Revisited</a></dt><dt>additional driver, <a class="indexterm" href="classicalprinting.html#id2623246">Additional Client Driver Installation</a></dt><dt>additional privileges, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>addmem, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>AddPrinterDriver(), <a class="indexterm" href="CUPS-printing.html#id2636695">A Check of the rpcclient man Page</a></dt><dt>admincfg.exe, <a class="indexterm" href="Other-Clients.html#id2683136">Configuring Windows for Workgroups Password Handling</a></dt><dt>administrative actions, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>administrative duties, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a></dt><dt>administrative privileges, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a></dt><dt>administrative responsibilities, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></dt><dt>administrative rights, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>administrative rights and privileges, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Administrative Templates, <a class="indexterm" href="PolicyMgmt.html#id2652426">MS Windows 200x/XP Professional Policies</a></dt><dt>Administrator, <a class="indexterm" href="groupmapping.html#id2589322">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2590298">Important Administrative Information</a>, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a></dt><dt>administrator account, <a class="indexterm" href="domain-member.html#id2563702">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2563866">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#id2566460">Notes</a></dt><dt>Administrator%password, <a class="indexterm" href="domain-member.html#id2564157">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#id2634075">PostScript Drivers with No Major Problems, Even in Kernel2 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2639 496">The Grand Unification Achieved</a></dt><dt>Adobe driver, <a class="indexterm" href="CUPS-printing.html#id2635308">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>Adobe driver files, <a class="indexterm" href="CUPS-printing.html#id2634802">Recognizing Different Driver Files</a></dt><dt>Adobe PostScript, <a class="indexterm" href="CUPS-printing.html#id2635008">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2640542">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>Adobe PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2636286">Installing the PostScript Driver on a Client</a></dt><dt>Adobe PPD, <a class="indexterm" href="CUPS-printing.html#id2638937">CUPS Print Drivers from Linuxprinting.org</a></dt><dt>Adobe specifications, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a></dt><dt>ADS, <a class="indexterm" href="ServerType.html#id2553160">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2562183">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#id2564157">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2565174">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2565365">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#id2573848">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2587498">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2592338">Administrative Tasks and Methods</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2600226">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#id2612728">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2614041">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#id2646095">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2647499">Result Caching</a>, <a class="indexterm" href="PolicyMgmt.html#id2651772">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2652426">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652874">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653301">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2657055">MS Windows 200x/XP</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661060">Background Information</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671119">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a>, <a class="indexterm" href="DNSDHCP.html#id2685838">Features and Benefits</a> (see Active Directory)</dt><dt>ADS DC, <a class="indexterm" href="domain-member.html#id2565174">Configure smb.conf</a></dt><dt>ADS domain, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599225">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#id2598545">Primary Domain Controller</a></dt><dt>Advanced TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a></dt><dt>advantages, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>affect users, <a class="indexterm" href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a></dt><dt>affordable power, <a class="indexterm" href="SambaHA.html#id2665149">The Ultimate Goal</a></dt><dt>AFPL, <a class="indexterm" href="CUPS-printing.html#id2628553">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dt>AFPL Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2630332">pstoraster</a></dt><dt>AFS, <a class="indexterm" href="SambaHA.html#id2665598">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#id2616964">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2648314">NSS Winbind on AIX</a></dt><dt>algorithmic mapping, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a></dt><dt>alias group, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>allow access, <a class="indexterm" href="securing-samba.html#id2611317">Using Host-Based Protection</a></dt><dt>allow trusted domains, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a></dt><dt>already exists, <a class="indexterm" href="domain-member.html#id2566777">Cannot Add Machine Back to Domain</a></dt><dt>alternative solution, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>Amanda, <a class="indexterm" href="Backup.html#id2664850">Amanda</a></dt><dt>analyzes data, <a class="indexterm" href="problems.html#id2677837">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#id2547397">Anonymous Print Server</a></dt><dt>read-write server, <a class="indexterm" href="FastStart.html#id2547160">Anonymous Read-Write Document Server</a></dt></dl></dd><dt>anonymous access, <a class="indexterm" href="NetworkBrowsing.html#id2578138">Problem Resolution</a></dt><dt>anonymous file server, <a class="indexterm" href="cfgsmarts.html#id2667287">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#id2682092">HPUX</a></dt><dt>anticipate failure, <a class="indexterm" href="SambaHA.html#id2664995">Features and Benefits</a></dt><dt>API, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a></dt><dt>Appliances, <a class="indexterm" href="winbind.html#id2646681">Target Uses</a></dt><dt>application servers, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a></dt><dt>application/cups.vnd-postscript, <a class="indexterm" href="CUPS-printing.html#id2635308">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#id2629612">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2631670">application/octet-stream Printing</a></dt><dt>application/pdf, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629612">MIME Type Conversion Rules</a></dt><dt>application/postscript, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629612">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2629977">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2630164">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2635308">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>application/vnd.cups-postscript, <a class="indexterm" href="CUPS-printing.html#id2629977">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2630164">pstops</a></dt><dt>application/vnd.cups-raster, <a class="indexterm" href="CUPS-printing.html#id2631949">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#id2629612">MIME Type Conversion Rules</a></dt><dt>apt-get, <a class="indexterm" href="VFS.html#id2644988">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#id2582137">Comments Regarding LDAP</a></dt><dt>ARP/RARP, <a class="indexterm" href="integrate-ms-networks.html#id2661262">/etc/hosts</a></dt><dt>ASCII, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a>, <a class="indexterm" href="unicode.html#id2662892">What Are Charsets and Unicode?</a>, <a class="indexterm" href="unicode.html#id2663193">Japanese Charsets</a></dt><dt>ASCII text, <a class="indexterm" href="CUPS-printing.html#id2629977">Prefilters</a></dt><dt>assign rights, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>assigned RID, <a class="indexterm" href="groupmapping.html#id2589322">Discussion</a></dt><dt>assistance, <a class="indexterm" href="ch47.html#id2685467">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#id2677889">Debugging with Samba Itself</a></dt><dt>attribute, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a></dt><dt>attributes, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>audit file access, <a class="indexterm" href="VFS.html#id2643769">audit</a></dt><dt>audit module, <a class="indexterm" href="VFS.html#id2644027">extd_audit</a></dt><dt>auth, <a class="indexterm" href="pam.html#id2658906">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#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticate users, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticated, <a class="indexterm" href="domain-member.html#id2565174">Configure smb.conf</a></dt><dt>authenticating server, <a class="indexterm" href="ProfileMgmt.html#id2656493">MS Windows NT4 Workstation</a></dt><dt>authentication, <a class="indexterm" href="ServerType.html#id2551742">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2585401">Account Import/Export</a>, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="winbind.html#id2649617">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2658143">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#id2554970">Single Sign-On and Domain Security</a></dt><dt>authentication architecture, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>authentication backend, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>authentication control, <a class="indexterm" href="winbind.html#id2647562">Introduction</a></dt><dt>authentication database, <a class="indexterm" href="InterdomainTrusts.html#id2612728">Features and Benefits</a></dt><dt>authentication management, <a class="indexterm" href="winbind.html#id2647268">Pluggable Authentication Modules</a></dt><dt>authentication mechanisms, <a class="indexterm" href="winbind.html#id2647562">Introduction</a></dt><dt>authentication methods, <a class="indexterm" href="winbind.html#id2647268">Pluggable Authentication Modules</a></dt><dt>authentication module API, <a class="indexterm" href="winbind.html#id2648314">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#id2564892">Why Is This Better Than security = server?</a></dt><dt>authentication server, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></dt><dt>authentication service, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>authentication system, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>authenticatior, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a></dt><dt>authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>authoritive, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a></dt><dt>authorization, <a class="indexterm" href="winbind.html#id2647268">Pluggable Authentication Modules</a></dt><dt>auto-reconnect, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>autogen.sh, <a class="indexterm" href="compiling.html#id2680980">Building the Binaries</a></dt><dt>autogenerated printcap, <a class="indexterm" href="classicalprinting.html#id2618441">Default UNIX System Printing Commands</a></dt><dt>automatic account creation, <a class="indexterm" href="domain-member.html#id2563306">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>automatic mapping, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>automatic reconnects, <a class="indexterm" href="passdb.html#id2581384">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#id2593649">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>autotyping, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>AUXILIARY, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>auxiliary members, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>availability, <a class="indexterm" href="SambaHA.html#id2664995">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672074">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#id2624864">Samba and Printer Ports</a></dt><dt>available printerd, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>available rights, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>average print run, <a class="indexterm" href="CUPS-printing.html#id2627824">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#id2573212">NetBIOS over TCP/IP</a></dt><dt>back up, <a class="indexterm" href="winbind.html#id2647677">Requirements</a></dt><dt>backed up, <a class="indexterm" href="NT4Migration.html#id2672685">Server Share and Directory Layout</a></dt><dt>backend, <a class="indexterm" href="SambaHA.html#id2665598">The Distributed File System Challenge</a></dt><dt>backend authentication, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>backend database, <a class="indexterm" href="samba-pdc.html#id2555590">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#id2566853">Adding Machine to Domain Fails</a></dt><dt>backend failures, <a class="indexterm" href="SambaHA.html#id2666073">High-Availability Server Products</a></dt><dt>backend file system pool, <a class="indexterm" href="SambaHA.html#id2665725">Restrictive Constraints on Distributed File Systems</a></dt><dt>backends, <a class="indexterm" href="ChangeNotes.html#id2572149">Passdb Changes</a>, <a class="indexterm" href="CUPS-printing.html#id2641511">Printing from CUPS to Windows-Attached Printers</a></dt><dt>backup, <a class="indexterm" href="Backup.html#id2664368">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672685">Server Share and Directory Layout</a>, <a class="indexterm" href="tdb.html#id2679876">Features and Benefits</a></dt><dt>backup domain controller, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>backup solution, <a class="indexterm" href="Backup.html#id2664412">Discussion of Backup Solutions</a></dt><dt>BackupPC, <a class="indexterm" href="Backup.html#id2664509">BackupPC</a></dt><dt>bad hardware, <a class="indexterm" href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad logon attempts, <a class="indexterm" href="passdb.html#id2584581">Changing User Accounts</a></dt><dt>Bad networking hardware, <a class="indexterm" href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad password, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>banner pages, <a class="indexterm" href="CUPS-printing.html#id2635308">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2635526">Run cupsaddsmb (Quiet Mode)</a></dt><dt>barriers, <a class="indexterm" href="securing-samba.html#id2611056">Introduction</a></dt><dt>Batch Oplock, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>BDC, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2552853">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2560392">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561779">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2581384">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#id2585921">tdbsam</a>, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2598779">Backup Domain Controller</a>, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2673019">Steps in Migration Process</a></dt><dt>BDCs, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>behavior approximately same, <a class="indexterm" href="upgrading-to-3.0.html#id2669274">Quick Migration Guide</a></dt><dt>between domains, <a class="indexterm" href="InterdomainTrusts.html#id2613505">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#id2580501">New Account Storage Systems</a></dt><dt>BIND, <a class="indexterm" href="DNSDHCP.html#id2686107">Dynamic DNS</a></dt><dt>bind interfaces only, <a class="indexterm" href="cfgsmarts.html#id2666890">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#id2685838">Features and Benefits</a></dt><dt>bindery-enabled, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>block device, <a class="indexterm" href="AccessControls.html#id2604246">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#id2664899">BOBS: Browseable Online Backup System</a></dt><dt>bogus, <a class="indexterm" href="ServerType.html#id2553511">Example Configuration</a></dt><dt>boot disk`, <a class="indexterm" href="winbind.html#id2647677">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#id2574407">How Browsing Functions</a></dt><dt>brlock.tdb, <a class="indexterm" href="CUPS-printing.html#id2638430">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>broadcast, <a class="indexterm" href="samba-bdc.html#id2560450">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>broadcast address, <a class="indexterm" href="NetworkBrowsing.html#id2578138">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2676074">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#id2573212">NetBIOS over TCP/IP</a></dt><dt>broadcast messaging, <a class="indexterm" href="samba-bdc.html#id2560541">How Does a Workstation find its Domain Controller?</a></dt><dt>Broadcast node, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt><dt>broadcast request, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a></dt><dt>broadcast traffic, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a></dt><dt>broadcast-based, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>broadcast-based name resolution, <a class="indexterm" href="domain-member.html#id2564157">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#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>browse across subnet, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a></dt><dt>browse list, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578560">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#id2574407">How Browsing Functions</a></dt><dt>browse list management, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572776">What Is Browsing?</a></dt><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2575942">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>browse resources, <a class="indexterm" href="NetworkBrowsing.html#id2578138">Problem Resolution</a></dt><dt>browse server resources, <a class="indexterm" href="NetworkBrowsing.html#id2578138">Problem Resolution</a></dt><dt>browse shares, <a class="indexterm" href="securing-samba.html#id2611881">Using IPC$ Share-Based Denials </a></dt><dt>browse.dat, <a class="indexterm" href="NetworkBrowsing.html#id2578138">Problem Resolution</a></dt><dt>browseable, <a class="indexterm" href="install.html#id2544309">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#id2575341">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#id2643020">Print Queue Called “lp” Mishandles Print Jobs</a></dt><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572776">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575942">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577941">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#id2578389">Cross-Subnet Browsing</a></dt><dt>browsing another subnet, <a class="indexterm" href="NetworkBrowsing.html#id2577941">Browsing Support in Samba</a></dt><dt>browsing intrinsics, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a></dt><dt>browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579402">Common Errors</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579550">I Get an "Unable to browse the network" Error</a></dt><dt>BSD, <a class="indexterm" href="samba-pdc.html#id2558287">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a></dt><dt>BSD Printing, <a class="indexterm" href="classicalprinting.html#id2615605">Simple Print Configuration</a></dt><dt>BSD-style printing, <a class="indexterm" href="classicalprinting.html#id2616484">Extended Printing Configuration</a></dt><dt>bug report, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>bug reports, <a class="indexterm" href="bugreport.html#id2679008">Introduction</a></dt><dt>Bugzilla, <a class="indexterm" href="bugreport.html#id2679008">Introduction</a></dt><dt>built-in commands, <a class="indexterm" href="classicalprinting.html#id2618984">Custom Print Commands</a></dt><dt>bypasses privilege, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>byte ranges, <a class="indexterm" href="locking.html#id2608676">Discussion</a></dt><dt>byte-range lock, <a class="indexterm" href="locking.html#id2608676">Discussion</a></dt><dt>byte-range locking, <a class="indexterm" href="locking.html#id2608676">Discussion</a>, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt></dl></div><div class="indexdiv"><h3>C</h3><dl><dt>c:\winnt\inf, <a class="indexterm" href="PolicyMgmt.html#id2652204">Windows NT4-Style Policy Files</a></dt><dt>C:\WinNT\System32\config, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></dt><dt>cached</dt><dd><dl><dt>password, <a class="indexterm" href="ServerType.html#id2553615">Password Checking</a></dt></dl></dd><dt>cached encrypted password, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>cached in memory, <a class="indexterm" href="passdb.html#id2581524">Advantages of Non-Encrypted Passwords</a></dt><dt>cached local file, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>cached locally, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>cached references, <a class="indexterm" href="NetworkBrowsing.html#id2579797">Invalid Cached Share References Affects Network Browsing</a></dt><dt>caching, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>caching reads, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>caching scheme, <a class="indexterm" href="winbind.html#id2647499">Result Caching</a></dt><dt>caching writes, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>called name, <a class="indexterm" href="securing-samba.html#id2611317">Using Host-Based Protection</a></dt><dt>cannot join domain, <a class="indexterm" href="ClientConfig.html#id2571409">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#id2663193">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a>, <a class="indexterm" href="Other-Clients.html#id2682662">Macintosh Clients</a></dt><dt>cap-share, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>capability to delete, <a class="indexterm" href="AccessControls.html#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>CAP_LINUX_IMMUTABLE, <a class="indexterm" href="AccessControls.html#id2604658">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#id2658827">PAM Configuration Syntax</a></dt><dt>case-insensitive, <a class="indexterm" href="ServerType.html#id2552243">User Level Security</a>, <a class="indexterm" href="classicalprinting.html#id2615605">Simple Print Configuration</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>case-preserving, <a class="indexterm" href="ServerType.html#id2552243">User Level Security</a></dt><dt>central environment, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>centralized</dt><dd><dl><dt>authentication, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt></dl></dd><dt>centralized identity management, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>centrally managed, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>certificate, <a class="indexterm" href="SWAT.html#id2674844">Securing SWAT through SSL</a></dt><dt>Certificate Authority (see CA)</dt><dt>cfdisk, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>challenge/response mechanis, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>change capabilities, <a class="indexterm" href="passdb.html#id2582990">The smbpasswd Tool</a></dt><dt>change motivations, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>change password, <a class="indexterm" href="domain-member.html#id2566460">Notes</a></dt><dt>change passwords, <a class="indexterm" href="passdb.html#id2582990">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#id2562869">Manual Creation of Machine Trust Accounts</a></dt><dt>character device, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a></dt><dt>character set, <a class="indexterm" href="unicode.html#id2662892">What Are Charsets and Unicode?</a></dt><dt>character sets, <a class="indexterm" href="unicode.html#id2663025">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>charset, <a class="indexterm" href="unicode.html#id2662892">What Are Charsets and Unicode?</a></dt><dt>charset conversion, <a class="indexterm" href="unicode.html#id2663162">Conversion from Old Names</a></dt><dt>chattr, <a class="indexterm" href="AccessControls.html#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>check for locks, <a class="indexterm" href="locking.html#id2608676">Discussion</a></dt><dt>check logs, <a class="indexterm" href="domain-member.html#id2566853">Adding Machine to Domain Fails</a></dt><dt>checksum-search, <a class="indexterm" href="Backup.html#id2664681">Rsync</a></dt><dt>chmod, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>chown, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="AccessControls.html#id2606602">Viewing File Ownership</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>chpass, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a></dt><dt>CIFS, <a class="indexterm" href="domain-member.html#id2566532">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#id2664995">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2665279">Why Is This So Hard?</a></dt><dt>Citrix, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651176">Remote Management with ThinLinc</a></dt><dt>clear purpose preferred, <a class="indexterm" href="Backup.html#id2664412">Discussion of Backup Solutions</a></dt><dt>clear-text, <a class="indexterm" href="ServerType.html#id2553615">Password Checking</a>, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2587612">Security and sambaSamAccount</a></dt><dt>clear-text passwords, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>client client instructions, <a class="indexterm" href="ClientConfig.html#id2568562">Features and Benefits</a></dt><dt>Client for Microsoft Networks, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Client for Novell Networks, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>client-server mode, <a class="indexterm" href="passdb.html#id2582990">The smbpasswd Tool</a></dt><dt>client-side caching, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>client-side data caching, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2609628">PDM Data Shares</a></dt><dt>clock skew, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a></dt><dt>cluster servers, <a class="indexterm" href="SambaHA.html#id2665398">The Front-End Challenge</a></dt><dt>clustered file server, <a class="indexterm" href="SambaHA.html#id2665149">The Ultimate Goal</a></dt><dt>Clustered smbds, <a class="indexterm" href="SambaHA.html#id2665795">Server Pool Communications</a></dt><dt>clustering technologies, <a class="indexterm" href="SambaHA.html#id2665149">The Ultimate Goal</a></dt><dt>cluttering, <a class="indexterm" href="bugreport.html#id2679333">Debugging-Specific Operations</a></dt><dt>cmd, <a class="indexterm" href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>cmd shell, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>CN, <a class="indexterm" href="samba-bdc.html#id2560028">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#id2685467">Free Support</a></dt><dt>codepages, <a class="indexterm" href="unicode.html#id2662840">Features and Benefits</a></dt><dt>collating, <a class="indexterm" href="NetworkBrowsing.html#id2575942">Making Samba the Domain Master</a></dt><dt>collisions, <a class="indexterm" href="speed.html#id2684091">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>color, <a class="indexterm" href="CUPS-printing.html#id2628194">UNIX Printfile Conversion and GUI Basics</a></dt><dt>COM1:, <a class="indexterm" href="classicalprinting.html#id2624864">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#id2601754">Using the “net rpc rights” Utility</a></dt><dt>commenting out setting, <a class="indexterm" href="classicalprinting.html#id2616085">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#id2685685">Commercial Support</a></dt><dt>commit the settings, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a></dt><dt>Common Internet Filesystem (see CIFS)</dt><dt>Common restrictions, <a class="indexterm" href="PolicyMgmt.html#id2652874">Managing Account/User Policies</a></dt><dt>Common UNIX Printing System (see CUPS)</dt><dt>common.adm, <a class="indexterm" href="PolicyMgmt.html#id2652204">Windows NT4-Style Policy Files</a></dt><dt>comp.protocols.smb, <a class="indexterm" href="bugreport.html#id2679008">Introduction</a></dt><dt>compatible, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a>, <a class="indexterm" href="Portability.html">Portability</a></dt><dt>compile, <a class="indexterm" href="install.html#id2544219">Obtaining and Installing Samba</a></dt><dt>compile-time options, <a class="indexterm" href="classicalprinting.html#id2616085">Rapid Configuration Validation</a></dt><dt>complex file name space, <a class="indexterm" href="SambaHA.html#id2665992">A Simple Solution</a></dt><dt>complex organization, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>complexity, <a class="indexterm" href="StandAloneServer.html#id2567511">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#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>complicated problem, <a class="indexterm" href="SambaHA.html#id2665492">Demultiplexing SMB Requests</a></dt><dt>comprehensive documentation, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></dt><dt>Computer Account, <a class="indexterm" href="domain-member.html#id2563866">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#id2582549">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#id2605984">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2606249">Windows 200x/XP</a></dt><dt>Computer Name, <a class="indexterm" href="ClientConfig.html#id2570437">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>computer name, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a></dt><dt>concurrent access, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>Conectiva, <a class="indexterm" href="CUPS-printing.html#id2639729">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>config.cache, <a class="indexterm" href="domain-member.html#id2566167">Possible Errors</a></dt><dt>CONFIG.POL, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a></dt><dt>Config.POL, <a class="indexterm" href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652067">Windows 9x/ME Policies</a></dt><dt>configuration</dt><dd><dl><dt>documentation, <a class="indexterm" href="install.html#id2545728">Test Your Config File with testparm</a></dt></dl></dd><dt>configuration files, <a class="indexterm" href="SWAT.html#id2674063">Features and Benefits</a></dt><dt>configuration problem, <a class="indexterm" href="bugreport.html#id2679008">Introduction</a></dt><dt>configuration syntax, <a class="indexterm" href="classicalprinting.html#id2615605">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#id2568495">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#id2570437">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>configure, <a class="indexterm" href="compiling.html#id2680980">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#id2611530">Using Interface Protection</a></dt><dt>confirm the password, <a class="indexterm" href="InterdomainTrusts.html#id2613845">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#id2665149">The Ultimate Goal</a></dt><dt>connection resources, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a></dt><dt>connections, <a class="indexterm" href="install.html#id2545469">Example Configuration</a></dt><dt>connections.tdb, <a class="indexterm" href="CUPS-printing.html#id2638430">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#id2649784">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#id2666073">High-Availability Server Products</a></dt><dt>contribute, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></dt><dt>Control Panel, <a class="indexterm" href="ClientConfig.html#id2570437">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#id2555590">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#id2650801">Remote Management from NoMachine.Com</a></dt><dt>core files, <a class="indexterm" href="bugreport.html#id2679534">Internal Errors</a></dt><dt>core graphic engine, <a class="indexterm" href="CUPS-printing.html#id2628016">Windows Drivers, GDI, and EMF</a></dt><dt>core values, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>corrupted file, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>cosine.schema, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a></dt><dt>country of origin, <a class="indexterm" href="ch47.html#id2685685">Commercial Support</a></dt><dt>CP850, <a class="indexterm" href="unicode.html#id2663025">Samba and Charsets</a></dt><dt>CP932, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>cracker, <a class="indexterm" href="securing-samba.html#id2611530">Using Interface Protection</a></dt><dt>create, <a class="indexterm" href="AccessControls.html#id2604123">Managing Directories</a></dt><dt>Create a Computer Account, <a class="indexterm" href="domain-member.html#id2563866">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#id2563702">Windows 200x/XP Professional Client</a></dt><dt>create machine trust account, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>create partition, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>Create the Computer Account, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a></dt><dt>create user accounts, <a class="indexterm" href="StandAloneServer.html#id2567310">Background</a></dt><dt>create volume, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>credentials, <a class="indexterm" href="ServerType.html#id2552243">User Level Security</a>, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2570437">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="NetCommand.html#id2594353">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#id2560598">NetBIOS Over TCP/IP Enabled</a></dt><dt>critical aspects of configuration, <a class="indexterm" href="ClientConfig.html#id2568562">Features and Benefits</a></dt><dt>crle, <a class="indexterm" href="winbind.html#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>cron, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a></dt><dt>cross post, <a class="indexterm" href="problems.html#id2678702">Getting Mailing List Help</a></dt><dt>cross-segment browsing, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>cross-subnet browsing, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>CUPS, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2615294">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2616484">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a>, <a class="indexterm" href="CUPS-printing.html#id2625951">Features and Benefits</a>, <a class="indexterm" href="CUPS-printing.html#id2626011">Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2626130">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2628790">Using Windows-Formatted Vendor PPDs</a></dt><dd><dl><dt>Page Accounting, <a class="indexterm" href="CUPS-printing.html#id2640411">Page Accounting with CUPS</a></dt><dt>quotas, <a class="indexterm" href="CUPS-printing.html#id2640447">Setting Up Quotas</a></dt></dl></dd><dt>CUPS API, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2618441">Default UNIX System Printing Commands</a></dt><dt>CUPS backends, <a class="indexterm" href="CUPS-printing.html#id2630906">CUPS Backends</a></dt><dt>CUPS filtering, <a class="indexterm" href="CUPS-printing.html#id2628909">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2628949">The CUPS Filtering Architecture</a></dt><dt>CUPS filtering chain, <a class="indexterm" href="CUPS-printing.html#id2630906">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#id2635008">Caveats to Be Considered</a></dt><dt>CUPS PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2635308">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#id2628949">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2630332">pstoraster</a></dt><dt>CUPS-PPD, <a class="indexterm" href="CUPS-printing.html#id2639341">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>cups.hlp, <a class="indexterm" href="CUPS-printing.html#id2635008">Caveats to Be Considered</a></dt><dt>cupsaddsmb, <a class="indexterm" href="CUPS-printing.html#id2627703">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2634184">cupsaddsmb: The Unknown Utility</a>, <a class="indexterm" href="CUPS-printing.html#id2635008">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2635526">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2635666">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2635858">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2636124">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="CUPS-printing.html#id2636205">cupsaddsmb Flowchart</a>, <a class="indexterm" href="CUPS-printing.html#id2636286">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2637104">Requirements for adddriver and setdriver to Succeed</a></dt><dt>cupsd.conf, <a class="indexterm" href="classicalprinting.html#id2618441">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2626130">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2631493">mime.convs</a>, <a class="indexterm" href="CUPS-printing.html#id2641163">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2628790">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2628949">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2632232">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2638937">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2639341">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>currupted, <a class="indexterm" href="tdb.html#id2679876">Features and Benefits</a></dt><dt>custom scripts, <a class="indexterm" href="passdb.html#id2585655">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#id2618984">Custom Print Commands</a></dt></dl></div><div class="indexdiv"><h3>D</h3><dl><dt>daemon, <a class="indexterm" href="install.html#id2545276">Starting Samba</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2647677">Requirements</a>, <a class="indexterm" href="compiling.html#id2681707">Alternative: Starting smbd as a Daemon</a></dt><dt>daemon running, <a class="indexterm" href="winbind.html#id2648862">Starting and Testing the winbindd Daemon</a></dt><dt>daemons, <a class="indexterm" href="winbind.html#id2649573">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#id2608934">Opportunistic Locking Overview</a></dt><dt>data corruption, <a class="indexterm" href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="locking.html#id2609504">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#id2615294">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#id2669274">Quick Migration Guide</a></dt><dt>DatabaseFS, <a class="indexterm" href="VFS.html#id2645732">DatabaseFS</a></dt><dt>DAVE, <a class="indexterm" href="Other-Clients.html#id2682662">Macintosh Clients</a></dt><dt>dbx, <a class="indexterm" href="bugreport.html#id2679534">Internal Errors</a></dt><dt>DCE RPC, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a></dt><dt>DDK, <a class="indexterm" href="CUPS-printing.html#id2634075">PostScript Drivers with No Major Problems, Even in Kernel3 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id26345 63">CUPS “PostScript Driver for Windows NT/200x/XP”</a></dt><dt>DDNS, <a class="indexterm" href="NetworkBrowsing.html#id2573848">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#id2661060">Background Information</a></dt><dt>de-multiplex, <a class="indexterm" href="SambaHA.html#id2665398">The Front-End Challenge</a></dt><dt>de-multiplexing, <a class="indexterm" href="SambaHA.html#id2665492">Demultiplexing SMB Requests</a></dt><dt>Debian, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>Debian Sarge, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>debug, <a class="indexterm" href="bugreport.html#id2679534">Internal Errors</a></dt><dt>debug level, <a class="indexterm" href="problems.html#id2677889">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a></dt><dt>debugging, <a class="indexterm" href="problems.html#id2677889">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2679333">Debugging-Specific Operations</a></dt><dt>debugging passwords, <a class="indexterm" href="problems.html#id2677889">Debugging with Samba Itself</a></dt><dt>debugging problems, <a class="indexterm" href="problems.html#id2677889">Debugging with Samba Itself</a></dt><dt>dedicated heartbeat, <a class="indexterm" href="SambaHA.html#id2666073">High-Availability Server Products</a></dt><dt>dedicated print server, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a></dt><dt>default accounts, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a></dt><dt>default aliases, <a class="indexterm" href="groupmapping.html#id2590539">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#id2566460">Notes</a></dt><dt>default gateways, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a></dt><dt>default groups, <a class="indexterm" href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a></dt><dt>default mapping, <a class="indexterm" href="ChangeNotes.html#id2572209">Group Mapping Changes in Samba-3.0.23</a></dt><dt>default mappings, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a></dt><dt>default print command, <a class="indexterm" href="classicalprinting.html#id2618441">Default UNIX System Printing Commands</a></dt><dt>default print commands, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>default printer, <a class="indexterm" href="classicalprinting.html#id2618984">Custom Print Commands</a></dt><dt>default printing, <a class="indexterm" href="CUPS-printing.html#id2625951">Features and Benefits</a></dt><dt>default profile, <a class="indexterm" href="ProfileMgmt.html#id2656311">Default Profile for Windows Users</a>, <a class="indexterm" href="ProfileMgmt.html#id2657804">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#id2648862">Starting and Testing the winbindd Daemon</a></dt><dt>Default User, <a class="indexterm" href="ProfileMgmt.html#id2657055">MS Windows 200x/XP</a></dt><dt>default users, <a class="indexterm" href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a></dt><dt>defective hardware, <a class="indexterm" href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a></dt><dt>deferred open, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>defined shares, <a class="indexterm" href="securing-samba.html#id2612168">Why Can Users Access Other Users' Home Directories?</a></dt><dt>delegate administrative privileges, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></dt><dt>delegated, <a class="indexterm" href="groupmapping.html#id2590298">Important Administrative Information</a></dt><dt>delegation, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></dt><dt>delete, <a class="indexterm" href="AccessControls.html#id2604123">Managing Directories</a></dt><dt>delete a file, <a class="indexterm" href="AccessControls.html#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>delete roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2657055">MS Windows 200x/XP</a></dt><dt>delete user script, <a class="indexterm" href="passdb.html#id2584497">Deleting Accounts</a></dt><dt>deleted files, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>deleted parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2669774">Removed Parameters</a></dt><dt>delmem, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>demote, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a></dt><dt>demoted, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></dt><dt>denial of service, <a class="indexterm" href="securing-samba.html#id2611530">Using Interface Protection</a></dt><dt>deny, <a class="indexterm" href="securing-samba.html#id2611881">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#id2608676">Discussion</a></dt><dt>deny-none, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>DENY_ALL, <a class="indexterm" href="locking.html#id2608676">Discussion</a></dt><dt>DENY_DOS, <a class="indexterm" href="locking.html#id2608676">Discussion</a></dt><dt>DENY_FCB, <a class="indexterm" href="locking.html#id2608676">Discussion</a></dt><dt>DENY_NONE, <a class="indexterm" href="locking.html#id2608676">Discussion</a></dt><dt>DENY_READ, <a class="indexterm" href="locking.html#id2608676">Discussion</a></dt><dt>DENY_WRITE, <a class="indexterm" href="locking.html#id2608676">Discussion</a></dt><dt>deployment, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>deployment guidelines, <a class="indexterm" href="passdb.html#id2582411">Caution Regarding LDAP and Samba</a></dt><dt>DES-CBC-CRC, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a></dt><dt>DES-CBC-MD5, <a class="indexterm" href="domain-member.html#id2565365">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#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>desktop cache, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>desktop profile, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></dt><dt>desktop profiles, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2595316">Managing Security Identifiers (SIDS)</a></dt><dt>deterents, <a class="indexterm" href="securing-samba.html#id2611056">Introduction</a></dt><dt>development libraries, <a class="indexterm" href="winbind.html#id2647677">Requirements</a></dt><dt>devfsd package, <a class="indexterm" href="VFS.html#id2644988">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#id2631949">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>DFS, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a> (see MS-DFS, Distributed File Systems)</dt><dt>DFS junction, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>DFS links, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>DFS root, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>DFS server, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>DFS tree, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>DFS-aware, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>DFS-aware clients, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>DHCP, <a class="indexterm" href="ClientConfig.html#id2568666">TCP/IP Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661060">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2685838">Features and Benefits</a></dt><dt>DHCP servers, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>DHCP-enabled, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a></dt><dt>DHCP-enabled operation, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a></dt><dt>diagnostic, <a class="indexterm" href="idmapper.html#id2600226">IDMAP Storage in LDAP Using Winbind</a></dt><dt>diagnostic tools, <a class="indexterm" href="problems.html#id2677889">Debugging with Samba Itself</a></dt><dt>diff, <a class="indexterm" href="bugreport.html#id2679792">Patches</a></dt><dt>differences, <a class="indexterm" href="Backup.html#id2664681">Rsync</a></dt><dt>different resources, <a class="indexterm" href="cfgsmarts.html#id2667287">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#id2669274">Quick Migration Guide</a></dt><dt>dir, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>direct internet access, <a class="indexterm" href="securing-samba.html#id2611056">Introduction</a></dt><dt>directory, <a class="indexterm" href="samba-bdc.html#id2560392">Active Directory Domain Control</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="idmapper.html#id2598779">Backup Domain Controller</a></dt><dt>directory access control, <a class="indexterm" href="groupmapping.html#id2589715">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#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>directory schema, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a></dt><dt>Directory Separators, <a class="indexterm" href="AccessControls.html#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>directory server, <a class="indexterm" href="passdb.html#id2586079">ldapsam</a></dt><dt>directory_mode, <a class="indexterm" href="VFS.html#id2644354">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#id2608579">Features and Benefits</a></dt><dt>disable roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2654044">Disabling Roaming Profile Support</a></dt><dt>disabling oplocks, <a class="indexterm" href="locking.html#id2609628">PDM Data Shares</a></dt><dt>disass, <a class="indexterm" href="bugreport.html#id2679534">Internal Errors</a></dt><dt>disaster recovery, <a class="indexterm" href="NT4Migration.html#id2672685">Server Share and Directory Layout</a></dt><dt>disconnect a connection, <a class="indexterm" href="ProfileMgmt.html#id2653670">NT4/200x User Profiles</a></dt><dt>disk, <a class="indexterm" href="passdb.html#id2581384">Advantages of Encrypted Passwords</a></dt><dt>disk space, <a class="indexterm" href="NT4Migration.html#id2672685">Server Share and Directory Layout</a></dt><dt>disparate information systems, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>display PostScript, <a class="indexterm" href="CUPS-printing.html#id2628194">UNIX Printfile Conversion and GUI Basics</a></dt><dt>displayName, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a></dt><dt>distort, <a class="indexterm" href="CUPS-printing.html#id2628194">UNIX Printfile Conversion and GUI Basics</a></dt><dt>distribute authentication systems, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>distributed, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a></dt><dt>distributed account, <a class="indexterm" href="passdb.html#id2580501">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#id2665149">The Ultimate Goal</a> (see DFS)</dt><dt>Distributed File Systems, <a class="indexterm" href="SambaHA.html#id2665598">The Distributed File System Challenge</a></dt><dt>distributed file systems, <a class="indexterm" href="SambaHA.html#id2665598">The Distributed File System Challenge</a></dt><dt>distributed locking protocol, <a class="indexterm" href="SambaHA.html#id2665992">A Simple Solution</a></dt><dt>distribution, <a class="indexterm" href="install.html#id2545469">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>dithering algorithm, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a></dt><dt>DMB, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2560450">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575341">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#id2575942">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>DMB for a workgroup, <a class="indexterm" href="NetworkBrowsing.html#id2577941">Browsing Support in Samba</a></dt><dt>DMC, <a class="indexterm" href="idmapper.html#id2598850">Examples of IDMAP Backend Usage</a></dt><dt>DMS, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="idmapper.html#id2598850">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#id2560028">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#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560541">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2560664">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2565174">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572592">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573848">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html#id2586889">Initialize the LDAP Database</a>, <a class="indexterm" href="winbind.html#id2647036">Name Service Switch</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661060">Background Information</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662384">DNS Lookup</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a>, <a class="indexterm" href="DNSDHCP.html#id2685838">Features and Benefits</a>, <a class="indexterm" href="DNSDHCP.html#id2686016">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#id2661060">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2686107">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#id2579597">Browsing of Shares and Directories is Very Slow</a></dt><dt>DNS lookup, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a></dt><dt>DNS name resolution, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>dns proxy, <a class="indexterm" href="diagnosis.html#id2675781">Assumptions</a></dt><dt>DNS server, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>DNS server access, <a class="indexterm" href="diagnosis.html#id2675781">Assumptions</a></dt><dt>DNS server settings, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a></dt><dt>DNS servers, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>DNS zon, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a></dt><dt>DNS/LDAP/ADS, <a class="indexterm" href="NetworkBrowsing.html#id2577854">Technical Overview of Browsing</a></dt><dt>document design, <a class="indexterm" href="NT4Migration.html#id2672685">Server Share and Directory Layout</a></dt><dt>documentation, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="SWAT.html#id2674063">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#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2584409">Adding User Accounts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a></dt><dd><dl><dt>control, <a class="indexterm" href="ServerType.html#id2551910">Server Types</a></dt><dd><dl><dt>role, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a></dt></dl></dd><dt>controller, <a class="indexterm" href="ServerType.html#id2551742">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html">Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a></dt><dd><dl><dt>convert, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a></dt><dt>hierarchy, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a></dt></dl></dd><dt>controllers, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2592419">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a></dt></dl></dd><dt>member, <a class="indexterm" href="ServerType.html#id2551910">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a></dt><dd><dl><dt>server, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a></dt></dl></dd><dt>member server, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>protocols, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="samba-pdc.html#id2554336">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#id2585239">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#id2602897">The Administrator Domain SID</a></dt><dt>Domain Admins, <a class="indexterm" href="ChangeNotes.html#id2572209">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2589322">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2590298">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>Domain Admins group, <a class="indexterm" href="groupmapping.html#id2589322">Discussion</a></dt><dt>domain authentication, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a></dt><dt>domain context, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>domain control, <a class="indexterm" href="samba-pdc.html#id2555570">Basics of Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2561680">Common Errors</a>, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2597584">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#id2551910">Server Types</a></dt><dt>primary, <a class="indexterm" href="ServerType.html#id2551910">Server Types</a></dt></dl></dd><dt>domain control database (see SAM)</dt><dt>domain controller, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2559283">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560392">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560598">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#id2646528">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2673019">Steps in Migration Process</a></dt><dt>Domain Controller, <a class="indexterm" href="CUPS-printing.html#id2635008">Caveats to Be Considered</a></dt><dt>domain controllers, <a class="indexterm" href="samba-pdc.html#id2557346">Samba ADS Domain Control</a>, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="PolicyMgmt.html#id2652426">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#id2669444">New Features in Samba-3.0.x</a></dt><dt>domain environment, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>domain global, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global group, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global groups, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain global user, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global users, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain group, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a></dt><dt>domain group settings, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain groups, <a class="indexterm" href="ChangeNotes.html#id2572209">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#id2590539">Default Users, Groups, and Relative Identifiers</a></dt><dt>Domain Groups, <a class="indexterm" href="passdb.html#id2587498">Accounts and Groups Management</a></dt><dt>Domain Guests, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain information, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>domain join, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a>, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a></dt><dt>domain joining, <a class="indexterm" href="ClientConfig.html#id2570437">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain logon, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2557399">Domain and Network Logon Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2557418">Domain Network Logon Service</a>, <a class="indexterm" href="samba-bdc.html#id2559776">Example PDC Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>domain logon server, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>domain logons, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577941">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>domain management tools, <a class="indexterm" href="domain-member.html#id2563306">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>domain master, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577941">Browsing Support in Samba</a></dt><dt>domain member, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2563702">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2566738">Common Errors</a>, <a class="indexterm" href="ClientConfig.html#id2570437">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2589322">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="winbind.html#id2646726">Handling of Foreign SIDs</a>, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>Domain Member, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dd><dl><dt>joining, <a class="indexterm" href="ServerType.html#id2552853">Example Configuration</a></dt></dl></dd><dt>domain member client, <a class="indexterm" href="groupmapping.html#id2590298">Important Administrative Information</a></dt><dt>Domain Member Client (see DMC)</dt><dt>domain member server, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573848">TCP/IP without NetBIOS</a>, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a></dt><dt>Domain Member Server (see DMS)</dt><dt>domain member servers, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="groupmapping.html#id2589715">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#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain members, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575341">Domain Browsing Configuration</a>, <a class="indexterm" href="winbind.html#id2647562">Introduction</a></dt><dt>domain membership, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2556604">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#id2570964">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#id2646726">Handling of Foreign SIDs</a></dt><dt>domain policies, <a class="indexterm" href="PolicyMgmt.html#id2652204">Windows NT4-Style Policy Files</a></dt><dt>domain radio button, <a class="indexterm" href="ClientConfig.html#id2570437">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain security, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2562183">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#id2564157">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a>, <a class="indexterm" href="ClientConfig.html#id2570437">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2657055">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#id2590417">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>domain SID, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2595316">Managing Security Identifiers (SIDS)</a></dt><dt>domain trust, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613114">Creating an NT4 Domain Trust</a></dt><dt>domain user, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646528">What Winbind Provides</a></dt><dt>domain user accounts, <a class="indexterm" href="NetCommand.html#id2592419">UNIX and Windows Group Management</a></dt><dt>domain user manager, <a class="indexterm" href="passdb.html#id2584058">User Account Management</a></dt><dt>Domain User Manager, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2590417">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="PolicyMgmt.html#id2652874">Managing Account/User Policies</a></dt><dt>Domain Users, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain users, <a class="indexterm" href="winbind.html#id2647677">Requirements</a>, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2650287">Conclusion</a></dt><dt>Domain Users group, <a class="indexterm" href="groupmapping.html#id2591649">Adding Domain Users to the Workstation Power Users Group</a></dt><dt>domain-level, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a></dt><dt>domain-level security, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>domain-wide browse list, <a class="indexterm" href="NetworkBrowsing.html#id2575942">Making Samba the Domain Master</a></dt><dt>DOMAIN<1B>, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a></dt><dt>DOMAIN<1C>, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a></dt><dt>DOMAIN<1D>, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a></dt><dt>draft, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a></dt><dt>Drive Identification, <a class="indexterm" href="AccessControls.html#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>driver, <a class="indexterm" href="classicalprinting.html#id2615888">Verifying Configuration with testparm</a></dt><dt>driver CDROM, <a class="indexterm" href="classicalprinting.html#id2620993">Identifying Driver Files</a></dt><dt>driver download, <a class="indexterm" href="classicalprinting.html#id2620161">[print$] Stanza Parameters</a></dt><dt>Driver File, <a class="indexterm" href="classicalprinting.html#id2620993">Identifying Driver Files</a></dt><dt>driver files, <a class="indexterm" href="classicalprinting.html#id2620993">Identifying Driver Files</a></dt><dt>Driver Path, <a class="indexterm" href="classicalprinting.html#id2620993">Identifying Driver Files</a></dt><dt>dual-daemon winbindd, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>due diligence, <a class="indexterm" href="Backup.html#id2664412">Discussion of Backup Solutions</a></dt><dt>duplex, <a class="indexterm" href="CUPS-printing.html#id2632569">Examples for Filtering Chains</a></dt><dt>duplex printing, <a class="indexterm" href="CUPS-printing.html#id2632569">Examples for Filtering Chains</a></dt><dt>duplicate, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a></dt><dt>duplication of information, <a class="indexterm" href="winbind.html#id2646438">Introduction</a></dt><dt>DVI, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629977">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#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>dynamic registration files, <a class="indexterm" href="DNSDHCP.html#id2686107">Dynamic DNS</a></dt><dt>Dynamic SMB servers, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>dynamically loadable library modules, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>E</h3><dl><dt>e-Directory, <a class="indexterm" href="samba-pdc.html#id2554970">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#id2604246">File and Directory Access Control</a></dt><dt>economically wise, <a class="indexterm" href="SambaHA.html#id2664995">Features and Benefits</a></dt><dt>eDirectory, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>editreg, <a class="indexterm" href="PolicyMgmt.html#id2653114">Samba Editreg Toolset</a></dt><dt>efficient authentication, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>election, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575341">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#id2574407">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#id2628016">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2633231">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2633365">Driver Execution on the Server</a></dt><dt>enables clients to print, <a class="indexterm" href="classicalprinting.html#id2615605">Simple Print Configuration</a></dt><dt>enables NetBIOS over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>encapsulating, <a class="indexterm" href="NetworkBrowsing.html#id2573212">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#id2556604">Domain Control: Example Configuration</a></dt><dt>encrypted, <a class="indexterm" href="ServerType.html#id2551742">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2553615">Password Checking</a>, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>encrypted password, <a class="indexterm" href="passdb.html#id2581384">Advantages of Encrypted Passwords</a></dt><dt>encrypted passwords, <a class="indexterm" href="ServerType.html#id2553615">Password Checking</a>, <a class="indexterm" href="passdb.html#id2580281">Features and Benefits</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2581384">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="ProfileMgmt.html#id2655741">Profile Migration from Windows NT4/200x Server to Samba</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671119">Passdb Backends and Authentication</a></dt><dt>encrypted session, <a class="indexterm" href="passdb.html#id2587612">Security and sambaSamAccount</a></dt><dt>encryption, <a class="indexterm" href="ServerType.html#id2553317">Server Security (User Level Security)</a></dt><dt>encryption key, <a class="indexterm" href="domain-member.html#id2563702">Windows 200x/XP Professional Client</a></dt><dt>encryption types, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566460">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#id2663193">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2674996">Enabling SWAT Internationalization Support</a></dt><dt>Enhanced MetaFile (see EMF)</dt><dt>enterprise, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a></dt><dt>enumdrivers, <a class="indexterm" href="classicalprinting.html#id2620993">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2636695">A Check of the rpcclient man Page</a></dt><dt>enumerate domain groups, <a class="indexterm" href="winbind.html#id2646902">Microsoft Remote Procedure Calls</a></dt><dt>enumerate domain users, <a class="indexterm" href="winbind.html#id2646902">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#id2636695">A Check of the rpcclient man Page</a></dt><dt>environment variables, <a class="indexterm" href="classicalprinting.html#id2618984">Custom Print Commands</a></dt><dt>EPM (see ESP meta packager)</dt><dt>Epson Stylus, <a class="indexterm" href="CUPS-printing.html#id2632569">Examples for Filtering Chains</a></dt><dt>Epson Stylus inkjet, <a class="indexterm" href="CUPS-printing.html#id2639812">Foomatic Database-Generated PPDs</a></dt><dt>equivalence, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>equivalent rights and privileges, <a class="indexterm" href="rights.html#id2602897">The Administrator Domain SID</a></dt><dt>error message, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a>, <a class="indexterm" href="classicalprinting.html#id2621904">Running rpcclient with adddriver</a></dt><dt>error messages, <a class="indexterm" href="diagnosis.html#id2675781">Assumptions</a></dt><dt>errors that can afflict, <a class="indexterm" href="ClientConfig.html#id2571409">Common Errors</a></dt><dt>ESC/P, <a class="indexterm" href="CUPS-printing.html#id2633365">Driver Execution on the Server</a></dt><dt>ESP, <a class="indexterm" href="CUPS-printing.html#id2628553">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dd><dl><dt>Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2628949">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2632232">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>meta packager, <a class="indexterm" href="CUPS-printing.html#id2634563">CUPS “PostScript Driver for Windows NT/200x/XP”</a></dt><dt>Print Pro, <a class="indexterm" href="CUPS-printing.html#id2632997">Sources of CUPS Drivers/PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2634946">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></dt></dl></dd><dt>ESP Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2628949">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#id2654270">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2678144">Tcpdump</a>, <a class="indexterm" href="problems.html#id2678194">Ethereal</a>, <a class="indexterm" href="problems.html#id2678338">The Windows Network Monitor</a></dt><dt>Ethernet adapters, <a class="indexterm" href="securing-samba.html#id2611530">Using Interface Protection</a></dt><dt>EUC-JP, <a class="indexterm" href="unicode.html#id2663193">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>eucJP-ms locale, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>Event Viewer, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650630">Remote Server Administration</a></dt><dt>Everyone - Full Control, <a class="indexterm" href="AccessControls.html#id2605984">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#id2644801">shadow_copy</a></dt><dt>examples, <a class="indexterm" href="install.html#id2545469">Example Configuration</a></dt><dt>examples/LDAP, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a></dt><dt>execute, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a></dt><dt>existing LDAP DIT, <a class="indexterm" href="passdb.html#id2582411">Caution Regarding LDAP and Samba</a></dt><dt>expands control abilities, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a></dt><dt>expired password, <a class="indexterm" href="passdb.html#id2584581">Changing User Accounts</a></dt><dt>explicit trust, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></dt><dt>explicitly set, <a class="indexterm" href="classicalprinting.html#id2616085">Rapid Configuration Validation</a></dt><dt>exploit opportunities, <a class="indexterm" href="PolicyMgmt.html#id2651772">Features and Benefits</a></dt><dt>exploitation, <a class="indexterm" href="securing-samba.html#id2611530">Using Interface Protection</a></dt><dt>exported file system, <a class="indexterm" href="SambaHA.html#id2665992">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#id2644027">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#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>Extended BSD Printing, <a class="indexterm" href="classicalprinting.html#id2616484">Extended Printing Configuration</a></dt><dt>extended characters, <a class="indexterm" href="unicode.html#id2662892">What Are Charsets and Unicode?</a></dt><dt>extended protocol, <a class="indexterm" href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a></dt><dt>extended SAM, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a></dt><dt>extra machine, <a class="indexterm" href="cfgsmarts.html#id2668301">Multiple Virtual Server Hosting</a></dt></dl></div><div class="indexdiv"><h3>F</h3><dl><dt>fail, <a class="indexterm" href="SambaHA.html#id2664995">Features and Benefits</a></dt><dt>failed join, <a class="indexterm" href="idmapper.html#id2598938">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2599635">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#id2666073">High-Availability Server Products</a></dt><dt>failover process, <a class="indexterm" href="SambaHA.html#id2666073">High-Availability Server Products</a></dt><dt>failover servers, <a class="indexterm" href="SambaHA.html#id2665992">A Simple Solution</a></dt><dt>fails, <a class="indexterm" href="domain-member.html#id2566853">Adding Machine to Domain Fails</a></dt><dt>failure, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a></dt><dt>failure semantics, <a class="indexterm" href="SambaHA.html#id2665935">Required Modifications to Samba</a></dt><dt>fake-permissions module, <a class="indexterm" href="ProfileMgmt.html#id2656092">Mandatory Profiles</a></dt><dt>fake_permissions, <a class="indexterm" href="samba-pdc.html#id2556604">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#id2656092">Mandatory Profiles</a></dt><dt>fdisk, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>Federated Identity Management (see FIM)</dt><dt>federated organizations, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>federated-identity, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>Fiber Channel, <a class="indexterm" href="SambaHA.html#id2666073">High-Availability Server Products</a></dt><dt>fickle, <a class="indexterm" href="NetworkBrowsing.html#id2572592">Features and Benefits</a></dt><dt>fid, <a class="indexterm" href="SambaHA.html#id2665492">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#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>file ownership, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a></dt><dt>file serving, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a></dt><dt>File System, <a class="indexterm" href="AccessControls.html#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dd><dl><dt>case sensitivity, <a class="indexterm" href="AccessControls.html#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>feature comparison, <a class="indexterm" href="AccessControls.html#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>UNIX, <a class="indexterm" href="AccessControls.html#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></dt></dl></dd><dt>file system capabilities, <a class="indexterm" href="AccessControls.html#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>FILE:, <a class="indexterm" href="classicalprinting.html#id2624864">Samba and Printer Ports</a></dt><dt>filemanager, <a class="indexterm" href="NetworkBrowsing.html#id2578138">Problem Resolution</a></dt><dt>filename mangling, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>filter, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>Filter Oplock, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>FilterLimit, <a class="indexterm" href="CUPS-printing.html#id2631493">mime.convs</a></dt><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>FIM, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>firewall, <a class="indexterm" href="securing-samba.html#id2611056">Introduction</a>, <a class="indexterm" href="securing-samba.html#id2611530">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2676074">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#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a></dt><dt>fixed IP addresses, <a class="indexterm" href="ClientConfig.html#id2568666">TCP/IP Configuration</a></dt><dt>flush local locks, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>flush name cache, <a class="indexterm" href="NetworkBrowsing.html#id2579429">Flushing the Samba NetBIOS Name Cache</a></dt><dt>foomatic, <a class="indexterm" href="CUPS-printing.html#id2628790">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2628949">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2632232">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2639112">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">Foomatic's Strange Name</a></dt><dt>Foomatic database, <a class="indexterm" href="CUPS-printing.html#id2639812">Foomatic Database-Generated PPDs</a></dt><dt>Foomatic Printer, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a></dt><dt>Foomatic tutorial, <a class="indexterm" href="CUPS-printing.html#id2639496">The Grand Unification Achieved</a></dt><dt>foomatic-rip, <a class="indexterm" href="CUPS-printing.html#id2628949">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2632232">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2638937">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2639112">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2639496">The Grand Unification Achieved</a></dt><dt>Foomatic/cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2632232">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#id2575942">Making Samba the Domain Master</a></dt><dt>forced synchronization, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a></dt><dt>foreign domain, <a class="indexterm" href="passdb.html#id2581588">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>foreign SID, <a class="indexterm" href="winbind.html#id2646726">Handling of Foreign SIDs</a></dt><dt>foreign user, <a class="indexterm" href="winbind.html#id2646726">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#id2684091">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#id2685467">Free Support</a></dt><dt>FreeBSD, <a class="indexterm" href="samba-pdc.html#id2558287">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>freezing, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>French, <a class="indexterm" href="SWAT.html#id2674996">Enabling SWAT Internationalization Support</a></dt><dt>front-end virtual server, <a class="indexterm" href="SambaHA.html#id2665398">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665492">Demultiplexing SMB Requests</a></dt><dt>frustrating experience, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a></dt><dt>FTP, <a class="indexterm" href="passdb.html#id2581524">Advantages of Non-Encrypted Passwords</a></dt><dt>ftp, <a class="indexterm" href="Backup.html#id2664681">Rsync</a>, <a class="indexterm" href="compiling.html#id2680767">Accessing the Samba Sources via rsync and ftp</a></dt><dt>ftp access, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp service, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp services, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftpd, <a class="indexterm" href="pam.html#id2658906">Anatomy of /etc/pam.d Entries</a></dt><dt>full rights, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>functional components, <a class="indexterm" href="bugreport.html#id2679333">Debugging-Specific Operations</a></dt><dt>functionality, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt></dl></div><div class="indexdiv"><h3>G</h3><dl><dt>gateway address, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a></dt><dt>gcc, <a class="indexterm" href="problems.html#id2677889">Debugging with Samba Itself</a>, <a class="indexterm" href="Portability.html#id2682092">HPUX</a></dt><dt>gdb, <a class="indexterm" href="problems.html#id2677889">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2679534">Internal Errors</a>, <a class="indexterm" href="bugreport.html#id2679668">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#id2628016">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2633231">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2633365">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#id2629184">MIME Types and CUPS Filters</a></dt><dt>generic raster, <a class="indexterm" href="CUPS-printing.html#id2630332">pstoraster</a></dt><dt>generic raster format, <a class="indexterm" href="CUPS-printing.html#id2628949">The CUPS Filtering Architecture</a></dt><dt>genlogon.pl, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651362">Network Logon Script Magic</a></dt><dt>Gentoo, <a class="indexterm" href="speed.html#id2684091">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>Germany, <a class="indexterm" href="SambaHA.html#id2665115">Technical Discussion</a></dt><dt>get, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>getdriver, <a class="indexterm" href="classicalprinting.html#id2620993">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2621549">Installing Driver Files into [print$]</a></dt><dt>getdriverdir, <a class="indexterm" href="CUPS-printing.html#id2636695">A Check of the rpcclient man Page</a></dt><dt>getent, <a class="indexterm" href="NetCommand.html#id2592620">Adding or Creating a New Group</a>, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2648862">Starting and Testing the winbindd Daemon</a></dt><dt>getent group demo, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>gethostbyname() function call, <a class="indexterm" href="NetworkBrowsing.html#id2577651">Name Resolution Order</a></dt><dt>getpwnam, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>getpwnam() call, <a class="indexterm" href="upgrading-to-3.0.html#id2671022">Changes in Behavior</a></dt><dt>GetSID.exe, <a class="indexterm" href="ProfileMgmt.html#id2656027">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#id2628553">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#id2628949">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2631949">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dd><dl><dt>ESP (see ESP4 GhostScript)</dt></dl></dd><dt>GID, <a class="indexterm" href="samba-bdc.html#id25612 24">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2566532">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2572149">Passdb Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2572209">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#id2588907">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646726">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2648862">Starting and Testing the winbindd Daemon</a></dt><dt>GID numbers, <a class="indexterm" href="idmapper.html#id2597584">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#id2629184">MIME Types and CUPS Filters</a></dt><dt>global print command, <a class="indexterm" href="classicalprinting.html#id2618984">Custom Print Commands</a></dt><dt>global right, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>global section, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>Global support, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>global-level, <a class="indexterm" href="classicalprinting.html#id2615504">Printing-Related Configuration Parameters</a></dt><dt>GNOME, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>GNU Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2628949">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2630332">pstoraster</a></dt><dt>GNU GPL, <a class="indexterm" href="Backup.html#id2664509">BackupPC</a></dt><dt>GNU tar, <a class="indexterm" href="Backup.html#id2664850">Amanda</a></dt><dt>GNU/Linux, <a class="indexterm" href="VFS.html#id2643368">Discussion</a></dt><dt>GPG, <a class="indexterm" href="compiling.html#id2680842">Verifying Samba's PGP Signature</a></dt><dt>GPL, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>gpolmig.exe, <a class="indexterm" href="PolicyMgmt.html#id2652629">Administration of Windows 200x/XP Policies</a></dt><dt>GPOs, <a class="indexterm" href="PolicyMgmt.html#id2651772">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2652426">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652629">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652874">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653301">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2657055">MS Windows 200x/XP</a></dt><dt>grace time, <a class="indexterm" href="passdb.html#id2584581">Changing User Accounts</a></dt><dt>grant rights, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>graphical objects, <a class="indexterm" href="CUPS-printing.html#id2628194">UNIX Printfile Conversion and GUI Basics</a></dt><dt>graphically illustrated client configuration, <a class="indexterm" href="ClientConfig.html#id2568562">Features and Benefits</a></dt><dt>grayscale, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a></dt><dt>greater scalability, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a></dt><dt>greatest mistake, <a class="indexterm" href="StandAloneServer.html#id2568495">Common Errors</a></dt><dt>grep, <a class="indexterm" href="winbind.html#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>group, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a></dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a></dt><dt>mapping, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a></dt></dl></dd><dt>group account, <a class="indexterm" href="groupmapping.html#id2590298">Important Administrative Information</a>, <a class="indexterm" href="idmapper.html#id2598779">Backup Domain Controller</a></dt><dt>group accounts, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2582411">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="groupmapping.html#id2588907">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2589658">Warning: User Private Group Problems</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>group management, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592419">UNIX and Windows Group Management</a></dt><dt>group mapping, <a class="indexterm" href="ChangeNotes.html#id2571717">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#id2572209">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2588907">Features and Benefits</a></dt><dt>group membership, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>group ownership, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a></dt><dt>group permissions, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a>, <a class="indexterm" href="NT4Migration.html#id2672685">Server Share and Directory Layout</a></dt><dt>Group Policies, <a class="indexterm" href="PolicyMgmt.html#id2651772">Features and Benefits</a></dt><dt>group policies, <a class="indexterm" href="PolicyMgmt.html#id2651772">Features and Benefits</a></dt><dt>group policy, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a></dt><dt>Group Policy, <a class="indexterm" href="PolicyMgmt.html#id2652067">Windows 9x/ME Policies</a></dt><dt>Group Policy Container (see GPC)</dt><dt>Group Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2652067">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653196">Windows NT4/200x</a>, <a class="indexterm" href="NT4Migration.html#id2673574">Samba-3 Implementation Choices</a></dt><dt>Group Policy Objects, <a class="indexterm" href="NT4Migration.html#id2672074">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#id2589322">Discussion</a></dt><dt>group profiles, <a class="indexterm" href="ProfileMgmt.html#id2656232">Creating and Managing Group Profiles</a></dt><dt>group SID, <a class="indexterm" href="NetCommand.html#id2595316">Managing Security Identifiers (SIDS)</a></dt><dt>groupadd, <a class="indexterm" href="groupmapping.html#id2588907">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2591250">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="groupmapping.html#id2591562">Adding Groups Fails</a></dt><dt>groupadd limitations, <a class="indexterm" href="groupmapping.html#id2591250">Sample smb.conf Add Group Script</a></dt><dt>groupdel, <a class="indexterm" href="groupmapping.html#id2588907">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#id2588907">Features and Benefits</a></dt><dt>grouppol.inf, <a class="indexterm" href="PolicyMgmt.html#id2652067">Windows 9x/ME Policies</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2592419">UNIX and Windows Group Management</a>, <a class="indexterm" href="PolicyMgmt.html#id2651772">Features and Benefits</a></dt><dd><dl><dt>domain, <a class="indexterm" href="groupmapping.html#id2589322">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#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt></dl></dd><dt>groups of users, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></dt><dt>growing, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>GSSAPI, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>gtklp, <a class="indexterm" href="CUPS-printing.html#id2639812">Foomatic Database-Generated PPDs</a></dt><dt>guest, <a class="indexterm" href="samba-pdc.html#id2556604">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#id2578138">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2618984">Custom Print Commands</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>GUI, <a class="indexterm" href="CUPS-printing.html#id2626011">Overview</a></dt><dt>Gutenprint, <a class="indexterm" href="CUPS-printing.html#id2630686">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2639624">Driver Development Outside</a></dt></dl></div><div class="indexdiv"><h3>H</h3><dl><dt>h-node, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>harvesting password hashes, <a class="indexterm" href="passdb.html#id2587612">Security and sambaSamAccount</a></dt><dt>hashed password equivalent, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>headers files, <a class="indexterm" href="domain-member.html#id2566167">Possible Errors</a></dt><dt>Heimdal, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>Heimdal kerberos, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2600226">IDMAP Storage in LDAP Using Winbind</a></dt><dt>help, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>help command, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>heterogeneous computing, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a></dt><dt>HEX, <a class="indexterm" href="unicode.html#id2663193">Japanese Charsets</a></dt><dt>hi-res photo, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a></dt><dt>high availability, <a class="indexterm" href="SambaHA.html#id2664995">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#id2608934">Opportunistic Locking Overview</a></dt><dt>high-availability services, <a class="indexterm" href="SambaHA.html#id2666073">High-Availability Server Products</a></dt><dt>high-speed server interconnect, <a class="indexterm" href="SambaHA.html#id2665992">A Simple Solution</a></dt><dt>higher availability, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>HKEY_CURRENT_USER, <a class="indexterm" href="ProfileMgmt.html#id2656493">MS Windows NT4 Workstation</a></dt><dt>HKEY_LOCAL_MACHINE, <a class="indexterm" href="PolicyMgmt.html#id2652386">Registry Spoiling</a></dt><dt>holy grail, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a></dt><dt>home directories, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a>, <a class="indexterm" href="winbind.html#id2648862">Starting and Testing the winbindd Daemon</a></dt><dt>home directory, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a></dt><dt>home directory template, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>home drive, <a class="indexterm" href="samba-bdc.html#id2559776">Example PDC Configuration</a></dt><dt>host multiple servers, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>host security, <a class="indexterm" href="securing-samba.html#id2611155">Features and Benefits</a></dt><dt>host-based protection, <a class="indexterm" href="securing-samba.html#id2611155">Features and Benefits</a></dt><dt>hostname, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a></dt><dt>hosts allow, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>hosts deny, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>house-keeping, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>HOWTO documents, <a class="indexterm" href="passdb.html#id2582411">Caution Regarding LDAP and Samba</a></dt><dt>HP JetDirect, <a class="indexterm" href="CUPS-printing.html#id2632569">Examples for Filtering Chains</a></dt><dt>HP Photosmart, <a class="indexterm" href="CUPS-printing.html#id2639812">Foomatic Database-Generated PPDs</a></dt><dt>HP-GL, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>HP-GL., <a class="indexterm" href="CUPS-printing.html#id2629977">Prefilters</a></dt><dt>hpgltops, <a class="indexterm" href="CUPS-printing.html#id2629612">MIME Type Conversion Rules</a></dt><dt>HPIJS, <a class="indexterm" href="CUPS-printing.html#id2639624">Driver Development Outside</a></dt><dt>HPUX, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>http, <a class="indexterm" href="Backup.html#id2664681">Rsync</a></dt><dt>hybrid, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>Hybrid node, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt></dl></div><div class="indexdiv"><h3>I</h3><dl><dt>IANA, <a class="indexterm" href="CUPS-printing.html#id2630332">pstoraster</a></dt><dt>ID mapping, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>ID mapping database, <a class="indexterm" href="winbind.html#id2647424">User and Group ID Allocation</a></dt><dt>ID range, <a class="indexterm" href="groupmapping.html#id2588907">Features and Benefits</a></dt><dt>IDEALX, <a class="indexterm" href="passdb.html#id2586079">ldapsam</a></dt><dt>Identification, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>identify, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a></dt><dt>identity, <a class="indexterm" href="idmapper.html#id2597522">Standalone Samba Server</a></dt><dt>identity information, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>identity management, <a class="indexterm" href="samba-pdc.html#id2554970">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#id2554970">Single Sign-On and Domain Security</a></dt></dl></dd><dt>identity resolution, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a></dt><dt>IDMAP, <a class="indexterm" href="ChangeNotes.html#id2572209">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2588907">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597522">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a></dt><dt>idmap, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>idmap backend, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671872">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#id2581588">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a></dt><dt>idmap GID, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">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#id2581588">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2588907">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a></dt><dt>idmap UID, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">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#id2671313">New Schema</a></dt><dt>idmap_rid, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a></dt><dt>IETF, <a class="indexterm" href="CUPS-printing.html#id2626011">Overview</a></dt><dt>ifconfig, <a class="indexterm" href="compiling.html#id2681487">Starting from inetd.conf</a>, <a class="indexterm" href="speed.html#id2684091">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>ignore connection, <a class="indexterm" href="securing-samba.html#id2611530">Using Interface Protection</a></dt><dt>imagetoraster, <a class="indexterm" href="CUPS-printing.html#id2630602">imagetops and imagetoraster</a></dt><dt>immutible, <a class="indexterm" href="AccessControls.html#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>impersonate, <a class="indexterm" href="passdb.html#id2587612">Security and sambaSamAccount</a></dt><dt>implementing oplocks, <a class="indexterm" href="locking.html#id2609773">Advanced Samba Oplocks Parameters</a></dt><dt>Implicit Classes, <a class="indexterm" href="CUPS-printing.html#id2643020">Print Queue Called “lp” Mishandles Print Jobs</a></dt><dt>important announcements, <a class="indexterm" href="securing-samba.html#id2612080">Upgrading Samba</a></dt><dt>Imprints, <a class="indexterm" href="classicalprinting.html#id2625011">The Imprints Toolset</a></dt><dt>imprints, <a class="indexterm" href="CUPS-printing.html#id2627703">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#id2567310">Background</a>, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></dt><dt>individual domain user, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>individual section, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>inetd, <a class="indexterm" href="SWAT.html#id2674206">Validate SWAT Installation</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a>, <a class="indexterm" href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a>, <a class="indexterm" href="compiling.html#id2681487">Starting from inetd.conf</a></dt><dt>inetd.conf, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>inetorgperson.schema, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a></dt><dt>inf file, <a class="indexterm" href="classicalprinting.html#id2620993">Identifying Driver Files</a></dt><dt>infrastructure, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a>, <a class="indexterm" href="winbind.html#id2646681">Target Uses</a></dt><dt>inheritance, <a class="indexterm" href="AccessControls.html#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>inherits rights, <a class="indexterm" href="groupmapping.html#id2589322">Discussion</a></dt><dt>initdb.ldif, <a class="indexterm" href="FastStart.html#id2550528">The Primary Domain Controller</a></dt><dt>initGroups.sh, <a class="indexterm" href="FastStart.html#id2549629">Example: Engineering Office</a>, <a class="indexterm" href="groupmapping.html#id2591422">Script to Configure Group Mapping</a>, <a class="indexterm" href="NT4Migration.html#id2673019">Steps in Migration Process</a></dt><dt>inktype, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a></dt><dt>insecure, <a class="indexterm" href="StandAloneServer.html#id2567216">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2611317">Using Host-Based Protection</a></dt><dt>inspire simplicity, <a class="indexterm" href="StandAloneServer.html#id2567511">Example Configuration</a></dt><dt>inspired structure, <a class="indexterm" href="SambaHA.html#id2665115">Technical Discussion</a></dt><dt>install drivers, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2619653">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>interactive help, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>interdomain</dt><dd><dl><dt>trust</dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a></dt></dl></dd><dt>trustrs, <a class="indexterm" href="ServerType.html#id2551742">Features and Benefits</a></dt></dl></dd><dt>interdomain connection, <a class="indexterm" href="InterdomainTrusts.html#id2613845">Samba as the Trusting Domain</a></dt><dt>interdomain trust, <a class="indexterm" href="InterdomainTrusts.html#id2613505">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2614041">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#id2582411">Caution Regarding LDAP and Samba</a></dt><dt>interdomain trusts, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612728">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#id2613211">Completing an NT4 Domain Trust</a></dt><dt>creating, <a class="indexterm" href="InterdomainTrusts.html#id2613078">Native MS Windows NT4 Trusts Configuration</a></dt><dt>Facilities, <a class="indexterm" href="InterdomainTrusts.html#id2613296">Interdomain Trust Facilities</a></dt></dl></dd><dt>interface, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a></dt><dt>interface scripts, <a class="indexterm" href="passdb.html#id2584058">User Account Management</a></dt><dt>interface-based exclusion, <a class="indexterm" href="securing-samba.html#id2611155">Features and Benefits</a></dt><dt>interfaces, <a class="indexterm" href="securing-samba.html#id2611530">Using Interface Protection</a>, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></dt><dt>intermediate information, <a class="indexterm" href="passdb.html#id2582411">Caution Regarding LDAP and Samba</a></dt><dt>intermediate tools, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>internal ordering, <a class="indexterm" href="SWAT.html#id2674063">Features and Benefits</a></dt><dt>internationalization support, <a class="indexterm" href="SWAT.html#id2674187">Guidelines and Technical Tips</a></dt><dt>Internet, <a class="indexterm" href="securing-samba.html#id2611317">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2611530">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#id2569931">MS Windows Me</a></dt><dt>Internetworking Packet Exchange (see IPX)</dt><dt>internetworking super daemon, <a class="indexterm" href="SWAT.html#id2674063">Features and Benefits</a></dt><dt>interoperability, <a class="indexterm" href="ServerType.html#id2551742">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554970">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#id2646095">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2665725">Restrictive Constraints on Distributed File Systems</a></dt><dt>intolerance, <a class="indexterm" href="SambaHA.html#id2664995">Features and Benefits</a></dt><dt>invalid shell, <a class="indexterm" href="ServerType.html#id2552853">Example Configuration</a></dt><dt>invalid users, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>IP address, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>IP address automatically, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a></dt><dt>IP addresses, <a class="indexterm" href="integrate-ms-networks.html#id2661262">/etc/hosts</a></dt><dt>IP aliases, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a></dt><dt>IPC$, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578138">Problem Resolution</a>, <a class="indexterm" href="securing-samba.html#id2611881">Using IPC$ Share-Based Denials </a></dt><dt>IPC$ connections, <a class="indexterm" href="SambaHA.html#id2665398">The Front-End Challenge</a></dt><dt>ipchains, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>ipconfig, <a class="indexterm" href="NetworkBrowsing.html#id2573848">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#id2635858">Understanding cupsaddsmb</a></dt><dt>IPP client, <a class="indexterm" href="CUPS-printing.html#id2642420">Administrator Cannot Install Printers for All Local Users</a></dt><dt>iptables, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>IPX, <a class="indexterm" href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a></dt><dt>IRC, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>IRIX, <a class="indexterm" href="VFS.html#id2643368">Discussion</a>, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>ISC</dt><dd><dl><dt>DHCP, <a class="indexterm" href="DNSDHCP.html#id2685838">Features and Benefits</a></dt><dt>DNS, <a class="indexterm" href="DNSDHCP.html#id2685838">Features and Benefits</a></dt></dl></dd><dt>ISC DHCP server, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569931">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#id2661060">Background Information</a></dt></dl></div><div class="indexdiv"><h3>J</h3><dl><dt>Japanese, <a class="indexterm" href="unicode.html#id2663193">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2674996">Enabling SWAT Internationalization Support</a></dt><dt>Japanese locale, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>Japanese UNIX, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>Java, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651176">Remote Management with ThinLinc</a>, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>JIS X 0208, <a class="indexterm" href="unicode.html#id2663193">Japanese Charsets</a></dt><dt>join, <a class="indexterm" href="idmapper.html#id2598938">NT4-Style Domains (Includes Samba Domains)</a></dt><dt>join client, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>join domain, <a class="indexterm" href="samba-pdc.html#id2558388">Joining Domain Fails Because of Existing Machine Account</a></dt><dt>join the ADS domain, <a class="indexterm" href="domain-member.html#id2564157">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#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>join the machine, <a class="indexterm" href="domain-member.html#id2563866">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#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>joining domain, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a></dt><dt>joining the domain, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>JPEG, <a class="indexterm" href="CUPS-printing.html#id2629184">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#id2610881">Additional Reading</a></dt><dt>KB 224992, <a class="indexterm" href="locking.html#id2610881">Additional Reading</a></dt><dt>KB 296264, <a class="indexterm" href="locking.html#id2610881">Additional Reading</a></dt><dt>KB 811492, <a class="indexterm" href="locking.html#id2610850">Long Delays Deleting Files over Network with XP SP1</a></dt><dt>KB 812937, <a class="indexterm" href="locking.html#id2610825">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#id2565365">Configure /etc/krb5.conf</a></dt><dt>KDE, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>KDE konqueror, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>KDE session, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>KDEPrint, <a class="indexterm" href="CUPS-printing.html#id2626011">Overview</a></dt><dt>kerberos, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2599225">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#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566167">Possible Errors</a>, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2646989">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671119">Passdb Backends and Authentication</a></dt><dd><dl><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2565365">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#id2681487">Starting from inetd.conf</a></dt><dt>kinit, <a class="indexterm" href="domain-member.html#id2565365">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#id2566167">Possible Errors</a></dt><dt>kixstart, <a class="indexterm" href="NT4Migration.html#id2672860">Logon Scripts</a></dt><dt>kprinter, <a class="indexterm" href="CUPS-printing.html#id2639812">Foomatic Database-Generated PPDs</a></dt><dt>KRB, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a></dt><dt>KRB5, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a></dt><dt>krb5.conf, <a class="indexterm" href="domain-member.html#id2565365">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#id2651176">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2666073">High-Availability Server Products</a>, <a class="indexterm" href="problems.html#id2677837">Diagnostics Tools</a></dt><dt>LanMan, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559283">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#id2556095">Preparing for Domain Control</a></dt><dt>LanMan passwords, <a class="indexterm" href="passdb.html#id2580317">Backward Compatibility Account Storage Systems</a></dt><dt>LanManager, <a class="indexterm" href="ServerType.html#id2552243">User Level Security</a>, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>LanManager-compatible, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a></dt><dt>LanManger password, <a class="indexterm" href="passdb.html#id2584175">Listing User and Machine Accounts</a></dt><dt>laptops, <a class="indexterm" href="Backup.html#id2664509">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#id2599635">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#id2612800">Trust Relationship Background</a></dt><dt>last change time, <a class="indexterm" href="passdb.html#id2584175">Listing User and Machine Accounts</a></dt><dt>latency, <a class="indexterm" href="locking.html#id2609540">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#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561834">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="samba-bdc.html#id2561939">Can I Do This All with LDAP?</a>, <a class="indexterm" href="domain-member.html#id2562183">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#id2566532">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#id2580501">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2581069">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#id2582137">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2582411">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2586079">ldapsam</a>, <a class="indexterm" href="passdb.html#id2586326">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586889">Initialize the LDAP Database</a>, <a class="indexterm" href="passdb.html#id2587074">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598779">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612728">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612800">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#id2646989">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671119">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dd><dl><dt>directories, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>master, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a></dt><dt>server, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a></dt><dt>slave, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a></dt></dl></dd><dt>LDAP administration password, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a></dt><dt>LDAP administrative password, <a class="indexterm" href="domain-member.html#id2566532">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>LDAP backend, <a class="indexterm" href="StandAloneServer.html#id2567310">Background</a>, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669274">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#id2561224">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2586889">Initialize the LDAP Database</a>, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>LDAP deployment, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>LDAP directory, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2586079">ldapsam</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>ldap group suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671706">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#id2566532">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671706">New Suffix for Searching</a></dt><dt>ldap machine suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2671706">New Suffix for Searching</a></dt><dt>LDAP queries, <a class="indexterm" href="upgrading-to-3.0.html#id2671706">New Suffix for Searching</a></dt><dt>LDAP redirects, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>LDAP schema, <a class="indexterm" href="ChangeNotes.html#id2572329">LDAP Changes in Samba-3.0.23</a></dt><dt>LDAP server, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>ldap suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671706">New Suffix for Searching</a></dt><dt>ldap user suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2671706">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#id2582549">LDAP Directories and Windows Computer Accounts</a></dt><dt>LDAP/Kerberos, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>LDAPS, <a class="indexterm" href="passdb.html#id2587612">Security and sambaSamAccount</a></dt><dt>ldapsam, <a class="indexterm" href="samba-pdc.html#id2556604">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#id2585655">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2586079">ldapsam</a>, <a class="indexterm" href="passdb.html#id2586326">Supported LDAP Servers</a>, <a class="indexterm" href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2580317">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>ldapsearch, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>LDAPv3, <a class="indexterm" href="passdb.html#id2587612">Security and sambaSamAccount</a></dt><dt>ldconfig, <a class="indexterm" href="winbind.html#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ldd, <a class="indexterm" href="CUPS-printing.html#id2626245">Linking smbd with libcups.so</a></dt><dt>LDIF, <a class="indexterm" href="passdb.html#id2586889">Initialize the LDAP Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>LDIF file, <a class="indexterm" href="passdb.html#id2586889">Initialize the LDAP Database</a></dt><dt>legacy systems, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>legal UNIX system account name, <a class="indexterm" href="domain-member.html#id2566853">Adding Machine to Domain Fails</a></dt><dt>Level1 Oplock, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>Level1 oplock, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>Level2 Oplock, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>LGPL, <a class="indexterm" href="passdb.html#id2586079">ldapsam</a></dt><dt>libcups, <a class="indexterm" href="classicalprinting.html#id2618441">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2626245">Linking smbd with libcups.so</a></dt><dt>libcups.so, <a class="indexterm" href="CUPS-printing.html#id2626245">Linking smbd with libcups.so</a></dt><dt>libcups.so.2, <a class="indexterm" href="CUPS-printing.html#id2626245">Linking smbd with libcups.so</a></dt><dt>Liberty Alliance, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>libiconv, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>libnss_winbind, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>libnss_winbind.so, <a class="indexterm" href="winbind.html#id2647036">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2647916">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#id2661538">/etc/nsswitch.conf</a></dt><dt>libraries, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a></dt><dt>licensing, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>limitations, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></dt><dt>linewidth, <a class="indexterm" href="CUPS-printing.html#id2628194">UNIX Printfile Conversion and GUI Basics</a></dt><dt>link loader configuration, <a class="indexterm" href="winbind.html#id2647916">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#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>soft, <a class="indexterm" href="AccessControls.html#id2603787">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#id2651176">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>Linux High Availability project, <a class="indexterm" href="SambaHA.html#id2666073">High-Availability Server Products</a></dt><dt>Linux LVM, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>Linux LVM partition, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>LinuxKongress2002, <a class="indexterm" href="CUPS-printing.html#id2639496">The Grand Unification Achieved</a></dt><dt>Linuxprinting.org, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2638937">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2639624">Driver Development Outside</a></dt><dt>list of domain controllers, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>listen for connections, <a class="indexterm" href="securing-samba.html#id2611530">Using Interface Protection</a></dt><dt>listen own socket, <a class="indexterm" href="cfgsmarts.html#id2666890">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#id2585655">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2587612">Security and sambaSamAccount</a></dt><dt>LMB, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575341">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#id2575942">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576529">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577941">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a> (see Local Master Browser)</dt><dt>LMHOSTS, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662183">The LMHOSTS File</a></dt><dt>lmhosts, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a></dt><dt>load balancing, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>loaded modules, <a class="indexterm" href="VFS.html#id2643329">Features and Benefits</a></dt><dt>loading printer drivers, <a class="indexterm" href="classicalprinting.html#id2618070">Any [my_printer_name] Section</a></dt><dt>local</dt><dd><dl><dt>groups, <a class="indexterm" href="NetCommand.html#id2592419">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a></dt></dl></dd></dl></dd><dt>local access permissions, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>local accounts, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>local administrative privileges, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Local Area Connection, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a></dt><dt>Local Area Connection Properties, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a></dt><dt>local authentication, <a class="indexterm" href="StandAloneServer.html#id2567310">Background</a></dt><dt>local authentication database, <a class="indexterm" href="StandAloneServer.html#id2567310">Background</a></dt><dt>local cache, <a class="indexterm" href="integrate-ms-networks.html#id2662096">The NetBIOS Name Cache</a></dt><dt>local disk, <a class="indexterm" href="Backup.html#id2664509">BackupPC</a></dt><dt>local domain, <a class="indexterm" href="winbind.html#id2646726">Handling of Foreign SIDs</a></dt><dt>local group, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>local groups, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2647036">Name Service Switch</a></dt><dt>Local Machine Trust Account, <a class="indexterm" href="samba-bdc.html#id2561724">Machine Accounts Keep Expiring</a></dt><dt>Local Master Browser, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575341">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576389">Use of the Remote Announce Parameter</a></dt><dt>local master browser (see LMB)</dt><dt>local names, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>local print driver, <a class="indexterm" href="classicalprinting.html#id2620161">[print$] Stanza Parameters</a></dt><dt>local profile, <a class="indexterm" href="ProfileMgmt.html#id2654044">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>local profiles, <a class="indexterm" href="ProfileMgmt.html#id2653555">Features and Benefits</a></dt><dt>local registry values, <a class="indexterm" href="PolicyMgmt.html#id2652426">MS Windows 200x/XP Professional Policies</a></dt><dt>Local security policies, <a class="indexterm" href="CUPS-printing.html#id2642387">Windows 200x/XP Local Security Policies</a></dt><dt>local smbpasswd file, <a class="indexterm" href="StandAloneServer.html#id2567310">Background</a></dt><dt>local spool area, <a class="indexterm" href="classicalprinting.html#id2615294">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#id2615294">Technical Introduction</a></dt><dt>local UNIX groups, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a></dt><dt>local user, <a class="indexterm" href="idmapper.html#id2597522">Standalone Samba Server</a>, <a class="indexterm" href="winbind.html#id2649573">Restarting</a></dt><dt>local user account, <a class="indexterm" href="passdb.html#id2581588">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>local users, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2647036">Name Service Switch</a></dt><dt>locale, <a class="indexterm" href="SWAT.html#id2674996">Enabling SWAT Internationalization Support</a></dt><dt>localhost, <a class="indexterm" href="securing-samba.html#id2611317">Using Host-Based Protection</a></dt><dt>locally known UID, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a></dt><dt>locate domain controller, <a class="indexterm" href="samba-bdc.html#id2560541">How Does a Workstation find its Domain Controller?</a></dt><dt>Lock caching, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>lock directory, <a class="indexterm" href="cfgsmarts.html#id2666890">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#id2584581">Changing User Accounts</a></dt><dt>locking, <a class="indexterm" href="locking.html">File and Record Locking</a>, <a class="indexterm" href="locking.html#id2608579">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2608676">Discussion</a>, <a class="indexterm" href="SambaHA.html#id2665598">The Distributed File System Challenge</a></dt><dt>locking protocol, <a class="indexterm" href="locking.html#id2608579">Features and Benefits</a></dt><dt>locking semantics, <a class="indexterm" href="locking.html#id2608579">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2608676">Discussion</a></dt><dt>locking.tdb, <a class="indexterm" href="CUPS-printing.html#id2638430">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>lockout, <a class="indexterm" href="ServerType.html#id2553511">Example Configuration</a></dt><dt>log files, <a class="indexterm" href="diagnosis.html#id2675781">Assumptions</a></dt><dd><dl><dt>monitoring, <a class="indexterm" href="diagnosis.html#id2675781">Assumptions</a></dt></dl></dd><dt>log level, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a>, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2677889">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#id2578138">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>logging, <a class="indexterm" href="VFS.html#id2644184">Configuration of Auditing</a>, <a class="indexterm" href="bugreport.html#id2679333">Debugging-Specific Operations</a></dt><dt>logical directories, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>Logical Link Control (see LLC)</dt><dt>logical volume, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>Logical Volume Manager (see LVM)</dt><dt>Login, <a class="indexterm" href="passdb.html#id2581524">Advantages of Non-Encrypted Passwords</a></dt><dt>login, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>login id, <a class="indexterm" href="passdb.html#id2584175">Listing User and Machine Accounts</a></dt><dt>login name, <a class="indexterm" href="install.html#id2545469">Example Configuration</a></dt><dt>login shells, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>LoginID, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>logon, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a></dt><dt>logon authentication, <a class="indexterm" href="samba-bdc.html#id2560664">NetBIOS Over TCP/IP Disabled</a></dt><dt>logon drive, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a></dt><dt>logon home, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2653808">Windows 9x/Me User Profiles</a></dt><dt>logon name, <a class="indexterm" href="NetCommand.html#id2594270">User Mapping</a></dt><dt>logon path, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a></dt><dt>logon processing, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a></dt><dt>logon requests, <a class="indexterm" href="samba-bdc.html#id2559283">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2560598">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="samba-bdc.html#id2561779">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></dt><dt>logon script, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a></dt><dt>Logon Scripts, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>Logon scripts, <a class="indexterm" href="NT4Migration.html#id2672860">Logon Scripts</a></dt><dt>logon server, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2656493">MS Windows NT4 Workstation</a></dt><dt>logons, <a class="indexterm" href="ProfileMgmt.html#id2653670">NT4/200x User Profiles</a></dt><dt>lookups, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a></dt><dt>loopback adapter, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>loopback interface, <a class="indexterm" href="securing-samba.html#id2611530">Using Interface Protection</a>, <a class="indexterm" href="Portability.html#id2682376">Red Hat Linux</a></dt><dt>lower-case, <a class="indexterm" href="ServerType.html#id2552243">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#id2615888">Verifying Configuration with testparm</a>, <a class="indexterm" href="CUPS-printing.html#id2643020">Print Queue Called “lp” Mishandles Print Jobs</a></dt><dt>lpadmin, <a class="indexterm" href="CUPS-printing.html#id2631562">“Raw” Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2633120">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2638937">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2640447">Setting Up Quotas</a></dt><dt>LPD, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>lpinfo, <a class="indexterm" href="CUPS-printing.html#id2630906">CUPS Backends</a></dt><dt>lpq cache time, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>lpq command, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>LPRNG, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>lpstat, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a>, <a class="indexterm" href="CUPS-printing.html#id2638287">Troubleshooting Revisited</a></dt><dt>LPT1:, <a class="indexterm" href="classicalprinting.html#id2624864">Samba and Printer Ports</a></dt><dt>LsaEnumTrustedDomains, <a class="indexterm" href="problems.html#id2677889">Debugging with Samba Itself</a></dt><dt>LTSP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>Lustre, <a class="indexterm" href="SambaHA.html#id2665598">The Distributed File System Challenge</a></dt><dt>lvcreate, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>LVM, <a class="indexterm" href="VFS.html#id2644801">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>LVM snapshots, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>LVM volume, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>lvm10 package, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>M</h3><dl><dt>m-node, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>MAC address, <a class="indexterm" href="integrate-ms-networks.html#id2661262">/etc/hosts</a></dt><dt>MAC Addresses, <a class="indexterm" href="integrate-ms-networks.html#id2661262">/etc/hosts</a></dt><dt>Mac OS X , <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>machine, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>machine account, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2585921">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#id2564157">Joining an NT4-type Domain with Samba-3</a></dt></dl></dd><dt>machine accounts, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2582549">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#id2559353">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#id2661262">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a></dt><dt>Machine Policy Objects, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>machine SID, <a class="indexterm" href="NetCommand.html#id2595316">Managing Security Identifiers (SIDS)</a></dt><dt>machine trust account, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2557614">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#id2563702">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#id2566777">Cannot Add Machine Back to Domain</a></dt><dd><dl><dt>create privilege, <a class="indexterm" href="domain-member.html#id2563702">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#id2556095">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#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563866">Windows NT4 Client</a></dt><dd><dl><dt>creation, <a class="indexterm" href="domain-member.html#id2563586">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>password, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a></dt><dt>UNIX account, <a class="indexterm" href="domain-member.html#id2563586">On-the-Fly Creation of Machine Trust Accounts</a></dt></dl></dd><dt>Machine Trust Accounts, <a class="indexterm" href="samba-bdc.html#id2561724">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#id2561834">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2563306">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="domain-member.html#id2566738">Common Errors</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2582411">Caution Regarding LDAP and Samba</a></dt><dt>machine_name, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a></dt><dt>machine_nickname, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a></dt><dt>Macintosh, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>macros, <a class="indexterm" href="classicalprinting.html#id2618984">Custom Print Commands</a></dt><dt>mail, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>mailing list, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>mailing lists, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>maintaining ids, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>major changes, <a class="indexterm" href="upgrading-to-3.0.html#id2670644">New Functionality</a></dt><dt>make, <a class="indexterm" href="integrate-ms-networks.html#id2661538">/etc/nsswitch.conf</a>, <a class="indexterm" href="compiling.html#id2680980">Building the Binaries</a></dt><dt>man, <a class="indexterm" href="SWAT.html#id2674063">Features and Benefits</a></dt><dt>man page, <a class="indexterm" href="winbind.html#id2648427">Configure smb.conf</a></dt><dt>man pages, <a class="indexterm" href="NetCommand.html#id2592044">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#id2615070">Features and Benefits</a></dt><dt>manage groups, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></dt><dt>manage printers, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></dt><dt>manage privileges, <a class="indexterm" href="rights.html#id2601479">Rights Management Capabilities</a></dt><dt>manage roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2653555">Features and Benefits</a></dt><dt>manage share permissions, <a class="indexterm" href="AccessControls.html#id2606144">Windows NT4 Workstation/Server</a></dt><dt>manage share-level ACL, <a class="indexterm" href="groupmapping.html#id2590417">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>manage shares, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></dt><dt>manage users, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></dt><dt>manageability, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>Manageability, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>managed by humans, <a class="indexterm" href="SambaHA.html#id2664995">Features and Benefits</a></dt><dt>management bottleneck, <a class="indexterm" href="locking.html#id2609587">Multiuser Databases</a></dt><dt>management costs, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>management overheads, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>management procedures, <a class="indexterm" href="samba-pdc.html#id2554970">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#id2601754">Using the “net rpc rights” Utility</a></dt><dt>mandatory profiles, <a class="indexterm" href="ProfileMgmt.html#id2656092">Mandatory Profiles</a></dt><dt>Mandrake, <a class="indexterm" href="CUPS-printing.html#id2639729">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>Mandriva, <a class="indexterm" href="CUPS-printing.html#id2639729">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#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a></dt><dt>manually configured, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a></dt><dt>manually configured DNS settings, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a></dt><dt>map, <a class="indexterm" href="domain-member.html#id2563702">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="NT4Migration.html#id2672970">User and Group Accounts</a></dt><dt>mapped, <a class="indexterm" href="groupmapping.html#id2590298">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping, <a class="indexterm" href="passdb.html#id2581588">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping home directory, <a class="indexterm" href="securing-samba.html#id2612168">Why Can Users Access Other Users' Home Directories?</a></dt><dt>mapping printer driver, <a class="indexterm" href="classicalprinting.html#id2622512">Running rpcclient with setdriver</a></dt><dt>mappings, <a class="indexterm" href="domain-member.html#id2566532">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>maps UNIX users and groups, <a class="indexterm" href="domain-member.html#id2566532">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#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>master server, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>master smb.conf, <a class="indexterm" href="cfgsmarts.html#id2668301">Multiple Virtual Server Hosting</a></dt><dt>MasterAnnouncement, <a class="indexterm" href="NetworkBrowsing.html#id2578560">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#id2684182">Corrupt tdb Files</a></dt><dt>Meccano set, <a class="indexterm" href="Backup.html#id2664412">Discussion of Backup Solutions</a></dt><dt>mechanism, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>media type, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a></dt><dt>member, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>member machine, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>memory, <a class="indexterm" href="passdb.html#id2581384">Advantages of Encrypted Passwords</a></dt><dt>messages.tdb, <a class="indexterm" href="CUPS-printing.html#id2638430">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>messaging systems, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>Meta node, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt><dt>meta-directory, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>meta-service, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a></dt><dt>meta-services, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>Microsoft Active Directory, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>Microsoft Developer Network CDs, <a class="indexterm" href="problems.html#id2678338">The Windows Network Monitor</a></dt><dt>Microsoft driver, <a class="indexterm" href="CUPS-printing.html#id2634075">PostScript Drivers with No Major Problems, Even in Kernel5 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#id25633 06">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>Microsoft Wolfpack, <a class="indexterm" href="SambaHA.html#id2666073">High-Availability Server Products</a></dt><dt>middle-ware, <a class="indexterm" href="passdb.html#id2582137">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#id2672970">User and Group Accounts</a></dt><dt>migrate group, <a class="indexterm" href="NT4Migration.html#id2672970">User and Group Accounts</a></dt><dt>migrate user, <a class="indexterm" href="NT4Migration.html#id2672970">User and Group Accounts</a></dt><dt>migrating, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>migration, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>migration plan, <a class="indexterm" href="NT4Migration.html#id2672040">Planning and Getting Started</a></dt><dt>migration process, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>MIME, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629612">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2629820">Filtering Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2631670">application/octet-stream Printing</a></dt><dd><dl><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>raw, <a class="indexterm" href="FastStart.html#id2547397">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#id2628949">The CUPS Filtering Architecture</a></dt><dt>MIME recognition, <a class="indexterm" href="CUPS-printing.html#id2628949">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#id2628949">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2629977">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2631670">application/octet-stream Printing</a></dt><dt>mime.types, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>minimal</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a></dt></dl></dd><dt>minimal configuration, <a class="indexterm" href="install.html#id2544309">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#id2545728">Test Your Config File with testparm</a></dt><dt>misconfigured settings, <a class="indexterm" href="classicalprinting.html#id2615605">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#id2608934">Opportunistic Locking Overview</a>, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a></dt><dt>MIT, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a></dt><dt>MIT kerberos, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2600226">IDMAP Storage in LDAP Using Winbind</a></dt><dt>MIT Kerberos, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>mixed mode, <a class="indexterm" href="ServerType.html#id2553160">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="InterdomainTrusts.html#id2614041">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>mixed profile, <a class="indexterm" href="ProfileMgmt.html#id2653966">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#id2644988">Shadow Copy Setup</a></dt><dt>mkfs.xfs, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>MMC, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2588907">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a>, <a class="indexterm" href="AccessControls.html#id2605984">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2606249">Windows 200x/XP</a>, <a class="indexterm" href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653196">Windows NT4/200x</a>, <a class="indexterm" href="ProfileMgmt.html#id2654044">Disabling Roaming Profile Support</a></dt><dt>MMC snap-in, <a class="indexterm" href="PolicyMgmt.html#id2652629">Administration of Windows 200x/XP Policies</a></dt><dt>modem/ISDN, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>moderately secure, <a class="indexterm" href="securing-samba.html#id2611155">Features and Benefits</a></dt><dt>modprobe, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>module, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>modules, <a class="indexterm" href="VFS.html#id2643329">Features and Benefits</a>, <a class="indexterm" href="VFS.html#id2643368">Discussion</a></dt><dt>more than one protocol, <a class="indexterm" href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a></dt><dt>mount, <a class="indexterm" href="ServerType.html#id2552418">Share-Level Security</a>, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>mouse-over, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>moveuser.exe, <a class="indexterm" href="ProfileMgmt.html#id2655986">moveuser.exe</a></dt><dt>MS DCE RPC, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a></dt><dt>MS Windows 2000, <a class="indexterm" href="samba-bdc.html#id2560392">Active Directory Domain Control</a></dt><dt>MS Windows NT4/200x, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a></dt><dt>MS Windows SID, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>MS WINS, <a class="indexterm" href="NetworkBrowsing.html#id2572592">Features and Benefits</a></dt><dt>MS-DFS, <a class="indexterm" href="SambaHA.html#id2666213">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#id2573212">NetBIOS over TCP/IP</a></dt><dt>msdfs links, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>msg, <a class="indexterm" href="SWAT.html#id2674996">Enabling SWAT Internationalization Support</a></dt><dt>msg file, <a class="indexterm" href="SWAT.html#id2674996">Enabling SWAT Internationalization Support</a></dt><dt>MSRPC, <a class="indexterm" href="winbind.html#id2646902">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2647036">Name Service Switch</a></dt><dt>multibyte character sets, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>multibyte charsets, <a class="indexterm" href="unicode.html#id2662892">What Are Charsets and Unicode?</a></dt><dt>multiple backends, <a class="indexterm" href="passdb.html#id2585526">Password Backends</a></dt><dt>multiple domains, <a class="indexterm" href="NT4Migration.html#id2672484">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#id2643368">Discussion</a></dt><dt>multiple network interfaces, <a class="indexterm" href="NetworkBrowsing.html#id2576203">Multiple Interfaces</a></dt><dt>multiple network segments, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>multiple personality, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>multiple server hosting, <a class="indexterm" href="cfgsmarts.html#id2666890">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#id2666890">Multiple Server Hosting</a></dt><dt>multiple universal naming convention provider (see MUP)</dt><dt>multiple VFS, <a class="indexterm" href="VFS.html#id2643368">Discussion</a></dt><dt>multiple virtual servers, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>multiple Windows workgroups or domains, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a></dt><dt>multiple WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>Multiuser databases, <a class="indexterm" href="locking.html#id2609587">Multiuser Databases</a></dt><dt>mutual assistance, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>mutually exclusive options, <a class="indexterm" href="NetworkBrowsing.html#id2572776">What Is Browsing?</a></dt><dt>My Network Places, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578138">Problem Resolution</a></dt><dt>Myrinet, <a class="indexterm" href="SambaHA.html#id2665880">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#id2574407">How Browsing Functions</a></dt><dt>n-memory buffer, <a class="indexterm" href="integrate-ms-networks.html#id2662096">The NetBIOS Name Cache</a></dt><dt>name conflict, <a class="indexterm" href="classicalprinting.html#id2618070">Any [my_printer_name] Section</a></dt><dt>name lookup, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662096">The NetBIOS Name Cache</a></dt><dt>name lookups, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a></dt><dt>name registration, <a class="indexterm" href="samba-bdc.html#id2560450">What Qualifies a Domain Controller on the Network?</a></dt><dt>name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2572776">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577854">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579402">Common Errors</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661262">/etc/hosts</a>, <a class="indexterm" href="diagnosis.html#id2675781">Assumptions</a></dt><dt>name resolution across routed networks, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a></dt><dt>name resolve order, <a class="indexterm" href="NetworkBrowsing.html#id2577651">Name Resolution Order</a></dt><dt>name service switch (see NSS)</dt><dt>name-to-address, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a></dt><dt>nameserv.h, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt><dt>name_type, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577651">Name Resolution Order</a></dt><dt>native ACLs, <a class="indexterm" href="AccessControls.html#id2603577">Features and Benefits</a></dt><dt>native dump, <a class="indexterm" href="Backup.html#id2664850">Amanda</a></dt><dt>native member, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a></dt><dt>native mode, <a class="indexterm" href="ServerType.html#id2553160">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="winbind.html#id2646989">Microsoft Active Directory Services</a></dt><dt>NBT, <a class="indexterm" href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a></dt><dt>nbtstat, <a class="indexterm" href="domain-member.html#id2566777">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662096">The NetBIOS Name Cache</a></dt><dt>necessary rights, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>negotiate, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>negotiating the charset, <a class="indexterm" href="unicode.html#id2662892">What Are Charsets and Unicode?</a></dt><dt>nested group, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Nested Group Support, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>nested groups, <a class="indexterm" href="groupmapping.html#id2589715">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#id2592044">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592338">Administrative Tasks and Methods</a>, <a class="indexterm" href="NetCommand.html#id2592419">UNIX and Windows Group Management</a>, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dd><dl><dt>ads, <a class="indexterm" href="NetCommand.html#id2592419">UNIX and Windows Group Management</a></dt><dd><dl><dt>join, <a class="indexterm" href="domain-member.html#id2564157">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#id2594714">Machine Trust Accounts</a>, <a class="indexterm" href="idmapper.html#id2599225">ADS Domains</a></dt><dt>leave, <a class="indexterm" href="NetCommand.html#id2594714">Machine Trust Accounts</a></dt><dt>printer info, <a class="indexterm" href="NetCommand.html#id2596772">Printers and ADS</a></dt><dt>printer publish, <a class="indexterm" href="NetCommand.html#id2596772">Printers and ADS</a></dt><dt>printer remove, <a class="indexterm" href="NetCommand.html#id2596772">Printers and ADS</a></dt><dt>printer search, <a class="indexterm" href="NetCommand.html#id2596772">Printers and ADS</a></dt><dt>status, <a class="indexterm" href="NetCommand.html#id2594714">Machine Trust Accounts</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2594714">Machine Trust Accounts</a></dt></dl></dd><dt>getlocalsid, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2595316">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>groupmap, <a class="indexterm" href="FastStart.html#id2549629">Example: Engineering Office</a>, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2588907">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2591162">Example Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2673019">Steps in Migration Process</a></dt><dd><dl><dt>add, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a></dt><dt>delete, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a></dt><dt>list, <a class="indexterm" href="groupmapping.html#id2591162">Example Configuration</a>, <a class="indexterm" href="NetCommand.html#id2592620">Adding or Creating a New Group</a></dt><dt>modify, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a></dt></dl></dd><dt>localgroup, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>rap, <a class="indexterm" href="NetCommand.html#id2592419">UNIX and Windows Group Management</a></dt><dd><dl><dt>session, <a class="indexterm" href="NetCommand.html#id2596707">Session and Connection Management</a></dt></dl></dd><dt>rpc, <a class="indexterm" href="FastStart.html#id2548696">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2552853">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2592419">UNIX and Windows Group Management</a></dt><dd><dl><dt>getsid, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2595316">Managing Security Identifiers (SIDS)</a></dt><dt>group, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2592620">Adding or Creating a New Group</a></dt><dt>group add, <a class="indexterm" href="NetCommand.html#id2592620">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#id2593649">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>group delete, <a class="indexterm" href="NetCommand.html#id2593130">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#id2592620">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#id2593170">Rename Group Accounts</a></dt><dt>info, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a>, <a class="indexterm" href="ProfileMgmt.html#id2655935">Side Bar Notes</a></dt><dt>join, <a class="indexterm" href="ServerType.html#id2552853">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetCommand.html#id2594714">Machine Trust Accounts</a>, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="NT4Migration.html#id2673019">Steps in Migration Process</a></dt><dt>join bdc, <a class="indexterm" href="NetCommand.html#id2594714">Machine Trust Accounts</a></dt><dt>join member, <a class="indexterm" href="NetCommand.html#id2594714">Machine Trust Accounts</a></dt><dt>list, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>printer migrate drivers, <a class="indexterm" href="NetCommand.html#id2596431">Printer Migration</a></dt><dt>printer migrate forms, <a class="indexterm" href="NetCommand.html#id2596431">Printer Migration</a></dt><dt>printer migrate printers, <a class="indexterm" href="NetCommand.html#id2596431">Printer Migration</a></dt><dt>printer migrate security, <a class="indexterm" href="NetCommand.html#id2596431">Printer Migration</a></dt><dt>printer migrate settings, <a class="indexterm" href="NetCommand.html#id2596431">Printer Migration</a></dt><dt>right list accounts, <a class="indexterm" href="NetCommand.html#id2595918">Share Migration</a></dt><dt>rights grant, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>rights list, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></dt><dt>rights list accounts, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></dt><dt>share add, <a class="indexterm" href="NetCommand.html#id2595590">Creating, Editing, and Removing Shares</a></dt><dt>share delete, <a class="indexterm" href="NetCommand.html#id2595590">Creating, Editing, and Removing Shares</a></dt><dt>share migrate, <a class="indexterm" href="NetCommand.html#id2595918">Share Migration</a></dt><dt>share migrate all, <a class="indexterm" href="NetCommand.html#id2596372">Simultaneous Share and File Migration</a></dt><dt>share migrate files, <a class="indexterm" href="NetCommand.html#id2596115">File and Directory Migration</a></dt><dt>share migrate security, <a class="indexterm" href="NetCommand.html#id2596329">Share-ACL Migration</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2594714">Machine Trust Accounts</a></dt><dt>trustdom add, <a class="indexterm" href="NetCommand.html#id2595082">Interdomain Trusts</a></dt><dt>trustdom establish, <a class="indexterm" href="NetCommand.html#id2595082">Interdomain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613845">Samba as the Trusting Domain</a></dt><dt>trustdom list, <a class="indexterm" href="NetCommand.html#id2595082">Interdomain Trusts</a></dt><dt>trustdom revoke, <a class="indexterm" href="NetCommand.html#id2595082">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#id2594153">Deletion of User Accounts</a>, <a class="indexterm" href="NetCommand.html#id2594714">Machine Trust Accounts</a></dt><dt>user info, <a class="indexterm" href="NetCommand.html#id2594202">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#id2594202">Managing User Accounts</a></dt><dt>vampire, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2595808">Share, Directory, and File Migration</a>, <a class="indexterm" href="NT4Migration.html#id2673019">Steps in Migration Process</a></dt></dl></dd><dt>setlocalsid, <a class="indexterm" href="NetCommand.html#id2595316">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#id2653236">Samba PDC</a></dt><dt>net command, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>net getlocalsid, <a class="indexterm" href="rights.html#id2602897">The Administrator Domain SID</a></dt><dt>net groupmap, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>net rpc user add, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>net tool, <a class="indexterm" href="upgrading-to-3.0.html#id2671119">Passdb Backends and Authentication</a></dt><dt>net use, <a class="indexterm" href="classicalprinting.html#id2624441">Error Message: “Cannot connect under a different Name”</a></dt><dt>net use /home, <a class="indexterm" href="ProfileMgmt.html#id2653808">Windows 9x/Me User Profiles</a></dt><dt>net use lpt1:, <a class="indexterm" href="CUPS-printing.html#id2636286">Installing the PostScript Driver on a Client</a></dt><dt>net view, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>netatalk, <a class="indexterm" href="VFS.html#id2644750">netatalk</a></dt><dt>NetAtalk, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>Netatalk, <a class="indexterm" href="Other-Clients.html#id2682662">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#id2552625">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2560450">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2560541">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572592">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573848">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577854">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#id2661662">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662096">The NetBIOS Name Cache</a></dt><dd><dl><dt>brooadcast, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a></dt><dt>name, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>netbios alias, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>netbios aliases, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS broadcast, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>NetBIOS disabled, <a class="indexterm" href="NetworkBrowsing.html#id2572592">Features and Benefits</a></dt><dt>NetBIOS flags, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt><dt>NetBIOS name, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a>, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>netbios name, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></dt><dt>NetBIOS name cache, <a class="indexterm" href="domain-member.html#id2566777">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579429">Flushing the Samba NetBIOS Name Cache</a></dt><dt>NetBIOS name length, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a></dt><dt>NetBIOS name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>NetBIOS Name Server (see NBNS)</dt><dt>NetBIOS name type, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a></dt><dt>NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2577651">Name Resolution Order</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661538">/etc/nsswitch.conf</a></dt><dt>NetBIOS network interface, <a class="indexterm" href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a></dt><dt>NetBIOS networking, <a class="indexterm" href="NetworkBrowsing.html#id2572592">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#id2572592">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577854">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661060">Background Information</a></dt><dt>NetBIOS over TCP/IP disabled, <a class="indexterm" href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a></dt><dt>NetBIOS-less, <a class="indexterm" href="NetworkBrowsing.html#id2573848">TCP/IP without NetBIOS</a>, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS-less SMB, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>NetBIOSless SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>NetBT, <a class="indexterm" href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a></dt><dt>netlogon, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a></dt><dt>NETLOGON, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652426">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652874">Managing Account/User Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2656493">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2657055">MS Windows 200x/XP</a></dt><dt>Netlogon, <a class="indexterm" href="samba-bdc.html#id2559283">Essential Background Information</a></dt><dt>NetLogon service, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a></dt><dt>netlogon share, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2673019">Steps in Migration Process</a></dt><dt>Netmon, <a class="indexterm" href="problems.html#id2678338">The Windows Network Monitor</a></dt><dt>Netmon., <a class="indexterm" href="problems.html#id2678398">Installing Network Monitor on an NT Workstation</a></dt><dt>netmon.exe, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>NetSAMLogon, <a class="indexterm" href="ProfileMgmt.html#id2653605">Roaming Profiles</a></dt><dt>Netscape's Directory Server, <a class="indexterm" href="passdb.html#id2586326">Supported LDAP Servers</a></dt><dt>NetServerEnum2, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>NetUserGetInfo, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2653605">Roaming Profiles</a></dt><dt>NetWare, <a class="indexterm" href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a></dt><dt>NetWare Bindery, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>NetWare Core Protocol-based server, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>NetWkstaUserLogon, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a></dt><dt>network</dt><dd><dl><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a></dt><dt>logon, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a></dt><dd><dl><dt>service, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a></dt></dl></dd><dt>performance, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a></dt><dt>wide-area, <a class="indexterm" href="samba-bdc.html#id2559353">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#id2559353">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#id2672685">Server Share and Directory Layout</a></dt><dt>network analyzer, <a class="indexterm" href="problems.html#id2677837">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#id2672484">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#id2568742">MS Windows XP Professional</a></dt><dt>Network Bridge Configuration, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a></dt><dt>network browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2575942">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a></dt><dt>network client, <a class="indexterm" href="ClientConfig.html#id2568562">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>network clients, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a></dt><dt>network configuration problems, <a class="indexterm" href="ClientConfig.html#id2568666">TCP/IP Configuration</a></dt><dt>network difficulty, <a class="indexterm" href="ClientConfig.html#id2568562">Features and Benefits</a></dt><dt>network environment, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650773">Remote Desktop Management</a></dt><dt>Network ID, <a class="indexterm" href="ClientConfig.html#id2570437">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>network interface, <a class="indexterm" href="securing-samba.html#id2611530">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>network logon, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a>, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>network logon services, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a></dt><dt>network membership, <a class="indexterm" href="ClientConfig.html#id2568622">Technical Details</a></dt><dt>Network Monitor, <a class="indexterm" href="problems.html#id2678338">The Windows Network Monitor</a></dt><dt>Network Monitor Tools and Agent, <a class="indexterm" href="problems.html#id2678398">Installing Network Monitor on an NT Workstation</a></dt><dt>Network Neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2572776">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578138">Problem Resolution</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#id2622170">Check Samba for Driver Recognition</a></dt><dt>network neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>network policies, <a class="indexterm" href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a></dt><dt>network security, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>network segment, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a>, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>Network settings, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a></dt><dt>network sniffer, <a class="indexterm" href="passdb.html#id2581384">Advantages of Encrypted Passwords</a></dt><dt>network storage, <a class="indexterm" href="Backup.html#id2664509">BackupPC</a></dt><dt>network traffic, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>networked workstation, <a class="indexterm" href="winbind.html#id2647036">Name Service Switch</a></dt><dt>networking advocates, <a class="indexterm" href="Backup.html#id2664412">Discussion of Backup Solutions</a></dt><dt>networking environment, <a class="indexterm" href="passdb.html#id2582411">Caution Regarding LDAP and Samba</a></dt><dt>networking systems, <a class="indexterm" href="ClientConfig.html#id2571409">Common Errors</a></dt><dt>networks access, <a class="indexterm" href="speed.html#id2684278">Samba Performance is Very Slow</a></dt><dt>Networks Properties, <a class="indexterm" href="ClientConfig.html#id2570964">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#id2669944">New Parameters</a></dt><dt>newsgroup, <a class="indexterm" href="bugreport.html#id2679008">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#id2554336">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2563306">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650630">Remote Server Administration</a></dt><dt>NFS, <a class="indexterm" href="domain-member.html#id2566532">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#id2651176">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2665598">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665725">Restrictive Constraints on Distributed File Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671872">IdMap LDAP Support</a></dt><dt>NFS clients, <a class="indexterm" href="locking.html#id2609504">UNIX or NFS Client-Accessed Files</a></dt><dt>NIS, <a class="indexterm" href="ServerType.html#id2552418">Share-Level Security</a>, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2647036">Name Service Switch</a></dt><dt>NIS database, <a class="indexterm" href="winbind.html#id2647268">Pluggable Authentication Modules</a></dt><dt>nmbd, <a class="indexterm" href="install.html#id2545276">Starting Samba</a>, <a class="indexterm" href="install.html#id2545728">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2547796">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548696">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572776">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577941">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579429">Flushing the Samba NetBIOS Name Cache</a>, <a class="indexterm" href="idmapper.html#id2598938">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="winbind.html#id2647829">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2649223">Linux</a>, <a class="indexterm" href="winbind.html#id2649428">Solaris</a>, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a>, <a class="indexterm" href="problems.html#id2677889">Debugging with Samba Itself</a>, <a class="indexterm" href="speed.html#id2684182">Corrupt tdb Files</a></dt><dt>nmblookup, <a class="indexterm" href="integrate-ms-networks.html#id2662096">The NetBIOS Name Cache</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>No NetBIOS layer, <a class="indexterm" href="NetworkBrowsing.html#id2573848">TCP/IP without NetBIOS</a></dt><dt>no network logon service, <a class="indexterm" href="StandAloneServer.html#id2567310">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#id2618984">Custom Print Commands</a>, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>node-type, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>NoMachine, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>NoMachine.Com, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>non-authentication-based account management, <a class="indexterm" href="pam.html#id2658906">Anatomy of /etc/pam.d Entries</a></dt><dt>non-authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>non-LDAP</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a></dt></dl></dd><dt>non-member Windows client, <a class="indexterm" href="passdb.html#id2581588">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>non-PostScript, <a class="indexterm" href="CUPS-printing.html#id2628909">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2631949">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>non-PostScript printers, <a class="indexterm" href="CUPS-printing.html#id2629977">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2639812">Foomatic Database-Generated PPDs</a></dt><dt>nonhierarchical, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></dt><dt>nontransitive, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></dt><dt>normal color, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a></dt><dt>normal user, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></dt><dt>not domain member, <a class="indexterm" href="StandAloneServer.html#id2567310">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#id2576894">WINS Server Configuration</a></dt><dt>not stored anywhere, <a class="indexterm" href="passdb.html#id2581384">Advantages of Encrypted Passwords</a></dt><dt>not transitive, <a class="indexterm" href="InterdomainTrusts.html#id2614041">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#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>Novell eDirectory server, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>NSS, <a class="indexterm" href="StandAloneServer.html#id2567310">Background</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2586079">ldapsam</a>, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2587498">Accounts and Groups Management</a>, <a class="indexterm" href="groupmapping.html#id2589715">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#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646528">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2646852">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2647036">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2649617">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2650287">Conclusion</a></dt><dt>nsswitch.conf, <a class="indexterm" href="ServerType.html#id2552418">Share-Level Security</a></dt><dt>nss_ldap, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2600811">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>nss_winbind.so.1, <a class="indexterm" href="winbind.html#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>NT domain, <a class="indexterm" href="winbind.html#id2646528">What Winbind Provides</a></dt><dt>NT groups, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a></dt><dt>NT migration scripts, <a class="indexterm" href="passdb.html#id2586079">ldapsam</a></dt><dt>NT password, <a class="indexterm" href="passdb.html#id2584175">Listing User and Machine Accounts</a></dt><dt>NT Server Manager, <a class="indexterm" href="AccessControls.html#id2606144">Windows NT4 Workstation/Server</a></dt><dt>NT-controlled domain, <a class="indexterm" href="InterdomainTrusts.html#id2613845">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#id2580317">Backward Compatibility Account Storage Systems</a></dt><dt>NT4, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>NT4 Domain, <a class="indexterm" href="idmapper.html#id2597522">Standalone Samba Server</a></dt><dt>NT4 domain, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2646095">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#id2652874">Managing Account/User Policies</a></dt><dt>NT4 User Manager for Domains, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>NT4-style, <a class="indexterm" href="InterdomainTrusts.html#id2614041">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#id2612800">Trust Relationship Background</a></dt><dt>Nt4sp6ai.exe, <a class="indexterm" href="PolicyMgmt.html#id2652204">Windows NT4-Style Policy Files</a></dt><dt>NTConfig.POL, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2652067">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652386">Registry Spoiling</a>, <a class="indexterm" href="PolicyMgmt.html#id2652426">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652629">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652874">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653114">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2656493">MS Windows NT4 Workstation</a>, <a class="indexterm" href="NT4Migration.html#id2673574">Samba-3 Implementation Choices</a></dt><dt>ntconfig.pol, <a class="indexterm" href="PolicyMgmt.html#id2652204">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#id2638430">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#id2638430">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTFS, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a>, <a class="indexterm" href="AccessControls.html#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>NTLMv2, <a class="indexterm" href="securing-samba.html#id2612025">NTLMv2 Security</a></dt><dt>ntlm_auth, <a class="indexterm" href="samba-pdc.html#id2554970">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#id2638430">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTUser.DAT, <a class="indexterm" href="PolicyMgmt.html#id2653114">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2656092">Mandatory Profiles</a>, <a class="indexterm" href="NT4Migration.html#id2673574">Samba-3 Implementation Choices</a></dt><dt>NTuser.DAT, <a class="indexterm" href="ProfileMgmt.html#id2654967">Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2655642">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a>, <a class="indexterm" href="NT4Migration.html#id2672926">Profile Migration/Creation</a></dt><dt>NTuser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2654967">Windows NT4 Workstation</a></dt><dt>NTUser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2656092">Mandatory Profiles</a></dt><dt>NT_STATUS_LOGON_FAILURE, <a class="indexterm" href="upgrading-to-3.0.html#id2671022">Changes in Behavior</a></dt><dt>NT_STATUS_UNSUCCESSFUL, <a class="indexterm" href="classicalprinting.html#id2621904">Running rpcclient with adddriver</a></dt><dt>null shell, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a></dt><dt>NX, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">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#id2671313">New Schema</a></dt><dt>object class declaration, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>object module dependencies, <a class="indexterm" href="winbind.html#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ObjectClass, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>ObjectClasses, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a></dt><dt>obtuse complexity, <a class="indexterm" href="NT4Migration.html#id2672685">Server Share and Directory Layout</a></dt><dt>office server, <a class="indexterm" href="FastStart.html#id2547796">Secure Read-Write File and Print Server</a></dt><dt>OID, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>old sambaAccount, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>Omni, <a class="indexterm" href="CUPS-printing.html#id2639624">Driver Development Outside</a></dt><dt>on the fly, <a class="indexterm" href="domain-member.html#id2563866">Windows NT4 Client</a></dt><dt>on-the-fly, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a></dt><dt>on-the-fly logon scripts, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>on-the-fly policy files, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>one direction, <a class="indexterm" href="InterdomainTrusts.html#id2612800">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#id2613296">Interdomain Trust Facilities</a></dt><dt>only one WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a></dt><dt>OpenGFS, <a class="indexterm" href="SambaHA.html#id2665598">The Distributed File System Challenge</a></dt><dt>OpenLDAP, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="ChangeNotes.html#id2572329">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2586326">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>OpenLDAP backend, <a class="indexterm" href="passdb.html#id2580317">Backward Compatibility Account Storage Systems</a></dt><dt>OpenSSL, <a class="indexterm" href="SWAT.html#id2674844">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#id2672074">Objectives</a></dt><dt>operating system search path, <a class="indexterm" href="SWAT.html#id2674277">Locating the SWAT File</a></dt><dt>oplock, <a class="indexterm" href="SambaHA.html#id2665598">The Distributed File System Challenge</a></dt><dt>oplock break, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2609685">Beware of Force User</a></dt><dt>oplock handling, <a class="indexterm" href="SambaHA.html#id2665725">Restrictive Constraints on Distributed File Systems</a></dt><dt>oplock mechanism, <a class="indexterm" href="locking.html#id2609773">Advanced Samba Oplocks Parameters</a></dt><dt>oplock messages, <a class="indexterm" href="SambaHA.html#id2665935">Required Modifications to Samba</a></dt><dt>oplock parameters, <a class="indexterm" href="locking.html#id2609773">Advanced Samba Oplocks Parameters</a></dt><dt>oplocks, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>oplocks disabled, <a class="indexterm" href="locking.html#id2609587">Multiuser Databases</a></dt><dt>oplocks management, <a class="indexterm" href="locking.html#id2609628">PDM Data Shares</a></dt><dt>opportunistic locking, <a class="indexterm" href="locking.html#id2608579">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>Opportunistic locking, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>optional, <a class="indexterm" href="pam.html#id2658906">Anatomy of /etc/pam.d Entries</a></dt><dt>ordinary connection, <a class="indexterm" href="InterdomainTrusts.html#id2613845">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#id2556604">Domain Control: Example Configuration</a></dt><dt>OSS/Free Software, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>other, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a></dt><dt>output duplexing, <a class="indexterm" href="CUPS-printing.html#id2630164">pstops</a></dt><dt>outside threat, <a class="indexterm" href="securing-samba.html#id2611317">Using Host-Based Protection</a></dt><dt>own home directory, <a class="indexterm" href="securing-samba.html#id2612168">Why Can Users Access Other Users' Home Directories?</a></dt><dt>ownership, <a class="indexterm" href="AccessControls.html#id2606602">Viewing File Ownership</a></dt><dt>ownership cost, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>ownership rights, <a class="indexterm" href="ProfileMgmt.html#id2654270">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#id2573212">NetBIOS over TCP/IP</a></dt><dt>package, <a class="indexterm" href="install.html#id2545469">Example Configuration</a></dt><dt>packages, <a class="indexterm" href="install.html#id2544219">Obtaining and Installing Samba</a></dt><dt>packet sniffer, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>packet trace, <a class="indexterm" href="ProfileMgmt.html#id2654270">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#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2600226">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#id2615605">Simple Print Configuration</a></dt><dt>page_log, <a class="indexterm" href="CUPS-printing.html#id2640682">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#id2567310">Background</a>, <a class="indexterm" href="passdb.html#id2580317">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#id2585579">Plaintext</a>, <a class="indexterm" href="passdb.html#id2586079">ldapsam</a>, <a class="indexterm" href="winbind.html#id2646852">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2647268">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2647677">Requirements</a>, <a class="indexterm" href="winbind.html#id2647829">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2649617">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2650287">Conclusion</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2658773">Technical Discussion</a></dt><dt>PAM authentication module, <a class="indexterm" href="pam.html#id2658827">PAM Configuration Syntax</a></dt><dt>PAM configuration, <a class="indexterm" href="winbind.html#id2647677">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#id2648314">NSS Winbind on AIX</a></dt><dt>PAM modules, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>PAM-capable, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>pam-devel, <a class="indexterm" href="winbind.html#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>PAM-enabled, <a class="indexterm" href="winbind.html#id2646528">What Winbind Provides</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>PAM-specific tokens, <a class="indexterm" href="pam.html#id2658827">PAM Configuration Syntax</a></dt><dt>pam_krb5.so, <a class="indexterm" href="pam.html#id2658143">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#id2658143">Features and Benefits</a></dt><dt>pam_mkhomedir, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>pam_ncp_auth.so, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>pam_pwdb.so, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>pam_securetty.so, <a class="indexterm" href="winbind.html#id2649784">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#id2658143">Features and Benefits</a></dt><dt>pam_smbpasswd.so, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>pam_smb_auth.so, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>pam_unix.so, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>pam_unix2.so, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>pam_userdb.so, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>pam_winbind.so, <a class="indexterm" href="winbind.html#id2647268">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2649617">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>parameters, <a class="indexterm" href="classicalprinting.html#id2616085">Rapid Configuration Validation</a></dt><dt>paranoid, <a class="indexterm" href="winbind.html#id2648862">Starting and Testing the winbindd Daemon</a></dt><dt>passdb, <a class="indexterm" href="samba-bdc.html#id2561724">Machine Accounts Keep Expiring</a></dt><dt>passdb backend, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2572209">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#id2582137">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2582990">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2584497">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2585921">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a>, <a class="indexterm" href="rights.html#id2602897">The Administrator Domain SID</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671706">New Suffix for Searching</a></dt><dt>passdb backends, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>passed across the network, <a class="indexterm" href="passdb.html#id2581384">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#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2582990">The smbpasswd Tool</a>, <a class="indexterm" href="winbind.html#id2647036">Name Service Switch</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>password, <a class="indexterm" href="samba-bdc.html#id2559353">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#id2613845">Samba as the Trusting Domain</a>, <a class="indexterm" href="pam.html#id2658906">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>plaintext, <a class="indexterm" href="samba-pdc.html#id2557614">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#id2613211">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#id2584175">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#id2560723">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#id2585579">Plaintext</a></dt><dt>password expiration, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a></dt><dt>password expired, <a class="indexterm" href="passdb.html#id2584581">Changing User Accounts</a></dt><dt>password history, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>password management, <a class="indexterm" href="winbind.html#id2647268">Pluggable Authentication Modules</a></dt><dt>password prompt, <a class="indexterm" href="passdb.html#id2581384">Advantages of Encrypted Passwords</a></dt><dt>password scheme, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>password server, <a class="indexterm" href="ServerType.html#id2553317">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2565174">Configure smb.conf</a></dt><dt>password uniqueness, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>passwords, <a class="indexterm" href="winbind.html#id2646438">Introduction</a></dt><dt>patch, <a class="indexterm" href="bugreport.html#id2679792">Patches</a></dt><dt>path specified, <a class="indexterm" href="domain-member.html#id2566853">Adding Machine to Domain Fails</a></dt><dt>pauses, <a class="indexterm" href="speed.html#id2684278">Samba Performance is Very Slow</a></dt><dt>PBM, <a class="indexterm" href="CUPS-printing.html#id2629184">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#id2628016">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628194">UNIX Printfile Conversion and GUI Basics</a>, <a class="indexterm" href="CUPS-printing.html#id2633120">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2633365">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2633759">Network PostScript RIP</a></dt><dt>pdbedit, <a class="indexterm" href="FastStart.html#id2549629">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#id2584058">User Account Management</a>, <a class="indexterm" href="passdb.html#id2584175">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2584409">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2584497">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2584581">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2585401">Account Import/Export</a>, <a class="indexterm" href="rights.html#id2602897">The Administrator Domain SID</a>, <a class="indexterm" href="PolicyMgmt.html#id2653236">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669274">Quick Migration Guide</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671119">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2673019">Steps in Migration Process</a>, <a class="indexterm" href="NT4Migration.html#id2673574">Samba-3 Implementation Choices</a></dt><dt>pdb_ldap, <a class="indexterm" href="samba-bdc.html#id2561939">Can I Do This All with LDAP?</a></dt><dt>PDC, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2552853">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2559776">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2560450">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561779">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#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2566853">Adding Machine to Domain Fails</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575341">Domain Browsing Configuration</a>, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2581384">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="passdb.html#id2585921">tdbsam</a>, <a class="indexterm" href="passdb.html#id2587847">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="groupmapping.html#id2589322">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598545">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#id2613845">Samba as the Trusting Domain</a>, <a class="indexterm" href="CUPS-printing.html#id2636124">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="winbind.html#id2646726">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2646902">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2647268">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2647499">Result Caching</a>, <a class="indexterm" href="winbind.html#id2647562">Introduction</a>, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2648862">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a>, <a class="indexterm" href="problems.html#id2678702">Getting Mailing List Help</a>, <a class="indexterm" href="speed.html#id2684182">Corrupt tdb Files</a></dt><dt>PDF, <a class="indexterm" href="CUPS-printing.html#id2626492">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2628016">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628706">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629977">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2632569">Examples for Filtering Chains</a></dt><dt>pdf, <a class="indexterm" href="CUPS-printing.html#id2629612">MIME Type Conversion Rules</a></dt><dt>PDF distilling, <a class="indexterm" href="CUPS-printing.html#id2628706">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#id2629612">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2632569">Examples for Filtering Chains</a></dt><dt>pdftosocket, <a class="indexterm" href="CUPS-printing.html#id2632569">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#id2628706">PostScript Printer Description (PPD) Specification</a></dt><dt>PDM, <a class="indexterm" href="locking.html#id2609628">PDM Data Shares</a></dt><dt>peer domain, <a class="indexterm" href="InterdomainTrusts.html#id2613505">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Peer node, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt><dt>per-share access control, <a class="indexterm" href="AccessControls.html#id2605984">Access Controls on Shares</a></dt><dt>performance, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>performance advantage, <a class="indexterm" href="locking.html#id2608579">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#id2608934">Opportunistic Locking Overview</a></dt><dt>performance improvement, <a class="indexterm" href="locking.html#id2609540">Slow and/or Unreliable Networks</a></dt><dt>performance-based, <a class="indexterm" href="passdb.html#id2585921">tdbsam</a></dt><dt>performed as root, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>perimeter firewall, <a class="indexterm" href="securing-samba.html#id2611155">Features and Benefits</a></dt><dt>permanent changes, <a class="indexterm" href="NT4Migration.html#id2673574">Samba-3 Implementation Choices</a></dt><dt>Permanent name, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt><dt>permissions, <a class="indexterm" href="securing-samba.html#id2612168">Why Can Users Access Other Users' Home Directories?</a>, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dd><dl><dt>file/directory ACLs, <a class="indexterm" href="AccessControls.html#id2606485">Managing UNIX Permissions Using NT Security Dialogs</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2604911">Share Definition Access Controls</a></dt><dt>share ACLs, <a class="indexterm" href="AccessControls.html#id2605984">Access Controls on Shares</a></dt><dt>UNIX file and directory, <a class="indexterm" href="AccessControls.html#id2603577">Features and Benefits</a></dt></dl></dd><dt>Permissions, <a class="indexterm" href="AccessControls.html#id2606249">Windows 200x/XP</a></dt><dt>permissions and controls, <a class="indexterm" href="AccessControls.html#id2603577">Features and Benefits</a></dt><dt>PGP, <a class="indexterm" href="compiling.html#id2680842">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#id2629184">MIME Types and CUPS Filters</a></dt><dt>physical locations, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>physical network transport layer, <a class="indexterm" href="integrate-ms-networks.html#id2661262">/etc/hosts</a></dt><dt>PID, <a class="indexterm" href="bugreport.html#id2679668">Attaching to a Running Process</a></dt><dt>pid directory, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></dt><dt>ping, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>pipe device, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a></dt><dt>PJL, <a class="indexterm" href="CUPS-printing.html#id2633759">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2635308">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2640542">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>PJL-header, <a class="indexterm" href="CUPS-printing.html#id2640542">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>plague network users, <a class="indexterm" href="ClientConfig.html#id2568666">TCP/IP Configuration</a></dt><dt>plain-text</dt><dd><dl><dt>passwords, <a class="indexterm" href="ServerType.html#id2553615">Password Checking</a></dt></dl></dd><dt>plaintext, <a class="indexterm" href="passdb.html#id2580317">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext authentication, <a class="indexterm" href="passdb.html#id2580317">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext password, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2561834">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#id2581069">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#id2616964">The [global] Section</a></dt><dt>Pluggable Authentication Modules (see PAM)</dt><dt>PNG, <a class="indexterm" href="CUPS-printing.html#id2628553">Ghostscript: The Software RIP for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>PNM, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>point 'n' print, <a class="indexterm" href="CUPS-printing.html#id2627416">Installation of Windows Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2635526">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2637328">Manual Driver Installation in 15 Steps</a></dt><dt>Point'n'Print, <a class="indexterm" href="classicalprinting.html#id2615070">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#id2619653">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2621767">smbclient to Confirm Driver Installation</a></dt><dt>point'n'print, <a class="indexterm" href="CUPS-printing.html#id2627703">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2636286">Installing the PostScript Driver on a Client</a></dt><dt>Poledit, <a class="indexterm" href="PolicyMgmt.html#id2652629">Administration of Windows 200x/XP Policies</a></dt><dt>poledit.exe, <a class="indexterm" href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652204">Windows NT4-Style Policy Files</a>, <a class="indexterm" href="PolicyMgmt.html#id2652629">Administration of Windows 200x/XP Policies</a></dt><dt>Policies, <a class="indexterm" href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652874">Managing Account/User Policies</a></dt><dt>policies, <a class="indexterm" href="NT4Migration.html#id2673574">Samba-3 Implementation Choices</a></dt><dt>policy editor, <a class="indexterm" href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a></dt><dt>Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2652204">Windows NT4-Style Policy Files</a></dt><dt>policy file , <a class="indexterm" href="PolicyMgmt.html#id2652874">Managing Account/User Policies</a></dt><dt>policy files, <a class="indexterm" href="domain-member.html#id2562183">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#id2576203">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#id2576203">Multiple Interfaces</a>, <a class="indexterm" href="diagnosis.html#id2676074">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#id2576203">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#id2576203">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#id2576203">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#id2615888">Verifying Configuration with testparm</a>, <a class="indexterm" href="problems.html#id2678194">Ethereal</a></dt><dt>POSIX, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2587498">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2592620">Adding or Creating a New Group</a></dt><dt>POSIX account, <a class="indexterm" href="passdb.html#id2584058">User Account Management</a>, <a class="indexterm" href="NetCommand.html#id2593942">UNIX and Windows User Management</a></dt><dt>POSIX ACLs, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a>, <a class="indexterm" href="AccessControls.html#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>POSIX ACLS, <a class="indexterm" href="NT4Migration.html#id2673574">Samba-3 Implementation Choices</a></dt><dt>POSIX identity, <a class="indexterm" href="passdb.html#id2582411">Caution Regarding LDAP and Samba</a></dt><dt>POSIX locks, <a class="indexterm" href="SambaHA.html#id2665795">Server Pool Communications</a></dt><dt>POSIX semantics, <a class="indexterm" href="SambaHA.html#id2665795">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#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a></dt><dt>posixGroup, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2587498">Accounts and Groups Management</a></dt><dt>PostScript, <a class="indexterm" href="CUPS-printing.html#id2626492">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2627824">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#id2628016">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628194">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#id2628706">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2628790">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629977">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2630164">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2631949">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2632569">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2633365">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2633759">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2634032">CUPS: A “Magical Stone”?</a>, <a class="indexterm" href="CUPS-printing.html#id2634075">PostScript Drivers with No Major Problems, Even in Kernel6 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id26345 63">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#id2621549">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#id2641511">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#id2620161">[print$] Stanza Parameters</a></dt><dt>Power Users, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>powerful, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a></dt><dt>PPD, <a class="indexterm" href="classicalprinting.html#id2621549">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#id2628706">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2628909">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2631562">“Raw” Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2631949">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2633848">PPDs for Non-PS Printers on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2633893">PPDs for Non-PS Printers on Windows</a>, <a class="indexterm" href="CUPS-printing.html#id2634032">CUPS: A “Magical Stone”?</a>, <a class="indexterm" href="CUPS-printing.html#id2636286">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2640542">Adobe and CUPS PostScript Drivers for Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#id2641511">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#id2628790">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2631245">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2639496">The Grand Unification Achieved</a></dt><dt>PPP, <a class="indexterm" href="securing-samba.html#id2611530">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#id2556604">Domain Control: Example Configuration</a></dt><dt>prefilter, <a class="indexterm" href="CUPS-printing.html#id2630602">imagetops and imagetoraster</a></dt><dt>prefilters, <a class="indexterm" href="CUPS-printing.html#id2629977">Prefilters</a></dt><dt>primary domain controller, <a class="indexterm" href="cfgsmarts.html#id2668301">Multiple Virtual Server Hosting</a></dt><dt>primary group, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a></dt><dt>Primary Logon, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>Primary WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a></dt><dt>print, <a class="indexterm" href="classicalprinting.html#id2615888">Verifying Configuration with testparm</a></dt><dd><dl><dt>queue, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a></dt><dt>spooler, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a></dt></dl></dd><dt>print accounting, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a></dt><dt>print command, <a class="indexterm" href="classicalprinting.html#id2618365">Print Commands</a></dt><dt>print commands, <a class="indexterm" href="classicalprinting.html#id2618984">Custom Print Commands</a></dt><dt>print configuration, <a class="indexterm" href="classicalprinting.html#id2615294">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2615888">Verifying Configuration with testparm</a></dt><dt>print environment, <a class="indexterm" href="classicalprinting.html#id2615605">Simple Print Configuration</a></dt><dt>print filtering, <a class="indexterm" href="classicalprinting.html#id2615294">Technical Introduction</a></dt><dt>print job, <a class="indexterm" href="classicalprinting.html#id2618984">Custom Print Commands</a></dt><dt>print jobs, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>print processing, <a class="indexterm" href="classicalprinting.html#id2615294">Technical Introduction</a></dt><dt>print queue, <a class="indexterm" href="classicalprinting.html#id2619653">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2621767">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2622397">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2630906">CUPS Backends</a></dt><dt>print quota, <a class="indexterm" href="CUPS-printing.html#id2627824">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#id2615070">Features and Benefits</a></dt><dt>print service, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a></dt><dt>print spooling, <a class="indexterm" href="winbind.html#id2646902">Microsoft Remote Procedure Calls</a></dt><dt>print spooling system, <a class="indexterm" href="CUPS-printing.html#id2626011">Overview</a></dt><dt>print statistics, <a class="indexterm" href="CUPS-printing.html#id2627824">Advanced Intelligent Printing with PostScript Driver Download</a></dt><dt>print subsystem, <a class="indexterm" href="classicalprinting.html#id2615294">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2618365">Print Commands</a></dt><dt>print test page, <a class="indexterm" href="classicalprinting.html#id2622669">First Client Driver Installation</a></dt><dt>printcap, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2616964">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#id2626130">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#id2626130">Basic CUPS Support Configuration</a></dt><dt>printer attributes publishing, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">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#id2619823">The Obsoleted [printer$] Section</a>, <a class="indexterm" href="classicalprinting.html#id2619944">Creating the [print$] Share</a>, <a class="indexterm" href="CUPS-printing.html#id2626492">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#id2619823">The Obsoleted [printer$] Section</a></dt><dt>printer driver files, <a class="indexterm" href="classicalprinting.html#id2621767">smbclient to Confirm Driver Installation</a></dt><dt>printer drivers, <a class="indexterm" href="classicalprinting.html#id2619653">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="CUPS-printing.html#id2639496">The Grand Unification Achieved</a></dt><dt>printer icon, <a class="indexterm" href="classicalprinting.html#id2622170">Check Samba for Driver Recognition</a></dt><dt>printer management, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a></dt><dt>printer management system, <a class="indexterm" href="CUPS-printing.html#id2626011">Overview</a></dt><dt>printer migration, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a></dt><dt>printer monitor, <a class="indexterm" href="speed.html#id2684278">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#id2624864">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#id2616964">The [global] Section</a></dt><dt>printer shares , <a class="indexterm" href="classicalprinting.html#id2615888">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>printer$ share, <a class="indexterm" href="classicalprinting.html#id2619823">The Obsoleted [printer$] Section</a></dt><dt>printers, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a>, <a class="indexterm" href="StandAloneServer.html#id2567216">Features and Benefits</a></dt><dt>Printers, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>printers admin, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>Printers and Faxes, <a class="indexterm" href="classicalprinting.html#id2622170">Check Samba for Driver Recognition</a></dt><dt>printers available, <a class="indexterm" href="NetworkBrowsing.html#id2572776">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#id2616964">The [global] Section</a></dt><dt>printing behavior, <a class="indexterm" href="classicalprinting.html#id2615504">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#id2684278">Samba Performance is Very Slow</a></dt><dt>printing support, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2615294">Technical Introduction</a></dt><dt>printing system, <a class="indexterm" href="classicalprinting.html#id2615294">Technical Introduction</a></dt><dt>printing systems, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>printing-related settings, <a class="indexterm" href="classicalprinting.html#id2615888">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#id2638430">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#id2666890">Multiple Server Hosting</a></dt><dt>private groups, <a class="indexterm" href="groupmapping.html#id2589658">Warning: User Private Group Problems</a></dt><dt>private key, <a class="indexterm" href="SWAT.html#id2674844">Securing SWAT through SSL</a></dt><dt>private network, <a class="indexterm" href="securing-samba.html#id2611056">Introduction</a></dt><dt>private networks, <a class="indexterm" href="securing-samba.html#id2611317">Using Host-Based Protection</a></dt><dt>private/MACHINE.SID, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a></dt><dt>private/secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a></dt><dt>privilege, <a class="indexterm" href="groupmapping.html#id2590417">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>privilege management, <a class="indexterm" href="groupmapping.html#id2590298">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></dt><dt>privilege model, <a class="indexterm" href="rights.html#id2601479">Rights Management Capabilities</a></dt><dt>privilege-granting applications, <a class="indexterm" href="pam.html#id2658773">Technical Discussion</a></dt><dt>privileged accounts, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>privileges, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2563702">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="groupmapping.html#id2590417">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2601479">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612800">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#id2601754">Using the “net rpc rights” Utility</a></dt><dt>problem report, <a class="indexterm" href="ch47.html#id2685467">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#id2615294">Technical Introduction</a></dt><dt>Process data management, <a class="indexterm" href="locking.html#id2609628">PDM Data Shares</a></dt><dt>professional support, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>profile, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="passdb.html#id2580501">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#id2656232">Creating and Managing Group Profiles</a></dt><dt>profile contents, <a class="indexterm" href="ProfileMgmt.html#id2655642">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>profile directory, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>profile migration tool, <a class="indexterm" href="ProfileMgmt.html#id2656232">Creating and Managing Group Profiles</a></dt><dt>profile path, <a class="indexterm" href="samba-bdc.html#id2559776">Example PDC Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2654967">Windows NT4 Workstation</a></dt><dt>profile sharing, <a class="indexterm" href="ProfileMgmt.html#id2655642">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>Profile Type, <a class="indexterm" href="ProfileMgmt.html#id2654044">Disabling Roaming Profile Support</a></dt><dt>ProfilePath, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>profiles, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a></dt><dt>Profiles, <a class="indexterm" href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a></dt><dt>project, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>promiscuous mode, <a class="indexterm" href="problems.html#id2678338">The Windows Network Monitor</a></dt><dt>promote, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a></dt><dt>promoted, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></dt><dt>propagate, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a></dt><dt>Properties, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a>, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>protect directories, <a class="indexterm" href="AccessControls.html#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>protect files, <a class="indexterm" href="AccessControls.html#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>protection against attackers, <a class="indexterm" href="securing-samba.html#id2611881">Using IPC$ Share-Based Denials </a></dt><dt>protocol stack settings, <a class="indexterm" href="ClientConfig.html#id2569384">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#id2554970">Single Sign-On and Domain Security</a></dt><dt>pstops, <a class="indexterm" href="CUPS-printing.html#id2629977">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2630164">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2632569">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2640542">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>pstoraster, <a class="indexterm" href="CUPS-printing.html#id2630332">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2632232">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2640542">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#id2616085">Rapid Configuration Validation</a></dt><dt>PulseAudio, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651176">Remote Management with ThinLinc</a></dt><dt>punching, <a class="indexterm" href="CUPS-printing.html#id2630164">pstops</a></dt><dt>purchase support, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>put, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>pvcreate, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>Q</h3><dl><dt>QNX, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>qualified problem, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>queue control, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>quota controls, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt></dl></div><div class="indexdiv"><h3>R</h3><dl><dt>RAID, <a class="indexterm" href="Backup.html#id2664509">BackupPC</a></dt><dt>random machine account password, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>range, <a class="indexterm" href="NetCommand.html#id2593942">UNIX and Windows User Management</a></dt><dt>range of hosts, <a class="indexterm" href="securing-samba.html#id2611317">Using Host-Based Protection</a></dt><dt>RAP, <a class="indexterm" href="NetCommand.html#id2592419">UNIX and Windows Group Management</a></dt><dt>raster, <a class="indexterm" href="CUPS-printing.html#id2629977">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2639812">Foomatic Database-Generated PPDs</a></dt><dt>raster driver, <a class="indexterm" href="CUPS-printing.html#id2628949">The CUPS Filtering Architecture</a></dt><dt>raster drivers, <a class="indexterm" href="CUPS-printing.html#id2630332">pstoraster</a></dt><dt>raster image processor (see RIP)</dt><dt>raster images, <a class="indexterm" href="CUPS-printing.html#id2628194">UNIX Printfile Conversion and GUI Basics</a></dt><dt>rasterization, <a class="indexterm" href="CUPS-printing.html#id2630332">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2632232">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoalps, <a class="indexterm" href="CUPS-printing.html#id2630686">rasterto [printers specific]</a></dt><dt>rastertobj, <a class="indexterm" href="CUPS-printing.html#id2630686">rasterto [printers specific]</a></dt><dt>rastertoepson, <a class="indexterm" href="CUPS-printing.html#id2630686">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2632569">Examples for Filtering Chains</a></dt><dt>rastertoescp, <a class="indexterm" href="CUPS-printing.html#id2630686">rasterto [printers specific]</a></dt><dt>rastertohp, <a class="indexterm" href="CUPS-printing.html#id2630686">rasterto [printers specific]</a></dt><dt>rastertopcl, <a class="indexterm" href="CUPS-printing.html#id2630686">rasterto [printers specific]</a></dt><dt>rastertoprinter, <a class="indexterm" href="CUPS-printing.html#id2630686">rasterto [printers specific]</a></dt><dt>rastertosomething, <a class="indexterm" href="CUPS-printing.html#id2632232">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoturboprint, <a class="indexterm" href="CUPS-printing.html#id2630686">rasterto [printers specific]</a></dt><dt>raw mode, <a class="indexterm" href="CUPS-printing.html#id2631670">application/octet-stream Printing</a></dt><dt>raw print, <a class="indexterm" href="CUPS-printing.html#id2636205">cupsaddsmb Flowchart</a></dt><dt>raw printers, <a class="indexterm" href="CUPS-printing.html#id2626011">Overview</a></dt><dt>raw printing, <a class="indexterm" href="FastStart.html#id2547397">Anonymous Print Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#id2627181">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#id2554336">Features and Benefits</a></dt><dt>raw SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2573848">TCP/IP without NetBIOS</a></dt><dt>rawprinter, <a class="indexterm" href="CUPS-printing.html#id2631562">“Raw” Printing</a></dt><dt>rcp, <a class="indexterm" href="Backup.html#id2664681">Rsync</a></dt><dt>rdesktop, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>rdesktop/RDP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>read, <a class="indexterm" href="AccessControls.html#id2604246">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#id2608934">Opportunistic Locking Overview</a></dt><dt>read-only, <a class="indexterm" href="StandAloneServer.html#id2567216">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#id2598779">Backup Domain Controller</a>, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>read-only files, <a class="indexterm" href="StandAloneServer.html#id2567216">Features and Benefits</a></dt><dt>read-write access, <a class="indexterm" href="classicalprinting.html#id2619823">The Obsoleted [printer$] Section</a></dt><dt>realm, <a class="indexterm" href="ServerType.html#id2553160">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-bdc.html#id2560664">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2565174">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2600226">IDMAP Storage in LDAP Using Winbind</a></dt><dt>rebooted, <a class="indexterm" href="ClientConfig.html#id2570437">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#id2602099">Description of Privileges</a></dt><dt>recompiling, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></dt><dt>reconfiguration, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></dt><dt>record locking, <a class="indexterm" href="locking.html#id2608676">Discussion</a></dt><dt>recycle, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>recycle bin, <a class="indexterm" href="VFS.html#id2643368">Discussion</a></dt><dt>recycle directory, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>recycle:exclude, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>recycle:exclude_dir, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>recycle:keeptree, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>recycle:maxsize, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>recycle:noversions, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>recycle:repository, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>recycle:subdir_mode, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>recycle:touch, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>recycle:versions, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>Red Hat Cluster Manager, <a class="indexterm" href="SambaHA.html#id2666073">High-Availability Server Products</a></dt><dt>Red Hat Linux, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2563586">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="groupmapping.html#id2589658">Warning: User Private Group Problems</a></dt><dt>redirect, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a></dt><dt>redirection, <a class="indexterm" href="winbind.html#id2646528">What Winbind Provides</a></dt><dt>redirector, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>redundancy, <a class="indexterm" href="NetworkBrowsing.html#id2573212">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#id2611530">Using Interface Protection</a></dt><dt>regedit.exe, <a class="indexterm" href="ProfileMgmt.html#id2656341">MS Windows 9x/Me</a></dt><dt>regedt32, <a class="indexterm" href="ProfileMgmt.html#id2656493">MS Windows NT4 Workstation</a></dt><dt>regedt32.exe, <a class="indexterm" href="PolicyMgmt.html#id2653196">Windows NT4/200x</a></dt><dt>register driver files, <a class="indexterm" href="classicalprinting.html#id2621904">Running rpcclient with adddriver</a></dt><dt>register NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a></dt><dt>registered, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="classicalprinting.html#id2622170">Check Samba for Driver Recognition</a></dt><dt>registers, <a class="indexterm" href="NetworkBrowsing.html#id2575341">Domain Browsing Configuration</a></dt><dt>registry, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="locking.html#id2608579">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652067">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652426">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2656341">MS Windows 9x/Me</a></dt><dt>registry change, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>registry keys, <a class="indexterm" href="ProfileMgmt.html#id2656311">Default Profile for Windows Users</a></dt><dt>registry settings, <a class="indexterm" href="PolicyMgmt.html#id2652874">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#id2595316">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#id2585655">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#id2554336">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>Remote Access Dial-In User Service (see RADIUS)</dt><dt>remote announce, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a></dt><dt>remote browse sync, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a></dt><dt>remote desktop capabilities, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>remote desktop management, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650773">Remote Desktop Management</a></dt><dt>remote domain, <a class="indexterm" href="InterdomainTrusts.html#id2613114">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613211">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#id2650801">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#id2646902">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#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>remote segment, <a class="indexterm" href="NetworkBrowsing.html#id2576529">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>Remote X, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>Remote X protocol, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>remote-update protocol, <a class="indexterm" href="Backup.html#id2664681">Rsync</a></dt><dt>rename, <a class="indexterm" href="AccessControls.html#id2604123">Managing Directories</a></dt><dt>render, <a class="indexterm" href="CUPS-printing.html#id2627181">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>rendering, <a class="indexterm" href="CUPS-printing.html#id2632232">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>repeated intervals, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>replicate, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a></dt><dt>replicated, <a class="indexterm" href="ServerType.html#id2551742">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2560392">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2652426">MS Windows 200x/XP Professional Policies</a></dt><dt>replicated SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2652426">MS Windows 200x/XP Professional Policies</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a></dt><dd><dl><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a></dt><dt>SAM, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561779">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2561834">How Do I Replicate the smbpasswd File?</a></dt><dt>WINS, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577215">WINS Replication</a></dt></dl></dd><dt>replication protocols, <a class="indexterm" href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a></dt><dt>repository, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>requesting payment, <a class="indexterm" href="ch47.html#id2685467">Free Support</a></dt><dt>required, <a class="indexterm" href="pam.html#id2658906">Anatomy of /etc/pam.d Entries</a></dt><dt>requisite, <a class="indexterm" href="pam.html#id2658906">Anatomy of /etc/pam.d Entries</a></dt><dt>research, <a class="indexterm" href="Backup.html#id2664412">Discussion of Backup Solutions</a></dt><dt>resizing, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>resolution, <a class="indexterm" href="CUPS-printing.html#id2631245">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#id2575942">Making Samba the Domain Master</a></dt><dt>resolver functions, <a class="indexterm" href="winbind.html#id2647036">Name Service Switch</a></dt><dt>resource failover, <a class="indexterm" href="SambaHA.html#id2666073">High-Availability Server Products</a></dt><dt>resource kit, <a class="indexterm" href="PolicyMgmt.html#id2652629">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#id2611155">Features and Benefits</a></dt><dt>response, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a></dt><dt>restore, <a class="indexterm" href="tdb.html#id2679876">Features and Benefits</a></dt><dt>restrict DNS, <a class="indexterm" href="NetworkBrowsing.html#id2577651">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#id2601754">Using the “net rpc rights” Utility</a></dt><dt>RFC 1001, <a class="indexterm" href="DNSDHCP.html#id2686016">Example Configuration</a></dt><dt>RFC 1002, <a class="indexterm" href="DNSDHCP.html#id2686016">Example Configuration</a></dt><dt>RFC 1179, <a class="indexterm" href="classicalprinting.html#id2616964">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#id2586381">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#id2600811">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>RFC2830, <a class="indexterm" href="samba-bdc.html#id2560028">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#id2580501">New Account Storage Systems</a></dt><dt>rich directory backend, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a></dt><dt>RID, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2589322">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2602897">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2647424">User and Group ID Allocation</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>RID 500, <a class="indexterm" href="rights.html#id2602897">The Administrator Domain SID</a></dt><dt>RID base, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a></dt><dt>right to join domain, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>rights, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2566167">Possible Errors</a>, <a class="indexterm" href="rights.html#id2601479">Rights Management Capabilities</a></dt><dt>rights and privilege, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></dt><dt>rights and privileges, <a class="indexterm" href="groupmapping.html#id2590298">Important Administrative Information</a>, <a class="indexterm" href="rights.html#id2602897">The Administrator Domain SID</a></dt><dt>rights assigned, <a class="indexterm" href="rights.html#id2601479">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>RIP, <a class="indexterm" href="CUPS-printing.html#id2631949">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>rlogind, <a class="indexterm" href="pam.html#id2658906">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#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="ProfileMgmt.html#id2653555">Features and Benefits</a>, <a class="indexterm" href="ProfileMgmt.html#id2654044">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>rogue machine, <a class="indexterm" href="NetworkBrowsing.html#id2579429">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#id2563702">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="ClientConfig.html#id2570437">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#id2602897">The Administrator Domain SID</a></dt><dt>root user, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>rotate, <a class="indexterm" href="CUPS-printing.html#id2628194">UNIX Printfile Conversion and GUI Basics</a></dt><dt>RPC, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2653605">Roaming Profiles</a></dt><dt>RPC calls, <a class="indexterm" href="winbind.html#id2650287">Conclusion</a>, <a class="indexterm" href="SambaHA.html#id2665398">The Front-End Challenge</a></dt><dt>RPC modules, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>rpc.lockd, <a class="indexterm" href="locking.html#id2608676">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#id2620993">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2622397">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2638287">Troubleshooting Revisited</a>, <a class="indexterm" href="PolicyMgmt.html#id2653236">Samba PDC</a></dt><dd><dl><dt>adddriver, <a class="indexterm" href="CUPS-printing.html#id2635666">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2635858">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2636521">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2636866">Understanding the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2637104">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2637328">Manual Driver Installation in 15 Steps</a></dt><dt>enumdrivers, <a class="indexterm" href="CUPS-printing.html#id2636521">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2637328">Manual Driver Installation in 15 Steps</a></dt><dt>enumports, <a class="indexterm" href="CUPS-printing.html#id2636521">Installing PostScript Driver Files Manually Using rpcclient</a></dt><dt>enumprinters, <a class="indexterm" href="CUPS-printing.html#id2636521">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2637104">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2637328">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2638287">Troubleshooting Revisited</a></dt><dt>getdriver, <a class="indexterm" href="CUPS-printing.html#id2636971">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2637328">Manual Driver Installation in 15 Steps</a></dt><dt>getprinter, <a class="indexterm" href="CUPS-printing.html#id2636971">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2637328">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2638287">Troubleshooting Revisited</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2635008">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2635666">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2635858">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2636521">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2637104">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2637328">Manual Driver Installation in 15 Steps</a></dt></dl></dd><dt>rsh, <a class="indexterm" href="Backup.html#id2664509">BackupPC</a></dt><dt>rsync, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561834">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#id2585655">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2664509">BackupPC</a>, <a class="indexterm" href="Backup.html#id2664681">Rsync</a>, <a class="indexterm" href="compiling.html#id2680767">Accessing the Samba Sources via rsync and ftp</a></dt><dt>rsyncd, <a class="indexterm" href="Backup.html#id2664509">BackupPC</a></dt><dt>runas, <a class="indexterm" href="classicalprinting.html#id2623365">Always Make First Client Connection as root or “printer admin”</a></dt><dt>rundll32, <a class="indexterm" href="classicalprinting.html#id2623246">Additional Client Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2623558">Setting Default Print Options for Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2637328">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651587">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#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2561724">Machine Accounts Keep Expiring</a>, <a class="indexterm" href="samba-bdc.html#id2561779">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2561834">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a>, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2580317">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2581588">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="winbind.html#id2647499">Result Caching</a></dt><dd><dl><dt>delta file, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2559353">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#id2582137">Comments Regarding LDAP</a></dt><dd><dl><dt>LDAP, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a></dt><dt>ldapsam, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2580501">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#id2586079">ldapsam</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2580281">Features and Benefits</a></dt><dt>non-LDAP, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a></dt><dt>smbpasswd, <a class="indexterm" href="passdb.html#id2580281">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a></dt><dt>tdbsam, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2585921">tdbsam</a></dt></dl></dd><dt>Samba 1.9.17, <a class="indexterm" href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a></dt><dt>Samba account, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a></dt><dt>Samba administrator, <a class="indexterm" href="winbind.html#id2647562">Introduction</a></dt><dt>Samba backend database, <a class="indexterm" href="domain-member.html#id2566853">Adding Machine to Domain Fails</a></dt><dt>Samba daemons, <a class="indexterm" href="domain-member.html#id2564157">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#id2664368">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#id2581588">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>Samba SAM account, <a class="indexterm" href="domain-member.html#id2566853">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#id2580501">New Account Storage Systems</a></dt><dt>Samba security, <a class="indexterm" href="securing-samba.html#id2611155">Features and Benefits</a></dt><dt>Samba-2.2.x LDAP schema, <a class="indexterm" href="passdb.html#id2580317">Backward Compatibility Account Storage Systems</a></dt><dt>Samba-3-compatible LDAP backend, <a class="indexterm" href="upgrading-to-3.0.html#id2669274">Quick Migration Guide</a></dt><dt>Samba-PDC-LDAP-HOWTO, <a class="indexterm" href="passdb.html#id2586079">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#id2645792">vscan</a></dt><dt>samba.schema, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>sambaDomain, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>sambaGroupMapping, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>sambaHomeDrive, <a class="indexterm" href="passdb.html#id2587847">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaHomePath, <a class="indexterm" href="passdb.html#id2587847">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaIdmapEntry, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>sambaLogonScript, <a class="indexterm" href="passdb.html#id2587847">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaNTPassword, <a class="indexterm" href="passdb.html#id2587612">Security and sambaSamAccount</a></dt><dt>sambaProfilePath, <a class="indexterm" href="passdb.html#id2587847">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaSAMAccount, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2584409">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2584497">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2584581">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#id2585921">tdbsam</a></dt><dt>sambaSamAccount, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2587498">Accounts and Groups Management</a>, <a class="indexterm" href="passdb.html#id2587847">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>sambaSAMAccount, <a class="indexterm" href="passdb.html#id2587612">Security and sambaSamAccount</a></dt><dt>sambaSID, <a class="indexterm" href="ChangeNotes.html#id2572329">LDAP Changes in Samba-3.0.23</a></dt><dt>sambaUNIXIdPool, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>SambaXP conference, <a class="indexterm" href="SambaHA.html#id2665115">Technical Discussion</a></dt><dt>samdb interface, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a></dt><dt>same domain/workgroup, <a class="indexterm" href="cfgsmarts.html#id2668301">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#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2585921">tdbsam</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612728">Features and Benefits</a></dt><dt>scalable, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>scalable backend, <a class="indexterm" href="InterdomainTrusts.html#id2612728">Features and Benefits</a></dt><dt>scalable coherent interface (see SCI)</dt><dt>scale, <a class="indexterm" href="CUPS-printing.html#id2628194">UNIX Printfile Conversion and GUI Basics</a></dt><dt>scanner module, <a class="indexterm" href="VFS.html#id2643368">Discussion</a></dt><dt>schannel, <a class="indexterm" href="samba-pdc.html#id2558694">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>schema, <a class="indexterm" href="idmapper.html#id2600811">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>schema file, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a></dt><dt>scp, <a class="indexterm" href="Backup.html#id2664681">Rsync</a></dt><dt>script, <a class="indexterm" href="domain-member.html#id2566853">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#id2577941">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2582411">Caution Regarding LDAP and Samba</a></dt><dt>SCSI, <a class="indexterm" href="SambaHA.html#id2666073">High-Availability Server Products</a></dt><dt>SeAddUsersPrivilege, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601479">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>SeAssignPrimaryTokenPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeAuditPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeBackupPrivilege, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeChangeNotifyPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>Seclib, <a class="indexterm" href="AccessControls.html#id2606602">Viewing File Ownership</a></dt><dt>secondary controller, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>SeCreateGlobalPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePagefilePrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePermanentPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreateTokenPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>secret, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2566532">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#id2586889">Initialize the LDAP Database</a>, <a class="indexterm" href="CUPS-printing.html#id2638430">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>section name, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a></dt><dt>secure, <a class="indexterm" href="StandAloneServer.html#id2567216">Features and Benefits</a></dt><dt>secure access, <a class="indexterm" href="samba-pdc.html#id2554970">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#id2587612">Security and sambaSamAccount</a></dt><dt>secured networks, <a class="indexterm" href="securing-samba.html#id2611056">Introduction</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2552070">Samba Security Modes</a>, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="securing-samba.html#id2611056">Introduction</a>, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>controllers, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a></dt><dt>modes, <a class="indexterm" href="ServerType.html#id2551742">Features and Benefits</a></dt><dt>settings, <a class="indexterm" href="install.html#id2545469">Example Configuration</a></dt></dl></dd><dt>security = user, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>security account, <a class="indexterm" href="NetCommand.html#id2592044">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#id2612800">Trust Relationship Background</a></dt><dt>security credentials, <a class="indexterm" href="idmapper.html#id2598779">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613078">Native MS Windows NT4 Trusts Configuration</a></dt><dt>security domain, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></dt><dt>security domains, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></dt><dt>security flaw, <a class="indexterm" href="securing-samba.html#id2612168">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security hole, <a class="indexterm" href="securing-samba.html#id2611881">Using IPC$ Share-Based Denials </a></dt><dt>security identifier, <a class="indexterm" href="NetCommand.html#id2595316">Managing Security Identifiers (SIDS)</a> (see SID)</dt><dt>security level, <a class="indexterm" href="ServerType.html#id2553317">Server Security (User Level Security)</a></dt><dt>security levels, <a class="indexterm" href="ServerType.html#id2552070">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#id2558009">Security Mode and Master Browsers</a></dt><dt>Security Mode, <a class="indexterm" href="ServerType.html#id2552070">Samba Security Modes</a></dt><dt>security modes, <a class="indexterm" href="ServerType.html#id2552070">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#id2612168">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security settings, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>security structure, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></dt><dt>security vulnerability, <a class="indexterm" href="securing-samba.html#id2612080">Upgrading Samba</a></dt><dt>security-aware, <a class="indexterm" href="CUPS-printing.html#id2631670">application/octet-stream Printing</a></dt><dt>SeDebugPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeDiskOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601479">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>SeEnableDelegationPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeImpersonatePrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseBasePriorityPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseQuotaPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLoadDriverPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLockMemoryPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeMachineAccountPrivilege, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601479">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeManageVolumePrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>separate instances, <a class="indexterm" href="cfgsmarts.html#id2666890">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#id2616964">The [global] Section</a></dt><dt>separate workgroups, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>SePrintOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601479">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>SeProfileSingleProcessPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRemoteShutdownPrivilege, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601479">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRestorePrivilege, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>server failure, <a class="indexterm" href="SambaHA.html#id2665279">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#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563306">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650630">Remote Server Administration</a></dt><dt>Server Manager for Domains, <a class="indexterm" href="domain-member.html#id2563306">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#id2665598">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665725">Restrictive Constraints on Distributed File Systems</a></dt><dt>Server Type, <a class="indexterm" href="ServerType.html#id2551910">Server Types</a></dt><dd><dl><dt>Domain Controller, <a class="indexterm" href="FastStart.html#id2549549">Domain Controller</a></dt><dt>Domain Member, <a class="indexterm" href="FastStart.html#id2548624">Domain Member Server</a>, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a></dt><dt>Stand-alone, <a class="indexterm" href="FastStart.html#id2546704">Standalone Server</a></dt></dl></dd><dt>server type, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a></dt><dd><dl><dt>domain member, <a class="indexterm" href="ServerType.html#id2552853">Example Configuration</a></dt></dl></dd><dt>Server Types, <a class="indexterm" href="idmapper.html#id2597496">Samba Server Deployment Types and IDMAP</a></dt><dt>server-mode, <a class="indexterm" href="ServerType.html#id2553879">What Makes Samba a Domain Controller?</a></dt><dt>service name, <a class="indexterm" href="install.html#id2545469">Example Configuration</a></dt><dt>service-level, <a class="indexterm" href="classicalprinting.html#id2615504">Printing-Related Configuration Parameters</a>, <a class="indexterm" href="classicalprinting.html#id2616964">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#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeShutdownPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>session, <a class="indexterm" href="pam.html#id2658906">Anatomy of /etc/pam.d Entries</a></dt><dt>session services, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a></dt><dt>session setup, <a class="indexterm" href="ServerType.html#id2552243">User Level Security</a>, <a class="indexterm" href="ServerType.html#id2553317">Server Security (User Level Security)</a></dt><dt>sessionid.tdb, <a class="indexterm" href="CUPS-printing.html#id2638430">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>SessionSetupAndX, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>SeSyncAgentPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemEnvironmentPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemProfilePrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemtimePrivilege, <a class="indexterm" href="rights.html#id2602409">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#id2616964">The [global] Section</a></dt><dt>set user id (see SUID)</dt><dt>SeTakeOwnershipPrivilege, <a class="indexterm" href="NetCommand.html#id2594353">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601479">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeTcbPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2636695">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2637104">Requirements for adddriver and setdriver to Succeed</a></dt><dt>SetPrinter(), <a class="indexterm" href="CUPS-printing.html#id2636695">A Check of the rpcclient man Page</a></dt><dt>setting up directories, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a></dt><dt>SeUndockPrivilege, <a class="indexterm" href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>severely impaired, <a class="indexterm" href="NetworkBrowsing.html#id2573848">TCP/IP without NetBIOS</a></dt><dt>SFU, <a class="indexterm" href="idmapper.html#id2601081">IDMAP, Active Directory, and MS Services for UNIX 3.5</a></dt><dt>SFU 3.5, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a></dt><dt>SGI-RGB, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>SGID, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a></dt><dt>shadow, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a></dt><dt>shadow copies, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>shadow password file, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>shadow utilities, <a class="indexterm" href="groupmapping.html#id2588907">Features and Benefits</a></dt><dt>shadow_copy, <a class="indexterm" href="VFS.html#id2644801">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>shadow_copy module, <a class="indexterm" href="VFS.html#id2644801">shadow_copy</a></dt><dt>share, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>share access, <a class="indexterm" href="AccessControls.html#id2605984">Access Controls on Shares</a></dt><dt>share ACLs, <a class="indexterm" href="NT4Migration.html#id2673574">Samba-3 Implementation Choices</a></dt><dt>share management, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a></dt><dt>share modes, <a class="indexterm" href="SambaHA.html#id2665598">The Distributed File System Challenge</a></dt><dt>share permissions, <a class="indexterm" href="AccessControls.html#id2606144">Windows NT4 Workstation/Server</a></dt><dt>Share Permissions, <a class="indexterm" href="AccessControls.html#id2606249">Windows 200x/XP</a></dt><dt>share settings, <a class="indexterm" href="AccessControls.html#id2603577">Features and Benefits</a></dt><dt>share stanza controls, <a class="indexterm" href="NT4Migration.html#id2673574">Samba-3 Implementation Choices</a></dt><dt>share-level, <a class="indexterm" href="ServerType.html#id2552070">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2552418">Share-Level Security</a>, <a class="indexterm" href="msdfs.html#id2614427">Features and Benefits</a></dt><dt>share-level ACLs, <a class="indexterm" href="groupmapping.html#id2590417">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>share-mode, <a class="indexterm" href="StandAloneServer.html#id2567216">Features and Benefits</a></dt><dt>share-mode security, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a></dt><dt>share-mode server, <a class="indexterm" href="StandAloneServer.html#id2567216">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#id2572776">What Is Browsing?</a></dt><dt>shares and files, <a class="indexterm" href="winbind.html#id2647677">Requirements</a></dt><dt>share_info.tdb, <a class="indexterm" href="AccessControls.html#id2605984">Access Controls on Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2638430">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>Sharing, <a class="indexterm" href="AccessControls.html#id2606249">Windows 200x/XP</a></dt><dt>shell scripts, <a class="indexterm" href="classicalprinting.html#id2618365">Print Commands</a></dt><dt>shift, <a class="indexterm" href="CUPS-printing.html#id2628194">UNIX Printfile Conversion and GUI Basics</a></dt><dt>Shift_JIS, <a class="indexterm" href="unicode.html#id2663193">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>shortcuts, <a class="indexterm" href="ClientConfig.html#id2568666">TCP/IP Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>Shortcuts, <a class="indexterm" href="AccessControls.html#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>show-stopper-type, <a class="indexterm" href="NT4Migration.html#id2672040">Planning and Getting Started</a></dt><dt>SID, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2558452">The System Cannot Log You On (C000019B)</a>, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2566532">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2572209">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#id2581588">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="passdb.html#id2582549">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#id2588907">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2595316">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2599635">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2601479">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602897">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646726">Handling of Foreign SIDs</a>, <a class="indexterm" href="ProfileMgmt.html#id2655935">Side Bar Notes</a>, <a class="indexterm" href="ProfileMgmt.html#id2656027">Get SID</a>, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a>, <a class="indexterm" href="NT4Migration.html#id2672926">Profile Migration/Creation</a></dt><dt>SID management, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a></dt><dt>SID-to-GID, <a class="indexterm" href="groupmapping.html#id2588907">Features and Benefits</a></dt><dt>SIDs, <a class="indexterm" href="NT4Migration.html#id2673574">Samba-3 Implementation Choices</a></dt><dt>signing, <a class="indexterm" href="samba-pdc.html#id2558694">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>simple access controls, <a class="indexterm" href="NT4Migration.html#id2672685">Server Share and Directory Layout</a></dt><dt>simple configuration, <a class="indexterm" href="install.html#id2545469">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#id2580501">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#id2615605">Simple Print Configuration</a></dt><dt>simplest</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2545469">Example Configuration</a></dt></dl></dd><dt>simplicity, <a class="indexterm" href="StandAloneServer.html#id2567216">Features and Benefits</a></dt><dt>Simplicity is king, <a class="indexterm" href="NT4Migration.html#id2672685">Server Share and Directory Layout</a></dt><dt>single DHCP server, <a class="indexterm" href="ClientConfig.html#id2569931">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#id2665398">The Front-End Challenge</a></dt><dt>single sign-on, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a> (see SSO)</dt><dt>Single Sign-On, <a class="indexterm" href="CUPS-printing.html#id2635008">Caveats to Be Considered</a></dt><dt>single-byte charsets, <a class="indexterm" href="unicode.html#id2662892">What Are Charsets and Unicode?</a></dt><dt>single-logon, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a></dt><dt>single-sign-on, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>single-user mode, <a class="indexterm" href="winbind.html#id2647677">Requirements</a></dt><dt>slapadd, <a class="indexterm" href="passdb.html#id2586889">Initialize the LDAP Database</a></dt><dt>slapd, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a></dt><dt>slapd.conf, <a class="indexterm" href="ChangeNotes.html#id2572329">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2587612">Security and sambaSamAccount</a></dt><dt>slapd.pem, <a class="indexterm" href="samba-bdc.html#id2560028">LDAP Configuration Notes</a></dt><dt>slapindex, <a class="indexterm" href="ChangeNotes.html#id2572329">LDAP Changes in Samba-3.0.23</a></dt><dt>slappasswd, <a class="indexterm" href="passdb.html#id2586889">Initialize the LDAP Database</a></dt><dt>slave servers, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>slow browsing, <a class="indexterm" href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a></dt><dt>slow network, <a class="indexterm" href="speed.html#id2684091">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>slow network browsing, <a class="indexterm" href="NetworkBrowsing.html#id2579797">Invalid Cached Share References Affects Network Browsing</a></dt><dt>slow performance, <a class="indexterm" href="speed.html#id2684278">Samba Performance is Very Slow</a></dt><dt>smart printers, <a class="indexterm" href="CUPS-printing.html#id2626011">Overview</a></dt><dt>SMB, <a class="indexterm" href="ServerType.html#id2553317">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2567089">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="StandAloneServer.html#id2567310">Background</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572592">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577854">Technical Overview of Browsing</a>, <a class="indexterm" href="securing-samba.html#id2611530">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#id2661662">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="Backup.html#id2664509">BackupPC</a>, <a class="indexterm" href="SambaHA.html#id2665398">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665795">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#id2581384">Advantages of Encrypted Passwords</a></dt><dt>SMB locks, <a class="indexterm" href="SambaHA.html#id2665795">Server Pool Communications</a></dt><dt>SMB name, <a class="indexterm" href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a></dt><dt>SMB networking, <a class="indexterm" href="problems.html#id2677837">Diagnostics Tools</a></dt><dt>SMB password, <a class="indexterm" href="passdb.html#id2582990">The smbpasswd Tool</a></dt><dt>SMB Password, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>SMB password encryption, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>smb ports, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>SMB printers, <a class="indexterm" href="CUPS-printing.html#id2642420">Administrator Cannot Install Printers for All Local Users</a></dt><dt>SMB requests, <a class="indexterm" href="SambaHA.html#id2665492">Demultiplexing SMB Requests</a></dt><dt>SMB semantics, <a class="indexterm" href="SambaHA.html#id2665598">The Distributed File System Challenge</a></dt><dt>SMB server, <a class="indexterm" href="passdb.html#id2581384">Advantages of Encrypted Passwords</a></dt><dt>SMB Server, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>SMB services, <a class="indexterm" href="SambaHA.html#id2665725">Restrictive Constraints on Distributed File Systems</a></dt><dt>SMB signing, <a class="indexterm" href="domain-member.html#id2567089">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>SMB state information, <a class="indexterm" href="SambaHA.html#id2665492">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#id2667287">Multiple Virtual Server Personalities</a></dt><dt>smb.conf, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>SMB/CIFS, <a class="indexterm" href="samba-bdc.html#id2560450">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2567089">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a>, <a class="indexterm" href="unicode.html#id2662892">What Are Charsets and Unicode?</a></dt><dt>SMB/CIFS server, <a class="indexterm" href="passdb.html#id2585526">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#id2621549">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2621767">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="Backup.html#id2664509">BackupPC</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a>, <a class="indexterm" href="problems.html#id2677889">Debugging with Samba Itself</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2545276">Starting Samba</a>, <a class="indexterm" href="install.html#id2545469">Example Configuration</a>, <a class="indexterm" href="install.html#id2545728">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2547796">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548696">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2587074">Configuring Samba</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598938">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a>, <a class="indexterm" href="classicalprinting.html#id2615888">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2616085">Rapid Configuration Validation</a>, <a class="indexterm" href="VFS.html#id2644027">extd_audit</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2647829">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2649223">Linux</a>, <a class="indexterm" href="winbind.html#id2649428">Solaris</a>, <a class="indexterm" href="SambaHA.html#id2665795">Server Pool Communications</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="problems.html#id2677889">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#id2591250">Sample smb.conf Add Group Script</a></dt><dt>smbHome, <a class="indexterm" href="passdb.html#id2587847">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>smbldap-groupadd, <a class="indexterm" href="NetCommand.html#id2592620">Adding or Creating a New Group</a></dt><dt>smbldap-tools, <a class="indexterm" href="passdb.html#id2586079">ldapsam</a></dt><dt>smbpasswd, <a class="indexterm" href="ServerType.html#id2552853">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561834">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#id2565174">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2566532">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2572209">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#id2580317">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2582990">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2584058">User Account Management</a>, <a class="indexterm" href="passdb.html#id2585401">Account Import/Export</a>, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2586079">ldapsam</a>, <a class="indexterm" href="passdb.html#id2586381">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586889">Initialize the LDAP Database</a>, <a class="indexterm" href="idmapper.html#id2597584">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#id2653236">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671119">Passdb Backends and Authentication</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671313">New Schema</a></dt><dt>smbpasswd format, <a class="indexterm" href="passdb.html#id2584175">Listing User and Machine Accounts</a></dt><dt>smbpasswd plaintext database, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a></dt><dt>SMBsessetupX, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a></dt><dt>smbspool, <a class="indexterm" href="CUPS-printing.html#id2641511">Printing from CUPS to Windows-Attached Printers</a></dt><dt>smbstatus, <a class="indexterm" href="CUPS-printing.html#id2642228">Avoid Being Connected to the Samba Server as the Wrong User</a>, <a class="indexterm" href="bugreport.html#id2679668">Attaching to a Running Process</a></dt><dt>SMBtconX, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a></dt><dt>smbusers, <a class="indexterm" href="securing-samba.html#id2611471">User-Based Protection</a></dt><dt>SMS, <a class="indexterm" href="problems.html#id2678338">The Windows Network Monitor</a></dt><dt>Snapshots, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>sniffer, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="problems.html#id2677837">Diagnostics Tools</a></dt><dt>socket, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></dt><dt>socket address, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></dt><dt>SOFTQ printing system, <a class="indexterm" href="classicalprinting.html#id2616964">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#id2649617">Configure Winbind and PAM</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651176">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>Solaris 9, <a class="indexterm" href="winbind.html#id2649428">Solaris</a></dt><dt>source code, <a class="indexterm" href="install.html#id2545469">Example Configuration</a></dt><dt>space character, <a class="indexterm" href="groupmapping.html#id2591562">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#id2620161">[print$] Stanza Parameters</a></dt><dt>special sections, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>special stanza, <a class="indexterm" href="classicalprinting.html#id2620161">[print$] Stanza Parameters</a></dt><dt>specific restrictions, <a class="indexterm" href="AccessControls.html#id2605984">Access Controls on Shares</a></dt><dt>Specify an IP address, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a></dt><dt>spinning process, <a class="indexterm" href="bugreport.html#id2679668">Attaching to a Running Process</a></dt><dt>spool, <a class="indexterm" href="classicalprinting.html#id2615888">Verifying Configuration with testparm</a></dt><dd><dl><dt>directory, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a></dt></dl></dd><dt>spool files, <a class="indexterm" href="classicalprinting.html#id2618984">Custom Print Commands</a></dt><dt>spooled file, <a class="indexterm" href="classicalprinting.html#id2615294">Technical Introduction</a></dt><dt>spooler., <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a></dt><dt>spooling, <a class="indexterm" href="classicalprinting.html#id2618984">Custom Print Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2627130">Central Spooling vs. “Peer-to-Peer” Printing</a></dt><dd><dl><dt>central, <a class="indexterm" href="CUPS-printing.html#id2627130">Central Spooling vs. “Peer-to-Peer” Printing</a></dt><dt>peer-to-peer, <a class="indexterm" href="CUPS-printing.html#id2627130">Central Spooling vs. “Peer-to-Peer” Printing</a></dt></dl></dd><dt>spooling path, <a class="indexterm" href="classicalprinting.html#id2615888">Verifying Configuration with testparm</a></dt><dt>spooling-only, <a class="indexterm" href="CUPS-printing.html#id2627181">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#id2572149">Passdb Changes</a></dt><dt>SQUID, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>SRV records, <a class="indexterm" href="domain-member.html#id2565365">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#id2661060">Background Information</a></dt><dt>SrvMgr.exe, <a class="indexterm" href="domain-member.html#id2563306">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>srvmgr.exe, <a class="indexterm" href="domain-member.html#id2563306">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>SRVTOOLS.EXE, <a class="indexterm" href="domain-member.html#id2563306">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650630">Remote Server Administration</a></dt><dt>ssh, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561834">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2664509">BackupPC</a></dt><dt>SSH, <a class="indexterm" href="classicalprinting.html#id2621767">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651176">Remote Management with ThinLinc</a></dt><dt>SSL, <a class="indexterm" href="SWAT.html#id2674844">Securing SWAT through SSL</a></dt><dt>SSO, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2582137">Comments Regarding LDAP</a></dt><dt>stability, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>stack trace, <a class="indexterm" href="bugreport.html#id2679534">Internal Errors</a></dt><dt>stale network links, <a class="indexterm" href="NetworkBrowsing.html#id2579797">Invalid Cached Share References Affects Network Browsing</a></dt><dt>stand-alone server, <a class="indexterm" href="idmapper.html#id2597522">Standalone Samba Server</a></dt><dt>standalone, <a class="indexterm" href="ServerType.html#id2551910">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></dt><dt>standalone filter, <a class="indexterm" href="CUPS-printing.html#id2630332">pstoraster</a></dt><dt>standalone server, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a>, <a class="indexterm" href="StandAloneServer.html#id2567216">Features and Benefits</a>, <a class="indexterm" href="StandAloneServer.html#id2567310">Background</a>, <a class="indexterm" href="passdb.html#id2584409">Adding User Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672484">Domain Layout</a></dt><dt>standard confirmation, <a class="indexterm" href="InterdomainTrusts.html#id2613114">Creating an NT4 Domain Trust</a></dt><dt>stanza, <a class="indexterm" href="install.html#id2544309">Configuration File Syntax</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>stapling, <a class="indexterm" href="CUPS-printing.html#id2630164">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#id2545276">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2547796">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548696">Example Configuration</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2545276">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2547796">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548696">Example Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2545276">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2548696">Example Configuration</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a></dt></dl></dd><dt>startsmb, <a class="indexterm" href="compiling.html#id2681707">Alternative: Starting smbd as a Daemon</a></dt><dt>StartTLS, <a class="indexterm" href="passdb.html#id2587612">Security and sambaSamAccount</a></dt><dt>startup</dt><dd><dl><dt>process, <a class="indexterm" href="install.html#id2545276">Starting Samba</a></dt></dl></dd><dt>startup script, <a class="indexterm" href="winbind.html#id2648862">Starting and Testing the winbindd Daemon</a></dt><dt>state, <a class="indexterm" href="SambaHA.html#id2665279">Why Is This So Hard?</a></dt><dt>state information, <a class="indexterm" href="SambaHA.html#id2665279">Why Is This So Hard?</a></dt><dt>state of knowledge, <a class="indexterm" href="SambaHA.html#id2664995">Features and Benefits</a></dt><dt>static WINS entries, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt><dt>status32 codes, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>sticky bit, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a>, <a class="indexterm" href="NT4Migration.html#id2672685">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#id2582990">The smbpasswd Tool</a></dt><dt>stphoto2.ppd, <a class="indexterm" href="CUPS-printing.html#id2632569">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#id2674063">Features and Benefits</a></dt><dt>strptime, <a class="indexterm" href="passdb.html#id2584581">Changing User Accounts</a></dt><dt>stunnel, <a class="indexterm" href="SWAT.html#id2674844">Securing SWAT through SSL</a></dt><dt>su, <a class="indexterm" href="pam.html#id2658906">Anatomy of /etc/pam.d Entries</a></dt><dt>subnet mask, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>subnets, <a class="indexterm" href="NetworkBrowsing.html#id2573212">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#id2685467">Free Support</a></dt><dt>subsuffix parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2671706">New Suffix for Searching</a></dt><dt>Subversion, <a class="indexterm" href="compiling.html#id2680534">Introduction</a>, <a class="indexterm" href="compiling.html#id2680625">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#id2672074">Objectives</a></dt><dt>sufficient, <a class="indexterm" href="pam.html#id2658906">Anatomy of /etc/pam.d Entries</a></dt><dt>suffixes, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>SUID, <a class="indexterm" href="AccessControls.html#id2604246">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#id2658143">Features and Benefits</a></dt><dt>Sun Solaris, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>SUN-Raster, <a class="indexterm" href="CUPS-printing.html#id2629184">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#id2672074">Objectives</a></dt><dt>SVN</dt><dd><dl><dt>web, <a class="indexterm" href="compiling.html#id2680589">Access via ViewCVS</a></dt></dl></dd><dt>SVRTOOLS.EXE, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a></dt><dt>SWAT, <a class="indexterm" href="install.html#id2544264">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#id2545912">SWAT</a>, <a class="indexterm" href="SWAT.html#id2674206">Validate SWAT Installation</a>, <a class="indexterm" href="SWAT.html#id2674277">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#id2674844">Securing SWAT through SSL</a></dt></dl></dd><dt>SWAT binary support, <a class="indexterm" href="SWAT.html#id2674206">Validate SWAT Installation</a></dt><dt>swat command-line options, <a class="indexterm" href="SWAT.html#id2674277">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#id2614427">Features and Benefits</a></dt><dt>synchronization, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronization problems, <a class="indexterm" href="winbind.html#id2646438">Introduction</a></dt><dt>synchronize, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576529">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronized, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a></dt><dt>syntax tolerates spelling errors, <a class="indexterm" href="classicalprinting.html#id2615605">Simple Print Configuration</a></dt><dt>system access controls, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a></dt><dt>system accounts, <a class="indexterm" href="passdb.html#id2584058">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#id2592822">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#id2651878">Creating and Managing System Policies</a></dt><dt>System Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652629">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2656341">MS Windows 9x/Me</a></dt><dt>system security, <a class="indexterm" href="groupmapping.html#id2590417">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>system tools, <a class="indexterm" href="Backup.html#id2664368">Features and Benefits</a></dt><dt>SYSV, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2652426">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#id2675781">Assumptions</a></dt><dt>take ownership, <a class="indexterm" href="rights.html#id2602099">Description of Privileges</a></dt><dt>Take Ownership, <a class="indexterm" href="AccessControls.html#id2606602">Viewing File Ownership</a></dt><dt>tape, <a class="indexterm" href="NT4Migration.html#id2672685">Server Share and Directory Layout</a></dt><dt>tar, <a class="indexterm" href="Backup.html#id2664509">BackupPC</a></dt><dt>tarball, <a class="indexterm" href="install.html#id2545469">Example Configuration</a></dt><dt>tattoo effect, <a class="indexterm" href="NT4Migration.html#id2673574">Samba-3 Implementation Choices</a></dt><dt>TCP, <a class="indexterm" href="NetworkBrowsing.html#id2576203">Multiple Interfaces</a>, <a class="indexterm" href="SambaHA.html#id2665279">Why Is This So Hard?</a></dt><dt>TCP data streams, <a class="indexterm" href="SambaHA.html#id2665398">The Front-End Challenge</a></dt><dt>TCP failover, <a class="indexterm" href="SambaHA.html#id2665279">Why Is This So Hard?</a></dt><dt>TCP port, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a></dt><dt>TCP port 139, <a class="indexterm" href="integrate-ms-networks.html#id2661060">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>TCP port 445, <a class="indexterm" href="integrate-ms-networks.html#id2661060">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dt>tcp ports, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a></dt><dt>TCP/IP, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572592">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a></dt><dt>TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a></dt><dt>TCP/IP configuration panel, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a></dt><dt>TCP/IP protocol configuration, <a class="indexterm" href="ClientConfig.html#id2568622">Technical Details</a></dt><dt>TCP/IP protocol settings, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a></dt><dt>TCP/IP protocol stack, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a></dt><dt>TCP/IP-only, <a class="indexterm" href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a></dt><dt>tcpdump, <a class="indexterm" href="problems.html#id2678144">Tcpdump</a></dt><dt>TDB, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a>, <a class="indexterm" href="classicalprinting.html#id2622512">Running rpcclient with setdriver</a>, <a class="indexterm" href="CUPS-printing.html#id2638430">The Printing *.tdb Files</a>, <a class="indexterm" href="CUPS-printing.html#id2638633">Trivial Database Files</a>, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></dt><dd><dl><dt>backing up (see tdbbackup)</dt></dl></dd><dt>tdb, <a class="indexterm" href="winbind.html#id2647424">User and Group ID Allocation</a>, <a class="indexterm" href="SambaHA.html#id2665795">Server Pool Communications</a>, <a class="indexterm" href="tdb.html#id2679876">Features and Benefits</a></dt><dt>tdb data files, <a class="indexterm" href="upgrading-to-3.0.html#id2670671">TDB Data Files</a></dt><dt>TDB database, <a class="indexterm" href="classicalprinting.html#id2621904">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#id2670671">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#id2670671">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#id2605984">Access Controls on Shares</a></dt><dt>tdbbackup, <a class="indexterm" href="CUPS-printing.html#id2638817">Using tdbbackup</a>, <a class="indexterm" href="speed.html#id2684182">Corrupt tdb Files</a></dt><dt>tdbdump, <a class="indexterm" href="AccessControls.html#id2605984">Access Controls on Shares</a></dt><dt>tdbsam, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2572209">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#id2584175">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2585921">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>tdbsam databases, <a class="indexterm" href="passdb.html#id2585526">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#id2581524">Advantages of Non-Encrypted Passwords</a></dt><dt>telnet logins, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>template, <a class="indexterm" href="ProfileMgmt.html#id2656232">Creating and Managing Group Profiles</a></dt><dt>temporary location, <a class="indexterm" href="classicalprinting.html#id2618365">Print Commands</a></dt><dt>terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651176">Remote Management with ThinLinc</a></dt><dt>Terminal Server, <a class="indexterm" href="SambaHA.html#id2665492">Demultiplexing SMB Requests</a></dt><dt>Testing Server Setup, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a></dt><dt>testparm, <a class="indexterm" href="install.html#id2545728">Test Your Config File with testparm</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="classicalprinting.html#id2615605">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2615888">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2616085">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2616484">Extended Printing Configuration</a>, <a class="indexterm" href="diagnosis.html#id2675781">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a>, <a class="indexterm" href="problems.html#id2677889">Debugging with Samba Itself</a></dt><dt>tethereal, <a class="indexterm" href="problems.html#id2678144">Tcpdump</a></dt><dt>text/plain, <a class="indexterm" href="CUPS-printing.html#id2629612">MIME Type Conversion Rules</a></dt><dt>texttops, <a class="indexterm" href="CUPS-printing.html#id2629612">MIME Type Conversion Rules</a></dt><dt>thin client, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651176">Remote Management with ThinLinc</a></dt><dt>ThinLinc, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651176">Remote Management with ThinLinc</a></dt><dt>tid, <a class="indexterm" href="SambaHA.html#id2665492">Demultiplexing SMB Requests</a></dt><dt>TIFF, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>TightVNC, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651176">Remote Management with ThinLinc</a></dt><dt>time difference, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a></dt><dt>time format, <a class="indexterm" href="passdb.html#id2584581">Changing User Accounts</a></dt><dt>time-to-live (see TTL)</dt><dt>tool, <a class="indexterm" href="AccessControls.html#id2606249">Windows 200x/XP</a></dt><dt>tools, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2582411">Caution Regarding LDAP and Samba</a></dt><dt>tools\reskit\netadmin\poledit, <a class="indexterm" href="PolicyMgmt.html#id2652067">Windows 9x/ME Policies</a></dt><dt>traditional printing, <a class="indexterm" href="classicalprinting.html#id2618984">Custom Print Commands</a></dt><dt>training course, <a class="indexterm" href="Backup.html#id2664412">Discussion of Backup Solutions</a></dt><dt>transfer differences, <a class="indexterm" href="Backup.html#id2664681">Rsync</a></dt><dt>transformation, <a class="indexterm" href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></dt><dt>transitive, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></dt><dt>transparent access, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a></dt><dt>transparently reconnected, <a class="indexterm" href="SambaHA.html#id2665149">The Ultimate Goal</a></dt><dt>transport connection loss, <a class="indexterm" href="locking.html#id2608934">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#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></dt><dt>trivial database, <a class="indexterm" href="passdb.html#id2580501">New Account Storage Systems</a> (see TDB)</dt><dt>Trivial Database, <a class="indexterm" href="tdb.html#id2679876">Features and Benefits</a></dt><dt>troubleshoot, <a class="indexterm" href="classicalprinting.html#id2616085">Rapid Configuration Validation</a></dt><dt>troubleshooting, <a class="indexterm" href="CUPS-printing.html#id2641511">Printing from CUPS to Windows-Attached Printers</a></dt><dt>Tru64 UNIX, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>trust, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="ServerType.html#id2552625">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#id2614041">NT4-Style Domain Trusts with Windows 2000</a></dt><dd><dl><dt>interdomain, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a></dt><dt>machine, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a></dt></dl></dd><dt>trust account password, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a></dt><dt>trust accounts, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a></dt><dt>trust established, <a class="indexterm" href="InterdomainTrusts.html#id2613296">Interdomain Trust Facilities</a></dt><dt>trust relationship, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613211">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613296">Interdomain Trust Facilities</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613505">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2614041">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#id2612728">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613114">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>trusted, <a class="indexterm" href="NetworkBrowsing.html#id2578560">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#id2589715">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#id2612800">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613211">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613845">Samba as the Trusting Domain</a>, <a class="indexterm" href="winbind.html#id2647036">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#id2612800">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613211">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#id2612800">Trust Relationship Background</a></dt><dt>TTL, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt><dt>turn oplocks off, <a class="indexterm" href="locking.html#id2609773">Advanced Samba Oplocks Parameters</a></dt><dt>turnkey solution, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a></dt><dt>two-up, <a class="indexterm" href="CUPS-printing.html#id2632569">Examples for Filtering Chains</a></dt><dt>two-way</dt><dd><dl><dt>propagation, <a class="indexterm" href="samba-bdc.html#id2558877">Features and Benefits</a></dt></dl></dd><dt>two-way trust, <a class="indexterm" href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613078">Native MS Windows NT4 Trusts Configuration</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613296">Interdomain Trust Facilities</a></dt></dl></div><div class="indexdiv"><h3>U</h3><dl><dt>UCS-2, <a class="indexterm" href="unicode.html#id2663193">Japanese Charsets</a></dt><dt>UDP, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574407">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#id2576203">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a></dt><dt>UDP port 137, <a class="indexterm" href="integrate-ms-networks.html#id2661060">Background Information</a></dt><dt>udp ports, <a class="indexterm" href="winbind.html#id2648624">Join the Samba Server to the PDC Domain</a></dt><dt>UDP unicast, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a></dt><dt>UID, <a class="indexterm" href="samba-bdc.html#id2561224">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#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2566532">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#id2581588">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#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2584175">Listing User and Machine Accounts</a>, <a class="indexterm" href="groupmapping.html#id2588907">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592822">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="NetCommand.html#id2593942">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598545">Primary Domain Controller</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646726">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2648862">Starting and Testing the winbindd Daemon</a></dt><dt>uid, <a class="indexterm" href="passdb.html#id2586617">OpenLDAP Configuration</a></dt><dt>UID numbers, <a class="indexterm" href="idmapper.html#id2597584">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#id2620993">Identifying Driver Files</a></dt><dt>unexpected.tdb, <a class="indexterm" href="CUPS-printing.html#id2638430">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>unicast, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a></dt><dt>unicode, <a class="indexterm" href="unicode.html#id2662892">What Are Charsets and Unicode?</a></dt><dt>Unicode, <a class="indexterm" href="unicode.html#id2663025">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>Unicode UTF-8, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>unified logon, <a class="indexterm" href="winbind.html#id2646438">Introduction</a></dt><dt>UNIX, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dd><dl><dt>server, <a class="indexterm" href="ServerType.html#id2551742">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#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563586">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>unix charset, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>UNIX Domain Socket, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a></dt><dt>UNIX domain socket, <a class="indexterm" href="winbind.html#id2646852">How Winbind Works</a></dt><dt>UNIX file system access controls, <a class="indexterm" href="AccessControls.html#id2603577">Features and Benefits</a></dt><dt>UNIX group, <a class="indexterm" href="NetCommand.html#id2592822">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#id2646528">What Winbind Provides</a></dt><dt>UNIX home directories, <a class="indexterm" href="securing-samba.html#id2612168">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#id2647424">User and Group ID Allocation</a></dt><dt>UNIX locking, <a class="indexterm" href="locking.html#id2608676">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#id2673574">Samba-3 Implementation Choices</a></dt><dt>UNIX printer, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>UNIX printing, <a class="indexterm" href="classicalprinting.html#id2615294">Technical Introduction</a></dt><dt>UNIX system account, <a class="indexterm" href="domain-member.html#id2566853">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#id2664368">Features and Benefits</a></dt><dt>UNIX user identifier (see UID)</dt><dt>UNIX users, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2646528">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#id2567310">Background</a></dt><dt>UNIX/Linux group, <a class="indexterm" href="groupmapping.html#id2589658">Warning: User Private Group Problems</a></dt><dt>UNIX/Linux user account, <a class="indexterm" href="NetCommand.html#id2593942">UNIX and Windows User Management</a></dt><dt>unlink calls, <a class="indexterm" href="VFS.html#id2644354">recycle</a></dt><dt>unlinked, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a></dt><dt>unmapped groups, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a></dt><dt>unmapped users, <a class="indexterm" href="ChangeNotes.html#id2571717">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#id2642387">Windows 200x/XP Local Security Policies</a></dt><dt>unstoppable services, <a class="indexterm" href="SambaHA.html#id2665149">The Ultimate Goal</a></dt><dt>unsupported encryption, <a class="indexterm" href="domain-member.html#id2566167">Possible Errors</a></dt><dt>unsupported software, <a class="indexterm" href="ch47.html#id2685685">Commercial Support</a></dt><dt>updates, <a class="indexterm" href="securing-samba.html#id2612080">Upgrading Samba</a></dt><dt>upload drivers, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a></dt><dt>uploaded driver, <a class="indexterm" href="classicalprinting.html#id2616964">The [global] Section</a></dt><dt>uploaded drivers, <a class="indexterm" href="classicalprinting.html#id2619653">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>uploading, <a class="indexterm" href="classicalprinting.html#id2619653">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>upper-case, <a class="indexterm" href="ServerType.html#id2552243">User Level Security</a></dt><dt>uppercase, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566853">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#id2591562">Adding Groups Fails</a></dt><dt>USB, <a class="indexterm" href="CUPS-printing.html#id2632569">Examples for Filtering Chains</a></dt><dt>use computer anywhere, <a class="indexterm" href="unicode.html#id2662840">Features and Benefits</a></dt><dt>user, <a class="indexterm" href="ChangeNotes.html#id2571717">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a></dt><dt>user access management, <a class="indexterm" href="domain-member.html#id2562183">Features and Benefits</a></dt><dt>user account, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2584058">User Account Management</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="NetCommand.html#id2593942">UNIX and Windows User Management</a></dt><dd><dl><dt>Adding/Deleting, <a class="indexterm" href="passdb.html#id2582990">The smbpasswd Tool</a></dt></dl></dd><dt>user account database, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></dt><dt>user accounts, <a class="indexterm" href="passdb.html#id2582411">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="idmapper.html#id2597584">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#id2587498">Accounts and Groups Management</a></dt></dl></dd><dt>user and group, <a class="indexterm" href="winbind.html#id2646528">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#id2585655">smbpasswd: Encrypted Password Database</a></dt><dt>user authentication, <a class="indexterm" href="winbind.html#id2646902">Microsoft Remote Procedure Calls</a></dt><dt>user database, <a class="indexterm" href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2585579">Plaintext</a></dt><dt>user encoded, <a class="indexterm" href="NetCommand.html#id2595316">Managing Security Identifiers (SIDS)</a></dt><dt>user groups, <a class="indexterm" href="ch47.html#id2685467">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#id2582990">The smbpasswd Tool</a>, <a class="indexterm" href="NetCommand.html#id2592044">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592419">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#id2587498">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#id2613845">Samba as the Trusting Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650630">Remote Server Administration</a>, <a class="indexterm" href="ProfileMgmt.html#id2656232">Creating and Managing Group Profiles</a></dt><dt>User Manager for Domains, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650630">Remote Server Administration</a></dt><dt>user or group, <a class="indexterm" href="rights.html#id2601754">Using the “net rpc rights” Utility</a></dt><dt>user profiles, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>User Rights and Privileges, <a class="indexterm" href="rights.html#id2602897">The Administrator Domain SID</a></dt><dt>user-level, <a class="indexterm" href="ServerType.html#id2552070">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2552243">User Level Security</a></dt><dt>User-level access control, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>user-level security, <a class="indexterm" href="passdb.html#id2581384">Advantages of Encrypted Passwords</a></dt><dt>user-mode security, <a class="indexterm" href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a></dt><dt>user.DAT, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2655642">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>user.MAN, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>User.MAN, <a class="indexterm" href="ProfileMgmt.html#id2656092">Mandatory Profiles</a></dt><dt>useradd, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563586">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>username, <a class="indexterm" href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></dt><dt>username and password, <a class="indexterm" href="ClientConfig.html#id2570437">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>username map, <a class="indexterm" href="NetCommand.html#id2594270">User Mapping</a></dt><dt>userPassword, <a class="indexterm" href="passdb.html#id2586889">Initialize the LDAP Database</a></dt><dt>users, <a class="indexterm" href="PolicyMgmt.html#id2651772">Features and Benefits</a></dt><dt>UsrMgr.exe, <a class="indexterm" href="domain-member.html#id2563306">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>UTF-8, <a class="indexterm" href="unicode.html#id2663025">Samba and Charsets</a>, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>UTF-8 encoding, <a class="indexterm" href="SWAT.html#id2674996">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#id2611881">Using IPC$ Share-Based Denials </a></dt><dt>valid users, <a class="indexterm" href="diagnosis.html#id2676074">The Tests</a></dt><dt>validate, <a class="indexterm" href="install.html#id2545728">Test Your Config File with testparm</a>, <a class="indexterm" href="diagnosis.html#id2675742">Introduction</a></dt><dt>validate every backup, <a class="indexterm" href="NT4Migration.html#id2672685">Server Share and Directory Layout</a></dt><dt>validation, <a class="indexterm" href="samba-pdc.html#id2554970">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#id2627181">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>verifiable, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a></dt><dt>verify, <a class="indexterm" href="classicalprinting.html#id2616085">Rapid Configuration Validation</a></dt><dt>version control, <a class="indexterm" href="VFS.html#id2644801">shadow_copy</a></dt><dt>VFS, <a class="indexterm" href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a>, <a class="indexterm" href="VFS.html#id2643368">Discussion</a></dt><dt>VFS module, <a class="indexterm" href="VFS.html#id2644801">shadow_copy</a>, <a class="indexterm" href="ProfileMgmt.html#id2656092">Mandatory Profiles</a></dt><dt>VFS modules, <a class="indexterm" href="VFS.html#id2643368">Discussion</a>, <a class="indexterm" href="VFS.html#id2645707">VFS Modules Available Elsewhere</a></dt><dt>vgcreate, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>vgdisplay, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>vipw, <a class="indexterm" href="samba-pdc.html#id2558287">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2562869">Manual Creation of Machine Trust Accounts</a></dt><dt>Virtual File System (see VFS)</dt><dt>virtual server, <a class="indexterm" href="SambaHA.html#id2665398">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665992">A Simple Solution</a></dt><dt>virus scanner, <a class="indexterm" href="VFS.html#id2643368">Discussion</a></dt><dt>Visual Studio, <a class="indexterm" href="CUPS-printing.html#id2634075">PostScript Drivers with No Major Problems, Even in Kernel7 Mode</a></dt><dt>vital task, <a class="indexterm" href="SambaHA.html#id266 4995">Features and Benefits</a></dt><dt>VNC/RFB, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>volume group, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>volunteers, <a class="indexterm" href="problems.html#id2678702">Getting Mailing List Help</a></dt><dt>vscan, <a class="indexterm" href="VFS.html#id2645792">vscan</a></dt><dt>vuid, <a class="indexterm" href="SambaHA.html#id2665492">Demultiplexing SMB Requests</a></dt></dl></div><div class="indexdiv"><h3>W</h3><dl><dt>W32X86, <a class="indexterm" href="classicalprinting.html#id2620993">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2634075">PostScript Drivers with No Major Problems, Even in Kernel8 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id26350 08">Caveats to Be Considered</a></dt><dt>W32X86/2, <a class="indexterm" href="CUPS-printing.html#id2628790">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#id2609540">Slow and/or Unreliable Networks</a></dt><dt>wbinfo, <a class="indexterm" href="winbind.html#id2648862">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#id2579597">Browsing of Shares and Directories is Very Slow</a></dt><dt>Welcome, <a class="indexterm" href="ClientConfig.html#id2570437">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>well known RID, <a class="indexterm" href="rights.html#id2602897">The Administrator Domain SID</a></dt><dt>well-controlled network, <a class="indexterm" href="NT4Migration.html#id2672685">Server Share and Directory Layout</a></dt><dt>well-known RID, <a class="indexterm" href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a></dt><dt>wide-area network bandwidth, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>win election, <a class="indexterm" href="NetworkBrowsing.html#id2575942">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#id2620993">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2621404">Obtaining Driver Files from Windows Client [print$] Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2635008">Caveats to Be Considered</a></dt><dt>winbind, <a class="indexterm" href="domain-member.html#id2564892">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598850">Examples of IDMAP Backend Usage</a>, <a class="indexterm" href="idmapper.html#id2598938">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2648427">Configure smb.conf</a></dt><dt>Winbind, <a class="indexterm" href="StandAloneServer.html#id2567310">Background</a>, <a class="indexterm" href="winbind.html#id2646681">Target Uses</a>, <a class="indexterm" href="winbind.html#id2646989">Microsoft Active Directory Services</a>, <a class="indexterm" href="winbind.html#id2647268">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2647424">User and Group ID Allocation</a>, <a class="indexterm" href="winbind.html#id2647499">Result Caching</a>, <a class="indexterm" href="winbind.html#id2647562">Introduction</a>, <a class="indexterm" href="winbind.html#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2648314">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2648862">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2649784">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2650287">Conclusion</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt><dt>Winbind architecture, <a class="indexterm" href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></dt><dt>Winbind hooks, <a class="indexterm" href="winbind.html#id2646528">What Winbind Provides</a></dt><dt>Winbind services, <a class="indexterm" href="winbind.html#id2648862">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#id2650130">Solaris-Specific Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2545276">Starting Samba</a>, <a class="indexterm" href="install.html#id2545728">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2548696">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561224">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2572209">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="groupmapping.html#id2588907">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2593942">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2646095">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646852">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2647677">Requirements</a>, <a class="indexterm" href="winbind.html#id2647829">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2647916">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2648427">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2648862">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2649428">Solaris</a>, <a class="indexterm" href="winbind.html#id2649617">Configure Winbind and PAM</a>, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></dt><dt>winbindd daemon, <a class="indexterm" href="winbind.html#id2649223">Linux</a></dt><dt>Windows, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="unicode.html#id2663332">Basic Parameter Setting</a></dt><dt>Windows 2000, <a class="indexterm" href="domain-member.html#id2565365">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#id2612800">Trust Relationship Background</a></dt><dt>Windows 2000 Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a></dt><dt>Windows 2000 server, <a class="indexterm" href="InterdomainTrusts.html#id2614041">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>Windows 2003, <a class="indexterm" href="domain-member.html#id2565365">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2567089">I Can't Join a Windows 2003 PDC</a></dt><dt>Windows 200x/XP, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a>, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a></dt><dt>Windows 9x/Me, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650630">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#id2646528">What Winbind Provides</a></dt><dt>Windows client, <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows client failover, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>Windows domain, <a class="indexterm" href="upgrading-to-3.0.html#id2671022">Changes in Behavior</a></dt><dt>Windows Explorer, <a class="indexterm" href="NetworkBrowsing.html#id2578138">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2620993">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#id2589658">Warning: User Private Group Problems</a>, <a class="indexterm" href="NetCommand.html#id2592822">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#id2602897">The Administrator Domain SID</a></dt><dt>Windows groups, <a class="indexterm" href="NetCommand.html#id2592822">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#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>Windows Me TCP/IP, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a></dt><dt>Windows Millennium, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a></dt><dt>Windows Millennium edition (Me) TCP/IP, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a></dt><dt>Windows network clients, <a class="indexterm" href="NetworkBrowsing.html#id2572592">Features and Benefits</a></dt><dt>Windows NT domain name, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows NT PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2641511">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#id2622170">Check Samba for Driver Recognition</a></dt><dt>Windows NT/200x, <a class="indexterm" href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a>, <a class="indexterm" href="winbind.html#id2647562">Introduction</a></dt><dt>Windows NT/200x/XP, <a class="indexterm" href="classicalprinting.html#id2616964">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#id2570437">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2571409">Common Errors</a></dt><dt>Windows NT3.10, <a class="indexterm" href="samba-bdc.html#id2559283">Essential Background Information</a></dt><dt>Windows NT4, <a class="indexterm" href="AccessControls.html#id2606144">Windows NT4 Workstation/Server</a>, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a></dt><dt>Windows NT4 domains, <a class="indexterm" href="InterdomainTrusts.html#id2613296">Interdomain Trust Facilities</a></dt><dt>Windows NT4 Server, <a class="indexterm" href="InterdomainTrusts.html#id2613505">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Windows NT4/200X, <a class="indexterm" href="passdb.html#id2582549">LDAP Directories and Windows Computer Accounts</a></dt><dt>Windows NT4/200x, <a class="indexterm" href="groupmapping.html#id2589322">Discussion</a></dt><dt>Windows NT4/200x/XP, <a class="indexterm" href="samba-bdc.html#id2560598">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="AccessControls.html#id2606249">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#id2639181">690 “Perfect” Printers</a></dt><dt>Windows privilege model, <a class="indexterm" href="rights.html#id2601479">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#id2654270">Windows 9x/Me Profile Setup</a></dt><dd><dl><dt>default profile locations, <a class="indexterm" href="ProfileMgmt.html#id2656493">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2657055">MS Windows 200x/XP</a></dt><dt>profile path, <a class="indexterm" href="ProfileMgmt.html#id2654270">Windows 9x/Me Profile Setup</a></dt><dt>roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2654044">Disabling Roaming Profile Support</a></dt></dl></dd><dt>Windows Resource Kit, <a class="indexterm" href="ProfileMgmt.html#id2654044">Disabling Roaming Profile Support</a></dt><dt>Windows Security Identifiers (see SID)</dt><dt>Windows Terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></dt><dt>Windows Terminal Server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651176">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#id2593942">UNIX and Windows User Management</a></dt><dt>Windows workstation., <a class="indexterm" href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows XP Home, <a class="indexterm" href="passdb.html#id2581069">Important Notes About Security</a></dt><dt>Windows XP Home edition, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2557576">The Special Case of MS Windows XP Home Edition</a>, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows XP Home Edition, <a class="indexterm" href="ProfileMgmt.html#id2657055">MS Windows 200x/XP</a></dt><dt>Windows XP Professional, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="classicalprinting.html#id2615070">Features and Benefits</a></dt><dt>Windows XP Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a></dt><dt>Windows XP TCP/IP, <a class="indexterm" href="ClientConfig.html#id2568742">MS Windows XP Professional</a></dt><dt>Windows95/98/ME, <a class="indexterm" href="classicalprinting.html#id2622170">Check Samba for Driver Recognition</a></dt><dt>winnt.adm, <a class="indexterm" href="PolicyMgmt.html#id2652204">Windows NT4-Style Policy Files</a></dt><dt>WINS, <a class="indexterm" href="samba-pdc.html#id2554336">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2555590">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560450">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2564157">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#id2568742">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569384">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572592">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572776">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573212">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575341">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575942">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577854">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577941">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578560">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662411">WINS Lookup</a>, <a class="indexterm" href="DNSDHCP.html#id2686016">Example Configuration</a></dt><dt>wins, <a class="indexterm" href="integrate-ms-networks.html#id2661538">/etc/nsswitch.conf</a></dt><dt>WINS Configuration, <a class="indexterm" href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS lookup, <a class="indexterm" href="domain-member.html#id2564157">Joining an NT4-type Domain with Samba-3</a></dt><dt>WINS replication, <a class="indexterm" href="NetworkBrowsing.html#id2577215">WINS Replication</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt><dt>WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2572776">What Is Browsing?</a></dt><dt>WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575942">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577941">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS server address, <a class="indexterm" href="NetworkBrowsing.html#id2574407">How Browsing Functions</a></dt><dt>WINS server settings, <a class="indexterm" href="ClientConfig.html#id2569931">MS Windows Me</a></dt><dt>WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a></dt><dt>WINS service, <a class="indexterm" href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a></dt><dt>WINS Support, <a class="indexterm" href="NetworkBrowsing.html#id2572776">What Is Browsing?</a></dt><dt>wins.dat, <a class="indexterm" href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></dt><dt>without Administrator account, <a class="indexterm" href="rights.html#id2602897">The Administrator Domain SID</a></dt><dt>without ADS, <a class="indexterm" href="NT4Migration.html#id2672074">Objectives</a></dt><dt>work-flow protocol, <a class="indexterm" href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></dt><dt>workgroup, <a class="indexterm" href="ServerType.html#id2553317">Server Security (User Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2556095">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2557614">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575942">Making Samba the Domain Master</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2666890">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>membership, <a class="indexterm" href="samba-pdc.html#id2556095">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#id2604246">File and Directory Access Control</a></dt><dt>write, <a class="indexterm" href="AccessControls.html#id2604246">File and Directory Access Control</a></dt><dt>write access, <a class="indexterm" href="AccessControls.html#id2604658">Protecting Directories and Files from Deletion</a></dt><dt>Write caching, <a class="indexterm" href="locking.html#id2608934">Opportunistic Locking Overview</a></dt><dt>write changes, <a class="indexterm" href="idmapper.html#id2598779">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#id2628016">Windows Drivers, GDI, and EMF</a></dt></dl></div><div class="indexdiv"><h3>X</h3><dl><dt>X Window9 System, <a class="indexterm" href="CUPS-printing.html#id26280 16">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628194">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#id2644988">Shadow Copy Setup</a></dt><dt>xfsprogs, <a class="indexterm" href="VFS.html#id2644988">Shadow Copy Setup</a></dt><dt>xinetd, <a class="indexterm" href="SWAT.html#id2674206">Validate SWAT Installation</a>, <a class="indexterm" href="compiling.html#id2681487">Starting from inetd.conf</a> (see inetd)</dt><dt>XML, <a class="indexterm" href="ChangeNotes.html#id2572149">Passdb Changes</a></dt><dt>XML-based datasets, <a class="indexterm" href="CUPS-printing.html#id2639812">Foomatic Database-Generated PPDs</a></dt><dt>xpp, <a class="indexterm" href="CUPS-printing.html#id2639812">Foomatic Database-Generated PPDs</a></dt><dt>Xprint, <a class="indexterm" href="CUPS-printing.html#id2628016">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628194">UNIX Printfile Conversion and GUI Basics</a></dt><dt>xxxxBSD, <a class="indexterm" href="pam.html#id2658143">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>Y</h3><dl><dt>yppasswd, <a class="indexterm" href="passdb.html#id2582990">The smbpasswd Tool</a></dt></dl></div><div class="indexdiv"><h3>Z</h3><dl><dt>Zero Administration Kit, <a class="indexterm" href="PolicyMgmt.html#id2652204">Windows NT4-Style Policy Files</a></dt><dt>zero-based broadcast, <a class="indexterm" href="NetworkBrowsing.html#id2576182">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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id2688464"></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#id2635022">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2636299">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2637342">Manual Driver Installation in 15 Steps</a></dt><dt>$, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a></dt><dt>%i macro, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>%L, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>%PDF, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>%SystemRoot%\System32\config, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></dt><dt>../source/nsswitch, <a class="indexterm" href="winbind.html#id2649631">Configure Winbind and PAM</a></dt><dt>.ai, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>.AppleDouble, <a class="indexterm" href="VFS.html#id2644764">netatalk</a></dt><dt>.eps, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>.pdf, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>.PDS extension, <a class="indexterm" href="ProfileMgmt.html#id2654981">Windows NT4 Workstation</a></dt><dt>.profiles, <a class="indexterm" href="ProfileMgmt.html#id2653822">Windows 9x/Me User Profiles</a></dt><dt>.ps, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>.recycle, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>/bin/false, <a class="indexterm" href="ServerType.html#id2552867">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#id2645002">Shadow Copy Setup</a></dt><dt>/etc/cups/, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>/etc/cups/mime.convs, <a class="indexterm" href="CUPS-printing.html#id2627194">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#id2629626">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2631683">application/octet-stream Printing</a></dt><dt>/etc/cups/mime.types, <a class="indexterm" href="CUPS-printing.html#id2627194">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#id2631683">application/octet-stream Printing</a></dt><dt>/etc/fstab, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>/etc/group, <a class="indexterm" href="ServerType.html#id2552431">Share-Level Security</a>, <a class="indexterm" href="groupmapping.html#id2589335">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2591264">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a>, <a class="indexterm" href="Portability.html#id2682105">HPUX</a></dt><dt>/etc/groups, <a class="indexterm" href="pam.html#id2658920">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/host.conf, <a class="indexterm" href="integrate-ms-networks.html#id2661203">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661500">/etc/host.conf</a></dt><dt>/etc/hosts, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661203">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661276">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>/etc/hosts>, <a class="indexterm" href="integrate-ms-networks.html#id2661276">/etc/hosts</a></dt><dt>/etc/inetd.conf, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="compiling.html#id2681501">Starting from inetd.conf</a></dt><dt>/etc/init.d/samba, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="winbind.html#id2649237">Linux</a></dt><dt>/etc/init.d/samba.server, <a class="indexterm" href="winbind.html#id2649442">Solaris</a></dt><dt>/etc/init.d/smb, <a class="indexterm" href="winbind.html#id2649237">Linux</a></dt><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566180">Possible Errors</a>, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2600239">IDMAP Storage in LDAP Using Winbind</a></dt><dt>/etc/ldap.conf, <a class="indexterm" href="idmapper.html#id2600239">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2600824">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>/etc/logingroup, <a class="indexterm" href="Portability.html#id2682105">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#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598951">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2600824">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="winbind.html#id2647050">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661203">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661552">/etc/nsswitch.conf</a></dt><dt>/etc/openldap/slapd.conf, <a class="indexterm" href="FastStart.html#id2550542">The Primary Domain Controller</a></dt><dt>/etc/openldap/sldap.conf, <a class="indexterm" href="passdb.html#id2587512">Accounts and Groups Management</a></dt><dt>/etc/pam.conf, <a class="indexterm" href="winbind.html#id2650143">Solaris-Specific Configuration</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2658787">Technical Discussion</a>, <a class="indexterm" href="pam.html#id2658920">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/pam.d, <a class="indexterm" href="winbind.html#id2647690">Requirements</a>, <a class="indexterm" href="winbind.html#id2647842">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2649631">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>/etc/pam.d/, <a class="indexterm" href="winbind.html#id2647282">Pluggable Authentication Modules</a>, <a class="indexterm" href="pam.html#id2658787">Technical Discussion</a></dt><dt>/etc/pam.d/ftp, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/login, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/samba, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/passwd, <a class="indexterm" href="ServerType.html#id2552431">Share-Level Security</a>, <a class="indexterm" href="ServerType.html#id2552867">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2558301">“$” 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#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563716">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2566867">Adding Machine to Domain Fails</a>, <a class="indexterm" href="StandAloneServer.html#id2567324">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#id2580330">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2585593">Plaintext</a>, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="groupmapping.html#id2590431">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="idmapper.html#id2597597">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#id2646109">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2648876">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>/etc/printcap, <a class="indexterm" href="CUPS-printing.html#id2626143">Basic CUPS Support Configuration</a></dt><dt>/etc/resolv.conf, <a class="indexterm" href="integrate-ms-networks.html#id2661203">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="diagnosis.html#id2675795">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>/etc/samba, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2668315">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>/etc/samba/scripts, <a class="indexterm" href="NetCommand.html#id2593663">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>/etc/samba/secrets.tdb, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>/etc/samba/smb.conf, <a class="indexterm" href="install.html#id2544278">Configuring Samba (smb.conf)</a></dt><dt>/etc/samba/smbpasswd, <a class="indexterm" href="passdb.html#id2585593">Plaintext</a></dt><dt>/etc/samba/smbusers, <a class="indexterm" href="NetCommand.html#id2594284">User Mapping</a></dt><dt>/etc/shadow, <a class="indexterm" href="StandAloneServer.html#id2567324">Background</a>, <a class="indexterm" href="passdb.html#id2580330">Backward Compatibility Account Storage Systems</a></dt><dt>/etc/smbpasswd, <a class="indexterm" href="passdb.html#id2585593">Plaintext</a></dt><dt>/etc/ssl/certs/slapd.pem, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a></dt><dt>/etc/xinetd.d, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/xinetd.d/telnet, <a class="indexterm" href="winbind.html#id2649797">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#id2647050">Name Service Switch</a></dt><dt>/lib/libnss_files.so, <a class="indexterm" href="winbind.html#id2647050">Name Service Switch</a></dt><dt>/lib/security, <a class="indexterm" href="winbind.html#id2649631">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2658841">PAM Configuration Syntax</a></dt><dt>/lib/security/, <a class="indexterm" href="winbind.html#id2647282">Pluggable Authentication Modules</a></dt><dt>/opt/samba/bin, <a class="indexterm" href="SWAT.html#id2674290">Locating the SWAT File</a></dt><dt>/tmp, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a></dt><dt>/usr/bin/openssl, <a class="indexterm" href="SWAT.html#id2674858">Securing SWAT through SSL</a></dt><dt>/usr/lib/samba/vfs, <a class="indexterm" href="VFS.html#id2643381">Discussion</a></dt><dt>/usr/lib/security, <a class="indexterm" href="winbind.html#id2648327">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2649631">Configure Winbind and PAM</a></dt><dt>/usr/lib/security/methods.cfg, <a class="indexterm" href="winbind.html#id2648327">NSS Winbind on AIX</a></dt><dt>/usr/local/lib, <a class="indexterm" href="winbind.html#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>/usr/local/samba, <a class="indexterm" href="winbind.html#id2648876">Starting and Testing the winbindd Daemon</a></dt><dt>/usr/local/samba/bin, <a class="indexterm" href="winbind.html#id2649237">Linux</a>, <a class="indexterm" href="winbind.html#id2649442">Solaris</a>, <a class="indexterm" href="SWAT.html#id2674290">Locating the SWAT File</a></dt><dt>/usr/local/samba/lib, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>/usr/local/samba/lib/vfs, <a class="indexterm" href="VFS.html#id2643381">Discussion</a></dt><dt>/usr/local/samba/private/secrets.tdb, <a class="indexterm" href="domain-member.html#id2564171">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#id2605997">Access Controls on Shares</a>, <a class="indexterm" href="diagnosis.html#id2675795">Assumptions</a></dt><dt>/usr/local/samba/var/locks, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt><dt>/usr/sbin, <a class="indexterm" href="SWAT.html#id2674290">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#id2684196">Corrupt tdb Files</a></dt><dt>/var/log/samba, <a class="indexterm" href="diagnosis.html#id2675795">Assumptions</a></dt><dt>/var/run/samba, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt><dt>/var/spool/cups/, <a class="indexterm" href="CUPS-printing.html#id2641177">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#id2641177">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>250-user limit, <a class="indexterm" href="passdb.html#id2585935">tdbsam</a></dt><dt>3.0.11, <a class="indexterm" href="rights.html#id2602911">The Administrator Domain SID</a></dt><dt>4,500 user accounts, <a class="indexterm" href="passdb.html#id2585935">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#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>>Domain User Manager, <a class="indexterm" href="InterdomainTrusts.html#id2613127">Creating an NT4 Domain Trust</a></dt><dt>\\%L\%U\.profiles, <a class="indexterm" href="ProfileMgmt.html#id2653822">Windows 9x/Me User Profiles</a></dt><dt>\\SERVER, <a class="indexterm" href="NetworkBrowsing.html#id2578151">Problem Resolution</a></dt><dt>_kerberos.REALM.NAME, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a></dt><dt>_kerberos._udp, <a class="indexterm" href="domain-member.html#id2566473">Notes</a></dt><dt>_ldap._tcp, <a class="indexterm" href="domain-member.html#id2566473">Notes</a></dt><dt>_ldap._tcp.pdc._msdcs.quenya.org, <a class="indexterm" href="samba-bdc.html#id2560677">NetBIOS Over TCP/IP Disabled</a></dt></dl></div><div class="indexdiv"><h3></h3><dl><dt>, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a>, <a class="indexterm" href="install.html#id2545482">Example Configuration</a>, <a class="indexterm" href="FastStart.html#anon-ro">Anonymous Read-Only Document Server</a>, <a class="indexterm" href="FastStart.html#id2547173">Anonymous Read-Write Document Server</a>, <a class="indexterm" href="FastStart.html#id2547411">Anonymous Print Server</a>, <a class="indexterm" href="FastStart.html#id2547810">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548709">Example Configuration</a>, <a class="indexterm" href="FastStart.html#id2549643">Example: Engineering Office</a>, <a class="indexterm" href="FastStart.html#id2550542">The Primary Domain Controller</a>, <a class="indexterm" href="FastStart.html#id2551215">Backup Domain Controller</a>, <a class="indexterm" href="ServerType.html#id2552391">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2552602">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2552867">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2553250">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2553525">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2553629">Password Checking</a>, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2557479">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2559790">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563599">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563963">Samba Client</a>, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2565187">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566545">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#id2575354">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576217">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576403">Use of the Remote Announce Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576543">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577664">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#id2587088">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2591264">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="NetCommand.html#id2593663">Managing Nest Groups on Workstations from the Samba Server</a>, <a class="indexterm" href="idmapper.html#id2598951">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2600239">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2600824">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="rights.html#id2601767">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#id2607131">Interaction with the Standard Samba “create mask” Parameters</a>, <a class="indexterm" href="AccessControls.html#id2607997">Users Cannot Write to a Public Share</a>, <a class="indexterm" href="AccessControls.html#id2608365">MS Word with Samba Changes Owner of File</a>, <a class="indexterm" href="locking.html#id2610037">Disabling Oplocks</a>, <a class="indexterm" href="locking.html#id2610132">Disabling Kernel Oplocks</a>, <a class="indexterm" href="securing-samba.html#id2611168">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2611330">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2611484">User-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2611544">Using Interface Protection</a>, <a class="indexterm" href="securing-samba.html#id2611894">Using IPC$ Share-Based Denials </a>, <a class="indexterm" href="securing-samba.html#id2612181">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#id2614440">Features and Benefits</a>, <a class="indexterm" href="msdfs.html#id2614885">MSDFS UNIX Path Is Case-Critical</a>, <a class="indexterm" href="classicalprinting.html#id2615618">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2616098">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2616498">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2618998">Custom Print Commands</a>, <a class="indexterm" href="classicalprinting.html#id2619957">Creating the [print$] Share</a>, <a class="indexterm" href="classicalprinting.html#id2621006">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2626505">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2626750">More Complex CUPS smb.conf Settings</a>, <a class="indexterm" href="CUPS-printing.html#id2633502">From Windows Clients to a CUPS/Samba Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2634296">Prepare Your smb.conf for cupsaddsmb</a>, <a class="indexterm" href="VFS.html#id2643381">Discussion</a>, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2648441">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2649237">Linux</a>, <a class="indexterm" href="winbind.html#id2650143">Solaris-Specific Configuration</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="ProfileMgmt.html#id2653683">NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2653822">Windows 9x/Me User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2653980">Mixed Windows Windows 9x/Me and NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2657817">Changing the Default Profile</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662110">The NetBIOS Name Cache</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662425">WINS Lookup</a>, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a>, <a class="indexterm" href="unicode.html#id2663999">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#id2667300">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2668315">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671885">IdMap LDAP Support</a>, <a class="indexterm" href="diagnosis.html#id2675795">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a>, <a class="indexterm" href="bugreport.html#id2679347">Debugging-Specific Operations</a>, <a class="indexterm" href="Other-Clients.html#id2683387">Windows 2000 Service Pack 2</a> (see SSO)</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a></dt><dt>logon</dt><dd><dl><dt>service, <a class="indexterm" href="samba-bdc.html#id2559297">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#id2568680">TCP/IP Configuration</a></dt><dt>aborting shutdown, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>accept connections, <a class="indexterm" href="securing-samba.html#id2611544">Using Interface Protection</a></dt><dt>access, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a></dt><dt>Access, <a class="indexterm" href="rights.html#id2601767">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#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="StandAloneServer.html#id2567324">Background</a>, <a class="indexterm" href="AccessControls.html#id2605997">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#id2570978">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#id2672699">Server Share and Directory Layout</a></dt><dt>access controls, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="AccessControls.html#id2603591">Features and Benefits</a>, <a class="indexterm" href="AccessControls.html#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>Access Controls, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>access denied, <a class="indexterm" href="securing-samba.html#id2611894">Using IPC$ Share-Based Denials </a></dt><dt>access policies, <a class="indexterm" href="passdb.html#id2585253">Domain Account Policy Managment</a></dt><dt>access rights, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></dt><dt>account, <a class="indexterm" href="install.html#id2545482">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2563716">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="pam.html#id2658920">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a></dt><dt>database, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>backends, <a class="indexterm" href="ServerType.html#id2551756">Features and Benefits</a></dt></dl></dd></dl></dd><dt>account access controls, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a></dt><dt>account attributes, <a class="indexterm" href="idmapper.html#id2598558">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#id2586902">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#id2652888">Managing Account/User Policies</a></dt><dt>account database, <a class="indexterm" href="passdb.html#id2585539">Password Backends</a></dt><dt>account deleted, <a class="indexterm" href="passdb.html#id2584510">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#id2584188">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#id2585414">Account Import/Export</a></dt><dt>account information, <a class="indexterm" href="samba-bdc.html#id2559367">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#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="NetCommand.html#id2593955">UNIX and Windows User Management</a></dt><dt>account information database, <a class="indexterm" href="passdb.html#id2581602">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>account management, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a></dt><dt>account name, <a class="indexterm" href="idmapper.html#id2597597">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#id2556109">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#id2652888">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#id2671133">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#id2589729">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#id2647576">Introduction</a></dt><dt>ACL, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2587625">Security and sambaSamAccount</a>, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a>, <a class="indexterm" href="securing-samba.html#id2611168">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#id2619836">The Obsoleted [printer$] Section</a></dt><dd><dl><dt>File System, <a class="indexterm" href="AccessControls.html#id2604259">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#id2603591">Features and Benefits</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2603591">Features and Benefits</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2603591">Features and Benefits</a></dt></dl></dd><dt>ACLs on share, <a class="indexterm" href="AccessControls.html#id2606262">Windows 200x/XP</a></dt><dt>ACLs on shares, <a class="indexterm" href="AccessControls.html#id2603591">Features and Benefits</a></dt><dt>across network segments, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>active directory, <a class="indexterm" href="ServerType.html#id2551756">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2557360">Samba ADS Domain Control</a></dt><dt>Active Directory, <a class="indexterm" href="samba-bdc.html#id2560406">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#id2592433">UNIX and Windows Group Management</a>, <a class="indexterm" href="idmapper.html#id2597535">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599649">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#id2672088">Objectives</a></dt><dt>AD4UNIX, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>ADAM, <a class="indexterm" href="idmapper.html#id2600239">IDMAP Storage in LDAP Using Winbind</a></dt><dt>add a user account, <a class="indexterm" href="passdb.html#id2584423">Adding User Accounts</a></dt><dt>add client machines, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>add domain users and groups to a local group, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>add drivers, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>add machine script, <a class="indexterm" href="domain-member.html#id2563599">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671036">Changes in Behavior</a></dt><dt>Add Printer Wizard, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2616978">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#id2627716">Driver Upload Methods</a></dt><dt>add user script, <a class="indexterm" href="passdb.html#id2584072">User Account Management</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671036">Changes in Behavior</a></dt><dt>add/delete/change share, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>adddriver, <a class="indexterm" href="classicalprinting.html#id2621562">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2621917">Running rpcclient with adddriver</a>, <a class="indexterm" href="classicalprinting.html#id2622411">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2636708">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2638300">Troubleshooting Revisited</a></dt><dt>additional driver, <a class="indexterm" href="classicalprinting.html#id2623259">Additional Client Driver Installation</a></dt><dt>additional privileges, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>addmem, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>AddPrinterDriver(), <a class="indexterm" href="CUPS-printing.html#id2636708">A Check of the rpcclient man Page</a></dt><dt>admincfg.exe, <a class="indexterm" href="Other-Clients.html#id2683150">Configuring Windows for Workgroups Password Handling</a></dt><dt>administrative actions, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>administrative duties, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a></dt><dt>administrative privileges, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a></dt><dt>administrative responsibilities, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></dt><dt>administrative rights, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>administrative rights and privileges, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Administrative Templates, <a class="indexterm" href="PolicyMgmt.html#id2652439">MS Windows 200x/XP Professional Policies</a></dt><dt>Administrator, <a class="indexterm" href="groupmapping.html#id2589335">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2590312">Important Administrative Information</a>, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a></dt><dt>administrator account, <a class="indexterm" href="domain-member.html#id2563716">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2563880">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#id2566473">Notes</a></dt><dt>Administrator%password, <a class="indexterm" href="domain-member.html#id2564171">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#id2634088">PostScript Drivers with No Major Problems, Even in Kernel 2 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2639510">The Grand Unification Achieved</a></dt><dt>Adobe driver, <a class="indexterm" href="CUPS-printing.html#id2635322">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>Adobe driver files, <a class="indexterm" href="CUPS-printing.html#id2634815">Recognizing Different Driver Files</a></dt><dt>Adobe PostScript, <a class="indexterm" href="CUPS-printing.html#id2635022">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2640555">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>Adobe PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2636299">Installing the PostScript Driver on a Client</a></dt><dt>Adobe PPD, <a class="indexterm" href="CUPS-printing.html#id2638950">CUPS Print Drivers from Linuxprinting.org</a></dt><dt>Adobe specifications, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a></dt><dt>ADS, <a class="indexterm" href="ServerType.html#id2553173">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2562196">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#id2564171">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2565187">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2565378">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#id2573862">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2587512">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2592351">Administrative Tasks and Methods</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2600239">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#id2612741">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2614054">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#id2646109">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2647513">Result Caching</a>, <a class="indexterm" href="PolicyMgmt.html#id2651786">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2652439">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652888">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653315">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2657069">MS Windows 200x/XP</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661074">Background Information</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671133">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a>, <a class="indexterm" href="DNSDHCP.html#id2685852">Features and Benefits</a> (see Active Directory)</dt><dt>ADS DC, <a class="indexterm" href="domain-member.html#id2565187">Configure smb.conf</a></dt><dt>ADS domain, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599239">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#id2598558">Primary Domain Controller</a></dt><dt>Advanced TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a></dt><dt>advantages, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>affect users, <a class="indexterm" href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a></dt><dt>affordable power, <a class="indexterm" href="SambaHA.html#id2665163">The Ultimate Goal</a></dt><dt>AFPL, <a class="indexterm" href="CUPS-printing.html#id2628566">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dt>AFPL Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2630345">pstoraster</a></dt><dt>AFS, <a class="indexterm" href="SambaHA.html#id2665612">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#id2616978">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2648327">NSS Winbind on AIX</a></dt><dt>algorithmic mapping, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a></dt><dt>alias group, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>allow access, <a class="indexterm" href="securing-samba.html#id2611330">Using Host-Based Protection</a></dt><dt>allow trusted domains, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a></dt><dt>already exists, <a class="indexterm" href="domain-member.html#id2566792">Cannot Add Machine Back to Domain</a></dt><dt>alternative solution, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>Amanda, <a class="indexterm" href="Backup.html#id2664864">Amanda</a></dt><dt>analyzes data, <a class="indexterm" href="problems.html#id2677850">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#id2547411">Anonymous Print Server</a></dt><dt>read-write server, <a class="indexterm" href="FastStart.html#id2547173">Anonymous Read-Write Document Server</a></dt></dl></dd><dt>anonymous access, <a class="indexterm" href="NetworkBrowsing.html#id2578151">Problem Resolution</a></dt><dt>anonymous file server, <a class="indexterm" href="cfgsmarts.html#id2667300">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#id2682105">HPUX</a></dt><dt>anticipate failure, <a class="indexterm" href="SambaHA.html#id2665008">Features and Benefits</a></dt><dt>API, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a></dt><dt>Appliances, <a class="indexterm" href="winbind.html#id2646694">Target Uses</a></dt><dt>application servers, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a></dt><dt>application/cups.vnd-postscript, <a class="indexterm" href="CUPS-printing.html#id2635322">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#id2629626">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2631683">application/octet-stream Printing</a></dt><dt>application/pdf, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629626">MIME Type Conversion Rules</a></dt><dt>application/postscript, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629626">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2629990">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2630178">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2635322">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>application/vnd.cups-postscript, <a class="indexterm" href="CUPS-printing.html#id2629990">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2630178">pstops</a></dt><dt>application/vnd.cups-raster, <a class="indexterm" href="CUPS-printing.html#id2631962">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#id2629626">MIME Type Conversion Rules</a></dt><dt>apt-get, <a class="indexterm" href="VFS.html#id2645002">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#id2582150">Comments Regarding LDAP</a></dt><dt>ARP/RARP, <a class="indexterm" href="integrate-ms-networks.html#id2661276">/etc/hosts</a></dt><dt>ASCII, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a>, <a class="indexterm" href="unicode.html#id2662905">What Are Charsets and Unicode?</a>, <a class="indexterm" href="unicode.html#id2663207">Japanese Charsets</a></dt><dt>ASCII text, <a class="indexterm" href="CUPS-printing.html#id2629990">Prefilters</a></dt><dt>assign rights, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>assigned RID, <a class="indexterm" href="groupmapping.html#id2589335">Discussion</a></dt><dt>assistance, <a class="indexterm" href="ch47.html#id2685480">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#id2677902">Debugging with Samba Itself</a></dt><dt>attribute, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a></dt><dt>attributes, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>audit file access, <a class="indexterm" href="VFS.html#id2643783">audit</a></dt><dt>audit module, <a class="indexterm" href="VFS.html#id2644041">extd_audit</a></dt><dt>auth, <a class="indexterm" href="pam.html#id2658920">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#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticate users, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticated, <a class="indexterm" href="domain-member.html#id2565187">Configure smb.conf</a></dt><dt>authenticating server, <a class="indexterm" href="ProfileMgmt.html#id2656507">MS Windows NT4 Workstation</a></dt><dt>authentication, <a class="indexterm" href="ServerType.html#id2551756">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2585414">Account Import/Export</a>, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="winbind.html#id2649631">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2658156">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#id2554984">Single Sign-On and Domain Security</a></dt><dt>authentication architecture, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>authentication backend, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>authentication control, <a class="indexterm" href="winbind.html#id2647576">Introduction</a></dt><dt>authentication database, <a class="indexterm" href="InterdomainTrusts.html#id2612741">Features and Benefits</a></dt><dt>authentication management, <a class="indexterm" href="winbind.html#id2647282">Pluggable Authentication Modules</a></dt><dt>authentication mechanisms, <a class="indexterm" href="winbind.html#id2647576">Introduction</a></dt><dt>authentication methods, <a class="indexterm" href="winbind.html#id2647282">Pluggable Authentication Modules</a></dt><dt>authentication module API, <a class="indexterm" href="winbind.html#id2648327">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#id2564906">Why Is This Better Than security = server?</a></dt><dt>authentication server, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></dt><dt>authentication service, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>authentication system, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>authenticatior, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a></dt><dt>authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>authoritive, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a></dt><dt>authorization, <a class="indexterm" href="winbind.html#id2647282">Pluggable Authentication Modules</a></dt><dt>auto-reconnect, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>autogen.sh, <a class="indexterm" href="compiling.html#id2680993">Building the Binaries</a></dt><dt>autogenerated printcap, <a class="indexterm" href="classicalprinting.html#id2618454">Default UNIX System Printing Commands</a></dt><dt>automatic account creation, <a class="indexterm" href="domain-member.html#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>automatic mapping, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>automatic reconnects, <a class="indexterm" href="passdb.html#id2581397">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#id2593663">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>autotyping, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>AUXILIARY, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>auxiliary members, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>availability, <a class="indexterm" href="SambaHA.html#id2665008">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672088">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#id2624877">Samba and Printer Ports</a></dt><dt>available printerd, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>available rights, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>average print run, <a class="indexterm" href="CUPS-printing.html#id2627838">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#id2573226">NetBIOS over TCP/IP</a></dt><dt>back up, <a class="indexterm" href="winbind.html#id2647690">Requirements</a></dt><dt>backed up, <a class="indexterm" href="NT4Migration.html#id2672699">Server Share and Directory Layout</a></dt><dt>backend, <a class="indexterm" href="SambaHA.html#id2665612">The Distributed File System Challenge</a></dt><dt>backend authentication, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>backend database, <a class="indexterm" href="samba-pdc.html#id2555604">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#id2566867">Adding Machine to Domain Fails</a></dt><dt>backend failures, <a class="indexterm" href="SambaHA.html#id2666087">High-Availability Server Products</a></dt><dt>backend file system pool, <a class="indexterm" href="SambaHA.html#id2665739">Restrictive Constraints on Distributed File Systems</a></dt><dt>backends, <a class="indexterm" href="ChangeNotes.html#id2572162">Passdb Changes</a>, <a class="indexterm" href="CUPS-printing.html#id2641524">Printing from CUPS to Windows-Attached Printers</a></dt><dt>backup, <a class="indexterm" href="Backup.html#id2664381">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672699">Server Share and Directory Layout</a>, <a class="indexterm" href="tdb.html#id2679890">Features and Benefits</a></dt><dt>backup domain controller, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>backup solution, <a class="indexterm" href="Backup.html#id2664426">Discussion of Backup Solutions</a></dt><dt>BackupPC, <a class="indexterm" href="Backup.html#id2664523">BackupPC</a></dt><dt>bad hardware, <a class="indexterm" href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad logon attempts, <a class="indexterm" href="passdb.html#id2584595">Changing User Accounts</a></dt><dt>Bad networking hardware, <a class="indexterm" href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad password, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>banner pages, <a class="indexterm" href="CUPS-printing.html#id2635322">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2635539">Run cupsaddsmb (Quiet Mode)</a></dt><dt>barriers, <a class="indexterm" href="securing-samba.html#id2611069">Introduction</a></dt><dt>Batch Oplock, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>BDC, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2552867">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2560406">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561792">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2581397">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#id2585935">tdbsam</a>, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2598792">Backup Domain Controller</a>, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2673033">Steps in Migration Process</a></dt><dt>BDCs, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>behavior approximately same, <a class="indexterm" href="upgrading-to-3.0.html#id2669288">Quick Migration Guide</a></dt><dt>between domains, <a class="indexterm" href="InterdomainTrusts.html#id2613518">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#id2580514">New Account Storage Systems</a></dt><dt>BIND, <a class="indexterm" href="DNSDHCP.html#id2686121">Dynamic DNS</a></dt><dt>bind interfaces only, <a class="indexterm" href="cfgsmarts.html#id2666903">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#id2685852">Features and Benefits</a></dt><dt>bindery-enabled, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>block device, <a class="indexterm" href="AccessControls.html#id2604259">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#id2664912">BOBS: Browseable Online Backup System</a></dt><dt>bogus, <a class="indexterm" href="ServerType.html#id2553525">Example Configuration</a></dt><dt>boot disk`, <a class="indexterm" href="winbind.html#id2647690">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#id2574421">How Browsing Functions</a></dt><dt>brlock.tdb, <a class="indexterm" href="CUPS-printing.html#id2638444">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>broadcast, <a class="indexterm" href="samba-bdc.html#id2560464">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>broadcast address, <a class="indexterm" href="NetworkBrowsing.html#id2578151">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2676088">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#id2573226">NetBIOS over TCP/IP</a></dt><dt>broadcast messaging, <a class="indexterm" href="samba-bdc.html#id2560555">How Does a Workstation find its Domain Controller?</a></dt><dt>Broadcast node, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt><dt>broadcast request, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a></dt><dt>broadcast traffic, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a></dt><dt>broadcast-based, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>broadcast-based name resolution, <a class="indexterm" href="domain-member.html#id2564171">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#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>browse across subnet, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a></dt><dt>browse list, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578573">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#id2574421">How Browsing Functions</a></dt><dt>browse list management, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572789">What Is Browsing?</a></dt><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2575955">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>browse resources, <a class="indexterm" href="NetworkBrowsing.html#id2578151">Problem Resolution</a></dt><dt>browse server resources, <a class="indexterm" href="NetworkBrowsing.html#id2578151">Problem Resolution</a></dt><dt>browse shares, <a class="indexterm" href="securing-samba.html#id2611894">Using IPC$ Share-Based Denials </a></dt><dt>browse.dat, <a class="indexterm" href="NetworkBrowsing.html#id2578151">Problem Resolution</a></dt><dt>browseable, <a class="indexterm" href="install.html#id2544323">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#id2575354">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#id2643033">Print Queue Called “lp” Mishandles Print Jobs</a></dt><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572789">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575955">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577954">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#id2578402">Cross-Subnet Browsing</a></dt><dt>browsing another subnet, <a class="indexterm" href="NetworkBrowsing.html#id2577954">Browsing Support in Samba</a></dt><dt>browsing intrinsics, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a></dt><dt>browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579416">Common Errors</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579563">I Get an "Unable to browse the network" Error</a></dt><dt>BSD, <a class="indexterm" href="samba-pdc.html#id2558301">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a></dt><dt>BSD Printing, <a class="indexterm" href="classicalprinting.html#id2615618">Simple Print Configuration</a></dt><dt>BSD-style printing, <a class="indexterm" href="classicalprinting.html#id2616498">Extended Printing Configuration</a></dt><dt>bug report, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>bug reports, <a class="indexterm" href="bugreport.html#id2679022">Introduction</a></dt><dt>Bugzilla, <a class="indexterm" href="bugreport.html#id2679022">Introduction</a></dt><dt>built-in commands, <a class="indexterm" href="classicalprinting.html#id2618998">Custom Print Commands</a></dt><dt>bypasses privilege, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>byte ranges, <a class="indexterm" href="locking.html#id2608689">Discussion</a></dt><dt>byte-range lock, <a class="indexterm" href="locking.html#id2608689">Discussion</a></dt><dt>byte-range locking, <a class="indexterm" href="locking.html#id2608689">Discussion</a>, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt></dl></div><div class="indexdiv"><h3>C</h3><dl><dt>c:\winnt\inf, <a class="indexterm" href="PolicyMgmt.html#id2652218">Windows NT4-Style Policy Files</a></dt><dt>C:\WinNT\System32\config, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></dt><dt>cached</dt><dd><dl><dt>password, <a class="indexterm" href="ServerType.html#id2553629">Password Checking</a></dt></dl></dd><dt>cached encrypted password, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>cached in memory, <a class="indexterm" href="passdb.html#id2581538">Advantages of Non-Encrypted Passwords</a></dt><dt>cached local file, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>cached locally, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>cached references, <a class="indexterm" href="NetworkBrowsing.html#id2579810">Invalid Cached Share References Affects Network Browsing</a></dt><dt>caching, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>caching reads, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>caching scheme, <a class="indexterm" href="winbind.html#id2647513">Result Caching</a></dt><dt>caching writes, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>called name, <a class="indexterm" href="securing-samba.html#id2611330">Using Host-Based Protection</a></dt><dt>cannot join domain, <a class="indexterm" href="ClientConfig.html#id2571422">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#id2663207">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a>, <a class="indexterm" href="Other-Clients.html#id2682676">Macintosh Clients</a></dt><dt>cap-share, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>capability to delete, <a class="indexterm" href="AccessControls.html#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>CAP_LINUX_IMMUTABLE, <a class="indexterm" href="AccessControls.html#id2604671">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#id2658841">PAM Configuration Syntax</a></dt><dt>case-insensitive, <a class="indexterm" href="ServerType.html#id2552257">User Level Security</a>, <a class="indexterm" href="classicalprinting.html#id2615618">Simple Print Configuration</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>case-preserving, <a class="indexterm" href="ServerType.html#id2552257">User Level Security</a></dt><dt>central environment, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>centralized</dt><dd><dl><dt>authentication, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt></dl></dd><dt>centralized identity management, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>centrally managed, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>certificate, <a class="indexterm" href="SWAT.html#id2674858">Securing SWAT through SSL</a></dt><dt>Certificate Authority (see CA)</dt><dt>cfdisk, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>challenge/response mechanis, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>change capabilities, <a class="indexterm" href="passdb.html#id2583003">The smbpasswd Tool</a></dt><dt>change motivations, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>change password, <a class="indexterm" href="domain-member.html#id2566473">Notes</a></dt><dt>change passwords, <a class="indexterm" href="passdb.html#id2583003">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#id2562883">Manual Creation of Machine Trust Accounts</a></dt><dt>character device, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a></dt><dt>character set, <a class="indexterm" href="unicode.html#id2662905">What Are Charsets and Unicode?</a></dt><dt>character sets, <a class="indexterm" href="unicode.html#id2663039">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>charset, <a class="indexterm" href="unicode.html#id2662905">What Are Charsets and Unicode?</a></dt><dt>charset conversion, <a class="indexterm" href="unicode.html#id2663175">Conversion from Old Names</a></dt><dt>chattr, <a class="indexterm" href="AccessControls.html#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>check for locks, <a class="indexterm" href="locking.html#id2608689">Discussion</a></dt><dt>check logs, <a class="indexterm" href="domain-member.html#id2566867">Adding Machine to Domain Fails</a></dt><dt>checksum-search, <a class="indexterm" href="Backup.html#id2664694">Rsync</a></dt><dt>chmod, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>chown, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="AccessControls.html#id2606616">Viewing File Ownership</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>chpass, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a></dt><dt>CIFS, <a class="indexterm" href="domain-member.html#id2566545">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#id2665008">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2665293">Why Is This So Hard?</a></dt><dt>Citrix, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651190">Remote Management with ThinLinc</a></dt><dt>clear purpose preferred, <a class="indexterm" href="Backup.html#id2664426">Discussion of Backup Solutions</a></dt><dt>clear-text, <a class="indexterm" href="ServerType.html#id2553629">Password Checking</a>, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2587625">Security and sambaSamAccount</a></dt><dt>clear-text passwords, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>client client instructions, <a class="indexterm" href="ClientConfig.html#id2568576">Features and Benefits</a></dt><dt>Client for Microsoft Networks, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Client for Novell Networks, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>client-server mode, <a class="indexterm" href="passdb.html#id2583003">The smbpasswd Tool</a></dt><dt>client-side caching, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>client-side data caching, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2609642">PDM Data Shares</a></dt><dt>clock skew, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a></dt><dt>cluster servers, <a class="indexterm" href="SambaHA.html#id2665412">The Front-End Challenge</a></dt><dt>clustered file server, <a class="indexterm" href="SambaHA.html#id2665163">The Ultimate Goal</a></dt><dt>Clustered smbds, <a class="indexterm" href="SambaHA.html#id2665809">Server Pool Communications</a></dt><dt>clustering technologies, <a class="indexterm" href="SambaHA.html#id2665163">The Ultimate Goal</a></dt><dt>cluttering, <a class="indexterm" href="bugreport.html#id2679347">Debugging-Specific Operations</a></dt><dt>cmd, <a class="indexterm" href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>cmd shell, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>CN, <a class="indexterm" href="samba-bdc.html#id2560041">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#id2685480">Free Support</a></dt><dt>codepages, <a class="indexterm" href="unicode.html#id2662854">Features and Benefits</a></dt><dt>collating, <a class="indexterm" href="NetworkBrowsing.html#id2575955">Making Samba the Domain Master</a></dt><dt>collisions, <a class="indexterm" href="speed.html#id2684105">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>color, <a class="indexterm" href="CUPS-printing.html#id2628207">UNIX Printfile Conversion and GUI Basics</a></dt><dt>COM1:, <a class="indexterm" href="classicalprinting.html#id2624877">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#id2601767">Using the “net rpc rights” Utility</a></dt><dt>commenting out setting, <a class="indexterm" href="classicalprinting.html#id2616098">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#id2685699">Commercial Support</a></dt><dt>commit the settings, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a></dt><dt>Common Internet Filesystem (see CIFS)</dt><dt>Common restrictions, <a class="indexterm" href="PolicyMgmt.html#id2652888">Managing Account/User Policies</a></dt><dt>Common UNIX Printing System (see CUPS)</dt><dt>common.adm, <a class="indexterm" href="PolicyMgmt.html#id2652218">Windows NT4-Style Policy Files</a></dt><dt>comp.protocols.smb, <a class="indexterm" href="bugreport.html#id2679022">Introduction</a></dt><dt>compatible, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a>, <a class="indexterm" href="Portability.html">Portability</a></dt><dt>compile, <a class="indexterm" href="install.html#id2544233">Obtaining and Installing Samba</a></dt><dt>compile-time options, <a class="indexterm" href="classicalprinting.html#id2616098">Rapid Configuration Validation</a></dt><dt>complex file name space, <a class="indexterm" href="SambaHA.html#id2666006">A Simple Solution</a></dt><dt>complex organization, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>complexity, <a class="indexterm" href="StandAloneServer.html#id2567525">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#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>complicated problem, <a class="indexterm" href="SambaHA.html#id2665506">Demultiplexing SMB Requests</a></dt><dt>comprehensive documentation, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></dt><dt>Computer Account, <a class="indexterm" href="domain-member.html#id2563880">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#id2582562">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#id2605997">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2606262">Windows 200x/XP</a></dt><dt>Computer Name, <a class="indexterm" href="ClientConfig.html#id2570451">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>computer name, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a></dt><dt>concurrent access, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>Conectiva, <a class="indexterm" href="CUPS-printing.html#id2639743">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>config.cache, <a class="indexterm" href="domain-member.html#id2566180">Possible Errors</a></dt><dt>CONFIG.POL, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a></dt><dt>Config.POL, <a class="indexterm" href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652081">Windows 9x/ME Policies</a></dt><dt>configuration</dt><dd><dl><dt>documentation, <a class="indexterm" href="install.html#id2545741">Test Your Config File with testparm</a></dt></dl></dd><dt>configuration files, <a class="indexterm" href="SWAT.html#id2674077">Features and Benefits</a></dt><dt>configuration problem, <a class="indexterm" href="bugreport.html#id2679022">Introduction</a></dt><dt>configuration syntax, <a class="indexterm" href="classicalprinting.html#id2615618">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#id2568508">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#id2570451">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>configure, <a class="indexterm" href="compiling.html#id2680993">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#id2611544">Using Interface Protection</a></dt><dt>confirm the password, <a class="indexterm" href="InterdomainTrusts.html#id2613858">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#id2665163">The Ultimate Goal</a></dt><dt>connection resources, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a></dt><dt>connections, <a class="indexterm" href="install.html#id2545482">Example Configuration</a></dt><dt>connections.tdb, <a class="indexterm" href="CUPS-printing.html#id2638444">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#id2649797">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#id2666087">High-Availability Server Products</a></dt><dt>contribute, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></dt><dt>Control Panel, <a class="indexterm" href="ClientConfig.html#id2570451">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#id2555604">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#id2650815">Remote Management from NoMachine.Com</a></dt><dt>core files, <a class="indexterm" href="bugreport.html#id2679548">Internal Errors</a></dt><dt>core graphic engine, <a class="indexterm" href="CUPS-printing.html#id2628029">Windows Drivers, GDI, and EMF</a></dt><dt>core values, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>corrupted file, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>cosine.schema, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a></dt><dt>country of origin, <a class="indexterm" href="ch47.html#id2685699">Commercial Support</a></dt><dt>CP850, <a class="indexterm" href="unicode.html#id2663039">Samba and Charsets</a></dt><dt>CP932, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>cracker, <a class="indexterm" href="securing-samba.html#id2611544">Using Interface Protection</a></dt><dt>create, <a class="indexterm" href="AccessControls.html#id2604136">Managing Directories</a></dt><dt>Create a Computer Account, <a class="indexterm" href="domain-member.html#id2563880">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#id2563716">Windows 200x/XP Professional Client</a></dt><dt>create machine trust account, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>create partition, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>Create the Computer Account, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a></dt><dt>create user accounts, <a class="indexterm" href="StandAloneServer.html#id2567324">Background</a></dt><dt>create volume, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>credentials, <a class="indexterm" href="ServerType.html#id2552257">User Level Security</a>, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2570451">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="NetCommand.html#id2594367">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#id2560612">NetBIOS Over TCP/IP Enabled</a></dt><dt>critical aspects of configuration, <a class="indexterm" href="ClientConfig.html#id2568576">Features and Benefits</a></dt><dt>crle, <a class="indexterm" href="winbind.html#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>cron, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a></dt><dt>cross post, <a class="indexterm" href="problems.html#id2678716">Getting Mailing List Help</a></dt><dt>cross-segment browsing, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>cross-subnet browsing, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>CUPS, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2615307">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2616498">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a>, <a class="indexterm" href="CUPS-printing.html#id2625964">Features and Benefits</a>, <a class="indexterm" href="CUPS-printing.html#id2626024">Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2626143">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2628803">Using Windows-Formatted Vendor PPDs</a></dt><dd><dl><dt>Page Accounting, <a class="indexterm" href="CUPS-printing.html#id2640425">Page Accounting with CUPS</a></dt><dt>quotas, <a class="indexterm" href="CUPS-printing.html#id2640461">Setting Up Quotas</a></dt></dl></dd><dt>CUPS API, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2618454">Default UNIX System Printing Commands</a></dt><dt>CUPS backends, <a class="indexterm" href="CUPS-printing.html#id2630919">CUPS Backends</a></dt><dt>CUPS filtering, <a class="indexterm" href="CUPS-printing.html#id2628923">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2628962">The CUPS Filtering Architecture</a></dt><dt>CUPS filtering chain, <a class="indexterm" href="CUPS-printing.html#id2630919">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#id2635022">Caveats to Be Considered</a></dt><dt>CUPS PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2635322">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#id2628962">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2630345">pstoraster</a></dt><dt>CUPS-PPD, <a class="indexterm" href="CUPS-printing.html#id2639354">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>cups.hlp, <a class="indexterm" href="CUPS-printing.html#id2635022">Caveats to Be Considered</a></dt><dt>cupsaddsmb, <a class="indexterm" href="CUPS-printing.html#id2627716">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2634198">cupsaddsmb: The Unknown Utility</a>, <a class="indexterm" href="CUPS-printing.html#id2635022">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2635539">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2635680">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2635871">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2636137">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="CUPS-printing.html#id2636218">cupsaddsmb Flowchart</a>, <a class="indexterm" href="CUPS-printing.html#id2636299">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2637117">Requirements for adddriver and setdriver to Succeed</a></dt><dt>cupsd.conf, <a class="indexterm" href="classicalprinting.html#id2618454">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2626143">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2631506">mime.convs</a>, <a class="indexterm" href="CUPS-printing.html#id2641177">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2628803">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2628962">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2632245">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2638950">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2639354">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>currupted, <a class="indexterm" href="tdb.html#id2679890">Features and Benefits</a></dt><dt>custom scripts, <a class="indexterm" href="passdb.html#id2585669">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#id2618998">Custom Print Commands</a></dt></dl></div><div class="indexdiv"><h3>D</h3><dl><dt>daemon, <a class="indexterm" href="install.html#id2545290">Starting Samba</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2647690">Requirements</a>, <a class="indexterm" href="compiling.html#id2681721">Alternative: Starting smbd as a Daemon</a></dt><dt>daemon running, <a class="indexterm" href="winbind.html#id2648876">Starting and Testing the winbindd Daemon</a></dt><dt>daemons, <a class="indexterm" href="winbind.html#id2649586">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#id2608947">Opportunistic Locking Overview</a></dt><dt>data corruption, <a class="indexterm" href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="locking.html#id2609517">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#id2615307">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#id2669288">Quick Migration Guide</a></dt><dt>DatabaseFS, <a class="indexterm" href="VFS.html#id2645746">DatabaseFS</a></dt><dt>DAVE, <a class="indexterm" href="Other-Clients.html#id2682676">Macintosh Clients</a></dt><dt>dbx, <a class="indexterm" href="bugreport.html#id2679548">Internal Errors</a></dt><dt>DCE RPC, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a></dt><dt>DDK, <a class="indexterm" href="CUPS-printing.html#id2634088">PostScript Drivers with No Major Problems, Even in Kernel 3 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2634576">CUPS “PostScript Driver for Windows NT/200x/XP”</a></dt><dt>DDNS, <a class="indexterm" href="NetworkBrowsing.html#id2573862">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#id2661074">Background Information</a></dt><dt>de-multiplex, <a class="indexterm" href="SambaHA.html#id2665412">The Front-End Challenge</a></dt><dt>de-multiplexing, <a class="indexterm" href="SambaHA.html#id2665506">Demultiplexing SMB Requests</a></dt><dt>Debian, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>Debian Sarge, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>debug, <a class="indexterm" href="bugreport.html#id2679548">Internal Errors</a></dt><dt>debug level, <a class="indexterm" href="problems.html#id2677902">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a></dt><dt>debugging, <a class="indexterm" href="problems.html#id2677902">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2679347">Debugging-Specific Operations</a></dt><dt>debugging passwords, <a class="indexterm" href="problems.html#id2677902">Debugging with Samba Itself</a></dt><dt>debugging problems, <a class="indexterm" href="problems.html#id2677902">Debugging with Samba Itself</a></dt><dt>dedicated heartbeat, <a class="indexterm" href="SambaHA.html#id2666087">High-Availability Server Products</a></dt><dt>dedicated print server, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a></dt><dt>default accounts, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a></dt><dt>default aliases, <a class="indexterm" href="groupmapping.html#id2590552">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#id2566473">Notes</a></dt><dt>default gateways, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a></dt><dt>default groups, <a class="indexterm" href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a></dt><dt>default mapping, <a class="indexterm" href="ChangeNotes.html#id2572222">Group Mapping Changes in Samba-3.0.23</a></dt><dt>default mappings, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a></dt><dt>default print command, <a class="indexterm" href="classicalprinting.html#id2618454">Default UNIX System Printing Commands</a></dt><dt>default print commands, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>default printer, <a class="indexterm" href="classicalprinting.html#id2618998">Custom Print Commands</a></dt><dt>default printing, <a class="indexterm" href="CUPS-printing.html#id2625964">Features and Benefits</a></dt><dt>default profile, <a class="indexterm" href="ProfileMgmt.html#id2656325">Default Profile for Windows Users</a>, <a class="indexterm" href="ProfileMgmt.html#id2657817">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#id2648876">Starting and Testing the winbindd Daemon</a></dt><dt>Default User, <a class="indexterm" href="ProfileMgmt.html#id2657069">MS Windows 200x/XP</a></dt><dt>default users, <a class="indexterm" href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a></dt><dt>defective hardware, <a class="indexterm" href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a></dt><dt>deferred open, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>defined shares, <a class="indexterm" href="securing-samba.html#id2612181">Why Can Users Access Other Users' Home Directories?</a></dt><dt>delegate administrative privileges, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></dt><dt>delegated, <a class="indexterm" href="groupmapping.html#id2590312">Important Administrative Information</a></dt><dt>delegation, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></dt><dt>delete, <a class="indexterm" href="AccessControls.html#id2604136">Managing Directories</a></dt><dt>delete a file, <a class="indexterm" href="AccessControls.html#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>delete roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2657069">MS Windows 200x/XP</a></dt><dt>delete user script, <a class="indexterm" href="passdb.html#id2584510">Deleting Accounts</a></dt><dt>deleted files, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>deleted parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2669787">Removed Parameters</a></dt><dt>delmem, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>demote, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a></dt><dt>demoted, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></dt><dt>denial of service, <a class="indexterm" href="securing-samba.html#id2611544">Using Interface Protection</a></dt><dt>deny, <a class="indexterm" href="securing-samba.html#id2611894">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#id2608689">Discussion</a></dt><dt>deny-none, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>DENY_ALL, <a class="indexterm" href="locking.html#id2608689">Discussion</a></dt><dt>DENY_DOS, <a class="indexterm" href="locking.html#id2608689">Discussion</a></dt><dt>DENY_FCB, <a class="indexterm" href="locking.html#id2608689">Discussion</a></dt><dt>DENY_NONE, <a class="indexterm" href="locking.html#id2608689">Discussion</a></dt><dt>DENY_READ, <a class="indexterm" href="locking.html#id2608689">Discussion</a></dt><dt>DENY_WRITE, <a class="indexterm" href="locking.html#id2608689">Discussion</a></dt><dt>deployment, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>deployment guidelines, <a class="indexterm" href="passdb.html#id2582425">Caution Regarding LDAP and Samba</a></dt><dt>DES-CBC-CRC, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a></dt><dt>DES-CBC-MD5, <a class="indexterm" href="domain-member.html#id2565378">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#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>desktop cache, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>desktop profile, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></dt><dt>desktop profiles, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2595330">Managing Security Identifiers (SIDS)</a></dt><dt>deterents, <a class="indexterm" href="securing-samba.html#id2611069">Introduction</a></dt><dt>development libraries, <a class="indexterm" href="winbind.html#id2647690">Requirements</a></dt><dt>devfsd package, <a class="indexterm" href="VFS.html#id2645002">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#id2631962">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>DFS, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a> (see MS-DFS, Distributed File Systems)</dt><dt>DFS junction, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>DFS links, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>DFS root, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>DFS server, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>DFS tree, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>DFS-aware, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>DFS-aware clients, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>DHCP, <a class="indexterm" href="ClientConfig.html#id2568680">TCP/IP Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661074">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2685852">Features and Benefits</a></dt><dt>DHCP servers, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>DHCP-enabled, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a></dt><dt>DHCP-enabled operation, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a></dt><dt>diagnostic, <a class="indexterm" href="idmapper.html#id2600239">IDMAP Storage in LDAP Using Winbind</a></dt><dt>diagnostic tools, <a class="indexterm" href="problems.html#id2677902">Debugging with Samba Itself</a></dt><dt>diff, <a class="indexterm" href="bugreport.html#id2679806">Patches</a></dt><dt>differences, <a class="indexterm" href="Backup.html#id2664694">Rsync</a></dt><dt>different resources, <a class="indexterm" href="cfgsmarts.html#id2667300">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#id2669288">Quick Migration Guide</a></dt><dt>dir, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>direct internet access, <a class="indexterm" href="securing-samba.html#id2611069">Introduction</a></dt><dt>directory, <a class="indexterm" href="samba-bdc.html#id2560406">Active Directory Domain Control</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="idmapper.html#id2598792">Backup Domain Controller</a></dt><dt>directory access control, <a class="indexterm" href="groupmapping.html#id2589729">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#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>directory schema, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a></dt><dt>Directory Separators, <a class="indexterm" href="AccessControls.html#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>directory server, <a class="indexterm" href="passdb.html#id2586092">ldapsam</a></dt><dt>directory_mode, <a class="indexterm" href="VFS.html#id2644367">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#id2608592">Features and Benefits</a></dt><dt>disable roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2654058">Disabling Roaming Profile Support</a></dt><dt>disabling oplocks, <a class="indexterm" href="locking.html#id2609642">PDM Data Shares</a></dt><dt>disass, <a class="indexterm" href="bugreport.html#id2679548">Internal Errors</a></dt><dt>disaster recovery, <a class="indexterm" href="NT4Migration.html#id2672699">Server Share and Directory Layout</a></dt><dt>disconnect a connection, <a class="indexterm" href="ProfileMgmt.html#id2653683">NT4/200x User Profiles</a></dt><dt>disk, <a class="indexterm" href="passdb.html#id2581397">Advantages of Encrypted Passwords</a></dt><dt>disk space, <a class="indexterm" href="NT4Migration.html#id2672699">Server Share and Directory Layout</a></dt><dt>disparate information systems, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>display PostScript, <a class="indexterm" href="CUPS-printing.html#id2628207">UNIX Printfile Conversion and GUI Basics</a></dt><dt>displayName, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a></dt><dt>distort, <a class="indexterm" href="CUPS-printing.html#id2628207">UNIX Printfile Conversion and GUI Basics</a></dt><dt>distribute authentication systems, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>distributed, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a></dt><dt>distributed account, <a class="indexterm" href="passdb.html#id2580514">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#id2665163">The Ultimate Goal</a> (see DFS)</dt><dt>Distributed File Systems, <a class="indexterm" href="SambaHA.html#id2665612">The Distributed File System Challenge</a></dt><dt>distributed file systems, <a class="indexterm" href="SambaHA.html#id2665612">The Distributed File System Challenge</a></dt><dt>distributed locking protocol, <a class="indexterm" href="SambaHA.html#id2666006">A Simple Solution</a></dt><dt>distribution, <a class="indexterm" href="install.html#id2545482">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>dithering algorithm, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a></dt><dt>DMB, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2560464">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575354">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#id2575955">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>DMB for a workgroup, <a class="indexterm" href="NetworkBrowsing.html#id2577954">Browsing Support in Samba</a></dt><dt>DMC, <a class="indexterm" href="idmapper.html#id2598864">Examples of IDMAP Backend Usage</a></dt><dt>DMS, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="idmapper.html#id2598864">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#id2560041">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#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560555">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2560677">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2565187">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572606">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573862">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html#id2586902">Initialize the LDAP Database</a>, <a class="indexterm" href="winbind.html#id2647050">Name Service Switch</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661074">Background Information</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662397">DNS Lookup</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a>, <a class="indexterm" href="DNSDHCP.html#id2685852">Features and Benefits</a>, <a class="indexterm" href="DNSDHCP.html#id2686030">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#id2661074">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2686121">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#id2579610">Browsing of Shares and Directories is Very Slow</a></dt><dt>DNS lookup, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a></dt><dt>DNS name resolution, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>dns proxy, <a class="indexterm" href="diagnosis.html#id2675795">Assumptions</a></dt><dt>DNS server, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>DNS server access, <a class="indexterm" href="diagnosis.html#id2675795">Assumptions</a></dt><dt>DNS server settings, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a></dt><dt>DNS servers, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>DNS zon, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a></dt><dt>DNS/LDAP/ADS, <a class="indexterm" href="NetworkBrowsing.html#id2577867">Technical Overview of Browsing</a></dt><dt>document design, <a class="indexterm" href="NT4Migration.html#id2672699">Server Share and Directory Layout</a></dt><dt>documentation, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="SWAT.html#id2674077">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#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2584423">Adding User Accounts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a></dt><dd><dl><dt>control, <a class="indexterm" href="ServerType.html#id2551923">Server Types</a></dt><dd><dl><dt>role, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a></dt></dl></dd><dt>controller, <a class="indexterm" href="ServerType.html#id2551756">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html">Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a></dt><dd><dl><dt>convert, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a></dt><dt>hierarchy, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a></dt></dl></dd><dt>controllers, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2592433">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a></dt></dl></dd><dt>member, <a class="indexterm" href="ServerType.html#id2551923">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a></dt><dd><dl><dt>server, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a></dt></dl></dd><dt>member server, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>protocols, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="samba-pdc.html#id2554350">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#id2585253">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#id2602911">The Administrator Domain SID</a></dt><dt>Domain Admins, <a class="indexterm" href="ChangeNotes.html#id2572222">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2589335">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2590312">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>Domain Admins group, <a class="indexterm" href="groupmapping.html#id2589335">Discussion</a></dt><dt>domain authentication, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a></dt><dt>domain context, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>domain control, <a class="indexterm" href="samba-pdc.html#id2555584">Basics of Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2561694">Common Errors</a>, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2597597">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#id2551923">Server Types</a></dt><dt>primary, <a class="indexterm" href="ServerType.html#id2551923">Server Types</a></dt></dl></dd><dt>domain control database (see SAM)</dt><dt>domain controller, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2559297">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560406">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560612">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#id2646541">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2673033">Steps in Migration Process</a></dt><dt>Domain Controller, <a class="indexterm" href="CUPS-printing.html#id2635022">Caveats to Be Considered</a></dt><dt>domain controllers, <a class="indexterm" href="samba-pdc.html#id2557360">Samba ADS Domain Control</a>, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="PolicyMgmt.html#id2652439">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#id2669458">New Features in Samba-3.0.x</a></dt><dt>domain environment, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>domain global, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global group, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global groups, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain global user, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global users, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain group, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a></dt><dt>domain group settings, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain groups, <a class="indexterm" href="ChangeNotes.html#id2572222">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#id2590552">Default Users, Groups, and Relative Identifiers</a></dt><dt>Domain Groups, <a class="indexterm" href="passdb.html#id2587512">Accounts and Groups Management</a></dt><dt>Domain Guests, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain information, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>domain join, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a>, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a></dt><dt>domain joining, <a class="indexterm" href="ClientConfig.html#id2570451">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain logon, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2557413">Domain and Network Logon Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2557432">Domain Network Logon Service</a>, <a class="indexterm" href="samba-bdc.html#id2559790">Example PDC Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>domain logon server, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>domain logons, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577954">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>domain management tools, <a class="indexterm" href="domain-member.html#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>domain master, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577954">Browsing Support in Samba</a></dt><dt>domain member, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2563716">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2566752">Common Errors</a>, <a class="indexterm" href="ClientConfig.html#id2570451">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2589335">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="winbind.html#id2646740">Handling of Foreign SIDs</a>, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>Domain Member, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dd><dl><dt>joining, <a class="indexterm" href="ServerType.html#id2552867">Example Configuration</a></dt></dl></dd><dt>domain member client, <a class="indexterm" href="groupmapping.html#id2590312">Important Administrative Information</a></dt><dt>Domain Member Client (see DMC)</dt><dt>domain member server, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573862">TCP/IP without NetBIOS</a>, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a></dt><dt>Domain Member Server (see DMS)</dt><dt>domain member servers, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="groupmapping.html#id2589729">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#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain members, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575354">Domain Browsing Configuration</a>, <a class="indexterm" href="winbind.html#id2647576">Introduction</a></dt><dt>domain membership, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2556618">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#id2570978">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#id2646740">Handling of Foreign SIDs</a></dt><dt>domain policies, <a class="indexterm" href="PolicyMgmt.html#id2652218">Windows NT4-Style Policy Files</a></dt><dt>domain radio button, <a class="indexterm" href="ClientConfig.html#id2570451">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain security, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2562196">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#id2564171">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a>, <a class="indexterm" href="ClientConfig.html#id2570451">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2657069">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#id2590431">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>domain SID, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2595330">Managing Security Identifiers (SIDS)</a></dt><dt>domain trust, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613127">Creating an NT4 Domain Trust</a></dt><dt>domain user, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646541">What Winbind Provides</a></dt><dt>domain user accounts, <a class="indexterm" href="NetCommand.html#id2592433">UNIX and Windows Group Management</a></dt><dt>domain user manager, <a class="indexterm" href="passdb.html#id2584072">User Account Management</a></dt><dt>Domain User Manager, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2590431">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="PolicyMgmt.html#id2652888">Managing Account/User Policies</a></dt><dt>Domain Users, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain users, <a class="indexterm" href="winbind.html#id2647690">Requirements</a>, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2650301">Conclusion</a></dt><dt>Domain Users group, <a class="indexterm" href="groupmapping.html#id2591663">Adding Domain Users to the Workstation Power Users Group</a></dt><dt>domain-level, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a></dt><dt>domain-level security, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>domain-wide browse list, <a class="indexterm" href="NetworkBrowsing.html#id2575955">Making Samba the Domain Master</a></dt><dt>DOMAIN<1B>, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a></dt><dt>DOMAIN<1C>, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a></dt><dt>DOMAIN<1D>, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a></dt><dt>draft, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a></dt><dt>Drive Identification, <a class="indexterm" href="AccessControls.html#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>driver, <a class="indexterm" href="classicalprinting.html#id2615901">Verifying Configuration with testparm</a></dt><dt>driver CDROM, <a class="indexterm" href="classicalprinting.html#id2621006">Identifying Driver Files</a></dt><dt>driver download, <a class="indexterm" href="classicalprinting.html#id2620174">[print$] Stanza Parameters</a></dt><dt>Driver File, <a class="indexterm" href="classicalprinting.html#id2621006">Identifying Driver Files</a></dt><dt>driver files, <a class="indexterm" href="classicalprinting.html#id2621006">Identifying Driver Files</a></dt><dt>Driver Path, <a class="indexterm" href="classicalprinting.html#id2621006">Identifying Driver Files</a></dt><dt>dual-daemon winbindd, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>due diligence, <a class="indexterm" href="Backup.html#id2664426">Discussion of Backup Solutions</a></dt><dt>duplex, <a class="indexterm" href="CUPS-printing.html#id2632582">Examples for Filtering Chains</a></dt><dt>duplex printing, <a class="indexterm" href="CUPS-printing.html#id2632582">Examples for Filtering Chains</a></dt><dt>duplicate, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a></dt><dt>duplication of information, <a class="indexterm" href="winbind.html#id2646452">Introduction</a></dt><dt>DVI, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629990">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#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>dynamic registration files, <a class="indexterm" href="DNSDHCP.html#id2686121">Dynamic DNS</a></dt><dt>Dynamic SMB servers, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>dynamically loadable library modules, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>E</h3><dl><dt>e-Directory, <a class="indexterm" href="samba-pdc.html#id2554984">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#id2604259">File and Directory Access Control</a></dt><dt>economically wise, <a class="indexterm" href="SambaHA.html#id2665008">Features and Benefits</a></dt><dt>eDirectory, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>editreg, <a class="indexterm" href="PolicyMgmt.html#id2653128">Samba Editreg Toolset</a></dt><dt>efficient authentication, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>election, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575354">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#id2574421">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#id2628029">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2633245">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2633379">Driver Execution on the Server</a></dt><dt>enables clients to print, <a class="indexterm" href="classicalprinting.html#id2615618">Simple Print Configuration</a></dt><dt>enables NetBIOS over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>encapsulating, <a class="indexterm" href="NetworkBrowsing.html#id2573226">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#id2556618">Domain Control: Example Configuration</a></dt><dt>encrypted, <a class="indexterm" href="ServerType.html#id2551756">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2553629">Password Checking</a>, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>encrypted password, <a class="indexterm" href="passdb.html#id2581397">Advantages of Encrypted Passwords</a></dt><dt>encrypted passwords, <a class="indexterm" href="ServerType.html#id2553629">Password Checking</a>, <a class="indexterm" href="passdb.html#id2580294">Features and Benefits</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2581397">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="ProfileMgmt.html#id2655754">Profile Migration from Windows NT4/200x Server to Samba</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671133">Passdb Backends and Authentication</a></dt><dt>encrypted session, <a class="indexterm" href="passdb.html#id2587625">Security and sambaSamAccount</a></dt><dt>encryption, <a class="indexterm" href="ServerType.html#id2553330">Server Security (User Level Security)</a></dt><dt>encryption key, <a class="indexterm" href="domain-member.html#id2563716">Windows 200x/XP Professional Client</a></dt><dt>encryption types, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566473">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#id2663207">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2675010">Enabling SWAT Internationalization Support</a></dt><dt>Enhanced MetaFile (see EMF)</dt><dt>enterprise, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a></dt><dt>enumdrivers, <a class="indexterm" href="classicalprinting.html#id2621006">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2636708">A Check of the rpcclient man Page</a></dt><dt>enumerate domain groups, <a class="indexterm" href="winbind.html#id2646916">Microsoft Remote Procedure Calls</a></dt><dt>enumerate domain users, <a class="indexterm" href="winbind.html#id2646916">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#id2636708">A Check of the rpcclient man Page</a></dt><dt>environment variables, <a class="indexterm" href="classicalprinting.html#id2618998">Custom Print Commands</a></dt><dt>EPM (see ESP meta packager)</dt><dt>Epson Stylus, <a class="indexterm" href="CUPS-printing.html#id2632582">Examples for Filtering Chains</a></dt><dt>Epson Stylus inkjet, <a class="indexterm" href="CUPS-printing.html#id2639826">Foomatic Database-Generated PPDs</a></dt><dt>equivalence, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>equivalent rights and privileges, <a class="indexterm" href="rights.html#id2602911">The Administrator Domain SID</a></dt><dt>error message, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a>, <a class="indexterm" href="classicalprinting.html#id2621917">Running rpcclient with adddriver</a></dt><dt>error messages, <a class="indexterm" href="diagnosis.html#id2675795">Assumptions</a></dt><dt>errors that can afflict, <a class="indexterm" href="ClientConfig.html#id2571422">Common Errors</a></dt><dt>ESC/P, <a class="indexterm" href="CUPS-printing.html#id2633379">Driver Execution on the Server</a></dt><dt>ESP, <a class="indexterm" href="CUPS-printing.html#id2628566">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dd><dl><dt>Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2628962">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2632245">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>meta packager, <a class="indexterm" href="CUPS-printing.html#id2634576">CUPS “PostScript Driver for Windows NT/200x/XP”</a></dt><dt>Print Pro, <a class="indexterm" href="CUPS-printing.html#id2633010">Sources of CUPS Drivers/PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2634959">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></dt></dl></dd><dt>ESP Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2628962">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#id2654284">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2678158">Tcpdump</a>, <a class="indexterm" href="problems.html#id2678208">Ethereal</a>, <a class="indexterm" href="problems.html#id2678352">The Windows Network Monitor</a></dt><dt>Ethernet adapters, <a class="indexterm" href="securing-samba.html#id2611544">Using Interface Protection</a></dt><dt>EUC-JP, <a class="indexterm" href="unicode.html#id2663207">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>eucJP-ms locale, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>Event Viewer, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650643">Remote Server Administration</a></dt><dt>Everyone - Full Control, <a class="indexterm" href="AccessControls.html#id2605997">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#id2644814">shadow_copy</a></dt><dt>examples, <a class="indexterm" href="install.html#id2545482">Example Configuration</a></dt><dt>examples/LDAP, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a></dt><dt>execute, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a></dt><dt>existing LDAP DIT, <a class="indexterm" href="passdb.html#id2582425">Caution Regarding LDAP and Samba</a></dt><dt>expands control abilities, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a></dt><dt>expired password, <a class="indexterm" href="passdb.html#id2584595">Changing User Accounts</a></dt><dt>explicit trust, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></dt><dt>explicitly set, <a class="indexterm" href="classicalprinting.html#id2616098">Rapid Configuration Validation</a></dt><dt>exploit opportunities, <a class="indexterm" href="PolicyMgmt.html#id2651786">Features and Benefits</a></dt><dt>exploitation, <a class="indexterm" href="securing-samba.html#id2611544">Using Interface Protection</a></dt><dt>exported file system, <a class="indexterm" href="SambaHA.html#id2666006">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#id2644041">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#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>Extended BSD Printing, <a class="indexterm" href="classicalprinting.html#id2616498">Extended Printing Configuration</a></dt><dt>extended characters, <a class="indexterm" href="unicode.html#id2662905">What Are Charsets and Unicode?</a></dt><dt>extended protocol, <a class="indexterm" href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a></dt><dt>extended SAM, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a></dt><dt>extra machine, <a class="indexterm" href="cfgsmarts.html#id2668315">Multiple Virtual Server Hosting</a></dt></dl></div><div class="indexdiv"><h3>F</h3><dl><dt>fail, <a class="indexterm" href="SambaHA.html#id2665008">Features and Benefits</a></dt><dt>failed join, <a class="indexterm" href="idmapper.html#id2598951">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2599649">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#id2666087">High-Availability Server Products</a></dt><dt>failover process, <a class="indexterm" href="SambaHA.html#id2666087">High-Availability Server Products</a></dt><dt>failover servers, <a class="indexterm" href="SambaHA.html#id2666006">A Simple Solution</a></dt><dt>fails, <a class="indexterm" href="domain-member.html#id2566867">Adding Machine to Domain Fails</a></dt><dt>failure, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a></dt><dt>failure semantics, <a class="indexterm" href="SambaHA.html#id2665948">Required Modifications to Samba</a></dt><dt>fake-permissions module, <a class="indexterm" href="ProfileMgmt.html#id2656106">Mandatory Profiles</a></dt><dt>fake_permissions, <a class="indexterm" href="samba-pdc.html#id2556618">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#id2656106">Mandatory Profiles</a></dt><dt>fdisk, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>Federated Identity Management (see FIM)</dt><dt>federated organizations, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>federated-identity, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>Fiber Channel, <a class="indexterm" href="SambaHA.html#id2666087">High-Availability Server Products</a></dt><dt>fickle, <a class="indexterm" href="NetworkBrowsing.html#id2572606">Features and Benefits</a></dt><dt>fid, <a class="indexterm" href="SambaHA.html#id2665506">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#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>file ownership, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a></dt><dt>file serving, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a></dt><dt>File System, <a class="indexterm" href="AccessControls.html#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dd><dl><dt>case sensitivity, <a class="indexterm" href="AccessControls.html#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>feature comparison, <a class="indexterm" href="AccessControls.html#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>UNIX, <a class="indexterm" href="AccessControls.html#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></dt></dl></dd><dt>file system capabilities, <a class="indexterm" href="AccessControls.html#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>FILE:, <a class="indexterm" href="classicalprinting.html#id2624877">Samba and Printer Ports</a></dt><dt>filemanager, <a class="indexterm" href="NetworkBrowsing.html#id2578151">Problem Resolution</a></dt><dt>filename mangling, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>filter, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>Filter Oplock, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>FilterLimit, <a class="indexterm" href="CUPS-printing.html#id2631506">mime.convs</a></dt><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>FIM, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>firewall, <a class="indexterm" href="securing-samba.html#id2611069">Introduction</a>, <a class="indexterm" href="securing-samba.html#id2611544">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2676088">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#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a></dt><dt>fixed IP addresses, <a class="indexterm" href="ClientConfig.html#id2568680">TCP/IP Configuration</a></dt><dt>flush local locks, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>flush name cache, <a class="indexterm" href="NetworkBrowsing.html#id2579442">Flushing the Samba NetBIOS Name Cache</a></dt><dt>foomatic, <a class="indexterm" href="CUPS-printing.html#id2628803">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2628962">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2632245">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2639125">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2639274">Foomatic's Strange Name</a></dt><dt>Foomatic database, <a class="indexterm" href="CUPS-printing.html#id2639826">Foomatic Database-Generated PPDs</a></dt><dt>Foomatic Printer, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a></dt><dt>Foomatic tutorial, <a class="indexterm" href="CUPS-printing.html#id2639510">The Grand Unification Achieved</a></dt><dt>foomatic-rip, <a class="indexterm" href="CUPS-printing.html#id2628962">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2632245">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2638950">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2639125">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2639510">The Grand Unification Achieved</a></dt><dt>Foomatic/cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2632245">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#id2575955">Making Samba the Domain Master</a></dt><dt>forced synchronization, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a></dt><dt>foreign domain, <a class="indexterm" href="passdb.html#id2581602">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>foreign SID, <a class="indexterm" href="winbind.html#id2646740">Handling of Foreign SIDs</a></dt><dt>foreign user, <a class="indexterm" href="winbind.html#id2646740">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#id2684105">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#id2685480">Free Support</a></dt><dt>FreeBSD, <a class="indexterm" href="samba-pdc.html#id2558301">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>freezing, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>French, <a class="indexterm" href="SWAT.html#id2675010">Enabling SWAT Internationalization Support</a></dt><dt>front-end virtual server, <a class="indexterm" href="SambaHA.html#id2665412">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665506">Demultiplexing SMB Requests</a></dt><dt>frustrating experience, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a></dt><dt>FTP, <a class="indexterm" href="passdb.html#id2581538">Advantages of Non-Encrypted Passwords</a></dt><dt>ftp, <a class="indexterm" href="Backup.html#id2664694">Rsync</a>, <a class="indexterm" href="compiling.html#id2680781">Accessing the Samba Sources via rsync and ftp</a></dt><dt>ftp access, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp service, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp services, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftpd, <a class="indexterm" href="pam.html#id2658920">Anatomy of /etc/pam.d Entries</a></dt><dt>full rights, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>functional components, <a class="indexterm" href="bugreport.html#id2679347">Debugging-Specific Operations</a></dt><dt>functionality, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt></dl></div><div class="indexdiv"><h3>G</h3><dl><dt>gateway address, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a></dt><dt>gcc, <a class="indexterm" href="problems.html#id2677902">Debugging with Samba Itself</a>, <a class="indexterm" href="Portability.html#id2682105">HPUX</a></dt><dt>gdb, <a class="indexterm" href="problems.html#id2677902">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2679548">Internal Errors</a>, <a class="indexterm" href="bugreport.html#id2679682">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#id2628029">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2633245">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2633379">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#id2629198">MIME Types and CUPS Filters</a></dt><dt>generic raster, <a class="indexterm" href="CUPS-printing.html#id2630345">pstoraster</a></dt><dt>generic raster format, <a class="indexterm" href="CUPS-printing.html#id2628962">The CUPS Filtering Architecture</a></dt><dt>genlogon.pl, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651375">Network Logon Script Magic</a></dt><dt>Gentoo, <a class="indexterm" href="speed.html#id2684105">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>Germany, <a class="indexterm" href="SambaHA.html#id2665129">Technical Discussion</a></dt><dt>get, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>getdriver, <a class="indexterm" href="classicalprinting.html#id2621006">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2621562">Installing Driver Files into [print$]</a></dt><dt>getdriverdir, <a class="indexterm" href="CUPS-printing.html#id2636708">A Check of the rpcclient man Page</a></dt><dt>getent, <a class="indexterm" href="NetCommand.html#id2592634">Adding or Creating a New Group</a>, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2648876">Starting and Testing the winbindd Daemon</a></dt><dt>getent group demo, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>gethostbyname() function call, <a class="indexterm" href="NetworkBrowsing.html#id2577664">Name Resolution Order</a></dt><dt>getpwnam, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>getpwnam() call, <a class="indexterm" href="upgrading-to-3.0.html#id2671036">Changes in Behavior</a></dt><dt>GetSID.exe, <a class="indexterm" href="ProfileMgmt.html#id2656041">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#id2628566">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#id2628962">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2631962">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#id2561238">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2566545">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2572162">Passdb Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2572222">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#id2588920">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646740">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2648876">Starting and Testing the winbindd Daemon</a></dt><dt>GID numbers, <a class="indexterm" href="idmapper.html#id2597597">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#id2629198">MIME Types and CUPS Filters</a></dt><dt>global print command, <a class="indexterm" href="classicalprinting.html#id2618998">Custom Print Commands</a></dt><dt>global right, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>global section, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>Global support, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>global-level, <a class="indexterm" href="classicalprinting.html#id2615518">Printing-Related Configuration Parameters</a></dt><dt>GNOME, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>GNU Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2628962">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2630345">pstoraster</a></dt><dt>GNU GPL, <a class="indexterm" href="Backup.html#id2664523">BackupPC</a></dt><dt>GNU tar, <a class="indexterm" href="Backup.html#id2664864">Amanda</a></dt><dt>GNU/Linux, <a class="indexterm" href="VFS.html#id2643381">Discussion</a></dt><dt>GPG, <a class="indexterm" href="compiling.html#id2680855">Verifying Samba's PGP Signature</a></dt><dt>GPL, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>gpolmig.exe, <a class="indexterm" href="PolicyMgmt.html#id2652642">Administration of Windows 200x/XP Policies</a></dt><dt>GPOs, <a class="indexterm" href="PolicyMgmt.html#id2651786">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2652439">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652642">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652888">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653315">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2657069">MS Windows 200x/XP</a></dt><dt>grace time, <a class="indexterm" href="passdb.html#id2584595">Changing User Accounts</a></dt><dt>grant rights, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>graphical objects, <a class="indexterm" href="CUPS-printing.html#id2628207">UNIX Printfile Conversion and GUI Basics</a></dt><dt>graphically illustrated client configuration, <a class="indexterm" href="ClientConfig.html#id2568576">Features and Benefits</a></dt><dt>grayscale, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a></dt><dt>greater scalability, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a></dt><dt>greatest mistake, <a class="indexterm" href="StandAloneServer.html#id2568508">Common Errors</a></dt><dt>grep, <a class="indexterm" href="winbind.html#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>group, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a></dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a></dt><dt>mapping, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a></dt></dl></dd><dt>group account, <a class="indexterm" href="groupmapping.html#id2590312">Important Administrative Information</a>, <a class="indexterm" href="idmapper.html#id2598792">Backup Domain Controller</a></dt><dt>group accounts, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2582425">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="groupmapping.html#id2588920">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2589671">Warning: User Private Group Problems</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>group management, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592433">UNIX and Windows Group Management</a></dt><dt>group mapping, <a class="indexterm" href="ChangeNotes.html#id2571731">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#id2572222">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2588920">Features and Benefits</a></dt><dt>group membership, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>group ownership, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a></dt><dt>group permissions, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a>, <a class="indexterm" href="NT4Migration.html#id2672699">Server Share and Directory Layout</a></dt><dt>Group Policies, <a class="indexterm" href="PolicyMgmt.html#id2651786">Features and Benefits</a></dt><dt>group policies, <a class="indexterm" href="PolicyMgmt.html#id2651786">Features and Benefits</a></dt><dt>group policy, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a></dt><dt>Group Policy, <a class="indexterm" href="PolicyMgmt.html#id2652081">Windows 9x/ME Policies</a></dt><dt>Group Policy Container (see GPC)</dt><dt>Group Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2652081">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653210">Windows NT4/200x</a>, <a class="indexterm" href="NT4Migration.html#id2673587">Samba-3 Implementation Choices</a></dt><dt>Group Policy Objects, <a class="indexterm" href="NT4Migration.html#id2672088">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#id2589335">Discussion</a></dt><dt>group profiles, <a class="indexterm" href="ProfileMgmt.html#id2656246">Creating and Managing Group Profiles</a></dt><dt>group SID, <a class="indexterm" href="NetCommand.html#id2595330">Managing Security Identifiers (SIDS)</a></dt><dt>groupadd, <a class="indexterm" href="groupmapping.html#id2588920">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2591264">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="groupmapping.html#id2591576">Adding Groups Fails</a></dt><dt>groupadd limitations, <a class="indexterm" href="groupmapping.html#id2591264">Sample smb.conf Add Group Script</a></dt><dt>groupdel, <a class="indexterm" href="groupmapping.html#id2588920">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#id2588920">Features and Benefits</a></dt><dt>grouppol.inf, <a class="indexterm" href="PolicyMgmt.html#id2652081">Windows 9x/ME Policies</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2592433">UNIX and Windows Group Management</a>, <a class="indexterm" href="PolicyMgmt.html#id2651786">Features and Benefits</a></dt><dd><dl><dt>domain, <a class="indexterm" href="groupmapping.html#id2589335">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#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt></dl></dd><dt>groups of users, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></dt><dt>growing, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>GSSAPI, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>gtklp, <a class="indexterm" href="CUPS-printing.html#id2639826">Foomatic Database-Generated PPDs</a></dt><dt>guest, <a class="indexterm" href="samba-pdc.html#id2556618">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#id2578151">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2618998">Custom Print Commands</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>GUI, <a class="indexterm" href="CUPS-printing.html#id2626024">Overview</a></dt><dt>Gutenprint, <a class="indexterm" href="CUPS-printing.html#id2630700">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2639638">Driver Development Outside</a></dt></dl></div><div class="indexdiv"><h3>H</h3><dl><dt>h-node, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>harvesting password hashes, <a class="indexterm" href="passdb.html#id2587625">Security and sambaSamAccount</a></dt><dt>hashed password equivalent, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>headers files, <a class="indexterm" href="domain-member.html#id2566180">Possible Errors</a></dt><dt>Heimdal, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>Heimdal kerberos, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2600239">IDMAP Storage in LDAP Using Winbind</a></dt><dt>help, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>help command, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>heterogeneous computing, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a></dt><dt>HEX, <a class="indexterm" href="unicode.html#id2663207">Japanese Charsets</a></dt><dt>hi-res photo, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a></dt><dt>high availability, <a class="indexterm" href="SambaHA.html#id2665008">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#id2608947">Opportunistic Locking Overview</a></dt><dt>high-availability services, <a class="indexterm" href="SambaHA.html#id2666087">High-Availability Server Products</a></dt><dt>high-speed server interconnect, <a class="indexterm" href="SambaHA.html#id2666006">A Simple Solution</a></dt><dt>higher availability, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>HKEY_CURRENT_USER, <a class="indexterm" href="ProfileMgmt.html#id2656507">MS Windows NT4 Workstation</a></dt><dt>HKEY_LOCAL_MACHINE, <a class="indexterm" href="PolicyMgmt.html#id2652400">Registry Spoiling</a></dt><dt>holy grail, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a></dt><dt>home directories, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a>, <a class="indexterm" href="winbind.html#id2648876">Starting and Testing the winbindd Daemon</a></dt><dt>home directory, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a></dt><dt>home directory template, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>home drive, <a class="indexterm" href="samba-bdc.html#id2559790">Example PDC Configuration</a></dt><dt>host multiple servers, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>host security, <a class="indexterm" href="securing-samba.html#id2611168">Features and Benefits</a></dt><dt>host-based protection, <a class="indexterm" href="securing-samba.html#id2611168">Features and Benefits</a></dt><dt>hostname, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a></dt><dt>hosts allow, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>hosts deny, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>house-keeping, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>HOWTO documents, <a class="indexterm" href="passdb.html#id2582425">Caution Regarding LDAP and Samba</a></dt><dt>HP JetDirect, <a class="indexterm" href="CUPS-printing.html#id2632582">Examples for Filtering Chains</a></dt><dt>HP Photosmart, <a class="indexterm" href="CUPS-printing.html#id2639826">Foomatic Database-Generated PPDs</a></dt><dt>HP-GL, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>HP-GL., <a class="indexterm" href="CUPS-printing.html#id2629990">Prefilters</a></dt><dt>hpgltops, <a class="indexterm" href="CUPS-printing.html#id2629626">MIME Type Conversion Rules</a></dt><dt>HPIJS, <a class="indexterm" href="CUPS-printing.html#id2639638">Driver Development Outside</a></dt><dt>HPUX, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>http, <a class="indexterm" href="Backup.html#id2664694">Rsync</a></dt><dt>hybrid, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>Hybrid node, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt></dl></div><div class="indexdiv"><h3>I</h3><dl><dt>IANA, <a class="indexterm" href="CUPS-printing.html#id2630345">pstoraster</a></dt><dt>ID mapping, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>ID mapping database, <a class="indexterm" href="winbind.html#id2647437">User and Group ID Allocation</a></dt><dt>ID range, <a class="indexterm" href="groupmapping.html#id2588920">Features and Benefits</a></dt><dt>IDEALX, <a class="indexterm" href="passdb.html#id2586092">ldapsam</a></dt><dt>Identification, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>identify, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a></dt><dt>identity, <a class="indexterm" href="idmapper.html#id2597535">Standalone Samba Server</a></dt><dt>identity information, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>identity management, <a class="indexterm" href="samba-pdc.html#id2554984">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#id2554984">Single Sign-On and Domain Security</a></dt></dl></dd><dt>identity resolution, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a></dt><dt>IDMAP, <a class="indexterm" href="ChangeNotes.html#id2572222">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2588920">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597535">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a></dt><dt>idmap, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>idmap backend, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671885">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#id2581602">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a></dt><dt>idmap GID, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">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#id2581602">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2588920">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a></dt><dt>idmap UID, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">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#id2671327">New Schema</a></dt><dt>idmap_rid, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a></dt><dt>IETF, <a class="indexterm" href="CUPS-printing.html#id2626024">Overview</a></dt><dt>ifconfig, <a class="indexterm" href="compiling.html#id2681501">Starting from inetd.conf</a>, <a class="indexterm" href="speed.html#id2684105">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>ignore connection, <a class="indexterm" href="securing-samba.html#id2611544">Using Interface Protection</a></dt><dt>imagetoraster, <a class="indexterm" href="CUPS-printing.html#id2630615">imagetops and imagetoraster</a></dt><dt>immutible, <a class="indexterm" href="AccessControls.html#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>impersonate, <a class="indexterm" href="passdb.html#id2587625">Security and sambaSamAccount</a></dt><dt>implementing oplocks, <a class="indexterm" href="locking.html#id2609786">Advanced Samba Oplocks Parameters</a></dt><dt>Implicit Classes, <a class="indexterm" href="CUPS-printing.html#id2643033">Print Queue Called “lp” Mishandles Print Jobs</a></dt><dt>important announcements, <a class="indexterm" href="securing-samba.html#id2612093">Upgrading Samba</a></dt><dt>Imprints, <a class="indexterm" href="classicalprinting.html#id2625024">The Imprints Toolset</a></dt><dt>imprints, <a class="indexterm" href="CUPS-printing.html#id2627716">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#id2567324">Background</a>, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></dt><dt>individual domain user, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>individual section, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>inetd, <a class="indexterm" href="SWAT.html#id2674220">Validate SWAT Installation</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a>, <a class="indexterm" href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a>, <a class="indexterm" href="compiling.html#id2681501">Starting from inetd.conf</a></dt><dt>inetd.conf, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>inetorgperson.schema, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a></dt><dt>inf file, <a class="indexterm" href="classicalprinting.html#id2621006">Identifying Driver Files</a></dt><dt>infrastructure, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a>, <a class="indexterm" href="winbind.html#id2646694">Target Uses</a></dt><dt>inheritance, <a class="indexterm" href="AccessControls.html#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>inherits rights, <a class="indexterm" href="groupmapping.html#id2589335">Discussion</a></dt><dt>initdb.ldif, <a class="indexterm" href="FastStart.html#id2550542">The Primary Domain Controller</a></dt><dt>initGroups.sh, <a class="indexterm" href="FastStart.html#id2549643">Example: Engineering Office</a>, <a class="indexterm" href="groupmapping.html#id2591436">Script to Configure Group Mapping</a>, <a class="indexterm" href="NT4Migration.html#id2673033">Steps in Migration Process</a></dt><dt>inktype, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a></dt><dt>insecure, <a class="indexterm" href="StandAloneServer.html#id2567230">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2611330">Using Host-Based Protection</a></dt><dt>inspire simplicity, <a class="indexterm" href="StandAloneServer.html#id2567525">Example Configuration</a></dt><dt>inspired structure, <a class="indexterm" href="SambaHA.html#id2665129">Technical Discussion</a></dt><dt>install drivers, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2619666">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>interactive help, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>interdomain</dt><dd><dl><dt>trust</dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a></dt></dl></dd><dt>trustrs, <a class="indexterm" href="ServerType.html#id2551756">Features and Benefits</a></dt></dl></dd><dt>interdomain connection, <a class="indexterm" href="InterdomainTrusts.html#id2613858">Samba as the Trusting Domain</a></dt><dt>interdomain trust, <a class="indexterm" href="InterdomainTrusts.html#id2613518">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2614054">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#id2582425">Caution Regarding LDAP and Samba</a></dt><dt>interdomain trusts, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612741">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#id2613224">Completing an NT4 Domain Trust</a></dt><dt>creating, <a class="indexterm" href="InterdomainTrusts.html#id2613091">Native MS Windows NT4 Trusts Configuration</a></dt><dt>Facilities, <a class="indexterm" href="InterdomainTrusts.html#id2613309">Interdomain Trust Facilities</a></dt></dl></dd><dt>interface, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a></dt><dt>interface scripts, <a class="indexterm" href="passdb.html#id2584072">User Account Management</a></dt><dt>interface-based exclusion, <a class="indexterm" href="securing-samba.html#id2611168">Features and Benefits</a></dt><dt>interfaces, <a class="indexterm" href="securing-samba.html#id2611544">Using Interface Protection</a>, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></dt><dt>intermediate information, <a class="indexterm" href="passdb.html#id2582425">Caution Regarding LDAP and Samba</a></dt><dt>intermediate tools, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>internal ordering, <a class="indexterm" href="SWAT.html#id2674077">Features and Benefits</a></dt><dt>internationalization support, <a class="indexterm" href="SWAT.html#id2674201">Guidelines and Technical Tips</a></dt><dt>Internet, <a class="indexterm" href="securing-samba.html#id2611330">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2611544">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#id2569945">MS Windows Me</a></dt><dt>Internetworking Packet Exchange (see IPX)</dt><dt>internetworking super daemon, <a class="indexterm" href="SWAT.html#id2674077">Features and Benefits</a></dt><dt>interoperability, <a class="indexterm" href="ServerType.html#id2551756">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554984">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#id2646109">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2665739">Restrictive Constraints on Distributed File Systems</a></dt><dt>intolerance, <a class="indexterm" href="SambaHA.html#id2665008">Features and Benefits</a></dt><dt>invalid shell, <a class="indexterm" href="ServerType.html#id2552867">Example Configuration</a></dt><dt>invalid users, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>IP address, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>IP address automatically, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a></dt><dt>IP addresses, <a class="indexterm" href="integrate-ms-networks.html#id2661276">/etc/hosts</a></dt><dt>IP aliases, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a></dt><dt>IPC$, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578151">Problem Resolution</a>, <a class="indexterm" href="securing-samba.html#id2611894">Using IPC$ Share-Based Denials </a></dt><dt>IPC$ connections, <a class="indexterm" href="SambaHA.html#id2665412">The Front-End Challenge</a></dt><dt>ipchains, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>ipconfig, <a class="indexterm" href="NetworkBrowsing.html#id2573862">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#id2635871">Understanding cupsaddsmb</a></dt><dt>IPP client, <a class="indexterm" href="CUPS-printing.html#id2642434">Administrator Cannot Install Printers for All Local Users</a></dt><dt>iptables, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>IPX, <a class="indexterm" href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a></dt><dt>IRC, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>IRIX, <a class="indexterm" href="VFS.html#id2643381">Discussion</a>, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>ISC</dt><dd><dl><dt>DHCP, <a class="indexterm" href="DNSDHCP.html#id2685852">Features and Benefits</a></dt><dt>DNS, <a class="indexterm" href="DNSDHCP.html#id2685852">Features and Benefits</a></dt></dl></dd><dt>ISC DHCP server, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569945">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#id2661074">Background Information</a></dt></dl></div><div class="indexdiv"><h3>J</h3><dl><dt>Japanese, <a class="indexterm" href="unicode.html#id2663207">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2675010">Enabling SWAT Internationalization Support</a></dt><dt>Japanese locale, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>Japanese UNIX, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>Java, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651190">Remote Management with ThinLinc</a>, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>JIS X 0208, <a class="indexterm" href="unicode.html#id2663207">Japanese Charsets</a></dt><dt>join, <a class="indexterm" href="idmapper.html#id2598951">NT4-Style Domains (Includes Samba Domains)</a></dt><dt>join client, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>join domain, <a class="indexterm" href="samba-pdc.html#id2558401">Joining Domain Fails Because of Existing Machine Account</a></dt><dt>join the ADS domain, <a class="indexterm" href="domain-member.html#id2564171">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#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>join the machine, <a class="indexterm" href="domain-member.html#id2563880">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#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>joining domain, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a></dt><dt>joining the domain, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>JPEG, <a class="indexterm" href="CUPS-printing.html#id2629198">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#id2610895">Additional Reading</a></dt><dt>KB 224992, <a class="indexterm" href="locking.html#id2610895">Additional Reading</a></dt><dt>KB 296264, <a class="indexterm" href="locking.html#id2610895">Additional Reading</a></dt><dt>KB 811492, <a class="indexterm" href="locking.html#id2610863">Long Delays Deleting Files over Network with XP SP1</a></dt><dt>KB 812937, <a class="indexterm" href="locking.html#id2610838">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#id2565378">Configure /etc/krb5.conf</a></dt><dt>KDE, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>KDE konqueror, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>KDE session, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>KDEPrint, <a class="indexterm" href="CUPS-printing.html#id2626024">Overview</a></dt><dt>kerberos, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2599239">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#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566180">Possible Errors</a>, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2647002">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671133">Passdb Backends and Authentication</a></dt><dd><dl><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2565378">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#id2681501">Starting from inetd.conf</a></dt><dt>kinit, <a class="indexterm" href="domain-member.html#id2565378">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#id2566180">Possible Errors</a></dt><dt>kixstart, <a class="indexterm" href="NT4Migration.html#id2672874">Logon Scripts</a></dt><dt>kprinter, <a class="indexterm" href="CUPS-printing.html#id2639826">Foomatic Database-Generated PPDs</a></dt><dt>KRB, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a></dt><dt>KRB5, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a></dt><dt>krb5.conf, <a class="indexterm" href="domain-member.html#id2565378">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#id2651190">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2666087">High-Availability Server Products</a>, <a class="indexterm" href="problems.html#id2677850">Diagnostics Tools</a></dt><dt>LanMan, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559297">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#id2556109">Preparing for Domain Control</a></dt><dt>LanMan passwords, <a class="indexterm" href="passdb.html#id2580330">Backward Compatibility Account Storage Systems</a></dt><dt>LanManager, <a class="indexterm" href="ServerType.html#id2552257">User Level Security</a>, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>LanManager-compatible, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a></dt><dt>LanManger password, <a class="indexterm" href="passdb.html#id2584188">Listing User and Machine Accounts</a></dt><dt>laptops, <a class="indexterm" href="Backup.html#id2664523">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#id2599649">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#id2612813">Trust Relationship Background</a></dt><dt>last change time, <a class="indexterm" href="passdb.html#id2584188">Listing User and Machine Accounts</a></dt><dt>latency, <a class="indexterm" href="locking.html#id2609553">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#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561847">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="samba-bdc.html#id2561952">Can I Do This All with LDAP?</a>, <a class="indexterm" href="domain-member.html#id2562196">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#id2566545">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#id2580514">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2581082">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#id2582150">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2582425">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2586092">ldapsam</a>, <a class="indexterm" href="passdb.html#id2586340">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586902">Initialize the LDAP Database</a>, <a class="indexterm" href="passdb.html#id2587088">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598792">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612741">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612813">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#id2647002">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671133">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dd><dl><dt>directories, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>master, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a></dt><dt>server, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a></dt><dt>slave, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a></dt></dl></dd><dt>LDAP administration password, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a></dt><dt>LDAP administrative password, <a class="indexterm" href="domain-member.html#id2566545">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>LDAP backend, <a class="indexterm" href="StandAloneServer.html#id2567324">Background</a>, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669288">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#id2561238">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2586902">Initialize the LDAP Database</a>, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>LDAP deployment, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>LDAP directory, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2586092">ldapsam</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>ldap group suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671720">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#id2566545">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671720">New Suffix for Searching</a></dt><dt>ldap machine suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2671720">New Suffix for Searching</a></dt><dt>LDAP queries, <a class="indexterm" href="upgrading-to-3.0.html#id2671720">New Suffix for Searching</a></dt><dt>LDAP redirects, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>LDAP schema, <a class="indexterm" href="ChangeNotes.html#id2572343">LDAP Changes in Samba-3.0.23</a></dt><dt>LDAP server, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>ldap suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671720">New Suffix for Searching</a></dt><dt>ldap user suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2671720">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#id2582562">LDAP Directories and Windows Computer Accounts</a></dt><dt>LDAP/Kerberos, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>LDAPS, <a class="indexterm" href="passdb.html#id2587625">Security and sambaSamAccount</a></dt><dt>ldapsam, <a class="indexterm" href="samba-pdc.html#id2556618">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#id2585669">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2586092">ldapsam</a>, <a class="indexterm" href="passdb.html#id2586340">Supported LDAP Servers</a>, <a class="indexterm" href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2580330">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>ldapsearch, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>LDAPv3, <a class="indexterm" href="passdb.html#id2587625">Security and sambaSamAccount</a></dt><dt>ldconfig, <a class="indexterm" href="winbind.html#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ldd, <a class="indexterm" href="CUPS-printing.html#id2626258">Linking smbd with libcups.so</a></dt><dt>LDIF, <a class="indexterm" href="passdb.html#id2586902">Initialize the LDAP Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>LDIF file, <a class="indexterm" href="passdb.html#id2586902">Initialize the LDAP Database</a></dt><dt>legacy systems, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>legal UNIX system account name, <a class="indexterm" href="domain-member.html#id2566867">Adding Machine to Domain Fails</a></dt><dt>Level1 Oplock, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>Level1 oplock, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>Level2 Oplock, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>LGPL, <a class="indexterm" href="passdb.html#id2586092">ldapsam</a></dt><dt>libcups, <a class="indexterm" href="classicalprinting.html#id2618454">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2626258">Linking smbd with libcups.so</a></dt><dt>libcups.so, <a class="indexterm" href="CUPS-printing.html#id2626258">Linking smbd with libcups.so</a></dt><dt>libcups.so.2, <a class="indexterm" href="CUPS-printing.html#id2626258">Linking smbd with libcups.so</a></dt><dt>Liberty Alliance, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>libiconv, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>libnss_winbind, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>libnss_winbind.so, <a class="indexterm" href="winbind.html#id2647050">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2647929">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#id2661552">/etc/nsswitch.conf</a></dt><dt>libraries, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a></dt><dt>licensing, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>limitations, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></dt><dt>linewidth, <a class="indexterm" href="CUPS-printing.html#id2628207">UNIX Printfile Conversion and GUI Basics</a></dt><dt>link loader configuration, <a class="indexterm" href="winbind.html#id2647929">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#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>soft, <a class="indexterm" href="AccessControls.html#id2603801">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#id2651190">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>Linux High Availability project, <a class="indexterm" href="SambaHA.html#id2666087">High-Availability Server Products</a></dt><dt>Linux LVM, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>Linux LVM partition, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>LinuxKongress2002, <a class="indexterm" href="CUPS-printing.html#id2639510">The Grand Unification Achieved</a></dt><dt>Linuxprinting.org, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2638950">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2639638">Driver Development Outside</a></dt><dt>list of domain controllers, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>listen for connections, <a class="indexterm" href="securing-samba.html#id2611544">Using Interface Protection</a></dt><dt>listen own socket, <a class="indexterm" href="cfgsmarts.html#id2666903">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#id2585669">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2587625">Security and sambaSamAccount</a></dt><dt>LMB, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575354">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#id2575955">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576543">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577954">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a> (see Local Master Browser)</dt><dt>LMHOSTS, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662196">The LMHOSTS File</a></dt><dt>lmhosts, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a></dt><dt>load balancing, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>loaded modules, <a class="indexterm" href="VFS.html#id2643343">Features and Benefits</a></dt><dt>loading printer drivers, <a class="indexterm" href="classicalprinting.html#id2618083">Any [my_printer_name] Section</a></dt><dt>local</dt><dd><dl><dt>groups, <a class="indexterm" href="NetCommand.html#id2592433">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a></dt></dl></dd></dl></dd><dt>local access permissions, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>local accounts, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>local administrative privileges, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Local Area Connection, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a></dt><dt>Local Area Connection Properties, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a></dt><dt>local authentication, <a class="indexterm" href="StandAloneServer.html#id2567324">Background</a></dt><dt>local authentication database, <a class="indexterm" href="StandAloneServer.html#id2567324">Background</a></dt><dt>local cache, <a class="indexterm" href="integrate-ms-networks.html#id2662110">The NetBIOS Name Cache</a></dt><dt>local disk, <a class="indexterm" href="Backup.html#id2664523">BackupPC</a></dt><dt>local domain, <a class="indexterm" href="winbind.html#id2646740">Handling of Foreign SIDs</a></dt><dt>local group, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>local groups, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2647050">Name Service Switch</a></dt><dt>Local Machine Trust Account, <a class="indexterm" href="samba-bdc.html#id2561737">Machine Accounts Keep Expiring</a></dt><dt>Local Master Browser, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575354">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576403">Use of the Remote Announce Parameter</a></dt><dt>local master browser (see LMB)</dt><dt>local names, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>local print driver, <a class="indexterm" href="classicalprinting.html#id2620174">[print$] Stanza Parameters</a></dt><dt>local profile, <a class="indexterm" href="ProfileMgmt.html#id2654058">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>local profiles, <a class="indexterm" href="ProfileMgmt.html#id2653569">Features and Benefits</a></dt><dt>local registry values, <a class="indexterm" href="PolicyMgmt.html#id2652439">MS Windows 200x/XP Professional Policies</a></dt><dt>Local security policies, <a class="indexterm" href="CUPS-printing.html#id2642401">Windows 200x/XP Local Security Policies</a></dt><dt>local smbpasswd file, <a class="indexterm" href="StandAloneServer.html#id2567324">Background</a></dt><dt>local spool area, <a class="indexterm" href="classicalprinting.html#id2615307">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#id2615307">Technical Introduction</a></dt><dt>local UNIX groups, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a></dt><dt>local user, <a class="indexterm" href="idmapper.html#id2597535">Standalone Samba Server</a>, <a class="indexterm" href="winbind.html#id2649586">Restarting</a></dt><dt>local user account, <a class="indexterm" href="passdb.html#id2581602">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>local users, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2647050">Name Service Switch</a></dt><dt>locale, <a class="indexterm" href="SWAT.html#id2675010">Enabling SWAT Internationalization Support</a></dt><dt>localhost, <a class="indexterm" href="securing-samba.html#id2611330">Using Host-Based Protection</a></dt><dt>locally known UID, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a></dt><dt>locate domain controller, <a class="indexterm" href="samba-bdc.html#id2560555">How Does a Workstation find its Domain Controller?</a></dt><dt>Lock caching, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>lock directory, <a class="indexterm" href="cfgsmarts.html#id2666903">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#id2584595">Changing User Accounts</a></dt><dt>locking, <a class="indexterm" href="locking.html">File and Record Locking</a>, <a class="indexterm" href="locking.html#id2608592">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2608689">Discussion</a>, <a class="indexterm" href="SambaHA.html#id2665612">The Distributed File System Challenge</a></dt><dt>locking protocol, <a class="indexterm" href="locking.html#id2608592">Features and Benefits</a></dt><dt>locking semantics, <a class="indexterm" href="locking.html#id2608592">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2608689">Discussion</a></dt><dt>locking.tdb, <a class="indexterm" href="CUPS-printing.html#id2638444">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>lockout, <a class="indexterm" href="ServerType.html#id2553525">Example Configuration</a></dt><dt>log files, <a class="indexterm" href="diagnosis.html#id2675795">Assumptions</a></dt><dd><dl><dt>monitoring, <a class="indexterm" href="diagnosis.html#id2675795">Assumptions</a></dt></dl></dd><dt>log level, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a>, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2677902">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#id2578151">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>logging, <a class="indexterm" href="VFS.html#id2644198">Configuration of Auditing</a>, <a class="indexterm" href="bugreport.html#id2679347">Debugging-Specific Operations</a></dt><dt>logical directories, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>Logical Link Control (see LLC)</dt><dt>logical volume, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>Logical Volume Manager (see LVM)</dt><dt>Login, <a class="indexterm" href="passdb.html#id2581538">Advantages of Non-Encrypted Passwords</a></dt><dt>login, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>login id, <a class="indexterm" href="passdb.html#id2584188">Listing User and Machine Accounts</a></dt><dt>login name, <a class="indexterm" href="install.html#id2545482">Example Configuration</a></dt><dt>login shells, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>LoginID, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>logon, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a></dt><dt>logon authentication, <a class="indexterm" href="samba-bdc.html#id2560677">NetBIOS Over TCP/IP Disabled</a></dt><dt>logon drive, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a></dt><dt>logon home, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2653822">Windows 9x/Me User Profiles</a></dt><dt>logon name, <a class="indexterm" href="NetCommand.html#id2594284">User Mapping</a></dt><dt>logon path, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a></dt><dt>logon processing, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a></dt><dt>logon requests, <a class="indexterm" href="samba-bdc.html#id2559297">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2560612">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="samba-bdc.html#id2561792">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></dt><dt>logon script, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a></dt><dt>Logon Scripts, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>Logon scripts, <a class="indexterm" href="NT4Migration.html#id2672874">Logon Scripts</a></dt><dt>logon server, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2656507">MS Windows NT4 Workstation</a></dt><dt>logons, <a class="indexterm" href="ProfileMgmt.html#id2653683">NT4/200x User Profiles</a></dt><dt>lookups, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a></dt><dt>loopback adapter, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>loopback interface, <a class="indexterm" href="securing-samba.html#id2611544">Using Interface Protection</a>, <a class="indexterm" href="Portability.html#id2682390">Red Hat Linux</a></dt><dt>lower-case, <a class="indexterm" href="ServerType.html#id2552257">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#id2615901">Verifying Configuration with testparm</a>, <a class="indexterm" href="CUPS-printing.html#id2643033">Print Queue Called “lp” Mishandles Print Jobs</a></dt><dt>lpadmin, <a class="indexterm" href="CUPS-printing.html#id2631575">“Raw” Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2633133">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2638950">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2640461">Setting Up Quotas</a></dt><dt>LPD, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>lpinfo, <a class="indexterm" href="CUPS-printing.html#id2630919">CUPS Backends</a></dt><dt>lpq cache time, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>lpq command, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>LPRNG, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>lpstat, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a>, <a class="indexterm" href="CUPS-printing.html#id2638300">Troubleshooting Revisited</a></dt><dt>LPT1:, <a class="indexterm" href="classicalprinting.html#id2624877">Samba and Printer Ports</a></dt><dt>LsaEnumTrustedDomains, <a class="indexterm" href="problems.html#id2677902">Debugging with Samba Itself</a></dt><dt>LTSP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>Lustre, <a class="indexterm" href="SambaHA.html#id2665612">The Distributed File System Challenge</a></dt><dt>lvcreate, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>LVM, <a class="indexterm" href="VFS.html#id2644814">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>LVM snapshots, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>LVM volume, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>lvm10 package, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>M</h3><dl><dt>m-node, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>MAC address, <a class="indexterm" href="integrate-ms-networks.html#id2661276">/etc/hosts</a></dt><dt>MAC Addresses, <a class="indexterm" href="integrate-ms-networks.html#id2661276">/etc/hosts</a></dt><dt>Mac OS X , <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>machine, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>machine account, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2585935">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#id2564171">Joining an NT4-type Domain with Samba-3</a></dt></dl></dd><dt>machine accounts, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2582562">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#id2559367">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#id2661276">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a></dt><dt>Machine Policy Objects, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>machine SID, <a class="indexterm" href="NetCommand.html#id2595330">Managing Security Identifiers (SIDS)</a></dt><dt>machine trust account, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2557628">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#id2563716">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#id2566792">Cannot Add Machine Back to Domain</a></dt><dd><dl><dt>create privilege, <a class="indexterm" href="domain-member.html#id2563716">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#id2556109">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#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563880">Windows NT4 Client</a></dt><dd><dl><dt>creation, <a class="indexterm" href="domain-member.html#id2563599">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>password, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a></dt><dt>UNIX account, <a class="indexterm" href="domain-member.html#id2563599">On-the-Fly Creation of Machine Trust Accounts</a></dt></dl></dd><dt>Machine Trust Accounts, <a class="indexterm" href="samba-bdc.html#id2561737">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#id2561847">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="domain-member.html#id2566752">Common Errors</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2582425">Caution Regarding LDAP and Samba</a></dt><dt>machine_name, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a></dt><dt>machine_nickname, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a></dt><dt>Macintosh, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>macros, <a class="indexterm" href="classicalprinting.html#id2618998">Custom Print Commands</a></dt><dt>mail, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>mailing list, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>mailing lists, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>maintaining ids, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>major changes, <a class="indexterm" href="upgrading-to-3.0.html#id2670658">New Functionality</a></dt><dt>make, <a class="indexterm" href="integrate-ms-networks.html#id2661552">/etc/nsswitch.conf</a>, <a class="indexterm" href="compiling.html#id2680993">Building the Binaries</a></dt><dt>man, <a class="indexterm" href="SWAT.html#id2674077">Features and Benefits</a></dt><dt>man page, <a class="indexterm" href="winbind.html#id2648441">Configure smb.conf</a></dt><dt>man pages, <a class="indexterm" href="NetCommand.html#id2592057">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#id2615084">Features and Benefits</a></dt><dt>manage groups, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></dt><dt>manage printers, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></dt><dt>manage privileges, <a class="indexterm" href="rights.html#id2601492">Rights Management Capabilities</a></dt><dt>manage roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2653569">Features and Benefits</a></dt><dt>manage share permissions, <a class="indexterm" href="AccessControls.html#id2606157">Windows NT4 Workstation/Server</a></dt><dt>manage share-level ACL, <a class="indexterm" href="groupmapping.html#id2590431">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>manage shares, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></dt><dt>manage users, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></dt><dt>manageability, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>Manageability, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>managed by humans, <a class="indexterm" href="SambaHA.html#id2665008">Features and Benefits</a></dt><dt>management bottleneck, <a class="indexterm" href="locking.html#id2609600">Multiuser Databases</a></dt><dt>management costs, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>management overheads, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>management procedures, <a class="indexterm" href="samba-pdc.html#id2554984">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#id2601767">Using the “net rpc rights” Utility</a></dt><dt>mandatory profiles, <a class="indexterm" href="ProfileMgmt.html#id2656106">Mandatory Profiles</a></dt><dt>Mandrake, <a class="indexterm" href="CUPS-printing.html#id2639743">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>Mandriva, <a class="indexterm" href="CUPS-printing.html#id2639743">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#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a></dt><dt>manually configured, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a></dt><dt>manually configured DNS settings, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a></dt><dt>map, <a class="indexterm" href="domain-member.html#id2563716">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="NT4Migration.html#id2672984">User and Group Accounts</a></dt><dt>mapped, <a class="indexterm" href="groupmapping.html#id2590312">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping, <a class="indexterm" href="passdb.html#id2581602">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping home directory, <a class="indexterm" href="securing-samba.html#id2612181">Why Can Users Access Other Users' Home Directories?</a></dt><dt>mapping printer driver, <a class="indexterm" href="classicalprinting.html#id2622525">Running rpcclient with setdriver</a></dt><dt>mappings, <a class="indexterm" href="domain-member.html#id2566545">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>maps UNIX users and groups, <a class="indexterm" href="domain-member.html#id2566545">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#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>master server, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>master smb.conf, <a class="indexterm" href="cfgsmarts.html#id2668315">Multiple Virtual Server Hosting</a></dt><dt>MasterAnnouncement, <a class="indexterm" href="NetworkBrowsing.html#id2578573">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#id2684196">Corrupt tdb Files</a></dt><dt>Meccano set, <a class="indexterm" href="Backup.html#id2664426">Discussion of Backup Solutions</a></dt><dt>mechanism, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>media type, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a></dt><dt>member, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>member machine, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>memory, <a class="indexterm" href="passdb.html#id2581397">Advantages of Encrypted Passwords</a></dt><dt>messages.tdb, <a class="indexterm" href="CUPS-printing.html#id2638444">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>messaging systems, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>Meta node, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt><dt>meta-directory, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>meta-service, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a></dt><dt>meta-services, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>Microsoft Active Directory, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>Microsoft Developer Network CDs, <a class="indexterm" href="problems.html#id2678352">The Windows Network Monitor</a></dt><dt>Microsoft driver, <a class="indexterm" href="CUPS-printing.html#id2634088">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#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>Microsoft Wolfpack, <a class="indexterm" href="SambaHA.html#id2666087">High-Availability Server Products</a></dt><dt>middle-ware, <a class="indexterm" href="passdb.html#id2582150">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#id2672984">User and Group Accounts</a></dt><dt>migrate group, <a class="indexterm" href="NT4Migration.html#id2672984">User and Group Accounts</a></dt><dt>migrate user, <a class="indexterm" href="NT4Migration.html#id2672984">User and Group Accounts</a></dt><dt>migrating, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>migration, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>migration plan, <a class="indexterm" href="NT4Migration.html#id2672054">Planning and Getting Started</a></dt><dt>migration process, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>MIME, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629626">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2629833">Filtering Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2631683">application/octet-stream Printing</a></dt><dd><dl><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>raw, <a class="indexterm" href="FastStart.html#id2547411">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#id2628962">The CUPS Filtering Architecture</a></dt><dt>MIME recognition, <a class="indexterm" href="CUPS-printing.html#id2628962">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#id2628962">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2629990">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2631683">application/octet-stream Printing</a></dt><dt>mime.types, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>minimal</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a></dt></dl></dd><dt>minimal configuration, <a class="indexterm" href="install.html#id2544323">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#id2545741">Test Your Config File with testparm</a></dt><dt>misconfigured settings, <a class="indexterm" href="classicalprinting.html#id2615618">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#id2608947">Opportunistic Locking Overview</a>, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a></dt><dt>MIT, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a></dt><dt>MIT kerberos, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2600239">IDMAP Storage in LDAP Using Winbind</a></dt><dt>MIT Kerberos, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>mixed mode, <a class="indexterm" href="ServerType.html#id2553173">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="InterdomainTrusts.html#id2614054">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>mixed profile, <a class="indexterm" href="ProfileMgmt.html#id2653980">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#id2645002">Shadow Copy Setup</a></dt><dt>mkfs.xfs, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>MMC, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2588920">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a>, <a class="indexterm" href="AccessControls.html#id2605997">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2606262">Windows 200x/XP</a>, <a class="indexterm" href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653210">Windows NT4/200x</a>, <a class="indexterm" href="ProfileMgmt.html#id2654058">Disabling Roaming Profile Support</a></dt><dt>MMC snap-in, <a class="indexterm" href="PolicyMgmt.html#id2652642">Administration of Windows 200x/XP Policies</a></dt><dt>modem/ISDN, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>moderately secure, <a class="indexterm" href="securing-samba.html#id2611168">Features and Benefits</a></dt><dt>modprobe, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>module, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>modules, <a class="indexterm" href="VFS.html#id2643343">Features and Benefits</a>, <a class="indexterm" href="VFS.html#id2643381">Discussion</a></dt><dt>more than one protocol, <a class="indexterm" href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a></dt><dt>mount, <a class="indexterm" href="ServerType.html#id2552431">Share-Level Security</a>, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>mouse-over, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>moveuser.exe, <a class="indexterm" href="ProfileMgmt.html#id2655999">moveuser.exe</a></dt><dt>MS DCE RPC, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a></dt><dt>MS Windows 2000, <a class="indexterm" href="samba-bdc.html#id2560406">Active Directory Domain Control</a></dt><dt>MS Windows NT4/200x, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a></dt><dt>MS Windows SID, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>MS WINS, <a class="indexterm" href="NetworkBrowsing.html#id2572606">Features and Benefits</a></dt><dt>MS-DFS, <a class="indexterm" href="SambaHA.html#id2666227">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#id2573226">NetBIOS over TCP/IP</a></dt><dt>msdfs links, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>msg, <a class="indexterm" href="SWAT.html#id2675010">Enabling SWAT Internationalization Support</a></dt><dt>msg file, <a class="indexterm" href="SWAT.html#id2675010">Enabling SWAT Internationalization Support</a></dt><dt>MSRPC, <a class="indexterm" href="winbind.html#id2646916">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2647050">Name Service Switch</a></dt><dt>multibyte character sets, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>multibyte charsets, <a class="indexterm" href="unicode.html#id2662905">What Are Charsets and Unicode?</a></dt><dt>multiple backends, <a class="indexterm" href="passdb.html#id2585539">Password Backends</a></dt><dt>multiple domains, <a class="indexterm" href="NT4Migration.html#id2672498">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#id2643381">Discussion</a></dt><dt>multiple network interfaces, <a class="indexterm" href="NetworkBrowsing.html#id2576217">Multiple Interfaces</a></dt><dt>multiple network segments, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>multiple personality, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>multiple server hosting, <a class="indexterm" href="cfgsmarts.html#id2666903">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#id2666903">Multiple Server Hosting</a></dt><dt>multiple universal naming convention provider (see MUP)</dt><dt>multiple VFS, <a class="indexterm" href="VFS.html#id2643381">Discussion</a></dt><dt>multiple virtual servers, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>multiple Windows workgroups or domains, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a></dt><dt>multiple WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>Multiuser databases, <a class="indexterm" href="locking.html#id2609600">Multiuser Databases</a></dt><dt>mutual assistance, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>mutually exclusive options, <a class="indexterm" href="NetworkBrowsing.html#id2572789">What Is Browsing?</a></dt><dt>My Network Places, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578151">Problem Resolution</a></dt><dt>Myrinet, <a class="indexterm" href="SambaHA.html#id2665894">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#id2574421">How Browsing Functions</a></dt><dt>n-memory buffer, <a class="indexterm" href="integrate-ms-networks.html#id2662110">The NetBIOS Name Cache</a></dt><dt>name conflict, <a class="indexterm" href="classicalprinting.html#id2618083">Any [my_printer_name] Section</a></dt><dt>name lookup, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662110">The NetBIOS Name Cache</a></dt><dt>name lookups, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a></dt><dt>name registration, <a class="indexterm" href="samba-bdc.html#id2560464">What Qualifies a Domain Controller on the Network?</a></dt><dt>name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2572789">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577867">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579416">Common Errors</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661276">/etc/hosts</a>, <a class="indexterm" href="diagnosis.html#id2675795">Assumptions</a></dt><dt>name resolution across routed networks, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a></dt><dt>name resolve order, <a class="indexterm" href="NetworkBrowsing.html#id2577664">Name Resolution Order</a></dt><dt>name service switch (see NSS)</dt><dt>name-to-address, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a></dt><dt>nameserv.h, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt><dt>name_type, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577664">Name Resolution Order</a></dt><dt>native ACLs, <a class="indexterm" href="AccessControls.html#id2603591">Features and Benefits</a></dt><dt>native dump, <a class="indexterm" href="Backup.html#id2664864">Amanda</a></dt><dt>native member, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a></dt><dt>native mode, <a class="indexterm" href="ServerType.html#id2553173">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="winbind.html#id2647002">Microsoft Active Directory Services</a></dt><dt>NBT, <a class="indexterm" href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a></dt><dt>nbtstat, <a class="indexterm" href="domain-member.html#id2566792">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662110">The NetBIOS Name Cache</a></dt><dt>necessary rights, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>negotiate, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>negotiating the charset, <a class="indexterm" href="unicode.html#id2662905">What Are Charsets and Unicode?</a></dt><dt>nested group, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Nested Group Support, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>nested groups, <a class="indexterm" href="groupmapping.html#id2589729">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#id2592057">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592351">Administrative Tasks and Methods</a>, <a class="indexterm" href="NetCommand.html#id2592433">UNIX and Windows Group Management</a>, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dd><dl><dt>ads, <a class="indexterm" href="NetCommand.html#id2592433">UNIX and Windows Group Management</a></dt><dd><dl><dt>join, <a class="indexterm" href="domain-member.html#id2564171">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#id2594727">Machine Trust Accounts</a>, <a class="indexterm" href="idmapper.html#id2599239">ADS Domains</a></dt><dt>leave, <a class="indexterm" href="NetCommand.html#id2594727">Machine Trust Accounts</a></dt><dt>printer info, <a class="indexterm" href="NetCommand.html#id2596786">Printers and ADS</a></dt><dt>printer publish, <a class="indexterm" href="NetCommand.html#id2596786">Printers and ADS</a></dt><dt>printer remove, <a class="indexterm" href="NetCommand.html#id2596786">Printers and ADS</a></dt><dt>printer search, <a class="indexterm" href="NetCommand.html#id2596786">Printers and ADS</a></dt><dt>status, <a class="indexterm" href="NetCommand.html#id2594727">Machine Trust Accounts</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2594727">Machine Trust Accounts</a></dt></dl></dd><dt>getlocalsid, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2595330">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>groupmap, <a class="indexterm" href="FastStart.html#id2549643">Example: Engineering Office</a>, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2588920">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2591175">Example Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2673033">Steps in Migration Process</a></dt><dd><dl><dt>add, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a></dt><dt>delete, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a></dt><dt>list, <a class="indexterm" href="groupmapping.html#id2591175">Example Configuration</a>, <a class="indexterm" href="NetCommand.html#id2592634">Adding or Creating a New Group</a></dt><dt>modify, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a></dt></dl></dd><dt>localgroup, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>rap, <a class="indexterm" href="NetCommand.html#id2592433">UNIX and Windows Group Management</a></dt><dd><dl><dt>session, <a class="indexterm" href="NetCommand.html#id2596720">Session and Connection Management</a></dt></dl></dd><dt>rpc, <a class="indexterm" href="FastStart.html#id2548709">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2552867">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2592433">UNIX and Windows Group Management</a></dt><dd><dl><dt>getsid, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2595330">Managing Security Identifiers (SIDS)</a></dt><dt>group, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2592634">Adding or Creating a New Group</a></dt><dt>group add, <a class="indexterm" href="NetCommand.html#id2592634">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#id2593663">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>group delete, <a class="indexterm" href="NetCommand.html#id2593143">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#id2592634">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#id2593183">Rename Group Accounts</a></dt><dt>info, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a>, <a class="indexterm" href="ProfileMgmt.html#id2655948">Side Bar Notes</a></dt><dt>join, <a class="indexterm" href="ServerType.html#id2552867">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetCommand.html#id2594727">Machine Trust Accounts</a>, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="NT4Migration.html#id2673033">Steps in Migration Process</a></dt><dt>join bdc, <a class="indexterm" href="NetCommand.html#id2594727">Machine Trust Accounts</a></dt><dt>join member, <a class="indexterm" href="NetCommand.html#id2594727">Machine Trust Accounts</a></dt><dt>list, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>printer migrate drivers, <a class="indexterm" href="NetCommand.html#id2596445">Printer Migration</a></dt><dt>printer migrate forms, <a class="indexterm" href="NetCommand.html#id2596445">Printer Migration</a></dt><dt>printer migrate printers, <a class="indexterm" href="NetCommand.html#id2596445">Printer Migration</a></dt><dt>printer migrate security, <a class="indexterm" href="NetCommand.html#id2596445">Printer Migration</a></dt><dt>printer migrate settings, <a class="indexterm" href="NetCommand.html#id2596445">Printer Migration</a></dt><dt>right list accounts, <a class="indexterm" href="NetCommand.html#id2595932">Share Migration</a></dt><dt>rights grant, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>rights list, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></dt><dt>rights list accounts, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></dt><dt>share add, <a class="indexterm" href="NetCommand.html#id2595603">Creating, Editing, and Removing Shares</a></dt><dt>share delete, <a class="indexterm" href="NetCommand.html#id2595603">Creating, Editing, and Removing Shares</a></dt><dt>share migrate, <a class="indexterm" href="NetCommand.html#id2595932">Share Migration</a></dt><dt>share migrate all, <a class="indexterm" href="NetCommand.html#id2596386">Simultaneous Share and File Migration</a></dt><dt>share migrate files, <a class="indexterm" href="NetCommand.html#id2596128">File and Directory Migration</a></dt><dt>share migrate security, <a class="indexterm" href="NetCommand.html#id2596343">Share-ACL Migration</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2594727">Machine Trust Accounts</a></dt><dt>trustdom add, <a class="indexterm" href="NetCommand.html#id2595096">Interdomain Trusts</a></dt><dt>trustdom establish, <a class="indexterm" href="NetCommand.html#id2595096">Interdomain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613858">Samba as the Trusting Domain</a></dt><dt>trustdom list, <a class="indexterm" href="NetCommand.html#id2595096">Interdomain Trusts</a></dt><dt>trustdom revoke, <a class="indexterm" href="NetCommand.html#id2595096">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#id2594167">Deletion of User Accounts</a>, <a class="indexterm" href="NetCommand.html#id2594727">Machine Trust Accounts</a></dt><dt>user info, <a class="indexterm" href="NetCommand.html#id2594215">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#id2594215">Managing User Accounts</a></dt><dt>vampire, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2595822">Share, Directory, and File Migration</a>, <a class="indexterm" href="NT4Migration.html#id2673033">Steps in Migration Process</a></dt></dl></dd><dt>setlocalsid, <a class="indexterm" href="NetCommand.html#id2595330">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#id2653250">Samba PDC</a></dt><dt>net command, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>net getlocalsid, <a class="indexterm" href="rights.html#id2602911">The Administrator Domain SID</a></dt><dt>net groupmap, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>net rpc user add, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>net tool, <a class="indexterm" href="upgrading-to-3.0.html#id2671133">Passdb Backends and Authentication</a></dt><dt>net use, <a class="indexterm" href="classicalprinting.html#id2624455">Error Message: “Cannot connect under a different Name”</a></dt><dt>net use /home, <a class="indexterm" href="ProfileMgmt.html#id2653822">Windows 9x/Me User Profiles</a></dt><dt>net use lpt1:, <a class="indexterm" href="CUPS-printing.html#id2636299">Installing the PostScript Driver on a Client</a></dt><dt>net view, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>netatalk, <a class="indexterm" href="VFS.html#id2644764">netatalk</a></dt><dt>NetAtalk, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>Netatalk, <a class="indexterm" href="Other-Clients.html#id2682676">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#id2552639">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2560464">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2560555">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572606">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573862">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577867">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#id2661676">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662110">The NetBIOS Name Cache</a></dt><dd><dl><dt>brooadcast, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a></dt><dt>name, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>netbios alias, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>netbios aliases, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS broadcast, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>NetBIOS disabled, <a class="indexterm" href="NetworkBrowsing.html#id2572606">Features and Benefits</a></dt><dt>NetBIOS flags, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt><dt>NetBIOS name, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a>, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>netbios name, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></dt><dt>NetBIOS name cache, <a class="indexterm" href="domain-member.html#id2566792">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579442">Flushing the Samba NetBIOS Name Cache</a></dt><dt>NetBIOS name length, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a></dt><dt>NetBIOS name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>NetBIOS Name Server (see NBNS)</dt><dt>NetBIOS name type, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a></dt><dt>NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2577664">Name Resolution Order</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661552">/etc/nsswitch.conf</a></dt><dt>NetBIOS network interface, <a class="indexterm" href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a></dt><dt>NetBIOS networking, <a class="indexterm" href="NetworkBrowsing.html#id2572606">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#id2572606">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577867">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661074">Background Information</a></dt><dt>NetBIOS over TCP/IP disabled, <a class="indexterm" href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a></dt><dt>NetBIOS-less, <a class="indexterm" href="NetworkBrowsing.html#id2573862">TCP/IP without NetBIOS</a>, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS-less SMB, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>NetBIOSless SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>NetBT, <a class="indexterm" href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a></dt><dt>netlogon, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a></dt><dt>NETLOGON, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652439">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652888">Managing Account/User Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2656507">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2657069">MS Windows 200x/XP</a></dt><dt>Netlogon, <a class="indexterm" href="samba-bdc.html#id2559297">Essential Background Information</a></dt><dt>NetLogon service, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a></dt><dt>netlogon share, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2673033">Steps in Migration Process</a></dt><dt>Netmon, <a class="indexterm" href="problems.html#id2678352">The Windows Network Monitor</a></dt><dt>Netmon., <a class="indexterm" href="problems.html#id2678412">Installing Network Monitor on an NT Workstation</a></dt><dt>netmon.exe, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>NetSAMLogon, <a class="indexterm" href="ProfileMgmt.html#id2653618">Roaming Profiles</a></dt><dt>Netscape's Directory Server, <a class="indexterm" href="passdb.html#id2586340">Supported LDAP Servers</a></dt><dt>NetServerEnum2, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>NetUserGetInfo, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2653618">Roaming Profiles</a></dt><dt>NetWare, <a class="indexterm" href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a></dt><dt>NetWare Bindery, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>NetWare Core Protocol-based server, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>NetWkstaUserLogon, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a></dt><dt>network</dt><dd><dl><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a></dt><dt>logon, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a></dt><dd><dl><dt>service, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a></dt></dl></dd><dt>performance, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a></dt><dt>wide-area, <a class="indexterm" href="samba-bdc.html#id2559367">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#id2559367">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#id2672699">Server Share and Directory Layout</a></dt><dt>network analyzer, <a class="indexterm" href="problems.html#id2677850">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#id2672498">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#id2568755">MS Windows XP Professional</a></dt><dt>Network Bridge Configuration, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a></dt><dt>network browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2575955">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a></dt><dt>network client, <a class="indexterm" href="ClientConfig.html#id2568576">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>network clients, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a></dt><dt>network configuration problems, <a class="indexterm" href="ClientConfig.html#id2568680">TCP/IP Configuration</a></dt><dt>network difficulty, <a class="indexterm" href="ClientConfig.html#id2568576">Features and Benefits</a></dt><dt>network environment, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650787">Remote Desktop Management</a></dt><dt>Network ID, <a class="indexterm" href="ClientConfig.html#id2570451">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>network interface, <a class="indexterm" href="securing-samba.html#id2611544">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>network logon, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a>, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>network logon services, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a></dt><dt>network membership, <a class="indexterm" href="ClientConfig.html#id2568636">Technical Details</a></dt><dt>Network Monitor, <a class="indexterm" href="problems.html#id2678352">The Windows Network Monitor</a></dt><dt>Network Monitor Tools and Agent, <a class="indexterm" href="problems.html#id2678412">Installing Network Monitor on an NT Workstation</a></dt><dt>Network Neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2572789">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578151">Problem Resolution</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#id2622183">Check Samba for Driver Recognition</a></dt><dt>network neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>network policies, <a class="indexterm" href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a></dt><dt>network security, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>network segment, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a>, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>Network settings, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a></dt><dt>network sniffer, <a class="indexterm" href="passdb.html#id2581397">Advantages of Encrypted Passwords</a></dt><dt>network storage, <a class="indexterm" href="Backup.html#id2664523">BackupPC</a></dt><dt>network traffic, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>networked workstation, <a class="indexterm" href="winbind.html#id2647050">Name Service Switch</a></dt><dt>networking advocates, <a class="indexterm" href="Backup.html#id2664426">Discussion of Backup Solutions</a></dt><dt>networking environment, <a class="indexterm" href="passdb.html#id2582425">Caution Regarding LDAP and Samba</a></dt><dt>networking systems, <a class="indexterm" href="ClientConfig.html#id2571422">Common Errors</a></dt><dt>networks access, <a class="indexterm" href="speed.html#id2684292">Samba Performance is Very Slow</a></dt><dt>Networks Properties, <a class="indexterm" href="ClientConfig.html#id2570978">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#id2669957">New Parameters</a></dt><dt>newsgroup, <a class="indexterm" href="bugreport.html#id2679022">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#id2554350">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650643">Remote Server Administration</a></dt><dt>NFS, <a class="indexterm" href="domain-member.html#id2566545">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#id2651190">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2665612">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665739">Restrictive Constraints on Distributed File Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671885">IdMap LDAP Support</a></dt><dt>NFS clients, <a class="indexterm" href="locking.html#id2609517">UNIX or NFS Client-Accessed Files</a></dt><dt>NIS, <a class="indexterm" href="ServerType.html#id2552431">Share-Level Security</a>, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2647050">Name Service Switch</a></dt><dt>NIS database, <a class="indexterm" href="winbind.html#id2647282">Pluggable Authentication Modules</a></dt><dt>nmbd, <a class="indexterm" href="install.html#id2545290">Starting Samba</a>, <a class="indexterm" href="install.html#id2545741">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2547810">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548709">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572789">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577954">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579442">Flushing the Samba NetBIOS Name Cache</a>, <a class="indexterm" href="idmapper.html#id2598951">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="winbind.html#id2647842">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2649237">Linux</a>, <a class="indexterm" href="winbind.html#id2649442">Solaris</a>, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a>, <a class="indexterm" href="problems.html#id2677902">Debugging with Samba Itself</a>, <a class="indexterm" href="speed.html#id2684196">Corrupt tdb Files</a></dt><dt>nmblookup, <a class="indexterm" href="integrate-ms-networks.html#id2662110">The NetBIOS Name Cache</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>No NetBIOS layer, <a class="indexterm" href="NetworkBrowsing.html#id2573862">TCP/IP without NetBIOS</a></dt><dt>no network logon service, <a class="indexterm" href="StandAloneServer.html#id2567324">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#id2618998">Custom Print Commands</a>, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>node-type, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>NoMachine, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>NoMachine.Com, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>non-authentication-based account management, <a class="indexterm" href="pam.html#id2658920">Anatomy of /etc/pam.d Entries</a></dt><dt>non-authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>non-LDAP</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a></dt></dl></dd><dt>non-member Windows client, <a class="indexterm" href="passdb.html#id2581602">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>non-PostScript, <a class="indexterm" href="CUPS-printing.html#id2628923">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2631962">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>non-PostScript printers, <a class="indexterm" href="CUPS-printing.html#id2629990">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2639826">Foomatic Database-Generated PPDs</a></dt><dt>nonhierarchical, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></dt><dt>nontransitive, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></dt><dt>normal color, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a></dt><dt>normal user, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></dt><dt>not domain member, <a class="indexterm" href="StandAloneServer.html#id2567324">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#id2576907">WINS Server Configuration</a></dt><dt>not stored anywhere, <a class="indexterm" href="passdb.html#id2581397">Advantages of Encrypted Passwords</a></dt><dt>not transitive, <a class="indexterm" href="InterdomainTrusts.html#id2614054">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#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>Novell eDirectory server, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>NSS, <a class="indexterm" href="StandAloneServer.html#id2567324">Background</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2586092">ldapsam</a>, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2587512">Accounts and Groups Management</a>, <a class="indexterm" href="groupmapping.html#id2589729">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#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646541">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2646865">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2647050">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2649631">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2650301">Conclusion</a></dt><dt>nsswitch.conf, <a class="indexterm" href="ServerType.html#id2552431">Share-Level Security</a></dt><dt>nss_ldap, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2600824">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>nss_winbind.so.1, <a class="indexterm" href="winbind.html#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>NT domain, <a class="indexterm" href="winbind.html#id2646541">What Winbind Provides</a></dt><dt>NT groups, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a></dt><dt>NT migration scripts, <a class="indexterm" href="passdb.html#id2586092">ldapsam</a></dt><dt>NT password, <a class="indexterm" href="passdb.html#id2584188">Listing User and Machine Accounts</a></dt><dt>NT Server Manager, <a class="indexterm" href="AccessControls.html#id2606157">Windows NT4 Workstation/Server</a></dt><dt>NT-controlled domain, <a class="indexterm" href="InterdomainTrusts.html#id2613858">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#id2580330">Backward Compatibility Account Storage Systems</a></dt><dt>NT4, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>NT4 Domain, <a class="indexterm" href="idmapper.html#id2597535">Standalone Samba Server</a></dt><dt>NT4 domain, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2646109">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#id2652888">Managing Account/User Policies</a></dt><dt>NT4 User Manager for Domains, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>NT4-style, <a class="indexterm" href="InterdomainTrusts.html#id2614054">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#id2612813">Trust Relationship Background</a></dt><dt>Nt4sp6ai.exe, <a class="indexterm" href="PolicyMgmt.html#id2652218">Windows NT4-Style Policy Files</a></dt><dt>NTConfig.POL, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2652081">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652400">Registry Spoiling</a>, <a class="indexterm" href="PolicyMgmt.html#id2652439">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652642">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652888">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653128">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2656507">MS Windows NT4 Workstation</a>, <a class="indexterm" href="NT4Migration.html#id2673587">Samba-3 Implementation Choices</a></dt><dt>ntconfig.pol, <a class="indexterm" href="PolicyMgmt.html#id2652218">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#id2638444">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#id2638444">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTFS, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a>, <a class="indexterm" href="AccessControls.html#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>NTLMv2, <a class="indexterm" href="securing-samba.html#id2612038">NTLMv2 Security</a></dt><dt>ntlm_auth, <a class="indexterm" href="samba-pdc.html#id2554984">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#id2638444">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTUser.DAT, <a class="indexterm" href="PolicyMgmt.html#id2653128">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2656106">Mandatory Profiles</a>, <a class="indexterm" href="NT4Migration.html#id2673587">Samba-3 Implementation Choices</a></dt><dt>NTuser.DAT, <a class="indexterm" href="ProfileMgmt.html#id2654981">Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2655656">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a>, <a class="indexterm" href="NT4Migration.html#id2672940">Profile Migration/Creation</a></dt><dt>NTuser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2654981">Windows NT4 Workstation</a></dt><dt>NTUser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2656106">Mandatory Profiles</a></dt><dt>NT_STATUS_LOGON_FAILURE, <a class="indexterm" href="upgrading-to-3.0.html#id2671036">Changes in Behavior</a></dt><dt>NT_STATUS_UNSUCCESSFUL, <a class="indexterm" href="classicalprinting.html#id2621917">Running rpcclient with adddriver</a></dt><dt>null shell, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a></dt><dt>NX, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">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#id2671327">New Schema</a></dt><dt>object class declaration, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>object module dependencies, <a class="indexterm" href="winbind.html#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ObjectClass, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>ObjectClasses, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a></dt><dt>obtuse complexity, <a class="indexterm" href="NT4Migration.html#id2672699">Server Share and Directory Layout</a></dt><dt>office server, <a class="indexterm" href="FastStart.html#id2547810">Secure Read-Write File and Print Server</a></dt><dt>OID, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>old sambaAccount, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>Omni, <a class="indexterm" href="CUPS-printing.html#id2639638">Driver Development Outside</a></dt><dt>on the fly, <a class="indexterm" href="domain-member.html#id2563880">Windows NT4 Client</a></dt><dt>on-the-fly, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a></dt><dt>on-the-fly logon scripts, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>on-the-fly policy files, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>one direction, <a class="indexterm" href="InterdomainTrusts.html#id2612813">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#id2613309">Interdomain Trust Facilities</a></dt><dt>only one WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a></dt><dt>OpenGFS, <a class="indexterm" href="SambaHA.html#id2665612">The Distributed File System Challenge</a></dt><dt>OpenLDAP, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="ChangeNotes.html#id2572343">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2586340">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>OpenLDAP backend, <a class="indexterm" href="passdb.html#id2580330">Backward Compatibility Account Storage Systems</a></dt><dt>OpenSSL, <a class="indexterm" href="SWAT.html#id2674858">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#id2672088">Objectives</a></dt><dt>operating system search path, <a class="indexterm" href="SWAT.html#id2674290">Locating the SWAT File</a></dt><dt>oplock, <a class="indexterm" href="SambaHA.html#id2665612">The Distributed File System Challenge</a></dt><dt>oplock break, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2609698">Beware of Force User</a></dt><dt>oplock handling, <a class="indexterm" href="SambaHA.html#id2665739">Restrictive Constraints on Distributed File Systems</a></dt><dt>oplock mechanism, <a class="indexterm" href="locking.html#id2609786">Advanced Samba Oplocks Parameters</a></dt><dt>oplock messages, <a class="indexterm" href="SambaHA.html#id2665948">Required Modifications to Samba</a></dt><dt>oplock parameters, <a class="indexterm" href="locking.html#id2609786">Advanced Samba Oplocks Parameters</a></dt><dt>oplocks, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>oplocks disabled, <a class="indexterm" href="locking.html#id2609600">Multiuser Databases</a></dt><dt>oplocks management, <a class="indexterm" href="locking.html#id2609642">PDM Data Shares</a></dt><dt>opportunistic locking, <a class="indexterm" href="locking.html#id2608592">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>Opportunistic locking, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>optional, <a class="indexterm" href="pam.html#id2658920">Anatomy of /etc/pam.d Entries</a></dt><dt>ordinary connection, <a class="indexterm" href="InterdomainTrusts.html#id2613858">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#id2556618">Domain Control: Example Configuration</a></dt><dt>OSS/Free Software, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>other, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a></dt><dt>output duplexing, <a class="indexterm" href="CUPS-printing.html#id2630178">pstops</a></dt><dt>outside threat, <a class="indexterm" href="securing-samba.html#id2611330">Using Host-Based Protection</a></dt><dt>own home directory, <a class="indexterm" href="securing-samba.html#id2612181">Why Can Users Access Other Users' Home Directories?</a></dt><dt>ownership, <a class="indexterm" href="AccessControls.html#id2606616">Viewing File Ownership</a></dt><dt>ownership cost, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>ownership rights, <a class="indexterm" href="ProfileMgmt.html#id2654284">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#id2573226">NetBIOS over TCP/IP</a></dt><dt>package, <a class="indexterm" href="install.html#id2545482">Example Configuration</a></dt><dt>packages, <a class="indexterm" href="install.html#id2544233">Obtaining and Installing Samba</a></dt><dt>packet sniffer, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>packet trace, <a class="indexterm" href="ProfileMgmt.html#id2654284">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#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2600239">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#id2615618">Simple Print Configuration</a></dt><dt>page_log, <a class="indexterm" href="CUPS-printing.html#id2640696">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#id2567324">Background</a>, <a class="indexterm" href="passdb.html#id2580330">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#id2585593">Plaintext</a>, <a class="indexterm" href="passdb.html#id2586092">ldapsam</a>, <a class="indexterm" href="winbind.html#id2646865">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2647282">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2647690">Requirements</a>, <a class="indexterm" href="winbind.html#id2647842">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2649631">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2650301">Conclusion</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2658787">Technical Discussion</a></dt><dt>PAM authentication module, <a class="indexterm" href="pam.html#id2658841">PAM Configuration Syntax</a></dt><dt>PAM configuration, <a class="indexterm" href="winbind.html#id2647690">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#id2648327">NSS Winbind on AIX</a></dt><dt>PAM modules, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>PAM-capable, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>pam-devel, <a class="indexterm" href="winbind.html#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>PAM-enabled, <a class="indexterm" href="winbind.html#id2646541">What Winbind Provides</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>PAM-specific tokens, <a class="indexterm" href="pam.html#id2658841">PAM Configuration Syntax</a></dt><dt>pam_krb5.so, <a class="indexterm" href="pam.html#id2658156">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#id2658156">Features and Benefits</a></dt><dt>pam_mkhomedir, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>pam_ncp_auth.so, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>pam_pwdb.so, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>pam_securetty.so, <a class="indexterm" href="winbind.html#id2649797">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#id2658156">Features and Benefits</a></dt><dt>pam_smbpasswd.so, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>pam_smb_auth.so, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>pam_unix.so, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>pam_unix2.so, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>pam_userdb.so, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>pam_winbind.so, <a class="indexterm" href="winbind.html#id2647282">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2649631">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>parameters, <a class="indexterm" href="classicalprinting.html#id2616098">Rapid Configuration Validation</a></dt><dt>paranoid, <a class="indexterm" href="winbind.html#id2648876">Starting and Testing the winbindd Daemon</a></dt><dt>passdb, <a class="indexterm" href="samba-bdc.html#id2561737">Machine Accounts Keep Expiring</a></dt><dt>passdb backend, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2572222">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#id2582150">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2583003">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2584510">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2585935">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a>, <a class="indexterm" href="rights.html#id2602911">The Administrator Domain SID</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671720">New Suffix for Searching</a></dt><dt>passdb backends, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>passed across the network, <a class="indexterm" href="passdb.html#id2581397">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#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2583003">The smbpasswd Tool</a>, <a class="indexterm" href="winbind.html#id2647050">Name Service Switch</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>password, <a class="indexterm" href="samba-bdc.html#id2559367">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#id2613858">Samba as the Trusting Domain</a>, <a class="indexterm" href="pam.html#id2658920">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>plaintext, <a class="indexterm" href="samba-pdc.html#id2557628">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#id2613224">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#id2584188">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#id2560736">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#id2585593">Plaintext</a></dt><dt>password expiration, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a></dt><dt>password expired, <a class="indexterm" href="passdb.html#id2584595">Changing User Accounts</a></dt><dt>password history, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>password management, <a class="indexterm" href="winbind.html#id2647282">Pluggable Authentication Modules</a></dt><dt>password prompt, <a class="indexterm" href="passdb.html#id2581397">Advantages of Encrypted Passwords</a></dt><dt>password scheme, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>password server, <a class="indexterm" href="ServerType.html#id2553330">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2565187">Configure smb.conf</a></dt><dt>password uniqueness, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>passwords, <a class="indexterm" href="winbind.html#id2646452">Introduction</a></dt><dt>patch, <a class="indexterm" href="bugreport.html#id2679806">Patches</a></dt><dt>path specified, <a class="indexterm" href="domain-member.html#id2566867">Adding Machine to Domain Fails</a></dt><dt>pauses, <a class="indexterm" href="speed.html#id2684292">Samba Performance is Very Slow</a></dt><dt>PBM, <a class="indexterm" href="CUPS-printing.html#id2629198">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#id2628029">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628207">UNIX Printfile Conversion and GUI Basics</a>, <a class="indexterm" href="CUPS-printing.html#id2633133">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2633379">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2633772">Network PostScript RIP</a></dt><dt>pdbedit, <a class="indexterm" href="FastStart.html#id2549643">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#id2584072">User Account Management</a>, <a class="indexterm" href="passdb.html#id2584188">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2584423">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2584510">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2584595">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2585414">Account Import/Export</a>, <a class="indexterm" href="rights.html#id2602911">The Administrator Domain SID</a>, <a class="indexterm" href="PolicyMgmt.html#id2653250">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669288">Quick Migration Guide</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671133">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2673033">Steps in Migration Process</a>, <a class="indexterm" href="NT4Migration.html#id2673587">Samba-3 Implementation Choices</a></dt><dt>pdb_ldap, <a class="indexterm" href="samba-bdc.html#id2561952">Can I Do This All with LDAP?</a></dt><dt>PDC, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2552867">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2559790">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2560464">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561792">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#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2566867">Adding Machine to Domain Fails</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575354">Domain Browsing Configuration</a>, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2581397">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="passdb.html#id2585935">tdbsam</a>, <a class="indexterm" href="passdb.html#id2587860">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="groupmapping.html#id2589335">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598558">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#id2613858">Samba as the Trusting Domain</a>, <a class="indexterm" href="CUPS-printing.html#id2636137">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="winbind.html#id2646740">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2646916">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2647282">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2647513">Result Caching</a>, <a class="indexterm" href="winbind.html#id2647576">Introduction</a>, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2648876">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a>, <a class="indexterm" href="problems.html#id2678716">Getting Mailing List Help</a>, <a class="indexterm" href="speed.html#id2684196">Corrupt tdb Files</a></dt><dt>PDF, <a class="indexterm" href="CUPS-printing.html#id2626505">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2628029">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628720">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629990">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2632582">Examples for Filtering Chains</a></dt><dt>pdf, <a class="indexterm" href="CUPS-printing.html#id2629626">MIME Type Conversion Rules</a></dt><dt>PDF distilling, <a class="indexterm" href="CUPS-printing.html#id2628720">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#id2629626">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2632582">Examples for Filtering Chains</a></dt><dt>pdftosocket, <a class="indexterm" href="CUPS-printing.html#id2632582">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#id2628720">PostScript Printer Description (PPD) Specification</a></dt><dt>PDM, <a class="indexterm" href="locking.html#id2609642">PDM Data Shares</a></dt><dt>peer domain, <a class="indexterm" href="InterdomainTrusts.html#id2613518">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Peer node, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt><dt>per-share access control, <a class="indexterm" href="AccessControls.html#id2605997">Access Controls on Shares</a></dt><dt>performance, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>performance advantage, <a class="indexterm" href="locking.html#id2608592">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#id2608947">Opportunistic Locking Overview</a></dt><dt>performance improvement, <a class="indexterm" href="locking.html#id2609553">Slow and/or Unreliable Networks</a></dt><dt>performance-based, <a class="indexterm" href="passdb.html#id2585935">tdbsam</a></dt><dt>performed as root, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>perimeter firewall, <a class="indexterm" href="securing-samba.html#id2611168">Features and Benefits</a></dt><dt>permanent changes, <a class="indexterm" href="NT4Migration.html#id2673587">Samba-3 Implementation Choices</a></dt><dt>Permanent name, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt><dt>permissions, <a class="indexterm" href="securing-samba.html#id2612181">Why Can Users Access Other Users' Home Directories?</a>, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dd><dl><dt>file/directory ACLs, <a class="indexterm" href="AccessControls.html#id2606498">Managing UNIX Permissions Using NT Security Dialogs</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2604925">Share Definition Access Controls</a></dt><dt>share ACLs, <a class="indexterm" href="AccessControls.html#id2605997">Access Controls on Shares</a></dt><dt>UNIX file and directory, <a class="indexterm" href="AccessControls.html#id2603591">Features and Benefits</a></dt></dl></dd><dt>Permissions, <a class="indexterm" href="AccessControls.html#id2606262">Windows 200x/XP</a></dt><dt>permissions and controls, <a class="indexterm" href="AccessControls.html#id2603591">Features and Benefits</a></dt><dt>PGP, <a class="indexterm" href="compiling.html#id2680855">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#id2629198">MIME Types and CUPS Filters</a></dt><dt>physical locations, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>physical network transport layer, <a class="indexterm" href="integrate-ms-networks.html#id2661276">/etc/hosts</a></dt><dt>PID, <a class="indexterm" href="bugreport.html#id2679682">Attaching to a Running Process</a></dt><dt>pid directory, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></dt><dt>ping, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>pipe device, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a></dt><dt>PJL, <a class="indexterm" href="CUPS-printing.html#id2633772">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2635322">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2640555">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>PJL-header, <a class="indexterm" href="CUPS-printing.html#id2640555">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>plague network users, <a class="indexterm" href="ClientConfig.html#id2568680">TCP/IP Configuration</a></dt><dt>plain-text</dt><dd><dl><dt>passwords, <a class="indexterm" href="ServerType.html#id2553629">Password Checking</a></dt></dl></dd><dt>plaintext, <a class="indexterm" href="passdb.html#id2580330">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext authentication, <a class="indexterm" href="passdb.html#id2580330">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext password, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2561847">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#id2581082">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#id2616978">The [global] Section</a></dt><dt>Pluggable Authentication Modules (see PAM)</dt><dt>PNG, <a class="indexterm" href="CUPS-printing.html#id2628566">Ghostscript: The Software RIP for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>PNM, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>point 'n' print, <a class="indexterm" href="CUPS-printing.html#id2627429">Installation of Windows Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2635539">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2637342">Manual Driver Installation in 15 Steps</a></dt><dt>Point'n'Print, <a class="indexterm" href="classicalprinting.html#id2615084">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#id2619666">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2621780">smbclient to Confirm Driver Installation</a></dt><dt>point'n'print, <a class="indexterm" href="CUPS-printing.html#id2627716">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2636299">Installing the PostScript Driver on a Client</a></dt><dt>Poledit, <a class="indexterm" href="PolicyMgmt.html#id2652642">Administration of Windows 200x/XP Policies</a></dt><dt>poledit.exe, <a class="indexterm" href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652218">Windows NT4-Style Policy Files</a>, <a class="indexterm" href="PolicyMgmt.html#id2652642">Administration of Windows 200x/XP Policies</a></dt><dt>Policies, <a class="indexterm" href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652888">Managing Account/User Policies</a></dt><dt>policies, <a class="indexterm" href="NT4Migration.html#id2673587">Samba-3 Implementation Choices</a></dt><dt>policy editor, <a class="indexterm" href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a></dt><dt>Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2652218">Windows NT4-Style Policy Files</a></dt><dt>policy file , <a class="indexterm" href="PolicyMgmt.html#id2652888">Managing Account/User Policies</a></dt><dt>policy files, <a class="indexterm" href="domain-member.html#id2562196">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#id2576217">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#id2576217">Multiple Interfaces</a>, <a class="indexterm" href="diagnosis.html#id2676088">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#id2576217">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#id2576217">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#id2576217">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#id2615901">Verifying Configuration with testparm</a>, <a class="indexterm" href="problems.html#id2678208">Ethereal</a></dt><dt>POSIX, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2587512">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2592634">Adding or Creating a New Group</a></dt><dt>POSIX account, <a class="indexterm" href="passdb.html#id2584072">User Account Management</a>, <a class="indexterm" href="NetCommand.html#id2593955">UNIX and Windows User Management</a></dt><dt>POSIX ACLs, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a>, <a class="indexterm" href="AccessControls.html#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>POSIX ACLS, <a class="indexterm" href="NT4Migration.html#id2673587">Samba-3 Implementation Choices</a></dt><dt>POSIX identity, <a class="indexterm" href="passdb.html#id2582425">Caution Regarding LDAP and Samba</a></dt><dt>POSIX locks, <a class="indexterm" href="SambaHA.html#id2665809">Server Pool Communications</a></dt><dt>POSIX semantics, <a class="indexterm" href="SambaHA.html#id2665809">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#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a></dt><dt>posixGroup, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2587512">Accounts and Groups Management</a></dt><dt>PostScript, <a class="indexterm" href="CUPS-printing.html#id2626505">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2627838">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#id2628029">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628207">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#id2628720">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2628803">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629990">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2630178">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2631962">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2632582">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2633379">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2633772">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2634045">CUPS: A “Magical Stone”?</a>, <a class="indexterm" href="CUPS-printing.html#id2634088">PostScript Drivers with No Major Problems, Even in Kernel 6 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2634576">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#id2621562">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#id2641524">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#id2620174">[print$] Stanza Parameters</a></dt><dt>Power Users, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>powerful, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a></dt><dt>PPD, <a class="indexterm" href="classicalprinting.html#id2621562">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#id2628720">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2628923">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2631575">“Raw” Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2631962">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2633862">PPDs for Non-PS Printers on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2633907">PPDs for Non-PS Printers on Windows</a>, <a class="indexterm" href="CUPS-printing.html#id2634045">CUPS: A “Magical Stone”?</a>, <a class="indexterm" href="CUPS-printing.html#id2636299">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2640555">Adobe and CUPS PostScript Drivers for Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#id2641524">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#id2628803">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2631258">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2639510">The Grand Unification Achieved</a></dt><dt>PPP, <a class="indexterm" href="securing-samba.html#id2611544">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#id2556618">Domain Control: Example Configuration</a></dt><dt>prefilter, <a class="indexterm" href="CUPS-printing.html#id2630615">imagetops and imagetoraster</a></dt><dt>prefilters, <a class="indexterm" href="CUPS-printing.html#id2629990">Prefilters</a></dt><dt>primary domain controller, <a class="indexterm" href="cfgsmarts.html#id2668315">Multiple Virtual Server Hosting</a></dt><dt>primary group, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a></dt><dt>Primary Logon, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>Primary WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a></dt><dt>print, <a class="indexterm" href="classicalprinting.html#id2615901">Verifying Configuration with testparm</a></dt><dd><dl><dt>queue, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a></dt><dt>spooler, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a></dt></dl></dd><dt>print accounting, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a></dt><dt>print command, <a class="indexterm" href="classicalprinting.html#id2618378">Print Commands</a></dt><dt>print commands, <a class="indexterm" href="classicalprinting.html#id2618998">Custom Print Commands</a></dt><dt>print configuration, <a class="indexterm" href="classicalprinting.html#id2615307">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2615901">Verifying Configuration with testparm</a></dt><dt>print environment, <a class="indexterm" href="classicalprinting.html#id2615618">Simple Print Configuration</a></dt><dt>print filtering, <a class="indexterm" href="classicalprinting.html#id2615307">Technical Introduction</a></dt><dt>print job, <a class="indexterm" href="classicalprinting.html#id2618998">Custom Print Commands</a></dt><dt>print jobs, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>print processing, <a class="indexterm" href="classicalprinting.html#id2615307">Technical Introduction</a></dt><dt>print queue, <a class="indexterm" href="classicalprinting.html#id2619666">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2621780">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2622411">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2630919">CUPS Backends</a></dt><dt>print quota, <a class="indexterm" href="CUPS-printing.html#id2627838">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#id2615084">Features and Benefits</a></dt><dt>print service, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a></dt><dt>print spooling, <a class="indexterm" href="winbind.html#id2646916">Microsoft Remote Procedure Calls</a></dt><dt>print spooling system, <a class="indexterm" href="CUPS-printing.html#id2626024">Overview</a></dt><dt>print statistics, <a class="indexterm" href="CUPS-printing.html#id2627838">Advanced Intelligent Printing with PostScript Driver Download</a></dt><dt>print subsystem, <a class="indexterm" href="classicalprinting.html#id2615307">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2618378">Print Commands</a></dt><dt>print test page, <a class="indexterm" href="classicalprinting.html#id2622682">First Client Driver Installation</a></dt><dt>printcap, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2616978">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#id2626143">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#id2626143">Basic CUPS Support Configuration</a></dt><dt>printer attributes publishing, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">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#id2619836">The Obsoleted [printer$] Section</a>, <a class="indexterm" href="classicalprinting.html#id2619957">Creating the [print$] Share</a>, <a class="indexterm" href="CUPS-printing.html#id2626505">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#id2619836">The Obsoleted [printer$] Section</a></dt><dt>printer driver files, <a class="indexterm" href="classicalprinting.html#id2621780">smbclient to Confirm Driver Installation</a></dt><dt>printer drivers, <a class="indexterm" href="classicalprinting.html#id2619666">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="CUPS-printing.html#id2639510">The Grand Unification Achieved</a></dt><dt>printer icon, <a class="indexterm" href="classicalprinting.html#id2622183">Check Samba for Driver Recognition</a></dt><dt>printer management, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a></dt><dt>printer management system, <a class="indexterm" href="CUPS-printing.html#id2626024">Overview</a></dt><dt>printer migration, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a></dt><dt>printer monitor, <a class="indexterm" href="speed.html#id2684292">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#id2624877">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#id2616978">The [global] Section</a></dt><dt>printer shares , <a class="indexterm" href="classicalprinting.html#id2615901">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>printer$ share, <a class="indexterm" href="classicalprinting.html#id2619836">The Obsoleted [printer$] Section</a></dt><dt>printers, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a>, <a class="indexterm" href="StandAloneServer.html#id2567230">Features and Benefits</a></dt><dt>Printers, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>printers admin, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>Printers and Faxes, <a class="indexterm" href="classicalprinting.html#id2622183">Check Samba for Driver Recognition</a></dt><dt>printers available, <a class="indexterm" href="NetworkBrowsing.html#id2572789">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#id2616978">The [global] Section</a></dt><dt>printing behavior, <a class="indexterm" href="classicalprinting.html#id2615518">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#id2684292">Samba Performance is Very Slow</a></dt><dt>printing support, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2615307">Technical Introduction</a></dt><dt>printing system, <a class="indexterm" href="classicalprinting.html#id2615307">Technical Introduction</a></dt><dt>printing systems, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>printing-related settings, <a class="indexterm" href="classicalprinting.html#id2615901">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#id2638444">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#id2666903">Multiple Server Hosting</a></dt><dt>private groups, <a class="indexterm" href="groupmapping.html#id2589671">Warning: User Private Group Problems</a></dt><dt>private key, <a class="indexterm" href="SWAT.html#id2674858">Securing SWAT through SSL</a></dt><dt>private network, <a class="indexterm" href="securing-samba.html#id2611069">Introduction</a></dt><dt>private networks, <a class="indexterm" href="securing-samba.html#id2611330">Using Host-Based Protection</a></dt><dt>private/MACHINE.SID, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a></dt><dt>private/secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a></dt><dt>privilege, <a class="indexterm" href="groupmapping.html#id2590431">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>privilege management, <a class="indexterm" href="groupmapping.html#id2590312">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></dt><dt>privilege model, <a class="indexterm" href="rights.html#id2601492">Rights Management Capabilities</a></dt><dt>privilege-granting applications, <a class="indexterm" href="pam.html#id2658787">Technical Discussion</a></dt><dt>privileged accounts, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>privileges, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2563716">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="groupmapping.html#id2590431">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2601492">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612813">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#id2601767">Using the “net rpc rights” Utility</a></dt><dt>problem report, <a class="indexterm" href="ch47.html#id2685480">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#id2615307">Technical Introduction</a></dt><dt>Process data management, <a class="indexterm" href="locking.html#id2609642">PDM Data Shares</a></dt><dt>professional support, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>profile, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="passdb.html#id2580514">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#id2656246">Creating and Managing Group Profiles</a></dt><dt>profile contents, <a class="indexterm" href="ProfileMgmt.html#id2655656">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>profile directory, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>profile migration tool, <a class="indexterm" href="ProfileMgmt.html#id2656246">Creating and Managing Group Profiles</a></dt><dt>profile path, <a class="indexterm" href="samba-bdc.html#id2559790">Example PDC Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2654981">Windows NT4 Workstation</a></dt><dt>profile sharing, <a class="indexterm" href="ProfileMgmt.html#id2655656">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>Profile Type, <a class="indexterm" href="ProfileMgmt.html#id2654058">Disabling Roaming Profile Support</a></dt><dt>ProfilePath, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>profiles, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a></dt><dt>Profiles, <a class="indexterm" href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a></dt><dt>project, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>promiscuous mode, <a class="indexterm" href="problems.html#id2678352">The Windows Network Monitor</a></dt><dt>promote, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a></dt><dt>promoted, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></dt><dt>propagate, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a></dt><dt>Properties, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a>, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>protect directories, <a class="indexterm" href="AccessControls.html#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>protect files, <a class="indexterm" href="AccessControls.html#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>protection against attackers, <a class="indexterm" href="securing-samba.html#id2611894">Using IPC$ Share-Based Denials </a></dt><dt>protocol stack settings, <a class="indexterm" href="ClientConfig.html#id2569398">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#id2554984">Single Sign-On and Domain Security</a></dt><dt>pstops, <a class="indexterm" href="CUPS-printing.html#id2629990">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2630178">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2632582">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2640555">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>pstoraster, <a class="indexterm" href="CUPS-printing.html#id2630345">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2632245">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2640555">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#id2616098">Rapid Configuration Validation</a></dt><dt>PulseAudio, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651190">Remote Management with ThinLinc</a></dt><dt>punching, <a class="indexterm" href="CUPS-printing.html#id2630178">pstops</a></dt><dt>purchase support, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>put, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>pvcreate, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>Q</h3><dl><dt>QNX, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>qualified problem, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>queue control, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>quota controls, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt></dl></div><div class="indexdiv"><h3>R</h3><dl><dt>RAID, <a class="indexterm" href="Backup.html#id2664523">BackupPC</a></dt><dt>random machine account password, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>range, <a class="indexterm" href="NetCommand.html#id2593955">UNIX and Windows User Management</a></dt><dt>range of hosts, <a class="indexterm" href="securing-samba.html#id2611330">Using Host-Based Protection</a></dt><dt>RAP, <a class="indexterm" href="NetCommand.html#id2592433">UNIX and Windows Group Management</a></dt><dt>raster, <a class="indexterm" href="CUPS-printing.html#id2629990">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2639826">Foomatic Database-Generated PPDs</a></dt><dt>raster driver, <a class="indexterm" href="CUPS-printing.html#id2628962">The CUPS Filtering Architecture</a></dt><dt>raster drivers, <a class="indexterm" href="CUPS-printing.html#id2630345">pstoraster</a></dt><dt>raster image processor (see RIP)</dt><dt>raster images, <a class="indexterm" href="CUPS-printing.html#id2628207">UNIX Printfile Conversion and GUI Basics</a></dt><dt>rasterization, <a class="indexterm" href="CUPS-printing.html#id2630345">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2632245">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoalps, <a class="indexterm" href="CUPS-printing.html#id2630700">rasterto [printers specific]</a></dt><dt>rastertobj, <a class="indexterm" href="CUPS-printing.html#id2630700">rasterto [printers specific]</a></dt><dt>rastertoepson, <a class="indexterm" href="CUPS-printing.html#id2630700">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2632582">Examples for Filtering Chains</a></dt><dt>rastertoescp, <a class="indexterm" href="CUPS-printing.html#id2630700">rasterto [printers specific]</a></dt><dt>rastertohp, <a class="indexterm" href="CUPS-printing.html#id2630700">rasterto [printers specific]</a></dt><dt>rastertopcl, <a class="indexterm" href="CUPS-printing.html#id2630700">rasterto [printers specific]</a></dt><dt>rastertoprinter, <a class="indexterm" href="CUPS-printing.html#id2630700">rasterto [printers specific]</a></dt><dt>rastertosomething, <a class="indexterm" href="CUPS-printing.html#id2632245">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoturboprint, <a class="indexterm" href="CUPS-printing.html#id2630700">rasterto [printers specific]</a></dt><dt>raw mode, <a class="indexterm" href="CUPS-printing.html#id2631683">application/octet-stream Printing</a></dt><dt>raw print, <a class="indexterm" href="CUPS-printing.html#id2636218">cupsaddsmb Flowchart</a></dt><dt>raw printers, <a class="indexterm" href="CUPS-printing.html#id2626024">Overview</a></dt><dt>raw printing, <a class="indexterm" href="FastStart.html#id2547411">Anonymous Print Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#id2627194">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#id2554350">Features and Benefits</a></dt><dt>raw SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2573862">TCP/IP without NetBIOS</a></dt><dt>rawprinter, <a class="indexterm" href="CUPS-printing.html#id2631575">“Raw” Printing</a></dt><dt>rcp, <a class="indexterm" href="Backup.html#id2664694">Rsync</a></dt><dt>rdesktop, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>rdesktop/RDP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>read, <a class="indexterm" href="AccessControls.html#id2604259">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#id2608947">Opportunistic Locking Overview</a></dt><dt>read-only, <a class="indexterm" href="StandAloneServer.html#id2567230">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#id2598792">Backup Domain Controller</a>, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>read-only files, <a class="indexterm" href="StandAloneServer.html#id2567230">Features and Benefits</a></dt><dt>read-write access, <a class="indexterm" href="classicalprinting.html#id2619836">The Obsoleted [printer$] Section</a></dt><dt>realm, <a class="indexterm" href="ServerType.html#id2553173">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-bdc.html#id2560677">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2565187">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2600239">IDMAP Storage in LDAP Using Winbind</a></dt><dt>rebooted, <a class="indexterm" href="ClientConfig.html#id2570451">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#id2602113">Description of Privileges</a></dt><dt>recompiling, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></dt><dt>reconfiguration, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></dt><dt>record locking, <a class="indexterm" href="locking.html#id2608689">Discussion</a></dt><dt>recycle, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>recycle bin, <a class="indexterm" href="VFS.html#id2643381">Discussion</a></dt><dt>recycle directory, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>recycle:exclude, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>recycle:exclude_dir, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>recycle:keeptree, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>recycle:maxsize, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>recycle:noversions, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>recycle:repository, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>recycle:subdir_mode, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>recycle:touch, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>recycle:versions, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>Red Hat Cluster Manager, <a class="indexterm" href="SambaHA.html#id2666087">High-Availability Server Products</a></dt><dt>Red Hat Linux, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2563599">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="groupmapping.html#id2589671">Warning: User Private Group Problems</a></dt><dt>redirect, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a></dt><dt>redirection, <a class="indexterm" href="winbind.html#id2646541">What Winbind Provides</a></dt><dt>redirector, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>redundancy, <a class="indexterm" href="NetworkBrowsing.html#id2573226">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#id2611544">Using Interface Protection</a></dt><dt>regedit.exe, <a class="indexterm" href="ProfileMgmt.html#id2656355">MS Windows 9x/Me</a></dt><dt>regedt32, <a class="indexterm" href="ProfileMgmt.html#id2656507">MS Windows NT4 Workstation</a></dt><dt>regedt32.exe, <a class="indexterm" href="PolicyMgmt.html#id2653210">Windows NT4/200x</a></dt><dt>register driver files, <a class="indexterm" href="classicalprinting.html#id2621917">Running rpcclient with adddriver</a></dt><dt>register NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a></dt><dt>registered, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="classicalprinting.html#id2622183">Check Samba for Driver Recognition</a></dt><dt>registers, <a class="indexterm" href="NetworkBrowsing.html#id2575354">Domain Browsing Configuration</a></dt><dt>registry, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="locking.html#id2608592">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652081">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652439">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2656355">MS Windows 9x/Me</a></dt><dt>registry change, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>registry keys, <a class="indexterm" href="ProfileMgmt.html#id2656325">Default Profile for Windows Users</a></dt><dt>registry settings, <a class="indexterm" href="PolicyMgmt.html#id2652888">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#id2595330">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#id2585669">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#id2554350">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>Remote Access Dial-In User Service (see RADIUS)</dt><dt>remote announce, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a></dt><dt>remote browse sync, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a></dt><dt>remote desktop capabilities, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>remote desktop management, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650787">Remote Desktop Management</a></dt><dt>remote domain, <a class="indexterm" href="InterdomainTrusts.html#id2613127">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613224">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#id2650815">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#id2646916">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#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>remote segment, <a class="indexterm" href="NetworkBrowsing.html#id2576543">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>Remote X, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>Remote X protocol, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>remote-update protocol, <a class="indexterm" href="Backup.html#id2664694">Rsync</a></dt><dt>rename, <a class="indexterm" href="AccessControls.html#id2604136">Managing Directories</a></dt><dt>render, <a class="indexterm" href="CUPS-printing.html#id2627194">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>rendering, <a class="indexterm" href="CUPS-printing.html#id2632245">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>repeated intervals, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>replicate, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a></dt><dt>replicated, <a class="indexterm" href="ServerType.html#id2551756">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2560406">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2652439">MS Windows 200x/XP Professional Policies</a></dt><dt>replicated SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2652439">MS Windows 200x/XP Professional Policies</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a></dt><dd><dl><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a></dt><dt>SAM, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561792">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2561847">How Do I Replicate the smbpasswd File?</a></dt><dt>WINS, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577228">WINS Replication</a></dt></dl></dd><dt>replication protocols, <a class="indexterm" href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a></dt><dt>repository, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>requesting payment, <a class="indexterm" href="ch47.html#id2685480">Free Support</a></dt><dt>required, <a class="indexterm" href="pam.html#id2658920">Anatomy of /etc/pam.d Entries</a></dt><dt>requisite, <a class="indexterm" href="pam.html#id2658920">Anatomy of /etc/pam.d Entries</a></dt><dt>research, <a class="indexterm" href="Backup.html#id2664426">Discussion of Backup Solutions</a></dt><dt>resizing, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>resolution, <a class="indexterm" href="CUPS-printing.html#id2631258">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#id2575955">Making Samba the Domain Master</a></dt><dt>resolver functions, <a class="indexterm" href="winbind.html#id2647050">Name Service Switch</a></dt><dt>resource failover, <a class="indexterm" href="SambaHA.html#id2666087">High-Availability Server Products</a></dt><dt>resource kit, <a class="indexterm" href="PolicyMgmt.html#id2652642">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#id2611168">Features and Benefits</a></dt><dt>response, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a></dt><dt>restore, <a class="indexterm" href="tdb.html#id2679890">Features and Benefits</a></dt><dt>restrict DNS, <a class="indexterm" href="NetworkBrowsing.html#id2577664">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#id2601767">Using the “net rpc rights” Utility</a></dt><dt>RFC 1001, <a class="indexterm" href="DNSDHCP.html#id2686030">Example Configuration</a></dt><dt>RFC 1002, <a class="indexterm" href="DNSDHCP.html#id2686030">Example Configuration</a></dt><dt>RFC 1179, <a class="indexterm" href="classicalprinting.html#id2616978">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#id2586395">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#id2600824">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>RFC2830, <a class="indexterm" href="samba-bdc.html#id2560041">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#id2580514">New Account Storage Systems</a></dt><dt>rich directory backend, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a></dt><dt>RID, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2589335">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2602911">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2647437">User and Group ID Allocation</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>RID 500, <a class="indexterm" href="rights.html#id2602911">The Administrator Domain SID</a></dt><dt>RID base, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a></dt><dt>right to join domain, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>rights, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2566180">Possible Errors</a>, <a class="indexterm" href="rights.html#id2601492">Rights Management Capabilities</a></dt><dt>rights and privilege, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></dt><dt>rights and privileges, <a class="indexterm" href="groupmapping.html#id2590312">Important Administrative Information</a>, <a class="indexterm" href="rights.html#id2602911">The Administrator Domain SID</a></dt><dt>rights assigned, <a class="indexterm" href="rights.html#id2601492">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>RIP, <a class="indexterm" href="CUPS-printing.html#id2631962">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>rlogind, <a class="indexterm" href="pam.html#id2658920">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#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="ProfileMgmt.html#id2653569">Features and Benefits</a>, <a class="indexterm" href="ProfileMgmt.html#id2654058">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>rogue machine, <a class="indexterm" href="NetworkBrowsing.html#id2579442">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#id2563716">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="ClientConfig.html#id2570451">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#id2602911">The Administrator Domain SID</a></dt><dt>root user, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>rotate, <a class="indexterm" href="CUPS-printing.html#id2628207">UNIX Printfile Conversion and GUI Basics</a></dt><dt>RPC, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2653618">Roaming Profiles</a></dt><dt>RPC calls, <a class="indexterm" href="winbind.html#id2650301">Conclusion</a>, <a class="indexterm" href="SambaHA.html#id2665412">The Front-End Challenge</a></dt><dt>RPC modules, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>rpc.lockd, <a class="indexterm" href="locking.html#id2608689">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#id2621006">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2622411">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2638300">Troubleshooting Revisited</a>, <a class="indexterm" href="PolicyMgmt.html#id2653250">Samba PDC</a></dt><dd><dl><dt>adddriver, <a class="indexterm" href="CUPS-printing.html#id2635680">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2635871">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2636534">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2636880">Understanding the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2637117">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2637342">Manual Driver Installation in 15 Steps</a></dt><dt>enumdrivers, <a class="indexterm" href="CUPS-printing.html#id2636534">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2637342">Manual Driver Installation in 15 Steps</a></dt><dt>enumports, <a class="indexterm" href="CUPS-printing.html#id2636534">Installing PostScript Driver Files Manually Using rpcclient</a></dt><dt>enumprinters, <a class="indexterm" href="CUPS-printing.html#id2636534">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2637117">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2637342">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2638300">Troubleshooting Revisited</a></dt><dt>getdriver, <a class="indexterm" href="CUPS-printing.html#id2636985">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2637342">Manual Driver Installation in 15 Steps</a></dt><dt>getprinter, <a class="indexterm" href="CUPS-printing.html#id2636985">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2637342">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2638300">Troubleshooting Revisited</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2635022">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2635680">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2635871">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2636534">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2637117">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2637342">Manual Driver Installation in 15 Steps</a></dt></dl></dd><dt>rsh, <a class="indexterm" href="Backup.html#id2664523">BackupPC</a></dt><dt>rsync, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561847">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#id2585669">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2664523">BackupPC</a>, <a class="indexterm" href="Backup.html#id2664694">Rsync</a>, <a class="indexterm" href="compiling.html#id2680781">Accessing the Samba Sources via rsync and ftp</a></dt><dt>rsyncd, <a class="indexterm" href="Backup.html#id2664523">BackupPC</a></dt><dt>runas, <a class="indexterm" href="classicalprinting.html#id2623378">Always Make First Client Connection as root or “printer admin”</a></dt><dt>rundll32, <a class="indexterm" href="classicalprinting.html#id2623259">Additional Client Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2623572">Setting Default Print Options for Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2637342">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651601">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#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2561737">Machine Accounts Keep Expiring</a>, <a class="indexterm" href="samba-bdc.html#id2561792">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2561847">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a>, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2580330">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2581602">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="winbind.html#id2647513">Result Caching</a></dt><dd><dl><dt>delta file, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2559367">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#id2582150">Comments Regarding LDAP</a></dt><dd><dl><dt>LDAP, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a></dt><dt>ldapsam, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2580514">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#id2586092">ldapsam</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2580294">Features and Benefits</a></dt><dt>non-LDAP, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a></dt><dt>smbpasswd, <a class="indexterm" href="passdb.html#id2580294">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a></dt><dt>tdbsam, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2585935">tdbsam</a></dt></dl></dd><dt>Samba 1.9.17, <a class="indexterm" href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a></dt><dt>Samba account, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a></dt><dt>Samba administrator, <a class="indexterm" href="winbind.html#id2647576">Introduction</a></dt><dt>Samba backend database, <a class="indexterm" href="domain-member.html#id2566867">Adding Machine to Domain Fails</a></dt><dt>Samba daemons, <a class="indexterm" href="domain-member.html#id2564171">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#id2664381">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#id2581602">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>Samba SAM account, <a class="indexterm" href="domain-member.html#id2566867">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#id2580514">New Account Storage Systems</a></dt><dt>Samba security, <a class="indexterm" href="securing-samba.html#id2611168">Features and Benefits</a></dt><dt>Samba-2.2.x LDAP schema, <a class="indexterm" href="passdb.html#id2580330">Backward Compatibility Account Storage Systems</a></dt><dt>Samba-3-compatible LDAP backend, <a class="indexterm" href="upgrading-to-3.0.html#id2669288">Quick Migration Guide</a></dt><dt>Samba-PDC-LDAP-HOWTO, <a class="indexterm" href="passdb.html#id2586092">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#id2645805">vscan</a></dt><dt>samba.schema, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>sambaDomain, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>sambaGroupMapping, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>sambaHomeDrive, <a class="indexterm" href="passdb.html#id2587860">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaHomePath, <a class="indexterm" href="passdb.html#id2587860">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaIdmapEntry, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>sambaLogonScript, <a class="indexterm" href="passdb.html#id2587860">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaNTPassword, <a class="indexterm" href="passdb.html#id2587625">Security and sambaSamAccount</a></dt><dt>sambaProfilePath, <a class="indexterm" href="passdb.html#id2587860">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaSAMAccount, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2584423">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2584510">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2584595">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#id2585935">tdbsam</a></dt><dt>sambaSamAccount, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2587512">Accounts and Groups Management</a>, <a class="indexterm" href="passdb.html#id2587860">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>sambaSAMAccount, <a class="indexterm" href="passdb.html#id2587625">Security and sambaSamAccount</a></dt><dt>sambaSID, <a class="indexterm" href="ChangeNotes.html#id2572343">LDAP Changes in Samba-3.0.23</a></dt><dt>sambaUNIXIdPool, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>SambaXP conference, <a class="indexterm" href="SambaHA.html#id2665129">Technical Discussion</a></dt><dt>samdb interface, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a></dt><dt>same domain/workgroup, <a class="indexterm" href="cfgsmarts.html#id2668315">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#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2585935">tdbsam</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612741">Features and Benefits</a></dt><dt>scalable, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>scalable backend, <a class="indexterm" href="InterdomainTrusts.html#id2612741">Features and Benefits</a></dt><dt>scalable coherent interface (see SCI)</dt><dt>scale, <a class="indexterm" href="CUPS-printing.html#id2628207">UNIX Printfile Conversion and GUI Basics</a></dt><dt>scanner module, <a class="indexterm" href="VFS.html#id2643381">Discussion</a></dt><dt>schannel, <a class="indexterm" href="samba-pdc.html#id2558707">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>schema, <a class="indexterm" href="idmapper.html#id2600824">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>schema file, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a></dt><dt>scp, <a class="indexterm" href="Backup.html#id2664694">Rsync</a></dt><dt>script, <a class="indexterm" href="domain-member.html#id2566867">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#id2577954">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2582425">Caution Regarding LDAP and Samba</a></dt><dt>SCSI, <a class="indexterm" href="SambaHA.html#id2666087">High-Availability Server Products</a></dt><dt>SeAddUsersPrivilege, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601492">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>SeAssignPrimaryTokenPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeAuditPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeBackupPrivilege, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeChangeNotifyPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>Seclib, <a class="indexterm" href="AccessControls.html#id2606616">Viewing File Ownership</a></dt><dt>secondary controller, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>SeCreateGlobalPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePagefilePrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePermanentPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreateTokenPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>secret, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2566545">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#id2586902">Initialize the LDAP Database</a>, <a class="indexterm" href="CUPS-printing.html#id2638444">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>section name, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a></dt><dt>secure, <a class="indexterm" href="StandAloneServer.html#id2567230">Features and Benefits</a></dt><dt>secure access, <a class="indexterm" href="samba-pdc.html#id2554984">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#id2587625">Security and sambaSamAccount</a></dt><dt>secured networks, <a class="indexterm" href="securing-samba.html#id2611069">Introduction</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2552083">Samba Security Modes</a>, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="securing-samba.html#id2611069">Introduction</a>, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>controllers, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a></dt><dt>modes, <a class="indexterm" href="ServerType.html#id2551756">Features and Benefits</a></dt><dt>settings, <a class="indexterm" href="install.html#id2545482">Example Configuration</a></dt></dl></dd><dt>security = user, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>security account, <a class="indexterm" href="NetCommand.html#id2592057">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#id2612813">Trust Relationship Background</a></dt><dt>security credentials, <a class="indexterm" href="idmapper.html#id2598792">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613091">Native MS Windows NT4 Trusts Configuration</a></dt><dt>security domain, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></dt><dt>security domains, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></dt><dt>security flaw, <a class="indexterm" href="securing-samba.html#id2612181">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security hole, <a class="indexterm" href="securing-samba.html#id2611894">Using IPC$ Share-Based Denials </a></dt><dt>security identifier, <a class="indexterm" href="NetCommand.html#id2595330">Managing Security Identifiers (SIDS)</a> (see SID)</dt><dt>security level, <a class="indexterm" href="ServerType.html#id2553330">Server Security (User Level Security)</a></dt><dt>security levels, <a class="indexterm" href="ServerType.html#id2552083">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#id2558022">Security Mode and Master Browsers</a></dt><dt>Security Mode, <a class="indexterm" href="ServerType.html#id2552083">Samba Security Modes</a></dt><dt>security modes, <a class="indexterm" href="ServerType.html#id2552083">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#id2612181">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security settings, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>security structure, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></dt><dt>security vulnerability, <a class="indexterm" href="securing-samba.html#id2612093">Upgrading Samba</a></dt><dt>security-aware, <a class="indexterm" href="CUPS-printing.html#id2631683">application/octet-stream Printing</a></dt><dt>SeDebugPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeDiskOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601492">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>SeEnableDelegationPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeImpersonatePrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseBasePriorityPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseQuotaPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLoadDriverPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLockMemoryPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeMachineAccountPrivilege, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601492">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeManageVolumePrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>separate instances, <a class="indexterm" href="cfgsmarts.html#id2666903">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#id2616978">The [global] Section</a></dt><dt>separate workgroups, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>SePrintOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601492">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>SeProfileSingleProcessPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRemoteShutdownPrivilege, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601492">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRestorePrivilege, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>server failure, <a class="indexterm" href="SambaHA.html#id2665293">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#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650643">Remote Server Administration</a></dt><dt>Server Manager for Domains, <a class="indexterm" href="domain-member.html#id2563320">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#id2665612">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665739">Restrictive Constraints on Distributed File Systems</a></dt><dt>Server Type, <a class="indexterm" href="ServerType.html#id2551923">Server Types</a></dt><dd><dl><dt>Domain Controller, <a class="indexterm" href="FastStart.html#id2549562">Domain Controller</a></dt><dt>Domain Member, <a class="indexterm" href="FastStart.html#id2548638">Domain Member Server</a>, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a></dt><dt>Stand-alone, <a class="indexterm" href="FastStart.html#id2546718">Standalone Server</a></dt></dl></dd><dt>server type, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a></dt><dd><dl><dt>domain member, <a class="indexterm" href="ServerType.html#id2552867">Example Configuration</a></dt></dl></dd><dt>Server Types, <a class="indexterm" href="idmapper.html#id2597510">Samba Server Deployment Types and IDMAP</a></dt><dt>server-mode, <a class="indexterm" href="ServerType.html#id2553893">What Makes Samba a Domain Controller?</a></dt><dt>service name, <a class="indexterm" href="install.html#id2545482">Example Configuration</a></dt><dt>service-level, <a class="indexterm" href="classicalprinting.html#id2615518">Printing-Related Configuration Parameters</a>, <a class="indexterm" href="classicalprinting.html#id2616978">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#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeShutdownPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>session, <a class="indexterm" href="pam.html#id2658920">Anatomy of /etc/pam.d Entries</a></dt><dt>session services, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a></dt><dt>session setup, <a class="indexterm" href="ServerType.html#id2552257">User Level Security</a>, <a class="indexterm" href="ServerType.html#id2553330">Server Security (User Level Security)</a></dt><dt>sessionid.tdb, <a class="indexterm" href="CUPS-printing.html#id2638444">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>SessionSetupAndX, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>SeSyncAgentPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemEnvironmentPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemProfilePrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemtimePrivilege, <a class="indexterm" href="rights.html#id2602423">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#id2616978">The [global] Section</a></dt><dt>set user id (see SUID)</dt><dt>SeTakeOwnershipPrivilege, <a class="indexterm" href="NetCommand.html#id2594367">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601492">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeTcbPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2636708">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2637117">Requirements for adddriver and setdriver to Succeed</a></dt><dt>SetPrinter(), <a class="indexterm" href="CUPS-printing.html#id2636708">A Check of the rpcclient man Page</a></dt><dt>setting up directories, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a></dt><dt>SeUndockPrivilege, <a class="indexterm" href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>severely impaired, <a class="indexterm" href="NetworkBrowsing.html#id2573862">TCP/IP without NetBIOS</a></dt><dt>SFU, <a class="indexterm" href="idmapper.html#id2601094">IDMAP, Active Directory, and MS Services for UNIX 3.5</a></dt><dt>SFU 3.5, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a></dt><dt>SGI-RGB, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>SGID, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a></dt><dt>shadow, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a></dt><dt>shadow copies, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>shadow password file, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>shadow utilities, <a class="indexterm" href="groupmapping.html#id2588920">Features and Benefits</a></dt><dt>shadow_copy, <a class="indexterm" href="VFS.html#id2644814">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>shadow_copy module, <a class="indexterm" href="VFS.html#id2644814">shadow_copy</a></dt><dt>share, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>share access, <a class="indexterm" href="AccessControls.html#id2605997">Access Controls on Shares</a></dt><dt>share ACLs, <a class="indexterm" href="NT4Migration.html#id2673587">Samba-3 Implementation Choices</a></dt><dt>share management, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a></dt><dt>share modes, <a class="indexterm" href="SambaHA.html#id2665612">The Distributed File System Challenge</a></dt><dt>share permissions, <a class="indexterm" href="AccessControls.html#id2606157">Windows NT4 Workstation/Server</a></dt><dt>Share Permissions, <a class="indexterm" href="AccessControls.html#id2606262">Windows 200x/XP</a></dt><dt>share settings, <a class="indexterm" href="AccessControls.html#id2603591">Features and Benefits</a></dt><dt>share stanza controls, <a class="indexterm" href="NT4Migration.html#id2673587">Samba-3 Implementation Choices</a></dt><dt>share-level, <a class="indexterm" href="ServerType.html#id2552083">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2552431">Share-Level Security</a>, <a class="indexterm" href="msdfs.html#id2614440">Features and Benefits</a></dt><dt>share-level ACLs, <a class="indexterm" href="groupmapping.html#id2590431">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>share-mode, <a class="indexterm" href="StandAloneServer.html#id2567230">Features and Benefits</a></dt><dt>share-mode security, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a></dt><dt>share-mode server, <a class="indexterm" href="StandAloneServer.html#id2567230">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#id2572789">What Is Browsing?</a></dt><dt>shares and files, <a class="indexterm" href="winbind.html#id2647690">Requirements</a></dt><dt>share_info.tdb, <a class="indexterm" href="AccessControls.html#id2605997">Access Controls on Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2638444">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>Sharing, <a class="indexterm" href="AccessControls.html#id2606262">Windows 200x/XP</a></dt><dt>shell scripts, <a class="indexterm" href="classicalprinting.html#id2618378">Print Commands</a></dt><dt>shift, <a class="indexterm" href="CUPS-printing.html#id2628207">UNIX Printfile Conversion and GUI Basics</a></dt><dt>Shift_JIS, <a class="indexterm" href="unicode.html#id2663207">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>shortcuts, <a class="indexterm" href="ClientConfig.html#id2568680">TCP/IP Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>Shortcuts, <a class="indexterm" href="AccessControls.html#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>show-stopper-type, <a class="indexterm" href="NT4Migration.html#id2672054">Planning and Getting Started</a></dt><dt>SID, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2558466">The System Cannot Log You On (C000019B)</a>, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2566545">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2572222">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#id2581602">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="passdb.html#id2582562">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#id2588920">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2595330">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2599649">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2601492">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602911">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646740">Handling of Foreign SIDs</a>, <a class="indexterm" href="ProfileMgmt.html#id2655948">Side Bar Notes</a>, <a class="indexterm" href="ProfileMgmt.html#id2656041">Get SID</a>, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a>, <a class="indexterm" href="NT4Migration.html#id2672940">Profile Migration/Creation</a></dt><dt>SID management, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a></dt><dt>SID-to-GID, <a class="indexterm" href="groupmapping.html#id2588920">Features and Benefits</a></dt><dt>SIDs, <a class="indexterm" href="NT4Migration.html#id2673587">Samba-3 Implementation Choices</a></dt><dt>signing, <a class="indexterm" href="samba-pdc.html#id2558707">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>simple access controls, <a class="indexterm" href="NT4Migration.html#id2672699">Server Share and Directory Layout</a></dt><dt>simple configuration, <a class="indexterm" href="install.html#id2545482">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#id2580514">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#id2615618">Simple Print Configuration</a></dt><dt>simplest</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2545482">Example Configuration</a></dt></dl></dd><dt>simplicity, <a class="indexterm" href="StandAloneServer.html#id2567230">Features and Benefits</a></dt><dt>Simplicity is king, <a class="indexterm" href="NT4Migration.html#id2672699">Server Share and Directory Layout</a></dt><dt>single DHCP server, <a class="indexterm" href="ClientConfig.html#id2569945">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#id2665412">The Front-End Challenge</a></dt><dt>single sign-on, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a> (see SSO)</dt><dt>Single Sign-On, <a class="indexterm" href="CUPS-printing.html#id2635022">Caveats to Be Considered</a></dt><dt>single-byte charsets, <a class="indexterm" href="unicode.html#id2662905">What Are Charsets and Unicode?</a></dt><dt>single-logon, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a></dt><dt>single-sign-on, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>single-user mode, <a class="indexterm" href="winbind.html#id2647690">Requirements</a></dt><dt>slapadd, <a class="indexterm" href="passdb.html#id2586902">Initialize the LDAP Database</a></dt><dt>slapd, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a></dt><dt>slapd.conf, <a class="indexterm" href="ChangeNotes.html#id2572343">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2587625">Security and sambaSamAccount</a></dt><dt>slapd.pem, <a class="indexterm" href="samba-bdc.html#id2560041">LDAP Configuration Notes</a></dt><dt>slapindex, <a class="indexterm" href="ChangeNotes.html#id2572343">LDAP Changes in Samba-3.0.23</a></dt><dt>slappasswd, <a class="indexterm" href="passdb.html#id2586902">Initialize the LDAP Database</a></dt><dt>slave servers, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>slow browsing, <a class="indexterm" href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a></dt><dt>slow network, <a class="indexterm" href="speed.html#id2684105">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>slow network browsing, <a class="indexterm" href="NetworkBrowsing.html#id2579810">Invalid Cached Share References Affects Network Browsing</a></dt><dt>slow performance, <a class="indexterm" href="speed.html#id2684292">Samba Performance is Very Slow</a></dt><dt>smart printers, <a class="indexterm" href="CUPS-printing.html#id2626024">Overview</a></dt><dt>SMB, <a class="indexterm" href="ServerType.html#id2553330">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2567103">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="StandAloneServer.html#id2567324">Background</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572606">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577867">Technical Overview of Browsing</a>, <a class="indexterm" href="securing-samba.html#id2611544">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#id2661676">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="Backup.html#id2664523">BackupPC</a>, <a class="indexterm" href="SambaHA.html#id2665412">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665809">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#id2581397">Advantages of Encrypted Passwords</a></dt><dt>SMB locks, <a class="indexterm" href="SambaHA.html#id2665809">Server Pool Communications</a></dt><dt>SMB name, <a class="indexterm" href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a></dt><dt>SMB networking, <a class="indexterm" href="problems.html#id2677850">Diagnostics Tools</a></dt><dt>SMB password, <a class="indexterm" href="passdb.html#id2583003">The smbpasswd Tool</a></dt><dt>SMB Password, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>SMB password encryption, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>smb ports, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>SMB printers, <a class="indexterm" href="CUPS-printing.html#id2642434">Administrator Cannot Install Printers for All Local Users</a></dt><dt>SMB requests, <a class="indexterm" href="SambaHA.html#id2665506">Demultiplexing SMB Requests</a></dt><dt>SMB semantics, <a class="indexterm" href="SambaHA.html#id2665612">The Distributed File System Challenge</a></dt><dt>SMB server, <a class="indexterm" href="passdb.html#id2581397">Advantages of Encrypted Passwords</a></dt><dt>SMB Server, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>SMB services, <a class="indexterm" href="SambaHA.html#id2665739">Restrictive Constraints on Distributed File Systems</a></dt><dt>SMB signing, <a class="indexterm" href="domain-member.html#id2567103">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>SMB state information, <a class="indexterm" href="SambaHA.html#id2665506">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#id2667300">Multiple Virtual Server Personalities</a></dt><dt>smb.conf, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>SMB/CIFS, <a class="indexterm" href="samba-bdc.html#id2560464">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2567103">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a>, <a class="indexterm" href="unicode.html#id2662905">What Are Charsets and Unicode?</a></dt><dt>SMB/CIFS server, <a class="indexterm" href="passdb.html#id2585539">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#id2621562">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2621780">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="Backup.html#id2664523">BackupPC</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a>, <a class="indexterm" href="problems.html#id2677902">Debugging with Samba Itself</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2545290">Starting Samba</a>, <a class="indexterm" href="install.html#id2545482">Example Configuration</a>, <a class="indexterm" href="install.html#id2545741">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2547810">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548709">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2587088">Configuring Samba</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598951">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a>, <a class="indexterm" href="classicalprinting.html#id2615901">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2616098">Rapid Configuration Validation</a>, <a class="indexterm" href="VFS.html#id2644041">extd_audit</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2647842">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2649237">Linux</a>, <a class="indexterm" href="winbind.html#id2649442">Solaris</a>, <a class="indexterm" href="SambaHA.html#id2665809">Server Pool Communications</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="problems.html#id2677902">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#id2591264">Sample smb.conf Add Group Script</a></dt><dt>smbHome, <a class="indexterm" href="passdb.html#id2587860">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>smbldap-groupadd, <a class="indexterm" href="NetCommand.html#id2592634">Adding or Creating a New Group</a></dt><dt>smbldap-tools, <a class="indexterm" href="passdb.html#id2586092">ldapsam</a></dt><dt>smbpasswd, <a class="indexterm" href="ServerType.html#id2552867">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561847">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#id2565187">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2566545">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2572222">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#id2580330">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2583003">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2584072">User Account Management</a>, <a class="indexterm" href="passdb.html#id2585414">Account Import/Export</a>, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2586092">ldapsam</a>, <a class="indexterm" href="passdb.html#id2586395">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586902">Initialize the LDAP Database</a>, <a class="indexterm" href="idmapper.html#id2597597">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#id2653250">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671133">Passdb Backends and Authentication</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671327">New Schema</a></dt><dt>smbpasswd format, <a class="indexterm" href="passdb.html#id2584188">Listing User and Machine Accounts</a></dt><dt>smbpasswd plaintext database, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a></dt><dt>SMBsessetupX, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a></dt><dt>smbspool, <a class="indexterm" href="CUPS-printing.html#id2641524">Printing from CUPS to Windows-Attached Printers</a></dt><dt>smbstatus, <a class="indexterm" href="CUPS-printing.html#id2642242">Avoid Being Connected to the Samba Server as the Wrong User</a>, <a class="indexterm" href="bugreport.html#id2679682">Attaching to a Running Process</a></dt><dt>SMBtconX, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a></dt><dt>smbusers, <a class="indexterm" href="securing-samba.html#id2611484">User-Based Protection</a></dt><dt>SMS, <a class="indexterm" href="problems.html#id2678352">The Windows Network Monitor</a></dt><dt>Snapshots, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>sniffer, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="problems.html#id2677850">Diagnostics Tools</a></dt><dt>socket, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></dt><dt>socket address, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></dt><dt>SOFTQ printing system, <a class="indexterm" href="classicalprinting.html#id2616978">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#id2649631">Configure Winbind and PAM</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651190">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>Solaris 9, <a class="indexterm" href="winbind.html#id2649442">Solaris</a></dt><dt>source code, <a class="indexterm" href="install.html#id2545482">Example Configuration</a></dt><dt>space character, <a class="indexterm" href="groupmapping.html#id2591576">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#id2620174">[print$] Stanza Parameters</a></dt><dt>special sections, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>special stanza, <a class="indexterm" href="classicalprinting.html#id2620174">[print$] Stanza Parameters</a></dt><dt>specific restrictions, <a class="indexterm" href="AccessControls.html#id2605997">Access Controls on Shares</a></dt><dt>Specify an IP address, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a></dt><dt>spinning process, <a class="indexterm" href="bugreport.html#id2679682">Attaching to a Running Process</a></dt><dt>spool, <a class="indexterm" href="classicalprinting.html#id2615901">Verifying Configuration with testparm</a></dt><dd><dl><dt>directory, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a></dt></dl></dd><dt>spool files, <a class="indexterm" href="classicalprinting.html#id2618998">Custom Print Commands</a></dt><dt>spooled file, <a class="indexterm" href="classicalprinting.html#id2615307">Technical Introduction</a></dt><dt>spooler., <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a></dt><dt>spooling, <a class="indexterm" href="classicalprinting.html#id2618998">Custom Print Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2627144">Central Spooling vs. “Peer-to-Peer” Printing</a></dt><dd><dl><dt>central, <a class="indexterm" href="CUPS-printing.html#id2627144">Central Spooling vs. “Peer-to-Peer” Printing</a></dt><dt>peer-to-peer, <a class="indexterm" href="CUPS-printing.html#id2627144">Central Spooling vs. “Peer-to-Peer” Printing</a></dt></dl></dd><dt>spooling path, <a class="indexterm" href="classicalprinting.html#id2615901">Verifying Configuration with testparm</a></dt><dt>spooling-only, <a class="indexterm" href="CUPS-printing.html#id2627194">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#id2572162">Passdb Changes</a></dt><dt>SQUID, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>SRV records, <a class="indexterm" href="domain-member.html#id2565378">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#id2661074">Background Information</a></dt><dt>SrvMgr.exe, <a class="indexterm" href="domain-member.html#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>srvmgr.exe, <a class="indexterm" href="domain-member.html#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>SRVTOOLS.EXE, <a class="indexterm" href="domain-member.html#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650643">Remote Server Administration</a></dt><dt>ssh, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561847">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2664523">BackupPC</a></dt><dt>SSH, <a class="indexterm" href="classicalprinting.html#id2621780">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651190">Remote Management with ThinLinc</a></dt><dt>SSL, <a class="indexterm" href="SWAT.html#id2674858">Securing SWAT through SSL</a></dt><dt>SSO, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2582150">Comments Regarding LDAP</a></dt><dt>stability, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>stack trace, <a class="indexterm" href="bugreport.html#id2679548">Internal Errors</a></dt><dt>stale network links, <a class="indexterm" href="NetworkBrowsing.html#id2579810">Invalid Cached Share References Affects Network Browsing</a></dt><dt>stand-alone server, <a class="indexterm" href="idmapper.html#id2597535">Standalone Samba Server</a></dt><dt>standalone, <a class="indexterm" href="ServerType.html#id2551923">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></dt><dt>standalone filter, <a class="indexterm" href="CUPS-printing.html#id2630345">pstoraster</a></dt><dt>standalone server, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a>, <a class="indexterm" href="StandAloneServer.html#id2567230">Features and Benefits</a>, <a class="indexterm" href="StandAloneServer.html#id2567324">Background</a>, <a class="indexterm" href="passdb.html#id2584423">Adding User Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672498">Domain Layout</a></dt><dt>standard confirmation, <a class="indexterm" href="InterdomainTrusts.html#id2613127">Creating an NT4 Domain Trust</a></dt><dt>stanza, <a class="indexterm" href="install.html#id2544323">Configuration File Syntax</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>stapling, <a class="indexterm" href="CUPS-printing.html#id2630178">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#id2545290">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2547810">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548709">Example Configuration</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2545290">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2547810">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548709">Example Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2545290">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2548709">Example Configuration</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a></dt></dl></dd><dt>startsmb, <a class="indexterm" href="compiling.html#id2681721">Alternative: Starting smbd as a Daemon</a></dt><dt>StartTLS, <a class="indexterm" href="passdb.html#id2587625">Security and sambaSamAccount</a></dt><dt>startup</dt><dd><dl><dt>process, <a class="indexterm" href="install.html#id2545290">Starting Samba</a></dt></dl></dd><dt>startup script, <a class="indexterm" href="winbind.html#id2648876">Starting and Testing the winbindd Daemon</a></dt><dt>state, <a class="indexterm" href="SambaHA.html#id2665293">Why Is This So Hard?</a></dt><dt>state information, <a class="indexterm" href="SambaHA.html#id2665293">Why Is This So Hard?</a></dt><dt>state of knowledge, <a class="indexterm" href="SambaHA.html#id2665008">Features and Benefits</a></dt><dt>static WINS entries, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt><dt>status32 codes, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>sticky bit, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a>, <a class="indexterm" href="NT4Migration.html#id2672699">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#id2583003">The smbpasswd Tool</a></dt><dt>stphoto2.ppd, <a class="indexterm" href="CUPS-printing.html#id2632582">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#id2674077">Features and Benefits</a></dt><dt>strptime, <a class="indexterm" href="passdb.html#id2584595">Changing User Accounts</a></dt><dt>stunnel, <a class="indexterm" href="SWAT.html#id2674858">Securing SWAT through SSL</a></dt><dt>su, <a class="indexterm" href="pam.html#id2658920">Anatomy of /etc/pam.d Entries</a></dt><dt>subnet mask, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>subnets, <a class="indexterm" href="NetworkBrowsing.html#id2573226">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#id2685480">Free Support</a></dt><dt>subsuffix parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2671720">New Suffix for Searching</a></dt><dt>Subversion, <a class="indexterm" href="compiling.html#id2680548">Introduction</a>, <a class="indexterm" href="compiling.html#id2680639">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#id2672088">Objectives</a></dt><dt>sufficient, <a class="indexterm" href="pam.html#id2658920">Anatomy of /etc/pam.d Entries</a></dt><dt>suffixes, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>SUID, <a class="indexterm" href="AccessControls.html#id2604259">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#id2658156">Features and Benefits</a></dt><dt>Sun Solaris, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>SUN-Raster, <a class="indexterm" href="CUPS-printing.html#id2629198">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#id2672088">Objectives</a></dt><dt>SVN</dt><dd><dl><dt>web, <a class="indexterm" href="compiling.html#id2680603">Access via ViewCVS</a></dt></dl></dd><dt>SVRTOOLS.EXE, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a></dt><dt>SWAT, <a class="indexterm" href="install.html#id2544278">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#id2545926">SWAT</a>, <a class="indexterm" href="SWAT.html#id2674220">Validate SWAT Installation</a>, <a class="indexterm" href="SWAT.html#id2674290">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#id2674858">Securing SWAT through SSL</a></dt></dl></dd><dt>SWAT binary support, <a class="indexterm" href="SWAT.html#id2674220">Validate SWAT Installation</a></dt><dt>swat command-line options, <a class="indexterm" href="SWAT.html#id2674290">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#id2614440">Features and Benefits</a></dt><dt>synchronization, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronization problems, <a class="indexterm" href="winbind.html#id2646452">Introduction</a></dt><dt>synchronize, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576543">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronized, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a></dt><dt>syntax tolerates spelling errors, <a class="indexterm" href="classicalprinting.html#id2615618">Simple Print Configuration</a></dt><dt>system access controls, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a></dt><dt>system accounts, <a class="indexterm" href="passdb.html#id2584072">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#id2592835">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#id2651892">Creating and Managing System Policies</a></dt><dt>System Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652642">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2656355">MS Windows 9x/Me</a></dt><dt>system security, <a class="indexterm" href="groupmapping.html#id2590431">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>system tools, <a class="indexterm" href="Backup.html#id2664381">Features and Benefits</a></dt><dt>SYSV, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2652439">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#id2675795">Assumptions</a></dt><dt>take ownership, <a class="indexterm" href="rights.html#id2602113">Description of Privileges</a></dt><dt>Take Ownership, <a class="indexterm" href="AccessControls.html#id2606616">Viewing File Ownership</a></dt><dt>tape, <a class="indexterm" href="NT4Migration.html#id2672699">Server Share and Directory Layout</a></dt><dt>tar, <a class="indexterm" href="Backup.html#id2664523">BackupPC</a></dt><dt>tarball, <a class="indexterm" href="install.html#id2545482">Example Configuration</a></dt><dt>tattoo effect, <a class="indexterm" href="NT4Migration.html#id2673587">Samba-3 Implementation Choices</a></dt><dt>TCP, <a class="indexterm" href="NetworkBrowsing.html#id2576217">Multiple Interfaces</a>, <a class="indexterm" href="SambaHA.html#id2665293">Why Is This So Hard?</a></dt><dt>TCP data streams, <a class="indexterm" href="SambaHA.html#id2665412">The Front-End Challenge</a></dt><dt>TCP failover, <a class="indexterm" href="SambaHA.html#id2665293">Why Is This So Hard?</a></dt><dt>TCP port, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a></dt><dt>TCP port 139, <a class="indexterm" href="integrate-ms-networks.html#id2661074">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>TCP port 445, <a class="indexterm" href="integrate-ms-networks.html#id2661074">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dt>tcp ports, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a></dt><dt>TCP/IP, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572606">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a></dt><dt>TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a></dt><dt>TCP/IP configuration panel, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a></dt><dt>TCP/IP protocol configuration, <a class="indexterm" href="ClientConfig.html#id2568636">Technical Details</a></dt><dt>TCP/IP protocol settings, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a></dt><dt>TCP/IP protocol stack, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a></dt><dt>TCP/IP-only, <a class="indexterm" href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a></dt><dt>tcpdump, <a class="indexterm" href="problems.html#id2678158">Tcpdump</a></dt><dt>TDB, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a>, <a class="indexterm" href="classicalprinting.html#id2622525">Running rpcclient with setdriver</a>, <a class="indexterm" href="CUPS-printing.html#id2638444">The Printing *.tdb Files</a>, <a class="indexterm" href="CUPS-printing.html#id2638646">Trivial Database Files</a>, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></dt><dd><dl><dt>backing up (see tdbbackup)</dt></dl></dd><dt>tdb, <a class="indexterm" href="winbind.html#id2647437">User and Group ID Allocation</a>, <a class="indexterm" href="SambaHA.html#id2665809">Server Pool Communications</a>, <a class="indexterm" href="tdb.html#id2679890">Features and Benefits</a></dt><dt>tdb data files, <a class="indexterm" href="upgrading-to-3.0.html#id2670685">TDB Data Files</a></dt><dt>TDB database, <a class="indexterm" href="classicalprinting.html#id2621917">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#id2670685">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#id2670685">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#id2605997">Access Controls on Shares</a></dt><dt>tdbbackup, <a class="indexterm" href="CUPS-printing.html#id2638830">Using tdbbackup</a>, <a class="indexterm" href="speed.html#id2684196">Corrupt tdb Files</a></dt><dt>tdbdump, <a class="indexterm" href="AccessControls.html#id2605997">Access Controls on Shares</a></dt><dt>tdbsam, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2572222">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#id2584188">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2585935">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>tdbsam databases, <a class="indexterm" href="passdb.html#id2585539">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#id2581538">Advantages of Non-Encrypted Passwords</a></dt><dt>telnet logins, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>template, <a class="indexterm" href="ProfileMgmt.html#id2656246">Creating and Managing Group Profiles</a></dt><dt>temporary location, <a class="indexterm" href="classicalprinting.html#id2618378">Print Commands</a></dt><dt>terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651190">Remote Management with ThinLinc</a></dt><dt>Terminal Server, <a class="indexterm" href="SambaHA.html#id2665506">Demultiplexing SMB Requests</a></dt><dt>Testing Server Setup, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a></dt><dt>testparm, <a class="indexterm" href="install.html#id2545741">Test Your Config File with testparm</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="classicalprinting.html#id2615618">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2615901">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2616098">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2616498">Extended Printing Configuration</a>, <a class="indexterm" href="diagnosis.html#id2675795">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a>, <a class="indexterm" href="problems.html#id2677902">Debugging with Samba Itself</a></dt><dt>tethereal, <a class="indexterm" href="problems.html#id2678158">Tcpdump</a></dt><dt>text/plain, <a class="indexterm" href="CUPS-printing.html#id2629626">MIME Type Conversion Rules</a></dt><dt>texttops, <a class="indexterm" href="CUPS-printing.html#id2629626">MIME Type Conversion Rules</a></dt><dt>thin client, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651190">Remote Management with ThinLinc</a></dt><dt>ThinLinc, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651190">Remote Management with ThinLinc</a></dt><dt>tid, <a class="indexterm" href="SambaHA.html#id2665506">Demultiplexing SMB Requests</a></dt><dt>TIFF, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>TightVNC, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651190">Remote Management with ThinLinc</a></dt><dt>time difference, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a></dt><dt>time format, <a class="indexterm" href="passdb.html#id2584595">Changing User Accounts</a></dt><dt>time-to-live (see TTL)</dt><dt>tool, <a class="indexterm" href="AccessControls.html#id2606262">Windows 200x/XP</a></dt><dt>tools, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2582425">Caution Regarding LDAP and Samba</a></dt><dt>tools\reskit\netadmin\poledit, <a class="indexterm" href="PolicyMgmt.html#id2652081">Windows 9x/ME Policies</a></dt><dt>traditional printing, <a class="indexterm" href="classicalprinting.html#id2618998">Custom Print Commands</a></dt><dt>training course, <a class="indexterm" href="Backup.html#id2664426">Discussion of Backup Solutions</a></dt><dt>transfer differences, <a class="indexterm" href="Backup.html#id2664694">Rsync</a></dt><dt>transformation, <a class="indexterm" href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></dt><dt>transitive, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></dt><dt>transparent access, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a></dt><dt>transparently reconnected, <a class="indexterm" href="SambaHA.html#id2665163">The Ultimate Goal</a></dt><dt>transport connection loss, <a class="indexterm" href="locking.html#id2608947">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#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></dt><dt>trivial database, <a class="indexterm" href="passdb.html#id2580514">New Account Storage Systems</a> (see TDB)</dt><dt>Trivial Database, <a class="indexterm" href="tdb.html#id2679890">Features and Benefits</a></dt><dt>troubleshoot, <a class="indexterm" href="classicalprinting.html#id2616098">Rapid Configuration Validation</a></dt><dt>troubleshooting, <a class="indexterm" href="CUPS-printing.html#id2641524">Printing from CUPS to Windows-Attached Printers</a></dt><dt>Tru64 UNIX, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>trust, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="ServerType.html#id2552639">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#id2614054">NT4-Style Domain Trusts with Windows 2000</a></dt><dd><dl><dt>interdomain, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a></dt><dt>machine, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a></dt></dl></dd><dt>trust account password, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a></dt><dt>trust accounts, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a></dt><dt>trust established, <a class="indexterm" href="InterdomainTrusts.html#id2613309">Interdomain Trust Facilities</a></dt><dt>trust relationship, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613224">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613309">Interdomain Trust Facilities</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613518">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2614054">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#id2612741">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613127">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>trusted, <a class="indexterm" href="NetworkBrowsing.html#id2578573">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#id2589729">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#id2612813">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613224">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613858">Samba as the Trusting Domain</a>, <a class="indexterm" href="winbind.html#id2647050">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#id2612813">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613224">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#id2612813">Trust Relationship Background</a></dt><dt>TTL, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt><dt>turn oplocks off, <a class="indexterm" href="locking.html#id2609786">Advanced Samba Oplocks Parameters</a></dt><dt>turnkey solution, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a></dt><dt>two-up, <a class="indexterm" href="CUPS-printing.html#id2632582">Examples for Filtering Chains</a></dt><dt>two-way</dt><dd><dl><dt>propagation, <a class="indexterm" href="samba-bdc.html#id2558891">Features and Benefits</a></dt></dl></dd><dt>two-way trust, <a class="indexterm" href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613091">Native MS Windows NT4 Trusts Configuration</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613309">Interdomain Trust Facilities</a></dt></dl></div><div class="indexdiv"><h3>U</h3><dl><dt>UCS-2, <a class="indexterm" href="unicode.html#id2663207">Japanese Charsets</a></dt><dt>UDP, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574421">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#id2576217">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a></dt><dt>UDP port 137, <a class="indexterm" href="integrate-ms-networks.html#id2661074">Background Information</a></dt><dt>udp ports, <a class="indexterm" href="winbind.html#id2648638">Join the Samba Server to the PDC Domain</a></dt><dt>UDP unicast, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a></dt><dt>UID, <a class="indexterm" href="samba-bdc.html#id2561238">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#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2566545">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#id2581602">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#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2584188">Listing User and Machine Accounts</a>, <a class="indexterm" href="groupmapping.html#id2588920">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592835">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="NetCommand.html#id2593955">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598558">Primary Domain Controller</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646740">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2648876">Starting and Testing the winbindd Daemon</a></dt><dt>uid, <a class="indexterm" href="passdb.html#id2586630">OpenLDAP Configuration</a></dt><dt>UID numbers, <a class="indexterm" href="idmapper.html#id2597597">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#id2621006">Identifying Driver Files</a></dt><dt>unexpected.tdb, <a class="indexterm" href="CUPS-printing.html#id2638444">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>unicast, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a></dt><dt>unicode, <a class="indexterm" href="unicode.html#id2662905">What Are Charsets and Unicode?</a></dt><dt>Unicode, <a class="indexterm" href="unicode.html#id2663039">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>Unicode UTF-8, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>unified logon, <a class="indexterm" href="winbind.html#id2646452">Introduction</a></dt><dt>UNIX, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dd><dl><dt>server, <a class="indexterm" href="ServerType.html#id2551756">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#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563599">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>unix charset, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>UNIX Domain Socket, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a></dt><dt>UNIX domain socket, <a class="indexterm" href="winbind.html#id2646865">How Winbind Works</a></dt><dt>UNIX file system access controls, <a class="indexterm" href="AccessControls.html#id2603591">Features and Benefits</a></dt><dt>UNIX group, <a class="indexterm" href="NetCommand.html#id2592835">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#id2646541">What Winbind Provides</a></dt><dt>UNIX home directories, <a class="indexterm" href="securing-samba.html#id2612181">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#id2647437">User and Group ID Allocation</a></dt><dt>UNIX locking, <a class="indexterm" href="locking.html#id2608689">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#id2673587">Samba-3 Implementation Choices</a></dt><dt>UNIX printer, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>UNIX printing, <a class="indexterm" href="classicalprinting.html#id2615307">Technical Introduction</a></dt><dt>UNIX system account, <a class="indexterm" href="domain-member.html#id2566867">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#id2664381">Features and Benefits</a></dt><dt>UNIX user identifier (see UID)</dt><dt>UNIX users, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2646541">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#id2567324">Background</a></dt><dt>UNIX/Linux group, <a class="indexterm" href="groupmapping.html#id2589671">Warning: User Private Group Problems</a></dt><dt>UNIX/Linux user account, <a class="indexterm" href="NetCommand.html#id2593955">UNIX and Windows User Management</a></dt><dt>unlink calls, <a class="indexterm" href="VFS.html#id2644367">recycle</a></dt><dt>unlinked, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a></dt><dt>unmapped groups, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a></dt><dt>unmapped users, <a class="indexterm" href="ChangeNotes.html#id2571731">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#id2642401">Windows 200x/XP Local Security Policies</a></dt><dt>unstoppable services, <a class="indexterm" href="SambaHA.html#id2665163">The Ultimate Goal</a></dt><dt>unsupported encryption, <a class="indexterm" href="domain-member.html#id2566180">Possible Errors</a></dt><dt>unsupported software, <a class="indexterm" href="ch47.html#id2685699">Commercial Support</a></dt><dt>updates, <a class="indexterm" href="securing-samba.html#id2612093">Upgrading Samba</a></dt><dt>upload drivers, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a></dt><dt>uploaded driver, <a class="indexterm" href="classicalprinting.html#id2616978">The [global] Section</a></dt><dt>uploaded drivers, <a class="indexterm" href="classicalprinting.html#id2619666">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>uploading, <a class="indexterm" href="classicalprinting.html#id2619666">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>upper-case, <a class="indexterm" href="ServerType.html#id2552257">User Level Security</a></dt><dt>uppercase, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566867">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#id2591576">Adding Groups Fails</a></dt><dt>USB, <a class="indexterm" href="CUPS-printing.html#id2632582">Examples for Filtering Chains</a></dt><dt>use computer anywhere, <a class="indexterm" href="unicode.html#id2662854">Features and Benefits</a></dt><dt>user, <a class="indexterm" href="ChangeNotes.html#id2571731">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a></dt><dt>user access management, <a class="indexterm" href="domain-member.html#id2562196">Features and Benefits</a></dt><dt>user account, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2584072">User Account Management</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="NetCommand.html#id2593955">UNIX and Windows User Management</a></dt><dd><dl><dt>Adding/Deleting, <a class="indexterm" href="passdb.html#id2583003">The smbpasswd Tool</a></dt></dl></dd><dt>user account database, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></dt><dt>user accounts, <a class="indexterm" href="passdb.html#id2582425">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="idmapper.html#id2597597">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#id2587512">Accounts and Groups Management</a></dt></dl></dd><dt>user and group, <a class="indexterm" href="winbind.html#id2646541">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#id2585669">smbpasswd: Encrypted Password Database</a></dt><dt>user authentication, <a class="indexterm" href="winbind.html#id2646916">Microsoft Remote Procedure Calls</a></dt><dt>user database, <a class="indexterm" href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2585593">Plaintext</a></dt><dt>user encoded, <a class="indexterm" href="NetCommand.html#id2595330">Managing Security Identifiers (SIDS)</a></dt><dt>user groups, <a class="indexterm" href="ch47.html#id2685480">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#id2583003">The smbpasswd Tool</a>, <a class="indexterm" href="NetCommand.html#id2592057">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592433">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#id2587512">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#id2613858">Samba as the Trusting Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650643">Remote Server Administration</a>, <a class="indexterm" href="ProfileMgmt.html#id2656246">Creating and Managing Group Profiles</a></dt><dt>User Manager for Domains, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650643">Remote Server Administration</a></dt><dt>user or group, <a class="indexterm" href="rights.html#id2601767">Using the “net rpc rights” Utility</a></dt><dt>user profiles, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>User Rights and Privileges, <a class="indexterm" href="rights.html#id2602911">The Administrator Domain SID</a></dt><dt>user-level, <a class="indexterm" href="ServerType.html#id2552083">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2552257">User Level Security</a></dt><dt>User-level access control, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>user-level security, <a class="indexterm" href="passdb.html#id2581397">Advantages of Encrypted Passwords</a></dt><dt>user-mode security, <a class="indexterm" href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a></dt><dt>user.DAT, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2655656">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>user.MAN, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>User.MAN, <a class="indexterm" href="ProfileMgmt.html#id2656106">Mandatory Profiles</a></dt><dt>useradd, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563599">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>username, <a class="indexterm" href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></dt><dt>username and password, <a class="indexterm" href="ClientConfig.html#id2570451">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>username map, <a class="indexterm" href="NetCommand.html#id2594284">User Mapping</a></dt><dt>userPassword, <a class="indexterm" href="passdb.html#id2586902">Initialize the LDAP Database</a></dt><dt>users, <a class="indexterm" href="PolicyMgmt.html#id2651786">Features and Benefits</a></dt><dt>UsrMgr.exe, <a class="indexterm" href="domain-member.html#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>UTF-8, <a class="indexterm" href="unicode.html#id2663039">Samba and Charsets</a>, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>UTF-8 encoding, <a class="indexterm" href="SWAT.html#id2675010">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#id2611894">Using IPC$ Share-Based Denials </a></dt><dt>valid users, <a class="indexterm" href="diagnosis.html#id2676088">The Tests</a></dt><dt>validate, <a class="indexterm" href="install.html#id2545741">Test Your Config File with testparm</a>, <a class="indexterm" href="diagnosis.html#id2675756">Introduction</a></dt><dt>validate every backup, <a class="indexterm" href="NT4Migration.html#id2672699">Server Share and Directory Layout</a></dt><dt>validation, <a class="indexterm" href="samba-pdc.html#id2554984">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#id2627194">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>verifiable, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a></dt><dt>verify, <a class="indexterm" href="classicalprinting.html#id2616098">Rapid Configuration Validation</a></dt><dt>version control, <a class="indexterm" href="VFS.html#id2644814">shadow_copy</a></dt><dt>VFS, <a class="indexterm" href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a>, <a class="indexterm" href="VFS.html#id2643381">Discussion</a></dt><dt>VFS module, <a class="indexterm" href="VFS.html#id2644814">shadow_copy</a>, <a class="indexterm" href="ProfileMgmt.html#id2656106">Mandatory Profiles</a></dt><dt>VFS modules, <a class="indexterm" href="VFS.html#id2643381">Discussion</a>, <a class="indexterm" href="VFS.html#id2645720">VFS Modules Available Elsewhere</a></dt><dt>vgcreate, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>vgdisplay, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>vipw, <a class="indexterm" href="samba-pdc.html#id2558301">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2562883">Manual Creation of Machine Trust Accounts</a></dt><dt>Virtual File System (see VFS)</dt><dt>virtual server, <a class="indexterm" href="SambaHA.html#id2665412">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2666006">A Simple Solution</a></dt><dt>virus scanner, <a class="indexterm" href="VFS.html#id2643381">Discussion</a></dt><dt>Visual Studio, <a class="indexterm" href="CUPS-printing.html#id2634088">PostScript Drivers with No Major Problems, Even in Kernel 7 Mode</a></dt><dt>vital task, <a class="indexterm" href="SambaHA.html#id2665008">Features and Benefits</a></dt><dt>VNC/RFB, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>volume group, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>volunteers, <a class="indexterm" href="problems.html#id2678716">Getting Mailing List Help</a></dt><dt>vscan, <a class="indexterm" href="VFS.html#id2645805">vscan</a></dt><dt>vuid, <a class="indexterm" href="SambaHA.html#id2665506">Demultiplexing SMB Requests</a></dt></dl></div><div class="indexdiv"><h3>W</h3><dl><dt>W32X86, <a class="indexterm" href="classicalprinting.html#id2621006">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2634088">PostScript Drivers with No Major Problems, Even in Kernel 8 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2635022">Caveats to Be Considered</a></dt><dt>W32X86/2, <a class="indexterm" href="CUPS-printing.html#id2628803">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#id2609553">Slow and/or Unreliable Networks</a></dt><dt>wbinfo, <a class="indexterm" href="winbind.html#id2648876">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#id2579610">Browsing of Shares and Directories is Very Slow</a></dt><dt>Welcome, <a class="indexterm" href="ClientConfig.html#id2570451">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>well known RID, <a class="indexterm" href="rights.html#id2602911">The Administrator Domain SID</a></dt><dt>well-controlled network, <a class="indexterm" href="NT4Migration.html#id2672699">Server Share and Directory Layout</a></dt><dt>well-known RID, <a class="indexterm" href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a></dt><dt>wide-area network bandwidth, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>win election, <a class="indexterm" href="NetworkBrowsing.html#id2575955">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#id2621006">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2621417">Obtaining Driver Files from Windows Client [print$] Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2635022">Caveats to Be Considered</a></dt><dt>winbind, <a class="indexterm" href="domain-member.html#id2564906">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598864">Examples of IDMAP Backend Usage</a>, <a class="indexterm" href="idmapper.html#id2598951">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2648441">Configure smb.conf</a></dt><dt>Winbind, <a class="indexterm" href="StandAloneServer.html#id2567324">Background</a>, <a class="indexterm" href="winbind.html#id2646694">Target Uses</a>, <a class="indexterm" href="winbind.html#id2647002">Microsoft Active Directory Services</a>, <a class="indexterm" href="winbind.html#id2647282">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2647437">User and Group ID Allocation</a>, <a class="indexterm" href="winbind.html#id2647513">Result Caching</a>, <a class="indexterm" href="winbind.html#id2647576">Introduction</a>, <a class="indexterm" href="winbind.html#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2648327">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2648876">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2649797">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2650301">Conclusion</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt><dt>Winbind architecture, <a class="indexterm" href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></dt><dt>Winbind hooks, <a class="indexterm" href="winbind.html#id2646541">What Winbind Provides</a></dt><dt>Winbind services, <a class="indexterm" href="winbind.html#id2648876">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#id2650143">Solaris-Specific Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2545290">Starting Samba</a>, <a class="indexterm" href="install.html#id2545741">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2548709">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561238">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2572222">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="groupmapping.html#id2588920">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2593955">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2646109">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646865">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2647690">Requirements</a>, <a class="indexterm" href="winbind.html#id2647842">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2647929">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2648441">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2648876">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2649442">Solaris</a>, <a class="indexterm" href="winbind.html#id2649631">Configure Winbind and PAM</a>, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></dt><dt>winbindd daemon, <a class="indexterm" href="winbind.html#id2649237">Linux</a></dt><dt>Windows, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="unicode.html#id2663346">Basic Parameter Setting</a></dt><dt>Windows 2000, <a class="indexterm" href="domain-member.html#id2565378">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#id2612813">Trust Relationship Background</a></dt><dt>Windows 2000 Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a></dt><dt>Windows 2000 server, <a class="indexterm" href="InterdomainTrusts.html#id2614054">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>Windows 2003, <a class="indexterm" href="domain-member.html#id2565378">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2567103">I Can't Join a Windows 2003 PDC</a></dt><dt>Windows 200x/XP, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a>, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a></dt><dt>Windows 9x/Me, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650643">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#id2646541">What Winbind Provides</a></dt><dt>Windows client, <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows client failover, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>Windows domain, <a class="indexterm" href="upgrading-to-3.0.html#id2671036">Changes in Behavior</a></dt><dt>Windows Explorer, <a class="indexterm" href="NetworkBrowsing.html#id2578151">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2621006">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#id2589671">Warning: User Private Group Problems</a>, <a class="indexterm" href="NetCommand.html#id2592835">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#id2602911">The Administrator Domain SID</a></dt><dt>Windows groups, <a class="indexterm" href="NetCommand.html#id2592835">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#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>Windows Me TCP/IP, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a></dt><dt>Windows Millennium, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a></dt><dt>Windows Millennium edition (Me) TCP/IP, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a></dt><dt>Windows network clients, <a class="indexterm" href="NetworkBrowsing.html#id2572606">Features and Benefits</a></dt><dt>Windows NT domain name, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows NT PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2641524">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#id2622183">Check Samba for Driver Recognition</a></dt><dt>Windows NT/200x, <a class="indexterm" href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a>, <a class="indexterm" href="winbind.html#id2647576">Introduction</a></dt><dt>Windows NT/200x/XP, <a class="indexterm" href="classicalprinting.html#id2616978">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#id2570451">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2571422">Common Errors</a></dt><dt>Windows NT3.10, <a class="indexterm" href="samba-bdc.html#id2559297">Essential Background Information</a></dt><dt>Windows NT4, <a class="indexterm" href="AccessControls.html#id2606157">Windows NT4 Workstation/Server</a>, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a></dt><dt>Windows NT4 domains, <a class="indexterm" href="InterdomainTrusts.html#id2613309">Interdomain Trust Facilities</a></dt><dt>Windows NT4 Server, <a class="indexterm" href="InterdomainTrusts.html#id2613518">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Windows NT4/200X, <a class="indexterm" href="passdb.html#id2582562">LDAP Directories and Windows Computer Accounts</a></dt><dt>Windows NT4/200x, <a class="indexterm" href="groupmapping.html#id2589335">Discussion</a></dt><dt>Windows NT4/200x/XP, <a class="indexterm" href="samba-bdc.html#id2560612">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="AccessControls.html#id2606262">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#id2639195">690 “Perfect” Printers</a></dt><dt>Windows privilege model, <a class="indexterm" href="rights.html#id2601492">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#id2654284">Windows 9x/Me Profile Setup</a></dt><dd><dl><dt>default profile locations, <a class="indexterm" href="ProfileMgmt.html#id2656507">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2657069">MS Windows 200x/XP</a></dt><dt>profile path, <a class="indexterm" href="ProfileMgmt.html#id2654284">Windows 9x/Me Profile Setup</a></dt><dt>roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2654058">Disabling Roaming Profile Support</a></dt></dl></dd><dt>Windows Resource Kit, <a class="indexterm" href="ProfileMgmt.html#id2654058">Disabling Roaming Profile Support</a></dt><dt>Windows Security Identifiers (see SID)</dt><dt>Windows Terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></dt><dt>Windows Terminal Server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651190">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#id2593955">UNIX and Windows User Management</a></dt><dt>Windows workstation., <a class="indexterm" href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows XP Home, <a class="indexterm" href="passdb.html#id2581082">Important Notes About Security</a></dt><dt>Windows XP Home edition, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2557589">The Special Case of MS Windows XP Home Edition</a>, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows XP Home Edition, <a class="indexterm" href="ProfileMgmt.html#id2657069">MS Windows 200x/XP</a></dt><dt>Windows XP Professional, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="classicalprinting.html#id2615084">Features and Benefits</a></dt><dt>Windows XP Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a></dt><dt>Windows XP TCP/IP, <a class="indexterm" href="ClientConfig.html#id2568755">MS Windows XP Professional</a></dt><dt>Windows95/98/ME, <a class="indexterm" href="classicalprinting.html#id2622183">Check Samba for Driver Recognition</a></dt><dt>winnt.adm, <a class="indexterm" href="PolicyMgmt.html#id2652218">Windows NT4-Style Policy Files</a></dt><dt>WINS, <a class="indexterm" href="samba-pdc.html#id2554350">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2555604">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560464">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2564171">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#id2568755">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569398">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572606">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572789">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573226">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575354">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575955">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577867">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577954">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578573">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662425">WINS Lookup</a>, <a class="indexterm" href="DNSDHCP.html#id2686030">Example Configuration</a></dt><dt>wins, <a class="indexterm" href="integrate-ms-networks.html#id2661552">/etc/nsswitch.conf</a></dt><dt>WINS Configuration, <a class="indexterm" href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS lookup, <a class="indexterm" href="domain-member.html#id2564171">Joining an NT4-type Domain with Samba-3</a></dt><dt>WINS replication, <a class="indexterm" href="NetworkBrowsing.html#id2577228">WINS Replication</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt><dt>WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2572789">What Is Browsing?</a></dt><dt>WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575955">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577954">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS server address, <a class="indexterm" href="NetworkBrowsing.html#id2574421">How Browsing Functions</a></dt><dt>WINS server settings, <a class="indexterm" href="ClientConfig.html#id2569945">MS Windows Me</a></dt><dt>WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a></dt><dt>WINS service, <a class="indexterm" href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a></dt><dt>WINS Support, <a class="indexterm" href="NetworkBrowsing.html#id2572789">What Is Browsing?</a></dt><dt>wins.dat, <a class="indexterm" href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></dt><dt>without Administrator account, <a class="indexterm" href="rights.html#id2602911">The Administrator Domain SID</a></dt><dt>without ADS, <a class="indexterm" href="NT4Migration.html#id2672088">Objectives</a></dt><dt>work-flow protocol, <a class="indexterm" href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></dt><dt>workgroup, <a class="indexterm" href="ServerType.html#id2553330">Server Security (User Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2556109">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2557628">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575955">Making Samba the Domain Master</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2666903">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>membership, <a class="indexterm" href="samba-pdc.html#id2556109">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#id2604259">File and Directory Access Control</a></dt><dt>write, <a class="indexterm" href="AccessControls.html#id2604259">File and Directory Access Control</a></dt><dt>write access, <a class="indexterm" href="AccessControls.html#id2604671">Protecting Directories and Files from Deletion</a></dt><dt>Write caching, <a class="indexterm" href="locking.html#id2608947">Opportunistic Locking Overview</a></dt><dt>write changes, <a class="indexterm" href="idmapper.html#id2598792">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#id2628029">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#id2628029">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628207">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#id2645002">Shadow Copy Setup</a></dt><dt>xfsprogs, <a class="indexterm" href="VFS.html#id2645002">Shadow Copy Setup</a></dt><dt>xinetd, <a class="indexterm" href="SWAT.html#id2674220">Validate SWAT Installation</a>, <a class="indexterm" href="compiling.html#id2681501">Starting from inetd.conf</a> (see inetd)</dt><dt>XML, <a class="indexterm" href="ChangeNotes.html#id2572162">Passdb Changes</a></dt><dt>XML-based datasets, <a class="indexterm" href="CUPS-printing.html#id2639826">Foomatic Database-Generated PPDs</a></dt><dt>xpp, <a class="indexterm" href="CUPS-printing.html#id2639826">Foomatic Database-Generated PPDs</a></dt><dt>Xprint, <a class="indexterm" href="CUPS-printing.html#id2628029">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628207">UNIX Printfile Conversion and GUI Basics</a></dt><dt>xxxxBSD, <a class="indexterm" href="pam.html#id2658156">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>Y</h3><dl><dt>yppasswd, <a class="indexterm" href="passdb.html#id2583003">The smbpasswd Tool</a></dt></dl></div><div class="indexdiv"><h3>Z</h3><dl><dt>Zero Administration Kit, <a class="indexterm" href="PolicyMgmt.html#id2652218">Windows NT4-Style Policy Files</a></dt><dt>zero-based broadcast, <a class="indexterm" href="NetworkBrowsing.html#id2576195">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.2.x/docs/htmldocs/Samba3-HOWTO/largefile.html
r149 r204 1 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></code></p></div></div></div></div><div><p class="pubdate">March 5, 2005</p></div></div></div><p> 2 <a class="indexterm" name="id26663 51"></a>3 <a class="indexterm" name="id26663 58"></a>4 <a class="indexterm" name="id26663 66"></a>2 <a class="indexterm" name="id2666365"></a> 3 <a class="indexterm" name="id2666372"></a> 4 <a class="indexterm" name="id2666379"></a> 5 5 Samba-3.0.12 and later implements a solution for sites that have experienced performance degradation due to the 6 6 problem of using Samba-3 with applications that need large numbers of files (100,000 or more) per directory. 7 7 </p><p> 8 <a class="indexterm" name="id26663 80"></a>9 <a class="indexterm" name="id2666 387"></a>8 <a class="indexterm" name="id2666393"></a> 9 <a class="indexterm" name="id2666400"></a> 10 10 The key was fixing the directory handling to read only the current list requested instead of the old 11 11 (up to samba-3.0.11) behavior of reading the entire directory into memory before doling out names. … … 13 13 stealing logic from Samba4 (thanks, Tridge), the current code in 3.0.12 handles this correctly. 14 14 </p><p> 15 <a class="indexterm" name="id26664 04"></a>16 <a class="indexterm" name="id26664 11"></a>15 <a class="indexterm" name="id2666417"></a> 16 <a class="indexterm" name="id2666424"></a> 17 17 To set up an application that needs large numbers of files per directory in a way that does not 18 18 damage performance unduly, follow these steps: 19 19 </p><p> 20 <a class="indexterm" name="id26664 23"></a>20 <a class="indexterm" name="id2666437"></a> 21 21 First, you need to canonicalize all the files in the directory to have one case, upper or lower take your 22 22 pick (I chose upper because all my files were already uppercase names). Then set up a new custom share for the 23 23 application 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="id26664 51"></a><em class="parameter"><code>path = /data/manyfilesdir</code></em></td></tr><tr><td><a class="indexterm" name="id2666463"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2666475"></a><em class="parameter"><code>case sensitive = True</code></em></td></tr><tr><td><a class="indexterm" name="id2666486"></a><em class="parameter"><code>default case = upper</code></em></td></tr><tr><td><a class="indexterm" name="id2666498"></a><em class="parameter"><code>preserve case = no</code></em></td></tr><tr><td><a class="indexterm" name="id2666510"></a><em class="parameter"><code>short preserve case = no</code></em></td></tr></table><p>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="id2666465"></a><em class="parameter"><code>path = /data/manyfilesdir</code></em></td></tr><tr><td><a class="indexterm" name="id2666477"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2666488"></a><em class="parameter"><code>case sensitive = True</code></em></td></tr><tr><td><a class="indexterm" name="id2666500"></a><em class="parameter"><code>default case = upper</code></em></td></tr><tr><td><a class="indexterm" name="id2666512"></a><em class="parameter"><code>preserve case = no</code></em></td></tr><tr><td><a class="indexterm" name="id2666524"></a><em class="parameter"><code>short preserve case = no</code></em></td></tr></table><p> 25 25 </p><p> 26 <a class="indexterm" name="id2666525"></a>27 <a class="indexterm" name="id2666532"></a>28 26 <a class="indexterm" name="id2666539"></a> 27 <a class="indexterm" name="id2666546"></a> 28 <a class="indexterm" name="id2666553"></a> 29 29 Of course, use your own path and settings, but set the case options to match the case of all the files in your 30 30 directory. The path should point at the large directory needed for the application any new files created in … … 32 32 the directory for names: it knows that if a file does not exist in uppercase, then it doesn't exist at all. 33 33 </p><p> 34 <a class="indexterm" name="id2666559"></a>35 <a class="indexterm" name="id2666566"></a>36 34 <a class="indexterm" name="id2666573"></a> 35 <a class="indexterm" name="id2666579"></a> 36 <a class="indexterm" name="id2666586"></a> 37 37 The secret to this is really in the <a class="link" href="smb.conf.5.html#CASESENSITIVE">case sensitive = True</a> 38 38 line. This tells smbd never to scan for case-insensitive versions of names. So if an application asks for a file … … 42 42 <span class="application">smbd</span>. 43 43 </p><p> 44 <a class="indexterm" name="id2666619"></a>45 <a class="indexterm" name="id2666626"></a>46 44 <a class="indexterm" name="id2666633"></a> 45 <a class="indexterm" name="id2666640"></a> 46 <a class="indexterm" name="id2666647"></a> 47 47 Remember, all files and directories under the <em class="parameter"><code>path</code></em> directory must be in uppercase 48 48 with 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.2.x/docs/htmldocs/Samba3-HOWTO/locking.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:eric.roseme@hp.com">eric.roseme@hp.com</a>></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#id26085 79">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2608676">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2608934">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2609919">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610013">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610427">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610614">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610636">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610702">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2610727">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610795">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610825">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610850">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610881">Additional Reading</a></span></dt></dl></div><p>2 <a class="indexterm" name="id26085 68"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:eric.roseme@hp.com">eric.roseme@hp.com</a>></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#id2608592">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2608689">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2608947">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2609932">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610027">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610440">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610627">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610649">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610715">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2610741">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610808">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610838">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610863">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610895">Additional Reading</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2608582"></a> 3 3 One area that causes trouble for many network administrators is locking. 4 4 The 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="id26085 79"></a>Features and Benefits</h2></div></div></div><p>6 <a class="indexterm" name="id2608 587"></a>5 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2608592"></a>Features and Benefits</h2></div></div></div><p> 6 <a class="indexterm" name="id2608600"></a> 7 7 Samba provides all the same locking semantics that MS Windows clients expect 8 8 and that MS Windows NT4/200x servers also provide. 9 9 </p><p> 10 <a class="indexterm" name="id2608 599"></a>10 <a class="indexterm" name="id2608613"></a> 11 11 The term <span class="emphasis"><em>locking</em></span> has exceptionally broad meaning and covers 12 12 a range of functions that are all categorized under this one term. 13 13 </p><p> 14 <a class="indexterm" name="id26086 15"></a>15 <a class="indexterm" name="id26086 22"></a>16 <a class="indexterm" name="id26086 29"></a>14 <a class="indexterm" name="id2608628"></a> 15 <a class="indexterm" name="id2608635"></a> 16 <a class="indexterm" name="id2608642"></a> 17 17 Opportunistic locking is a desirable feature when it can enhance the 18 18 perceived performance of applications on a networked client. However, the … … 24 24 it is intended to provide. 25 25 </p><p> 26 <a class="indexterm" name="id26086 48"></a>26 <a class="indexterm" name="id2608661"></a> 27 27 The MS Windows network administrator needs to be aware that file and record 28 28 locking semantics (behavior) can be controlled either in Samba or by way of registry 29 29 settings on the MS Windows client. 30 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="id26086 64"></a>31 <a class="indexterm" name="id2608677"></a> 32 32 Sometimes it is necessary to disable locking control settings on the Samba 33 33 server 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="id26086 76"></a>Discussion</h2></div></div></div><p>35 <a class="indexterm" name="id26086 84"></a>36 <a class="indexterm" name="id2608 690"></a>34 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2608689"></a>Discussion</h2></div></div></div><p> 35 <a class="indexterm" name="id2608697"></a> 36 <a class="indexterm" name="id2608704"></a> 37 37 There are two types of locking that need to be performed by an SMB server. 38 38 The first is <span class="emphasis"><em>record locking</em></span> that allows a client to lock … … 40 40 that are specified when a file is open. 41 41 </p><p> 42 <a class="indexterm" name="id2608711"></a>43 <a class="indexterm" name="id2608718"></a>44 42 <a class="indexterm" name="id2608725"></a> 45 43 <a class="indexterm" name="id2608732"></a> 46 <a class="indexterm" name="id2608739"></a> 44 <a class="indexterm" name="id2608738"></a> 45 <a class="indexterm" name="id2608745"></a> 46 <a class="indexterm" name="id2608752"></a> 47 47 Record locking semantics under UNIX are very different from record locking under 48 48 Windows. Versions of Samba before 2.2 have tried to use the native fcntl() UNIX … … 54 54 many more differences, too many to be listed here. 55 55 </p><p> 56 <a class="indexterm" name="id26087 59"></a>57 <a class="indexterm" name="id26087 66"></a>56 <a class="indexterm" name="id2608772"></a> 57 <a class="indexterm" name="id2608779"></a> 58 58 Samba 2.2 and above implement record locking completely independently of the 59 59 underlying UNIX system. If a byte-range lock that the client requests happens … … 61 61 No other locks can be seen by UNIX, anyway. 62 62 </p><p> 63 <a class="indexterm" name="id26087 81"></a>64 <a class="indexterm" name="id2608 788"></a>63 <a class="indexterm" name="id2608794"></a> 64 <a class="indexterm" name="id2608801"></a> 65 65 Strictly speaking, an SMB server should check for locks before every read and write call on 66 66 a file. Unfortunately, with the way fcntl() works, this can be slow and may overstress … … 71 71 will make lock checking calls on <span class="emphasis"><em>every</em></span> read and write call. 72 72 </p><p> 73 <a class="indexterm" name="id26088 30"></a>73 <a class="indexterm" name="id2608843"></a> 74 74 You can also disable byte-range locking completely by using 75 75 <a class="link" href="smb.conf.5.html#LOCKING">locking = no</a>. … … 78 78 tell clients that everything is okay. 79 79 </p><p> 80 <a class="indexterm" name="id2608857"></a>81 <a class="indexterm" name="id2608863"></a>82 80 <a class="indexterm" name="id2608870"></a> 83 <a class="indexterm" name="id260887 7"></a>84 <a class="indexterm" name="id260888 4"></a>81 <a class="indexterm" name="id2608876"></a> 82 <a class="indexterm" name="id2608883"></a> 85 83 <a class="indexterm" name="id2608890"></a> 86 84 <a class="indexterm" name="id2608897"></a> 85 <a class="indexterm" name="id2608904"></a> 86 <a class="indexterm" name="id2608910"></a> 87 87 The second class of locking is the <span class="emphasis"><em>deny modes</em></span>. These 88 88 are set by an application when it opens a file to determine what types of … … 91 91 <code class="constant">DENY_WRITE</code>, or <code class="constant">DENY_ALL</code>. There are also special compatibility 92 92 modes 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="id26089 34"></a>Opportunistic Locking Overview</h3></div></div></div><p>94 <a class="indexterm" name="id26089 42"></a>95 <a class="indexterm" name="id26089 49"></a>96 <a class="indexterm" name="id26089 56"></a>93 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2608947"></a>Opportunistic Locking Overview</h3></div></div></div><p> 94 <a class="indexterm" name="id2608955"></a> 95 <a class="indexterm" name="id2608962"></a> 96 <a class="indexterm" name="id2608969"></a> 97 97 Opportunistic locking (oplocks) is invoked by the Windows file system 98 98 (as opposed to an API) via registry entries (on the server and the client) … … 101 101 locally on the client that allows the following: 102 102 </p><div class="variablelist"><dl><dt><span class="term">Read-ahead:</span></dt><dd><p> 103 <a class="indexterm" name="id26089 79"></a>103 <a class="indexterm" name="id2608992"></a> 104 104 The client reads the local copy of the file, eliminating network latency. 105 105 </p></dd><dt><span class="term">Write caching:</span></dt><dd><p> 106 <a class="indexterm" name="id260 8998"></a>106 <a class="indexterm" name="id2609011"></a> 107 107 The client writes to the local copy of the file, eliminating network latency. 108 108 </p></dd><dt><span class="term">Lock caching:</span></dt><dd><p> 109 <a class="indexterm" name="id26090 16"></a>109 <a class="indexterm" name="id2609029"></a> 110 110 The client caches application locks locally, eliminating network latency. 111 111 </p></dd></dl></div><p> 112 <a class="indexterm" name="id26090 30"></a>113 <a class="indexterm" name="id26090 37"></a>114 <a class="indexterm" name="id26090 44"></a>112 <a class="indexterm" name="id2609043"></a> 113 <a class="indexterm" name="id2609050"></a> 114 <a class="indexterm" name="id2609057"></a> 115 115 The performance enhancement of oplocks is due to the opportunity of 116 116 exclusive access to the file even if it is opened with deny-none … … 118 118 other processes. 119 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="id2609075"></a>121 <a class="indexterm" name="id2609081"></a>122 120 <a class="indexterm" name="id2609088"></a> 123 <a class="indexterm" name="id2609095"></a> 121 <a class="indexterm" name="id2609094"></a> 122 <a class="indexterm" name="id2609101"></a> 123 <a class="indexterm" name="id2609108"></a> 124 124 The redirector sees that the file was opened with deny 125 125 none (allowing concurrent access), verifies that no … … 129 129 operations on the cached local file. 130 130 </p><p> 131 <a class="indexterm" name="id2609111"></a>132 <a class="indexterm" name="id2609118"></a>133 131 <a class="indexterm" name="id2609124"></a> 134 132 <a class="indexterm" name="id2609131"></a> 133 <a class="indexterm" name="id2609138"></a> 134 <a class="indexterm" name="id2609145"></a> 135 135 If a second process attempts to open the file, the open 136 136 is deferred while the redirector "breaks" the original … … 146 146 the oplock break. 147 147 </p></dd><dt><span class="term">Level2 Oplock</span></dt><dd><p> 148 <a class="indexterm" name="id26091 70"></a>149 <a class="indexterm" name="id26091 77"></a>150 <a class="indexterm" name="id26091 84"></a>148 <a class="indexterm" name="id2609183"></a> 149 <a class="indexterm" name="id2609190"></a> 150 <a class="indexterm" name="id2609197"></a> 151 151 Performs like a Level1 oplock, except caching is only 152 152 operative for reads. All other operations are performed 153 153 on the server disk copy of the file. 154 154 </p></dd><dt><span class="term">Filter Oplock</span></dt><dd><p> 155 <a class="indexterm" name="id26092 04"></a>155 <a class="indexterm" name="id2609218"></a> 156 156 Does not allow write or delete file access. 157 157 </p></dd><dt><span class="term">Batch Oplock</span></dt><dd><p> 158 <a class="indexterm" name="id26092 22"></a>158 <a class="indexterm" name="id2609236"></a> 159 159 Manipulates file openings and closings and allows caching 160 160 of file attributes. 161 161 </p></dd></dl></div><p> 162 <a class="indexterm" name="id26092 37"></a>162 <a class="indexterm" name="id2609250"></a> 163 163 An important detail is that oplocks are invoked by the file system, not 164 164 an application API. Therefore, an application can close an oplocked … … 167 167 preparation for the subsequent open by the second process. 168 168 </p><p> 169 <a class="indexterm" name="id26092 52"></a>170 <a class="indexterm" name="id26092 60"></a>171 <a class="indexterm" name="id26092 67"></a>172 <a class="indexterm" name="id26092 74"></a>169 <a class="indexterm" name="id2609266"></a> 170 <a class="indexterm" name="id2609273"></a> 171 <a class="indexterm" name="id2609280"></a> 172 <a class="indexterm" name="id2609287"></a> 173 173 <span class="emphasis"><em>Opportunistic locking</em></span> is actually an improper name for this feature. 174 174 The true benefit of this feature is client-side data caching, and … … 180 180 client-side caching benefit is negated. 181 181 </p><p> 182 <a class="indexterm" name="id2609 296"></a>182 <a class="indexterm" name="id2609309"></a> 183 183 The actual decision that a user or administrator should consider is 184 184 whether it is sensible to share among multiple users data that will … … 190 190 unreliable, or counterproductive. 191 191 </p><p> 192 <a class="indexterm" name="id26093 21"></a>192 <a class="indexterm" name="id2609334"></a> 193 193 Oplocks is by default set to “<span class="quote">on</span>” by Samba on all 194 194 configured shares, so careful attention should be given to each case to … … 197 197 where oplocks may be effectively configured. 198 198 </p><p> 199 <a class="indexterm" name="id26093 39"></a>200 <a class="indexterm" name="id26093 46"></a>199 <a class="indexterm" name="id2609352"></a> 200 <a class="indexterm" name="id2609359"></a> 201 201 Windows oplocks is a lightweight performance-enhancing 202 202 feature. It is not a robust and reliable protocol. Every … … 209 209 storm. This configuration will likely encounter problems with oplocks. 210 210 </p><p> 211 <a class="indexterm" name="id26093 66"></a>211 <a class="indexterm" name="id2609379"></a> 212 212 Oplocks can be beneficial to perceived client performance when treated 213 213 as a configuration toggle for client-side data caching. If the data … … 223 223 continuous data availability. 224 224 </p><p> 225 <a class="indexterm" name="id2609 388"></a>226 <a class="indexterm" name="id2609 395"></a>225 <a class="indexterm" name="id2609401"></a> 226 <a class="indexterm" name="id2609408"></a> 227 227 Windows client failover behavior is more at risk of application 228 228 interruption than other platforms because it is dependent upon an … … 234 234 require restarting. 235 235 </p><p> 236 <a class="indexterm" name="id26094 22"></a>237 <a class="indexterm" name="id26094 29"></a>238 <a class="indexterm" name="id26094 35"></a>236 <a class="indexterm" name="id2609436"></a> 237 <a class="indexterm" name="id2609442"></a> 238 <a class="indexterm" name="id2609449"></a> 239 239 If a client session has been caching writes and reads locally due to 240 240 oplocks, it is likely that the data will be lost when the … … 251 251 testing should be done with all affected applications with oplocks 252 252 enabled and disabled. 253 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26094 60"></a>Exclusively Accessed Shares</h4></div></div></div><p>253 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2609473"></a>Exclusively Accessed Shares</h4></div></div></div><p> 254 254 Oplocks is most effective when it is confined to shares 255 255 that are exclusively accessed by a single user, or by only one user at … … 260 260 Home directories are the most obvious examples of where the performance 261 261 benefit of oplocks can be safely realized. 262 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26094 80"></a>Multiple-Accessed Shares or Files</h4></div></div></div><p>262 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2609493"></a>Multiple-Accessed Shares or Files</h4></div></div></div><p> 263 263 As each additional user accesses a file in a share with oplocks 264 264 enabled, the potential for delays and resulting perceived poor … … 272 272 the potential performance improvement is negated and eventually results 273 273 in a performance bottleneck. 274 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26095 04"></a>UNIX or NFS Client-Accessed Files</h4></div></div></div><p>275 <a class="indexterm" name="id26095 12"></a>276 <a class="indexterm" name="id26095 19"></a>274 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2609517"></a>UNIX or NFS Client-Accessed Files</h4></div></div></div><p> 275 <a class="indexterm" name="id2609525"></a> 276 <a class="indexterm" name="id2609532"></a> 277 277 Local UNIX and NFS clients access files without a mandatory 278 278 file-locking mechanism. Thus, these client platforms are incapable of … … 284 284 If files are shared between Windows clients and either local UNIX 285 285 or NFS users, turn oplocks off. 286 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2609540"></a>Slow and/or Unreliable Networks</h4></div></div></div><p> 287 <a class="indexterm" name="id2609548"></a> 288 <a class="indexterm" name="id2609555"></a> 286 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2609553"></a>Slow and/or Unreliable Networks</h4></div></div></div><p> 289 287 <a class="indexterm" name="id2609561"></a> 288 <a class="indexterm" name="id2609568"></a> 289 <a class="indexterm" name="id2609574"></a> 290 290 The biggest potential performance improvement for oplocks 291 291 occurs when the client-side caching of reads and writes delivers the … … 302 302 oplocks if there is any chance of multiple users 303 303 regularly opening the same file. 304 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2609 587"></a>Multiuser Databases</h4></div></div></div><p>305 <a class="indexterm" name="id2609 595"></a>306 <a class="indexterm" name="id26096 02"></a>307 <a class="indexterm" name="id26096 09"></a>304 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2609600"></a>Multiuser Databases</h4></div></div></div><p> 305 <a class="indexterm" name="id2609608"></a> 306 <a class="indexterm" name="id2609615"></a> 307 <a class="indexterm" name="id2609622"></a> 308 308 Multiuser databases clearly pose a risk due to their very nature they are typically heavily 309 309 accessed by numerous users at random intervals. Placing a multiuser database on a share with oplocks enabled 310 310 will likely result in a locking management bottleneck on the Samba server. Whether the database application is 311 311 developed 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="id2609628"></a>PDM Data Shares</h4></div></div></div><p> 313 <a class="indexterm" name="id2609636"></a> 314 <a class="indexterm" name="id2609642"></a> 312 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2609642"></a>PDM Data Shares</h4></div></div></div><p> 315 313 <a class="indexterm" name="id2609649"></a> 316 <a class="indexterm" name="id2609656"></a> 317 <a class="indexterm" name="id2609663"></a> 314 <a class="indexterm" name="id2609655"></a> 315 <a class="indexterm" name="id2609662"></a> 316 <a class="indexterm" name="id2609669"></a> 317 <a class="indexterm" name="id2609676"></a> 318 318 Process data management (PDM) applications such as IMAN, Enovia, and Clearcase are increasing in usage with 319 319 Windows client platforms and therefore with SMB datastores. PDM applications manage multiuser environments for … … 323 323 application and PDM server to negotiate and maintain. It is appropriate to eliminate the client OS from any 324 324 caching 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="id26096 85"></a>Beware of Force User</h4></div></div></div><p>326 <a class="indexterm" name="id2609 693"></a>325 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2609698"></a>Beware of Force User</h4></div></div></div><p> 326 <a class="indexterm" name="id2609706"></a> 327 327 Samba includes an <code class="filename">smb.conf</code> parameter called <a class="link" href="smb.conf.5.html#FORCEUSER">force user</a> that changes the user 328 328 accessing a share from the incoming user to whatever user is defined by the <code class="filename">smb.conf</code> variable. If oplocks is … … 339 339 </p></li><li><p> 340 340 Oplocks enabled. 341 </p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26097 73"></a>Advanced Samba Oplocks Parameters</h4></div></div></div><p>342 <a class="indexterm" name="id26097 81"></a>343 <a class="indexterm" name="id2609 788"></a>344 <a class="indexterm" name="id2609 795"></a>341 </p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2609786"></a>Advanced Samba Oplocks Parameters</h4></div></div></div><p> 342 <a class="indexterm" name="id2609794"></a> 343 <a class="indexterm" name="id2609801"></a> 344 <a class="indexterm" name="id2609808"></a> 345 345 Samba provides oplock parameters that allow the 346 346 administrator to adjust various properties of the oplock mechanism to … … 351 351 <a class="link" href="smb.conf.5.html#OPLOCKCONTENTIONLIMIT">oplock contention limit</a>. 352 352 </p><p> 353 <a class="indexterm" name="id26098 35"></a>353 <a class="indexterm" name="id2609848"></a> 354 354 For most users, administrators, and environments, if these parameters 355 355 are required, then the better option is simply to turn oplocks off. … … 357 357 this parameter unless you have read and understood the Samba oplock code.</span>” 358 358 This is good advice. 359 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26098 52"></a>Mission-Critical, High-Availability</h4></div></div></div><p>359 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2609865"></a>Mission-Critical, High-Availability</h4></div></div></div><p> 360 360 In mission-critical, high-availability environments, data integrity is 361 361 often a priority. Complex and expensive configurations are implemented … … 387 387 testing should be done with all affected applications with oplocks 388 388 enabled 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="id26099 19"></a>Samba Oplocks Control</h2></div></div></div><p>389 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609932"></a>Samba Oplocks Control</h2></div></div></div><p> 390 390 Oplocks is a unique Windows file locking feature. It is 391 391 not really file locking, but is included in most discussions of Windows … … 437 437 Another factor to consider is the perceived performance of file access. If oplocks provide no 438 438 measurable 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="id26100 13"></a>Example Configuration</h3></div></div></div><p>439 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2610027"></a>Example Configuration</h3></div></div></div><p> 440 440 In 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="id26100 24"></a>Disabling Oplocks</h4></div></div></div><p>441 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2610037"></a>Disabling Oplocks</h4></div></div></div><p> 442 442 You can disable oplocks on a per-share basis with the following: 443 443 </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="id26100 51"></a><em class="parameter"><code>oplocks = False</code></em></td></tr><tr><td><a class="indexterm" name="id2610062"></a><em class="parameter"><code>level2 oplocks = False</code></em></td></tr></table><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="id2610064"></a><em class="parameter"><code>oplocks = False</code></em></td></tr><tr><td><a class="indexterm" name="id2610076"></a><em class="parameter"><code>level2 oplocks = False</code></em></td></tr></table><p> 445 445 </p><p> 446 446 The default oplock type is Level1. Level2 oplocks are enabled on a per-share basis … … 449 449 Alternately, you could disable oplocks on a per-file basis within the share: 450 450 </p><p> 451 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2610 098"></a><em class="parameter"><code>veto oplock files = /*.mdb/*.MDB/*.dbf/*.DBF/</code></em></td></tr></table><p>451 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2610112"></a><em class="parameter"><code>veto oplock files = /*.mdb/*.MDB/*.dbf/*.DBF/</code></em></td></tr></table><p> 452 452 </p><p> 453 453 If you are experiencing problems with oplocks, as apparent from Samba's log entries, 454 454 you 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="id26101 19"></a>Disabling Kernel Oplocks</h4></div></div></div><p>455 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2610132"></a>Disabling Kernel Oplocks</h4></div></div></div><p> 456 456 Kernel oplocks is an <code class="filename">smb.conf</code> parameter that notifies Samba (if 457 457 the UNIX kernel has the capability to send a Windows client an oplock … … 466 466 basis in the <code class="filename">smb.conf</code> file. 467 467 </p><p> 468 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26101 59"></a><em class="parameter"><code>kernel oplocks = yes</code></em></td></tr></table><p>468 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2610172"></a><em class="parameter"><code>kernel oplocks = yes</code></em></td></tr></table><p> 469 469 The default is no. 470 470 </p><p> … … 481 481 <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">“Share with Some Files Oplocked”</a>. 482 482 </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="id26102 35"></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="id2610256"></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 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="id2610248"></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="id2610270"></a><em class="parameter"><code>veto oplock files = /*.exe/filename.ext/</code></em></td></tr></table></div></div><p><br class="example-break"> 484 484 </p><p> 485 485 <a class="link" href="smb.conf.5.html#OPLOCKBREAKWAITTIME">oplock break wait time</a> is an <code class="filename">smb.conf</code> parameter … … 488 488 Oplock break wait time can only be configured globally in the <code class="filename">smb.conf</code> file as shown: 489 489 </p><p> 490 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26103 14"></a><em class="parameter"><code>oplock break wait time = 0 (default)</code></em></td></tr></table><p>490 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2610327"></a><em class="parameter"><code>oplock break wait time = 0 (default)</code></em></td></tr></table><p> 491 491 </p><p> 492 492 <span class="emphasis"><em>Oplock break contention limit</em></span> is an <code class="filename">smb.conf</code> parameter that limits the … … 497 497 the 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">“Configuration with Oplock Break Contention Limit”</a>. 498 498 </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="id2610 388"></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="id2610409"></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="id26104 27"></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 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="id2610401"></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="id2610422"></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="id2610440"></a>MS Windows Oplocks and Caching Controls</h2></div></div></div><p> 501 501 There is a known issue when running applications (like Norton Antivirus) on a Windows 2000/ XP 502 502 workstation computer that can affect any application attempting to access shared database files … … 513 513 have oplocks disabled in order to minimize the risk of data file corruption. 514 514 This includes Windows 9x/Me, Windows NT, Windows 200x, and Windows XP. 515 <sup>[<a name="id26104 59" href="#ftn.id2610459" class="footnote">5</a>]</sup>515 <sup>[<a name="id2610472" href="#ftn.id2610472" class="footnote">5</a>]</sup> 516 516 </p><p> 517 517 If you are using a Windows NT family workstation in place of a server, you must also … … 591 591 writes or locks at this point, they need not respond to the break-to-none advisory; 592 592 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="id26106 14"></a>Workstation Service Entries</h3></div></div></div><pre class="programlisting">593 </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2610627"></a>Workstation Service Entries</h3></div></div></div><pre class="programlisting"> 594 594 \HKEY_LOCAL_MACHINE\System\ 595 595 CurrentControlSet\Services\LanmanWorkstation\Parameters … … 600 600 This indicates whether the redirector should use oplocks performance 601 601 enhancement. 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="id26106 36"></a>Server Service Entries</h3></div></div></div><pre class="programlisting">602 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2610649"></a>Server Service Entries</h3></div></div></div><pre class="programlisting"> 603 603 \HKEY_LOCAL_MACHINE\System\ 604 604 CurrentControlSet\Services\LanmanServer\Parameters … … 629 629 request. Smaller values can allow detection of crashed clients more quickly but can 630 630 potentially 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="id26107 02"></a>Persistent Data Corruption</h2></div></div></div><p>631 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2610715"></a>Persistent Data Corruption</h2></div></div></div><p> 632 632 If you have applied all of the settings discussed in this chapter but data corruption problems 633 633 and other symptoms persist, here are some additional things to check out. … … 640 640 to the new one. There are several known methods for doing this that can be found in 641 641 our knowledge base. 642 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26107 27"></a>Common Errors</h2></div></div></div><p>642 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2610741"></a>Common Errors</h2></div></div></div><p> 643 643 In some sites locking problems surface as soon as a server is installed; in other sites 644 644 locking problems may not surface for a long time. Almost without exception, when a locking … … 670 670 Make sure that you give as much information as you possibly can to help isolate the 671 671 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="id2610 795"></a>locking.tdb Error Messages</h3></div></div></div><p>672 </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2610808"></a>locking.tdb Error Messages</h3></div></div></div><p> 673 673 “<span class="quote"> 674 674 We are seeing lots of errors in the Samba logs, like: … … 684 684 </p><p> 685 685 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="id26108 25"></a>Problems Saving Files in MS Office on Windows XP</h3></div></div></div><a class="indexterm" name="id2610832"></a><p>This is a bug in Windows XP. More information can be686 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2610838"></a>Problems Saving Files in MS Office on Windows XP</h3></div></div></div><a class="indexterm" name="id2610845"></a><p>This is a bug in Windows XP. More information can be 687 687 found in <a class="ulink" href="http://support.microsoft.com/?id=812937" target="_top">Microsoft Knowledge Base article 812937</a></p>. 688 688 689 </div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26108 50"></a>Long Delays Deleting Files over Network with XP SP1</h3></div></div></div><p>“<span class="quote">It sometimes takes approximately 35 seconds to delete files over the network after XP SP1 has been applied.</span>”</p><a class="indexterm" name="id2610862"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2610863"></a>Long Delays Deleting Files over Network with XP SP1</h3></div></div></div><p>“<span class="quote">It sometimes takes approximately 35 seconds to delete files over the network after XP SP1 has been applied.</span>”</p><a class="indexterm" name="id2610875"></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"> 690 690 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="id26108 81"></a>Additional Reading</h2></div></div></div><p>691 </div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2610895"></a>Additional Reading</h2></div></div></div><p> 692 692 You may want to check for an updated documentation regarding file and record locking issues on the Microsoft 693 693 <a class="ulink" href="http://support.microsoft.com/" target="_top">Support</a> web site. Additionally, search for the word … … 696 696 Section of the Microsoft MSDN Library on opportunistic locking: 697 697 </p><p> 698 <a class="indexterm" name="id26109 18"></a>698 <a class="indexterm" name="id2610932"></a> 699 699 Microsoft Knowledge Base, “<span class="quote">Maintaining Transactional Integrity with OPLOCKS</span>”, 700 700 Microsoft Corporation, April 1999, <a class="ulink" href="http://support.microsoft.com/?id=224992" target="_top">Microsoft 701 701 KB Article 224992</a>. 702 702 </p><p> 703 <a class="indexterm" name="id26109 42"></a>703 <a class="indexterm" name="id2610956"></a> 704 704 Microsoft Knowledge Base, “<span class="quote">Configuring Opportunistic Locking in Windows 2000</span>”, 705 705 Microsoft Corporation, April 2001 <a class="ulink" href="http://support.microsoft.com/?id=296264" target="_top">Microsoft KB Article 296264</a>. 706 706 </p><p> 707 <a class="indexterm" name="id26109 66"></a>707 <a class="indexterm" name="id2610980"></a> 708 708 Microsoft Knowledge Base, “<span class="quote">PC Ext: Explanation of Opportunistic Locking on Windows NT</span>”, 709 709 Microsoft Corporation, April 1995 <a class="ulink" href="http://support.microsoft.com/?id=129202" target="_top">Microsoft 710 710 KB Article 129202</a>. 711 </p></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id26104 59" href="#id2610459" 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.id2610472" href="#id2610472" 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.2.x/docs/htmldocs/Samba3-HOWTO/migration.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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#id2669 196">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669224">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#id2669274">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2669425">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669434">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2670644">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#id2672040">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2672074">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673019">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2673254">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2673340">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673574">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#id2674063">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2674187">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2674206">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#id2674844">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2674996">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2675194">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2675207">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675268">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675369">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675425">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675481">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675545">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675589">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675608">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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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#id2669210">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669238">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#id2669288">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2669439">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669448">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2670658">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#id2672054">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2672088">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673033">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2673268">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2673354">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673587">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#id2674077">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2674201">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2674220">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#id2674858">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675010">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2675207">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2675221">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675281">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675383">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675439">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675495">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675558">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675602">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675622">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.2.x/docs/htmldocs/Samba3-HOWTO/msdfs.html
r149 r204 1 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Kalele</span></h3><div class="affiliation"><span class="orgname">Samba Team & Veritas Software<br></span><div class="address"><p><br> 2 2 <code class="email"><<a class="email" href="mailto:samba@samba.org">samba@samba.org</a>></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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id26144 27">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2614839">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2614872">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="id2614427"></a>Features and Benefits</h2></div></div></div><p>4 <a class="indexterm" name="id26144 35"></a>5 <a class="indexterm" name="id26144 45"></a>6 <a class="indexterm" name="id26144 52"></a>7 <a class="indexterm" name="id26144 59"></a>8 <a class="indexterm" name="id26144 66"></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2614440">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2614852">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2614885">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="id2614440"></a>Features and Benefits</h2></div></div></div><p> 4 <a class="indexterm" name="id2614448"></a> 5 <a class="indexterm" name="id2614458"></a> 6 <a class="indexterm" name="id2614465"></a> 7 <a class="indexterm" name="id2614472"></a> 8 <a class="indexterm" name="id2614479"></a> 9 9 The distributed file system (DFS) provides a means of separating the logical 10 10 view of files and directories that users see from the actual physical locations … … 12 12 storage expansion, load balancing, and so on. 13 13 </p><p> 14 <a class="indexterm" name="id2614481"></a>15 <a class="indexterm" name="id2614487"></a>16 14 <a class="indexterm" name="id2614494"></a> 15 <a class="indexterm" name="id2614500"></a> 16 <a class="indexterm" name="id2614507"></a> 17 17 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 18 18 documentation</a>. This document explains how to host a DFS tree on a UNIX machine (for DFS-aware clients 19 19 to browse) using Samba. 20 20 </p><p> 21 <a class="indexterm" name="id26145 14"></a>22 <a class="indexterm" name="id26145 21"></a>23 <a class="indexterm" name="id26145 28"></a>24 <a class="indexterm" name="id26145 35"></a>21 <a class="indexterm" name="id2614527"></a> 22 <a class="indexterm" name="id2614534"></a> 23 <a class="indexterm" name="id2614541"></a> 24 <a class="indexterm" name="id2614548"></a> 25 25 A Samba server can be made a DFS server by setting the global Boolean <a class="link" href="smb.conf.5.html#HOSTMSDFS">host msdfs</a> 26 26 parameter in the <code class="filename">smb.conf</code> file. You designate a share as a DFS root using the share-level Boolean … … 31 31 case, <em class="parameter"><code>\\storage1\share1</code></em>). 32 32 </p><p> 33 <a class="indexterm" name="id2614596"></a>34 <a class="indexterm" name="id2614603"></a>35 33 <a class="indexterm" name="id2614610"></a> 36 <a class="indexterm" name="id2614617"></a> 34 <a class="indexterm" name="id2614616"></a> 35 <a class="indexterm" name="id2614623"></a> 36 <a class="indexterm" name="id2614630"></a> 37 37 DFS trees on Samba work with all DFS-aware clients ranging from Windows 95 to 200x. 38 38 <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. … … 46 46 <code class="prompt">root# </code><strong class="userinput"><code>ln -s msdfs:serverB\\share,serverC\\share linkb</code></strong> 47 47 </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="id2614726"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2614738"></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="id2614758"></a><em class="parameter"><code>path = /export/dfsroot</code></em></td></tr><tr><td><a class="indexterm" name="id2614770"></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="id2614785"></a> 50 <a class="indexterm" name="id2614792"></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 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="id2614739"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2614751"></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="id2614772"></a><em class="parameter"><code>path = /export/dfsroot</code></em></td></tr><tr><td><a class="indexterm" name="id2614783"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table></div></div><br class="example-break"><p> 51 49 <a class="indexterm" name="id2614798"></a> 50 <a class="indexterm" name="id2614805"></a> 51 <a class="indexterm" name="id2614812"></a> 52 52 You should set up the permissions and ownership of the directory acting as the DFS root so that only 53 53 designated users can create, delete, or modify the msdfs links. Also note that symlink names should be all … … 55 55 name. Finally, set up the symbolic links to point to the network shares you want and start Samba. 56 56 </p><p> 57 <a class="indexterm" name="id26148 16"></a>58 <a class="indexterm" name="id26148 23"></a>57 <a class="indexterm" name="id2614829"></a> 58 <a class="indexterm" name="id2614836"></a> 59 59 Users on DFS-aware clients can now browse the DFS tree on the Samba server at 60 60 <code class="constant">\\samba\dfs</code>. Accessing links linka or linkb (which appear as directories to the client) 61 61 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="id26148 39"></a>Common Errors</h2></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>Windows clients need to be rebooted62 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2614852"></a>Common Errors</h2></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>Windows clients need to be rebooted 63 63 if a previously mounted non-DFS share is made a DFS 64 64 root, or vice versa. A better way is to introduce a … … 67 67 acting as the root of the DFS tree should have ownership 68 68 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="id26148 72"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2614885"></a>MSDFS UNIX Path Is Case-Critical</h3></div></div></div><p> 70 70 A network administrator sent advice to the Samba mailing list 71 71 after long sessions trying to determine why DFS was not working. … … 79 79 </span>”</p><p> 80 80 “<span class="quote">For example, I had a share defined as such:</span>” 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="id26149 13"></a><em class="parameter"><code>path = /export/home/Shares/public_share</code></em></td></tr><tr><td><a class="indexterm" name="id2614925"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table><p>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="id2614926"></a><em class="parameter"><code>path = /export/home/Shares/public_share</code></em></td></tr><tr><td><a class="indexterm" name="id2614938"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table><p> 82 82 “<span class="quote">and I could not make my Windows 9x/Me (with the dfs client installed) follow this symlink:</span>” 83 83 </p><pre class="screen"> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/optional.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id25715 56"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id2571569"></a>Valuable Nuts and Bolts Information</h1></div></div></div><p> 2 2 Samba has several features that you might want or might not want to use. 3 3 The 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#id25716 46">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2571658">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2571717">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572028">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572149">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572209">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572329">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#id2572592">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2572776">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#id2573212">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2573848">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#id2574407">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#id2575341">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#id2575942">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576182">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576203">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576389">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576529">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2576622">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576894">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577215">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577268">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577499">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577510">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577651">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577854">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577941">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578138">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578389">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579402">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579429">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579502">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579550">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579597">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579797">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#id2580281">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2580317">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2580501">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#id2581069">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2581588">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#id2582137">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2582549">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#id2582990">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#id2585526">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2585579">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585921">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2586079">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2588612">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588618">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588656">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#id2588907">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2589322">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2589658">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2589715">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590298">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590539">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591162">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591239">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591250">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591422">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591549">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591562">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591649">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#id2592044">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592338">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592419">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2592578">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#id2593942">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#id2594153">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594202">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594270">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2594353">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2594698">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2594714">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595082">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2595316">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2595544">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2595590">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595778">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595808">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596431">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2596687">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596707">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596772">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596888">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596906">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2596949">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596985">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#id2597496">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2597522">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2597584">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598545">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598779">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2598850">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2598914">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2599635">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600226">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600811">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#id2601479">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2601754">Using the “<span class="quote">net rpc rights</span>” Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602099">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2602897">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2603074">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2603080">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#id2603577">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2603772">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2603787">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604123">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604246">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2604911">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2604944">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605311">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605647">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2605984">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606132">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2606479">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606485">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606532">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606602">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606746">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606961">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607118">Interaction with the Standard Samba “<span class="quote">create mask</span>” Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607487">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607560">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2607972">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2607984">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2608306">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#id2608352">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#id2608579">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2608676">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2608934">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2609919">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610013">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610427">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610614">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610636">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610702">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2610727">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610795">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610825">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610850">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610881">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#id2611056">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611155">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611301">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2611317">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611471">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611530">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#id2611881">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612025">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2612080">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2612124">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2612139">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612168">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#id2612728">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2612800">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613078">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613114">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613211">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613296">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613505">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#id2613845">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614041">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614191">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614203">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614249">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#id2614427">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2614839">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2614872">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#id2615070">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2615294">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615445">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2615504">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2615605">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615888">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2616085">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2616484">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2616940">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#id2619653">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619823">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619944">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620161">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620481">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2620624">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2620717">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#id2622652">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622669">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#id2623246">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623365">Always Make First Client Connection as root or “<span class="quote">printer admin</span>”</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623538">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623558">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623925">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624182">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624441">Error Message: “<span class="quote">Cannot connect under a different Name</span>”</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624555">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624864">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624974">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625011">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625068">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625102">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625118">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625135">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625268">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625539">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625578">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625727">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625756">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625762">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625803">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#id2625945">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2625951">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626011">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2626130">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2626245">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626492">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626737">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627113">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2627130">Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627181">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627416">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable “<span class="quote">raw</span>” Printing for <span class="emphasis"><em>application/octet-stream</em></span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627703">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627824">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#id2628016">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628194">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#id2628553">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628706">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628790">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628909">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2628949">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2629184">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629612">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629820">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629977">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630164">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630332">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630602">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630686">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630906">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631245">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631480">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631493"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631562">“<span class="quote">Raw</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631670">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631949">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632232"><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#id2632569">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632997">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633120">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633215">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633231">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633294">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633365">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633470">Network Printing (Windows Clients and UNIX/Samba Print5 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633 488">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633679">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633759">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633848">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633893">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633961">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633975">Printer Drivers Running in “<span class="quote">Kernel Mode</span>” Cause Many6 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id26340 14">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634032">CUPS: A “<span class="quote">Magical Stone</span>”?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634075">PostScript Drivers with No Major Problems, Even in Kernel7 Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id26341 62">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634184"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634282">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#id2634563">CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634802">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634920">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634946">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635008">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635308">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635526">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635666">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635858">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636002">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636124">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636205">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636286">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#id2636521">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636695">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636866">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636971">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637104">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637328">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638287">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638430">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2638633">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638700">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638766">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638817">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638937">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639112">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639939">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640411">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640447">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640501">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640542">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640682">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640826">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640892">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640932">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640946">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641163">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641239">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641324">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641463">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2641511">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641806">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641918">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641924">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">cupsaddsmb</span>” Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642000">“<span class="quote">cupsaddsmb</span>” or “<span class="quote">rpcclient addriver</span>” Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642038">“<span class="quote">cupsaddsmb</span>” Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642112">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642137">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642228">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642279">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642317">Can't Use “<span class="quote">cupsaddsmb</span>” on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642352">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642387">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642420">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642461">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642487">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642533">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#id2642816">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642872"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642921">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#id2643020">Print Queue Called “<span class="quote">lp</span>” Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643089">Location of Adobe PostScript Driver Files for “<span class="quote">cupsaddsmb</span>”</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2643142">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#id2643329">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643368">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643763">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2643769">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2643810">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644027">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#id2644354">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644750">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644801">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2645707">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2645732">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645792">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645831">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#id2646095">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646438">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646528">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646681">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646726">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2646852">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646902">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646989">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647036">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647268">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647424">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647499">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2647556">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2647562">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647677">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647829">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2650287">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2650336">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2650378">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2650414">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#id2650603">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650630">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650773">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2650801">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651176">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2651362">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651587">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651630">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#id2651772">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2651878">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2652067">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652204">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652426">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2652874">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653101">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653114">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653196">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653236">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2653301">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653459">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653470">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#id2653555">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2653605">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2653659">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2654264">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655608">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655642">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655741">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2656092">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656232">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656311">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2656341">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2656493">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657055">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2657560">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2657571">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657632">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657804">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657967">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#id2658143">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2658773">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2658827">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2659825">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660131"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660211">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2660315">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2660708">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2660719">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660817">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#id2661040">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661060">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661189">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661262"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661451"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661487"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661538"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661662">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662096">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662183">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662356">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662384">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662411">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2662549">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662562">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662593">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662635">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#id2662840">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2662892">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663025">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663162">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663193">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2663332">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2663985">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2664108">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2664255">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2664260">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#id2664368">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2664412">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2664509">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664681">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664850">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664899">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#id2664995">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2665115">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2665149">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2665279">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2665992">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666073">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666213">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666250">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#id2666881">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2666890">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2667287">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2668301">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#id2571660">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2571671">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2571731">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572042">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572162">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572222">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572343">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#id2572606">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2572789">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#id2573226">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2573862">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#id2574421">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#id2575354">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#id2575955">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576195">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576217">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576403">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576543">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2576636">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576907">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577228">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577281">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577512">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577523">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577664">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577867">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577954">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578151">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578402">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579416">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579442">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579515">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579563">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579610">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579810">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#id2580294">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2580330">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2580514">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#id2581082">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2581602">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#id2582150">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2582562">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#id2583003">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#id2585539">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2585593">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585935">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2586092">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2588626">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588632">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588669">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#id2588920">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2589335">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2589671">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2589729">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590312">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590552">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591175">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591252">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591264">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591436">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591563">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591576">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591663">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#id2592057">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592351">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592433">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2592592">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#id2593955">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#id2594167">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594215">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594284">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2594367">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2594712">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2594727">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595096">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2595330">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2595558">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2595603">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595792">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595822">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596445">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2596701">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596720">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596786">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596902">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596919">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2596963">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596998">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#id2597510">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2597535">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2597597">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598558">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598792">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2598864">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2598927">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2599649">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600239">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600824">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#id2601492">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2601767">Using the “<span class="quote">net rpc rights</span>” Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602113">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2602911">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2603088">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2603093">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#id2603591">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2603786">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2603801">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604136">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604259">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2604925">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2604958">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605324">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605660">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2605997">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606146">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2606492">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606498">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606545">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606616">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606759">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606974">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607131">Interaction with the Standard Samba “<span class="quote">create mask</span>” Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607500">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607573">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2607985">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2607997">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2608319">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#id2608365">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#id2608592">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2608689">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2608947">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2609932">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610027">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610440">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610627">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610649">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610715">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2610741">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610808">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610838">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610863">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610895">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#id2611069">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611168">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611314">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2611330">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611484">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611544">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#id2611894">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612038">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2612093">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2612137">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2612152">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612181">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#id2612741">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2612813">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613091">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613127">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613224">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613309">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613518">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#id2613858">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614054">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614204">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614216">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614262">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#id2614440">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2614852">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2614885">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#id2615084">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2615307">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615458">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2615518">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2615618">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615901">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2616098">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2616498">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2616953">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#id2619666">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619836">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619957">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620174">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620495">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2620637">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2620730">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#id2622666">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622682">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#id2623259">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623378">Always Make First Client Connection as root or “<span class="quote">printer admin</span>”</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623551">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623572">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623939">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624195">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624455">Error Message: “<span class="quote">Cannot connect under a different Name</span>”</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624568">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624877">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624987">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625024">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625081">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625115">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625131">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625148">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625282">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625553">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625591">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625740">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625769">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625775">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625816">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#id2625959">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2625964">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626024">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2626143">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2626258">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626505">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626750">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627126">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2627144">Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627194">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627429">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable “<span class="quote">raw</span>” Printing for <span class="emphasis"><em>application/octet-stream</em></span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627716">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627838">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#id2628029">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628207">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#id2628566">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628720">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628803">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628923">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2628962">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2629198">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629626">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629833">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629990">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630178">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630345">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630615">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630700">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630919">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631258">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631493">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631506"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631575">“<span class="quote">Raw</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631683">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631962">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632245"><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#id2632582">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633010">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633133">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633228">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633245">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633307">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633379">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633484">Network Printing (Windows Clients and UNIX/Samba Print 5 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633502">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633693">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633772">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633862">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633907">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633975">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633989">Printer Drivers Running in “<span class="quote">Kernel Mode</span>” Cause Many 6 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634028">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634045">CUPS: A “<span class="quote">Magical Stone</span>”?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634088">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#id2634176">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634198"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634296">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#id2634576">CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634815">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634934">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634959">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635022">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635322">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635539">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635680">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635871">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636015">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636137">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636218">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636299">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#id2636534">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636708">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636880">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636985">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637117">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637342">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638300">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638444">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2638646">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638713">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638780">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638830">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638950">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639125">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639953">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640425">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640461">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640515">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640555">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640696">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640840">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640906">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640946">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640960">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641177">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641253">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641338">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641477">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2641524">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641820">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641932">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641937">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">cupsaddsmb</span>” Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642014">“<span class="quote">cupsaddsmb</span>” or “<span class="quote">rpcclient addriver</span>” Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642052">“<span class="quote">cupsaddsmb</span>” Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642126">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642150">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642242">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642293">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642330">Can't Use “<span class="quote">cupsaddsmb</span>” on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642366">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642401">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642434">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642475">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642500">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642547">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#id2642830">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642885"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642935">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#id2643033">Print Queue Called “<span class="quote">lp</span>” Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643102">Location of Adobe PostScript Driver Files for “<span class="quote">cupsaddsmb</span>”</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2643156">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#id2643343">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643381">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643777">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2643783">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2643824">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644041">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#id2644367">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644764">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644814">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2645720">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2645746">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645805">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645845">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#id2646109">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646452">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646541">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646694">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646740">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2646865">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646916">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647002">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647050">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647282">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647437">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647513">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2647570">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2647576">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647690">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647842">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2650301">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2650350">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2650391">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2650428">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#id2650617">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650643">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650787">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2650815">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651190">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2651375">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651601">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651644">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#id2651786">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2651892">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2652081">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652218">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652439">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2652888">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653115">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653128">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653210">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653250">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2653315">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653472">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653484">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#id2653569">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2653618">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2653672">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2654278">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655622">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655656">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655754">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2656106">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656246">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656325">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2656355">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2656507">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657069">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2657574">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2657585">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657646">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657817">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657981">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#id2658156">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2658787">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2658841">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2659838">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660145"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660225">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2660328">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2660722">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2660733">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660831">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#id2661053">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661074">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661203">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661276"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661464"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661500"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661552"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661676">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662110">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662196">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662369">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662397">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662425">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2662562">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662575">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662607">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662649">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#id2662854">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2662905">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663039">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663175">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663207">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2663346">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2663999">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2664122">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2664268">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2664274">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#id2664381">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2664426">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2664523">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664694">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664864">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664912">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#id2665008">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2665129">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2665163">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2665293">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666006">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666087">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666227">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666264">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#id2666894">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2666903">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2667300">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2668315">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.2.x/docs/htmldocs/Samba3-HOWTO/pam.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:vorlon@netexpress.net">vorlon@netexpress.net</a>></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#id2658143">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2658773">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2658827">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2659825">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660131"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660211">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2660315">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2660708">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2660719">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660817">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2658067"></a> 3 <a class="indexterm" name="id2658074"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:vorlon@netexpress.net">vorlon@netexpress.net</a>></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#id2658156">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2658787">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2658841">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2659838">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660145"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660225">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2660328">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2660722">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2660733">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660831">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></div><p> 4 2 <a class="indexterm" name="id2658081"></a> 5 <a class="indexterm" name="id2658087"></a> 3 <a class="indexterm" name="id2658088"></a> 4 <a class="indexterm" name="id2658094"></a> 5 <a class="indexterm" name="id2658101"></a> 6 6 This chapter should help you to deploy Winbind-based authentication on any PAM-enabled 7 7 UNIX/Linux system. Winbind can be used to enable user-level application access authentication … … 10 10 controls that are appropriate to your Samba configuration. 11 11 </p><p> 12 <a class="indexterm" name="id26581 05"></a>13 <a class="indexterm" name="id26581 12"></a>12 <a class="indexterm" name="id2658118"></a> 13 <a class="indexterm" name="id2658125"></a> 14 14 In addition to knowing how to configure Winbind into PAM, you will learn generic PAM management 15 15 possibilities and in particular how to deploy tools like <code class="filename">pam_smbpass.so</code> to your advantage. … … 17 17 The use of Winbind requires more than PAM configuration alone. 18 18 Please 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="id2658143"></a>Features and Benefits</h2></div></div></div><p> 20 <a class="indexterm" name="id2658151"></a> 21 <a class="indexterm" name="id2658157"></a> 19 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658156"></a>Features and Benefits</h2></div></div></div><p> 22 20 <a class="indexterm" name="id2658164"></a> 23 21 <a class="indexterm" name="id2658171"></a> 24 <a class="indexterm" name="id26581 80"></a>25 <a class="indexterm" name="id265818 7"></a>22 <a class="indexterm" name="id2658178"></a> 23 <a class="indexterm" name="id2658185"></a> 26 24 <a class="indexterm" name="id2658194"></a> 27 25 <a class="indexterm" name="id2658201"></a> 26 <a class="indexterm" name="id2658208"></a> 27 <a class="indexterm" name="id2658214"></a> 28 28 A number of UNIX systems (e.g., Sun Solaris), as well as the xxxxBSD family and Linux, 29 29 now utilize the Pluggable Authentication Modules (PAM) facility to provide all authentication, … … 34 34 <code class="literal">passwd</code>, <code class="literal">chown</code>, and so on. 35 35 </p><p> 36 <a class="indexterm" name="id2658242"></a>37 <a class="indexterm" name="id2658249"></a>38 36 <a class="indexterm" name="id2658256"></a> 39 37 <a class="indexterm" name="id2658263"></a> 38 <a class="indexterm" name="id2658270"></a> 39 <a class="indexterm" name="id2658276"></a> 40 40 PAM provides a mechanism that disconnects these security programs from the underlying 41 41 authentication/authorization infrastructure. PAM is configured by making appropriate modifications to one file, … … 43 43 located in <code class="filename">/etc/pam.d</code>. 44 44 </p><p> 45 <a class="indexterm" name="id2658 289"></a>46 <a class="indexterm" name="id2658 296"></a>45 <a class="indexterm" name="id2658303"></a> 46 <a class="indexterm" name="id2658310"></a> 47 47 On PAM-enabled UNIX/Linux systems, it is an easy matter to configure the system to use any 48 48 authentication backend so long as the appropriate dynamically loadable library modules … … 52 52 PAM support modules are available for: 53 53 </p><div class="variablelist"><dl><dt><span class="term"><code class="filename">/etc/passwd</code></span></dt><dd><p> 54 <a class="indexterm" name="id2658326"></a>55 <a class="indexterm" name="id2658333"></a>56 54 <a class="indexterm" name="id2658340"></a> 57 55 <a class="indexterm" name="id2658347"></a> 58 56 <a class="indexterm" name="id2658354"></a> 59 57 <a class="indexterm" name="id2658360"></a> 58 <a class="indexterm" name="id2658367"></a> 59 <a class="indexterm" name="id2658374"></a> 60 60 There are several PAM modules that interact with this standard UNIX user database. The most common are called 61 61 <code class="filename">pam_unix.so</code>, <code class="filename">pam_unix2.so</code>, <code class="filename">pam_pwdb.so</code> and 62 62 <code class="filename">pam_userdb.so</code>. 63 63 </p></dd><dt><span class="term">Kerberos</span></dt><dd><p> 64 <a class="indexterm" name="id2658403"></a>65 <a class="indexterm" name="id2658410"></a>66 64 <a class="indexterm" name="id2658417"></a> 67 <a class="indexterm" name="id265842 3"></a>65 <a class="indexterm" name="id2658424"></a> 68 66 <a class="indexterm" name="id2658430"></a> 67 <a class="indexterm" name="id2658437"></a> 68 <a class="indexterm" name="id2658444"></a> 69 69 The <code class="filename">pam_krb5.so</code> module allows the use of any Kerberos-compliant server. 70 70 This tool is used to access MIT Kerberos, Heimdal Kerberos, and potentially 71 71 Microsoft Active Directory (if enabled). 72 72 </p></dd><dt><span class="term">LDAP</span></dt><dd><p> 73 <a class="indexterm" name="id2658456"></a>74 <a class="indexterm" name="id2658463"></a>75 73 <a class="indexterm" name="id2658470"></a> 76 74 <a class="indexterm" name="id2658476"></a> 77 75 <a class="indexterm" name="id2658483"></a> 78 76 <a class="indexterm" name="id2658490"></a> 77 <a class="indexterm" name="id2658497"></a> 78 <a class="indexterm" name="id2658504"></a> 79 79 The <code class="filename">pam_ldap.so</code> module allows the use of any LDAP v2- or v3-compatible backend 80 80 server. Commonly used LDAP backend servers include OpenLDAP v2.0 and v2.1, 81 81 Sun ONE iDentity server, Novell eDirectory server, and Microsoft Active Directory. 82 82 </p></dd><dt><span class="term">NetWare Bindery</span></dt><dd><p> 83 <a class="indexterm" name="id2658518"></a>84 <a class="indexterm" name="id2658524"></a>85 83 <a class="indexterm" name="id2658531"></a> 86 84 <a class="indexterm" name="id2658538"></a> 85 <a class="indexterm" name="id2658545"></a> 86 <a class="indexterm" name="id2658552"></a> 87 87 The <code class="filename">pam_ncp_auth.so</code> module allows authentication off any bindery-enabled 88 88 NetWare Core Protocol-based server. 89 89 </p></dd><dt><span class="term">SMB Password</span></dt><dd><p> 90 <a class="indexterm" name="id2658563"></a>91 <a class="indexterm" name="id2658570"></a>92 90 <a class="indexterm" name="id2658577"></a> 91 <a class="indexterm" name="id2658584"></a> 92 <a class="indexterm" name="id2658591"></a> 93 93 This module, called <code class="filename">pam_smbpass.so</code>, allows user authentication of 94 94 the passdb backend that is configured in the Samba <code class="filename">smb.conf</code> file. 95 95 </p></dd><dt><span class="term">SMB Server</span></dt><dd><p> 96 <a class="indexterm" name="id26586 08"></a>97 <a class="indexterm" name="id26586 15"></a>96 <a class="indexterm" name="id2658622"></a> 97 <a class="indexterm" name="id2658629"></a> 98 98 The <code class="filename">pam_smb_auth.so</code> module is the original MS Windows networking authentication 99 99 tool. This module has been somewhat outdated by the Winbind module. 100 100 </p></dd><dt><span class="term">Winbind</span></dt><dd><p> 101 <a class="indexterm" name="id2658640"></a>102 <a class="indexterm" name="id2658647"></a>103 101 <a class="indexterm" name="id2658654"></a> 104 102 <a class="indexterm" name="id2658661"></a> 103 <a class="indexterm" name="id2658668"></a> 104 <a class="indexterm" name="id2658675"></a> 105 105 The <code class="filename">pam_winbind.so</code> module allows Samba to obtain authentication from any 106 106 MS Windows domain controller. It can just as easily be used to authenticate 107 107 users for access to any PAM-enabled application. 108 108 </p></dd><dt><span class="term">RADIUS</span></dt><dd><p> 109 <a class="indexterm" name="id2658 687"></a>109 <a class="indexterm" name="id2658701"></a> 110 110 There is a PAM RADIUS (Remote Access Dial-In User Service) authentication 111 111 module. In most cases, administrators need to locate the source code … … 113 113 used by many routers and terminal servers. 114 114 </p></dd></dl></div><p> 115 <a class="indexterm" name="id26587 07"></a>116 <a class="indexterm" name="id26587 14"></a>115 <a class="indexterm" name="id2658720"></a> 116 <a class="indexterm" name="id2658727"></a> 117 117 Of the modules listed, Samba provides the <code class="filename">pam_smbpasswd.so</code> and the 118 118 <code class="filename">pam_winbind.so</code> modules alone. 119 119 </p><p> 120 <a class="indexterm" name="id2658737"></a>121 <a class="indexterm" name="id2658744"></a>122 120 <a class="indexterm" name="id2658751"></a> 123 121 <a class="indexterm" name="id2658758"></a> 122 <a class="indexterm" name="id2658765"></a> 123 <a class="indexterm" name="id2658772"></a> 124 124 Once configured, these permit a remarkable level of flexibility in the location and use 125 125 of distributed Samba domain controllers that can provide wide-area network bandwidth, … … 127 127 deployment of centrally managed and maintained distributed authentication from a 128 128 single-user account database. 129 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658773"></a>Technical Discussion</h2></div></div></div><p> 130 <a class="indexterm" name="id2658781"></a> 131 <a class="indexterm" name="id2658788"></a> 129 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658787"></a>Technical Discussion</h2></div></div></div><p> 132 130 <a class="indexterm" name="id2658795"></a> 133 131 <a class="indexterm" name="id2658802"></a> 132 <a class="indexterm" name="id2658809"></a> 133 <a class="indexterm" name="id2658816"></a> 134 134 PAM is designed to provide system administrators with a great deal of flexibility in 135 135 configuration of the privilege-granting applications of their system. The local … … 137 137 either the single system file <code class="filename">/etc/pam.conf</code> or the 138 138 <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="id26588 27"></a>PAM Configuration Syntax</h3></div></div></div><p>140 <a class="indexterm" name="id26588 35"></a>141 <a class="indexterm" name="id26588 42"></a>139 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2658841"></a>PAM Configuration Syntax</h3></div></div></div><p> 140 <a class="indexterm" name="id2658849"></a> 141 <a class="indexterm" name="id2658856"></a> 142 142 In this section we discuss the correct syntax of and generic options respected by entries to these files. 143 143 PAM-specific tokens in the configuration file are case insensitive. The module paths, however, are case … … 149 149 module specification lines may be extended with a “<span class="quote">\</span>”-escaped newline. 150 150 </p><p> 151 <a class="indexterm" name="id26588 73"></a>152 <a class="indexterm" name="id26588 80"></a>151 <a class="indexterm" name="id2658887"></a> 152 <a class="indexterm" name="id2658894"></a> 153 153 If the PAM authentication module (loadable link library file) is located in the 154 154 default location, then it is not necessary to specify the path. In the case of … … 158 158 auth required /other_path/pam_strange_module.so 159 159 </pre><p> 160 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26589 06"></a>Anatomy of <code class="filename">/etc/pam.d</code> Entries</h4></div></div></div><p>160 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2658920"></a>Anatomy of <code class="filename">/etc/pam.d</code> Entries</h4></div></div></div><p> 161 161 The remaining information in this subsection was taken from the documentation of the Linux-PAM 162 162 project. For more information on PAM, see 163 163 <a class="ulink" href="http://ftp.kernel.org/pub/linux/libs/pam/" target="_top">the Official Linux-PAM home page</a>. 164 164 </p><p> 165 <a class="indexterm" name="id26589 32"></a>165 <a class="indexterm" name="id2658946"></a> 166 166 A general configuration line of the <code class="filename">/etc/pam.conf</code> file has the following form: 167 167 </p><pre class="programlisting"> … … 173 173 Once we have explained the meaning of the tokens, we describe this method. 174 174 </p><div class="variablelist"><dl><dt><span class="term">service-name</span></dt><dd><p> 175 <a class="indexterm" name="id2658977"></a>176 <a class="indexterm" name="id2658984"></a>177 175 <a class="indexterm" name="id2658991"></a> 176 <a class="indexterm" name="id2658998"></a> 177 <a class="indexterm" name="id2659004"></a> 178 178 The name of the service associated with this entry. Frequently, the service-name is the conventional 179 179 name of the given application for example, <code class="literal">ftpd</code>, <code class="literal">rlogind</code> and … … 187 187 One of (currently) four types of module. The four types are as follows: 188 188 </p><div class="itemizedlist"><ul type="disc"><li><p> 189 <a class="indexterm" name="id26590 59"></a>190 <a class="indexterm" name="id26590 65"></a>189 <a class="indexterm" name="id2659072"></a> 190 <a class="indexterm" name="id2659079"></a> 191 191 <em class="parameter"><code>auth:</code></em> This module type provides two aspects of authenticating the user. 192 192 It establishes that the user is who he or she claims to be by instructing the application … … 195 195 or other privileges through its credential-granting properties. 196 196 </p></li><li><p> 197 <a class="indexterm" name="id2659 095"></a>198 <a class="indexterm" name="id26591 01"></a>197 <a class="indexterm" name="id2659108"></a> 198 <a class="indexterm" name="id2659115"></a> 199 199 <em class="parameter"><code>account:</code></em> This module performs non-authentication-based account management. 200 200 It is typically used to restrict/permit access to a service based on the time of day, currently … … 202 202 login. For example, the “<span class="quote">root</span>” login may be permitted only on the console. 203 203 </p></li><li><p> 204 <a class="indexterm" name="id26591 28"></a>204 <a class="indexterm" name="id2659142"></a> 205 205 <em class="parameter"><code>session:</code></em> Primarily, this module is associated with doing things that need 206 206 to be done for the user before and after he or she can be given service. Such things include logging … … 208 208 directories, and so on. 209 209 </p></li><li><p> 210 <a class="indexterm" name="id26591 50"></a>210 <a class="indexterm" name="id2659164"></a> 211 211 <em class="parameter"><code>password:</code></em> This last module type is required for updating the authentication 212 212 token associated with the user. Typically, there is one module for each … … 222 222 As of Linux-PAM v0.60, this control-flag can be defined with one of two syntaxes. 223 223 </p><p> 224 <a class="indexterm" name="id2659214"></a>225 <a class="indexterm" name="id2659221"></a>226 224 <a class="indexterm" name="id2659228"></a> 227 225 <a class="indexterm" name="id2659235"></a> 226 <a class="indexterm" name="id2659242"></a> 227 <a class="indexterm" name="id2659249"></a> 228 228 The simpler (and historical) syntax for the control-flag is a single keyword defined to indicate the 229 229 severity of concern associated with the success or failure of a specific module. There are four such … … 351 351 side of caution) to make the authentication process fail. A corresponding error is written to the system log files 352 352 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="id26598 25"></a>Example System Configurations</h3></div></div></div><p>353 </p></dd></dl></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2659838"></a>Example System Configurations</h3></div></div></div><p> 354 354 The following is an example <code class="filename">/etc/pam.d/login</code> configuration file. 355 355 This example had all options uncommented and is probably not usable … … 357 357 of the login process. Essentially, all conditions can be disabled 358 358 by 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="id26598 51"></a>PAM: Original Login Config</h4></div></div></div><p>359 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2659865"></a>PAM: Original Login Config</h4></div></div></div><p> 360 360 </p><pre class="programlisting"> 361 361 #%PAM-1.0 … … 374 374 password required pam_pwdb.so shadow md5 375 375 </pre><p> 376 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26598 79"></a>PAM: Login Using <code class="filename">pam_smbpass</code></h4></div></div></div><p>376 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2659893"></a>PAM: Login Using <code class="filename">pam_smbpass</code></h4></div></div></div><p> 377 377 PAM allows use of replaceable modules. Those available on a sample system include: 378 378 </p><p><code class="prompt">$</code><strong class="userinput"><code>/bin/ls /lib/security</code></strong> … … 457 457 life, though, every decision has trade-offs, so you may want to examine the 458 458 PAM 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="id26601 31"></a><code class="filename">smb.conf</code> PAM Configuration</h3></div></div></div><p>459 </p></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660145"></a><code class="filename">smb.conf</code> PAM Configuration</h3></div></div></div><p> 460 460 There is an option in <code class="filename">smb.conf</code> called <a class="link" href="smb.conf.5.html#OBEYPAMRESTRICTIONS">obey pam restrictions</a>. 461 461 The following is from the online help for this option in SWAT: … … 467 467 The reason is that PAM modules cannot support the challenge/response authentication mechanism needed in the presence of SMB 468 468 password encryption. 469 </p><p>Default: <a class="link" href="smb.conf.5.html#OBEYPAMRESTRICTIONS">obey pam restrictions = no</a></p></blockquote></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26602 11"></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">obey pam restrictions = no</a></p></blockquote></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660225"></a>Remote CIFS Authentication Using <code class="filename">winbindd.so</code></h3></div></div></div><p> 470 470 All operating systems depend on the provision of user credentials acceptable to the platform. 471 471 UNIX requires the provision of a user identifier (UID) as well as a group identifier (GID). … … 494 494 stored by <code class="literal">winbindd</code>. If this file is deleted or corrupted, there is no way for <code class="literal">winbindd</code> 495 495 to 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="id26603 15"></a>Password Synchronization Using <code class="filename">pam_smbpass.so</code></h3></div></div></div><p>496 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660328"></a>Password Synchronization Using <code class="filename">pam_smbpass.so</code></h3></div></div></div><p> 497 497 <code class="filename">pam_smbpass</code> is a PAM module that can be used on conforming systems to 498 498 keep the <code class="filename">smbpasswd</code> (Samba password) database in sync with the UNIX … … 512 512 <code class="filename">/etc/pam.d/</code> files structure. Those wishing to implement this 513 513 tool 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="id26605 33"></a>Password Synchronization Configuration</h4></div></div></div><p>514 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2660547"></a>Password Synchronization Configuration</h4></div></div></div><p> 515 515 The following is a sample PAM configuration that shows the use of pam_smbpass to make 516 516 sure <code class="filename">private/smbpasswd</code> is kept in sync when <code class="filename">/etc/passwd (/etc/shadow)</code> … … 529 529 password required pam_smbpass.so nullok use_authtok try_first_pass 530 530 session required pam_unix.so 531 </pre></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26605 79"></a>Password Migration Configuration</h4></div></div></div><p>531 </pre></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2660593"></a>Password Migration Configuration</h4></div></div></div><p> 532 532 The following PAM configuration shows the use of <code class="filename">pam_smbpass</code> to migrate 533 533 from plaintext to encrypted passwords for Samba. Unlike other methods, … … 549 549 password optional pam_smbpass.so nullok use_authtok try_first_pass 550 550 session required pam_unix.so 551 </pre></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26606 27"></a>Mature Password Configuration</h4></div></div></div><p>551 </pre></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2660641"></a>Mature Password Configuration</h4></div></div></div><p> 552 552 The following is a sample PAM configuration for a mature <code class="filename">smbpasswd</code> installation. 553 553 <code class="filename">private/smbpasswd</code> is fully populated, and we consider it an error if … … 565 565 password required pam_smbpass.so use_authtok use_first_pass 566 566 session required pam_unix.so 567 </pre></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26606 67"></a>Kerberos Password Integration Configuration</h4></div></div></div><p>567 </pre></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2660680"></a>Kerberos Password Integration Configuration</h4></div></div></div><p> 568 568 The following is a sample PAM configuration that shows <em class="parameter"><code>pam_smbpass</code></em> used together with 569 569 <em class="parameter"><code>pam_krb5</code></em>. This could be useful on a Samba PDC that is also a member of … … 582 582 password required pam_krb5.so use_authtok try_first_pass 583 583 session 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="id26607 08"></a>Common Errors</h2></div></div></div><p>584 </pre></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2660722"></a>Common Errors</h2></div></div></div><p> 585 585 PAM can be fickle and sensitive to configuration glitches. Here we look at a few cases from 586 586 the Samba mailing list. 587 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26607 19"></a>pam_winbind Problem</h3></div></div></div><p>587 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660733"></a>pam_winbind Problem</h3></div></div></div><p> 588 588 A user reported, <span class="emphasis"><em>I have the following PAM configuration</em></span>: 589 589 </p><p> … … 609 609 <code class="filename">/etc/pam.d/login</code> file. Alternatively, if you want all services to use 610 610 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="id26608 17"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p>611 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660831"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p> 612 612 “<span class="quote"> 613 613 My <code class="filename">smb.conf</code> file is correctly configured. I have specified -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/passdb.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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"><<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>></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">SuSE<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>></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"><<a class="email" href="mailto:olem@IDEALX.org">olem@IDEALX.org</a>></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#id2580281">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2580317">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2580501">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#id2581069">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2581588">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#id2582137">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2582549">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#id2582990">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#id2585526">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2585579">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585655">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585921">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2586079">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2588612">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588618">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588656">Configuration of <em class="parameter"><code>auth methods</code></em></a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2580083"></a> 3 <a class="indexterm" name="id2580090"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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"><<a class="email" href="mailto:jra@samba.org">jra@samba.org</a>></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">SuSE<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>></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"><<a class="email" href="mailto:olem@IDEALX.org">olem@IDEALX.org</a>></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#id2580294">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2580330">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2580514">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#id2581082">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2581602">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#id2582150">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2582562">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#id2583003">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#id2585539">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2585593">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585669">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585935">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2586092">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2588626">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588632">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588669">Configuration of <em class="parameter"><code>auth methods</code></em></a></span></dt></dl></dd></dl></div><p> 4 2 <a class="indexterm" name="id2580097"></a> 5 3 <a class="indexterm" name="id2580104"></a> 4 <a class="indexterm" name="id2580110"></a> 5 <a class="indexterm" name="id2580117"></a> 6 6 Early releases of Samba-3 implemented new capability to work concurrently with multiple account backends. This 7 7 capability was removed beginning with release of Samba 3.0.23. Commencing with Samba 3.0.23 it is possible to 8 8 work with only one specified passwd backend. 9 9 </p><p> 10 <a class="indexterm" name="id2580118"></a>11 <a class="indexterm" name="id2580125"></a>12 10 <a class="indexterm" name="id2580132"></a> 13 <a class="indexterm" name="id258013 9"></a>14 <a class="indexterm" name="id258014 6"></a>11 <a class="indexterm" name="id2580138"></a> 12 <a class="indexterm" name="id2580145"></a> 15 13 <a class="indexterm" name="id2580152"></a> 14 <a class="indexterm" name="id2580159"></a> 15 <a class="indexterm" name="id2580166"></a> 16 16 The three passdb backends that are fully maintained (actively supported) by the Samba Team are: 17 17 <code class="literal">smbpasswd</code> (being obsoleted), <code class="literal">tdbsam</code> (a tdb-based binary file format), … … 24 24 <code class="literal">ldapsam</code> for larger and more complex networks. 25 25 </p><p> 26 <a class="indexterm" name="id25802 23"></a>27 <a class="indexterm" name="id25802 30"></a>28 <a class="indexterm" name="id25802 37"></a>29 <a class="indexterm" name="id25802 44"></a>30 <a class="indexterm" name="id25802 51"></a>31 <a class="indexterm" name="id25802 58"></a>32 <a class="indexterm" name="id25802 65"></a>26 <a class="indexterm" name="id2580236"></a> 27 <a class="indexterm" name="id2580243"></a> 28 <a class="indexterm" name="id2580250"></a> 29 <a class="indexterm" name="id2580257"></a> 30 <a class="indexterm" name="id2580264"></a> 31 <a class="indexterm" name="id2580271"></a> 32 <a class="indexterm" name="id2580278"></a> 33 33 In a strict and literal sense, the passdb backends are account storage mechanisms (or methods) alone. The choice 34 34 of terminology can be misleading, however we are stuck with this choice of wording. This chapter documents the … … 36 36 machine trust accounts (computer accounts) and interdomain trust accounts. These are all treated as user-like 37 37 entities. 38 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25802 81"></a>Features and Benefits</h2></div></div></div><p>38 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2580294"></a>Features and Benefits</h2></div></div></div><p> 39 39 Samba-3 provides for complete backward compatibility with Samba-2.2.x functionality 40 40 as follows: 41 <a class="indexterm" name="id2580290"></a> 42 <a class="indexterm" name="id2580300"></a> 43 <a class="indexterm" name="id2580309"></a> 44 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2580317"></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="id2580334"></a> 46 <a class="indexterm" name="id2580341"></a> 41 <a class="indexterm" name="id2580304"></a> 42 <a class="indexterm" name="id2580313"></a> 43 <a class="indexterm" name="id2580322"></a> 44 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2580330"></a>Backward Compatibility Account Storage Systems</h3></div></div></div><div class="variablelist"><dl><dt><span class="term">Plaintext</span></dt><dd><p> 47 45 <a class="indexterm" name="id2580348"></a> 48 <a class="indexterm" name="id2580355"></a> 49 <a class="indexterm" name="id2580362"></a> 46 <a class="indexterm" name="id2580354"></a> 47 <a class="indexterm" name="id2580361"></a> 48 <a class="indexterm" name="id2580368"></a> 49 <a class="indexterm" name="id2580375"></a> 50 50 This isn't really a backend at all, but is listed here for simplicity. Samba can be configured to pass 51 51 plaintext authentication requests to the traditional UNIX/Linux <code class="filename">/etc/passwd</code> and … … 55 55 password usage. 56 56 </p></dd><dt><span class="term">smbpasswd</span></dt><dd><p> 57 <a class="indexterm" name="id25804 09"></a>58 <a class="indexterm" name="id25804 16"></a>59 <a class="indexterm" name="id25804 23"></a>60 <a class="indexterm" name="id25804 30"></a>57 <a class="indexterm" name="id2580422"></a> 58 <a class="indexterm" name="id2580429"></a> 59 <a class="indexterm" name="id2580436"></a> 60 <a class="indexterm" name="id2580443"></a> 61 61 This option allows continued use of the <code class="filename">smbpasswd</code> 62 62 file that maintains a plain ASCII (text) layout that includes the MS Windows … … 70 70 versions of Samba. It may be deprecated in future releases. 71 71 </p></dd><dt><span class="term">ldapsam_compat (Samba-2.2 LDAP Compatibility)</span></dt><dd><p> 72 <a class="indexterm" name="id25804 69"></a>73 <a class="indexterm" name="id25804 76"></a>74 <a class="indexterm" name="id25804 83"></a>72 <a class="indexterm" name="id2580482"></a> 73 <a class="indexterm" name="id2580489"></a> 74 <a class="indexterm" name="id2580496"></a> 75 75 There is a password backend option that allows continued operation with 76 76 an existing OpenLDAP backend that uses the Samba-2.2.x LDAP schema extension. … … 78 78 no reason to force migration at this time. This tool will eventually 79 79 be deprecated. 80 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25805 01"></a>New Account Storage Systems</h3></div></div></div><p>80 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2580514"></a>New Account Storage Systems</h3></div></div></div><p> 81 81 Samba-3 introduces a number of new password backend capabilities. 82 <a class="indexterm" name="id25805 10"></a>83 <a class="indexterm" name="id25805 19"></a>82 <a class="indexterm" name="id2580523"></a> 83 <a class="indexterm" name="id2580532"></a> 84 84 </p><div class="variablelist"><dl><dt><span class="term">tdbsam</span></dt><dd><p> 85 <a class="indexterm" name="id2580540"></a>86 <a class="indexterm" name="id2580547"></a>87 85 <a class="indexterm" name="id2580554"></a> 86 <a class="indexterm" name="id2580561"></a> 87 <a class="indexterm" name="id2580567"></a> 88 88 This backend provides a rich database backend for local servers. This 89 89 backend is not suitable for multiple domain controllers (i.e., PDC + one 90 90 or more BDC) installations. 91 91 </p><p> 92 <a class="indexterm" name="id2580567"></a>93 <a class="indexterm" name="id2580574"></a>94 92 <a class="indexterm" name="id2580580"></a> 95 93 <a class="indexterm" name="id2580587"></a> 96 94 <a class="indexterm" name="id2580594"></a> 97 95 <a class="indexterm" name="id2580601"></a> 96 <a class="indexterm" name="id2580608"></a> 97 <a class="indexterm" name="id2580615"></a> 98 98 The <span class="emphasis"><em>tdbsam</em></span> password backend stores the old <span class="emphasis"><em> 99 99 smbpasswd</em></span> information plus the extended MS Windows NT/200x … … 103 103 with MS Windows NT4/200x-based systems. 104 104 </p><p> 105 <a class="indexterm" name="id25806 25"></a>106 <a class="indexterm" name="id25806 32"></a>107 <a class="indexterm" name="id25806 39"></a>105 <a class="indexterm" name="id2580638"></a> 106 <a class="indexterm" name="id2580645"></a> 107 <a class="indexterm" name="id2580652"></a> 108 108 The inclusion of the <span class="emphasis"><em>tdbsam</em></span> capability is a direct 109 109 response to user requests to allow simple site operation without the overhead … … 112 112 the use of OpenLDAP or of Active Directory integration is strongly recommended. 113 113 </p></dd><dt><span class="term">ldapsam</span></dt><dd><p> 114 <a class="indexterm" name="id25806 67"></a>115 <a class="indexterm" name="id25806 74"></a>114 <a class="indexterm" name="id2580680"></a> 115 <a class="indexterm" name="id2580688"></a> 116 116 This provides a rich directory backend for distributed account installation. 117 117 </p><p> 118 <a class="indexterm" name="id2580686"></a> 119 <a class="indexterm" name="id2580693"></a> 120 <a class="indexterm" name="id2580700"></a> 118 <a class="indexterm" name="id2580699"></a> 121 119 <a class="indexterm" name="id2580706"></a> 122 120 <a class="indexterm" name="id2580713"></a> 121 <a class="indexterm" name="id2580720"></a> 122 <a class="indexterm" name="id2580727"></a> 123 123 Samba-3 has a new and extended LDAP implementation that requires configuration 124 124 of OpenLDAP with a new format Samba schema. The new format schema file is 125 125 included in the <code class="filename">examples/LDAP</code> directory of the Samba distribution. 126 126 </p><p> 127 <a class="indexterm" name="id2580735"></a>128 <a class="indexterm" name="id2580742"></a>129 127 <a class="indexterm" name="id2580749"></a> 130 128 <a class="indexterm" name="id2580756"></a> 131 129 <a class="indexterm" name="id2580763"></a> 130 <a class="indexterm" name="id2580770"></a> 131 <a class="indexterm" name="id2580777"></a> 132 132 The new LDAP implementation significantly expands the control abilities that 133 133 were possible with prior versions of Samba. It is now possible to specify … … 136 136 requests both for capability and greater scalability. 137 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="id2580 798"></a>139 <a class="indexterm" name="id25808 04"></a>138 <a class="indexterm" name="id2580811"></a> 139 <a class="indexterm" name="id2580818"></a> 140 140 Old Windows clients send plaintext passwords over the wire. Samba can check these 141 141 passwords by encrypting them and comparing them to the hash stored in the UNIX user database. 142 142 </p><p> 143 <a class="indexterm" name="id2580818"></a> 144 <a class="indexterm" name="id2580825"></a> 145 <a class="indexterm" name="id2580832"></a> 143 <a class="indexterm" name="id2580831"></a> 146 144 <a class="indexterm" name="id2580838"></a> 145 <a class="indexterm" name="id2580845"></a> 146 <a class="indexterm" name="id2580852"></a> 147 147 Newer Windows clients send encrypted passwords (LanMan and NT hashes) instead of plaintext passwords over 148 148 the wire. The newest clients will send only encrypted passwords and refuse to send plaintext passwords unless 149 149 their registry is tweaked. 150 150 </p><p> 151 <a class="indexterm" name="id25808 53"></a>152 <a class="indexterm" name="id25808 60"></a>151 <a class="indexterm" name="id2580866"></a> 152 <a class="indexterm" name="id2580873"></a> 153 153 Many people ask why Samba cannot simply use the UNIX password database. Windows requires 154 154 passwords that are encrypted in its own format. The UNIX passwords can't be converted to … … 156 156 database, and you have to store the LanMan and NT hashes somewhere else. 157 157 </p><p> 158 <a class="indexterm" name="id25808 76"></a>159 <a class="indexterm" name="id25808 83"></a>160 <a class="indexterm" name="id2580 890"></a>161 <a class="indexterm" name="id2580 897"></a>158 <a class="indexterm" name="id2580889"></a> 159 <a class="indexterm" name="id2580896"></a> 160 <a class="indexterm" name="id2580903"></a> 161 <a class="indexterm" name="id2580910"></a> 162 162 In addition to differently encrypted passwords, Windows also stores certain data for each 163 163 user that is not stored in a UNIX user database: for example, workstations the user may logon from, … … 167 167 <a class="link" href="smb.conf.5.html#PASSDBBACKEND">passdb backend</a> parameter. 168 168 </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="id258 0986"></a>170 <a class="indexterm" name="id258 0993"></a>171 <a class="indexterm" name="id258 0999"></a>169 <a class="indexterm" name="id2581000"></a> 170 <a class="indexterm" name="id2581006"></a> 171 <a class="indexterm" name="id2581013"></a> 172 172 The resolution of SIDs to UIDs is fundamental to correct operation of Samba. In both cases shown, if winbindd 173 173 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 174 174 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="id25810 69"></a>Important Notes About Security</h3></div></div></div><p>176 <a class="indexterm" name="id25810 77"></a>177 <a class="indexterm" name="id25810 84"></a>178 <a class="indexterm" name="id2581 091"></a>179 <a class="indexterm" name="id2581 098"></a>180 <a class="indexterm" name="id25811 05"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2581082"></a>Important Notes About Security</h3></div></div></div><p> 176 <a class="indexterm" name="id2581090"></a> 177 <a class="indexterm" name="id2581097"></a> 178 <a class="indexterm" name="id2581104"></a> 179 <a class="indexterm" name="id2581111"></a> 180 <a class="indexterm" name="id2581118"></a> 181 181 The UNIX and SMB password encryption techniques seem similar on the surface. This 182 182 similarity is, however, only skin deep. The UNIX scheme typically sends clear-text … … 192 192 be protected accordingly. 193 193 </p><p> 194 <a class="indexterm" name="id25811 34"></a>195 <a class="indexterm" name="id25811 41"></a>196 <a class="indexterm" name="id25811 47"></a>194 <a class="indexterm" name="id2581148"></a> 195 <a class="indexterm" name="id2581154"></a> 196 <a class="indexterm" name="id2581161"></a> 197 197 Ideally, we would like a password scheme that involves neither plaintext passwords 198 198 on the network nor plaintext passwords on disk. Unfortunately, this is not available because Samba is stuck with 199 199 having to be compatible with other SMB systems (Windows NT, Windows for Workgroups, Windows 9x/Me). 200 200 </p><p> 201 <a class="indexterm" name="id25811 63"></a>202 <a class="indexterm" name="id25811 70"></a>201 <a class="indexterm" name="id2581176"></a> 202 <a class="indexterm" name="id2581183"></a> 203 203 Windows NT 4.0 Service Pack 3 changed the default setting so plaintext passwords 204 204 are disabled from being sent over the wire. This mandates either the use of encrypted 205 205 password support or editing the Windows NT registry to re-enable plaintext passwords. 206 206 </p><p> 207 <a class="indexterm" name="id25811 84"></a>208 <a class="indexterm" name="id2581 191"></a>207 <a class="indexterm" name="id2581198"></a> 208 <a class="indexterm" name="id2581204"></a> 209 209 The following versions of Microsoft Windows do not support full domain security protocols, 210 210 although they may log onto a domain environment: 211 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="id2581230"></a>213 <a class="indexterm" name="id2581236"></a>214 212 <a class="indexterm" name="id2581243"></a> 213 <a class="indexterm" name="id2581250"></a> 214 <a class="indexterm" name="id2581257"></a> 215 215 MS Windows XP Home does not have facilities to become a domain member, and it cannot participate in domain logons. 216 216 </p></div><p> 217 217 The following versions of MS Windows fully support domain security protocols. 218 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="id2581289"></a>220 <a class="indexterm" name="id2581295"></a>221 219 <a class="indexterm" name="id2581302"></a> 222 220 <a class="indexterm" name="id2581309"></a> 223 221 <a class="indexterm" name="id2581316"></a> 224 222 <a class="indexterm" name="id2581323"></a> 223 <a class="indexterm" name="id2581330"></a> 224 <a class="indexterm" name="id2581336"></a> 225 225 All current releases of Microsoft SMB/CIFS clients support authentication via the 226 226 SMB challenge/response mechanism described here. Enabling clear-text authentication … … 229 229 handling. 230 230 </p><p> 231 <a class="indexterm" name="id2581339"></a> 232 <a class="indexterm" name="id2581346"></a> 233 <a class="indexterm" name="id2581353"></a> 231 <a class="indexterm" name="id2581352"></a> 234 232 <a class="indexterm" name="id2581360"></a> 235 <a class="indexterm" name="id2581367"></a> 233 <a class="indexterm" name="id2581366"></a> 234 <a class="indexterm" name="id2581373"></a> 235 <a class="indexterm" name="id2581380"></a> 236 236 MS Windows clients will cache the encrypted password alone. Where plaintext passwords 237 237 are re-enabled through the appropriate registry change, the plaintext password is never … … 240 240 effect an auto-reconnect. If the resource server does not support encrypted passwords, the 241 241 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="id2581384"></a>Advantages of Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p> 243 <a class="indexterm" name="id2581395"></a> 244 <a class="indexterm" name="id2581402"></a> 242 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2581397"></a>Advantages of Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p> 245 243 <a class="indexterm" name="id2581409"></a> 244 <a class="indexterm" name="id2581416"></a> 245 <a class="indexterm" name="id2581423"></a> 246 246 Plaintext passwords are not passed across the network. Someone using a network sniffer 247 247 cannot just record passwords going to the SMB server. 248 248 </p></li><li><p> 249 <a class="indexterm" name="id25814 23"></a>250 <a class="indexterm" name="id25814 30"></a>251 <a class="indexterm" name="id25814 37"></a>249 <a class="indexterm" name="id2581436"></a> 250 <a class="indexterm" name="id2581443"></a> 251 <a class="indexterm" name="id2581450"></a> 252 252 Plaintext passwords are not stored anywhere in memory or on disk. 253 253 </p></li><li><p> 254 <a class="indexterm" name="id25814 49"></a>255 <a class="indexterm" name="id25814 56"></a>256 <a class="indexterm" name="id25814 63"></a>257 <a class="indexterm" name="id25814 70"></a>254 <a class="indexterm" name="id2581462"></a> 255 <a class="indexterm" name="id2581469"></a> 256 <a class="indexterm" name="id2581476"></a> 257 <a class="indexterm" name="id2581483"></a> 258 258 Windows NT does not like talking to a server that does not support encrypted passwords. It will refuse to 259 259 browse the server if the server is also in user-level security mode. It will insist on prompting the user for … … 261 261 encryption. 262 262 </p></li><li><p> 263 <a class="indexterm" name="id2581 487"></a>264 <a class="indexterm" name="id2581 494"></a>263 <a class="indexterm" name="id2581501"></a> 264 <a class="indexterm" name="id2581508"></a> 265 265 Encrypted password support allows automatic share (resource) reconnects. 266 266 </p></li><li><p> 267 <a class="indexterm" name="id25815 07"></a>268 <a class="indexterm" name="id25815 14"></a>267 <a class="indexterm" name="id2581520"></a> 268 <a class="indexterm" name="id2581527"></a> 269 269 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="id25815 24"></a>Advantages of Non-Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>271 <a class="indexterm" name="id25815 36"></a>270 </p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2581538"></a>Advantages of Non-Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p> 271 <a class="indexterm" name="id2581549"></a> 272 272 Plaintext passwords are not kept on disk and are not cached in memory. 273 273 </p></li><li><p> 274 <a class="indexterm" name="id25815 49"></a>275 <a class="indexterm" name="id25815 55"></a>274 <a class="indexterm" name="id2581562"></a> 275 <a class="indexterm" name="id2581569"></a> 276 276 Plaintext passwords use the same password file as other UNIX services, such as Login and FTP. 277 277 </p></li><li><p> 278 <a class="indexterm" name="id25815 68"></a>279 <a class="indexterm" name="id25815 75"></a>278 <a class="indexterm" name="id2581581"></a> 279 <a class="indexterm" name="id2581588"></a> 280 280 Use of other services (such as Telnet and FTP) that send plaintext passwords over 281 281 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="id2581588"></a>Mapping User Identifiers between MS Windows and UNIX</h3></div></div></div><p> 283 <a class="indexterm" name="id2581597"></a> 284 <a class="indexterm" name="id2581603"></a> 282 </p></li></ul></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2581602"></a>Mapping User Identifiers between MS Windows and UNIX</h3></div></div></div><p> 285 283 <a class="indexterm" name="id2581610"></a> 284 <a class="indexterm" name="id2581617"></a> 285 <a class="indexterm" name="id2581623"></a> 286 286 Every operation in UNIX/Linux requires a user identifier (UID), just as in 287 287 MS Windows NT4/200x this requires a security identifier (SID). Samba provides 288 288 two means for mapping an MS Windows user to a UNIX/Linux UID. 289 289 </p><p> 290 <a class="indexterm" name="id2581624"></a>291 <a class="indexterm" name="id2581631"></a>292 290 <a class="indexterm" name="id2581637"></a> 293 291 <a class="indexterm" name="id2581644"></a> 294 <a class="indexterm" name="id2581651"></a> 292 <a class="indexterm" name="id2581650"></a> 293 <a class="indexterm" name="id2581657"></a> 294 <a class="indexterm" name="id2581664"></a> 295 295 First, all Samba SAM database accounts require a UNIX/Linux UID that the account will map to. As users are 296 296 added to the account information database, Samba will call the <a class="link" href="smb.conf.5.html#ADDUSERSCRIPT">add user script</a> … … 298 298 user account. 299 299 </p><p> 300 <a class="indexterm" name="id2581679"></a> 301 <a class="indexterm" name="id2581686"></a> 302 <a class="indexterm" name="id2581692"></a> 300 <a class="indexterm" name="id2581693"></a> 303 301 <a class="indexterm" name="id2581699"></a> 304 302 <a class="indexterm" name="id2581706"></a> 305 303 <a class="indexterm" name="id2581712"></a> 306 <a class="indexterm" name="id2581720"></a> 304 <a class="indexterm" name="id2581719"></a> 305 <a class="indexterm" name="id2581726"></a> 306 <a class="indexterm" name="id2581733"></a> 307 307 The second way to map Windows SID to UNIX UID is via the <span class="emphasis"><em>idmap uid</em></span> and 308 308 <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 … … 310 310 or a member of a foreign domain) SAM server. 311 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="id2581759"></a>313 <a class="indexterm" name="id2581765"></a>314 312 <a class="indexterm" name="id2581772"></a> 315 <a class="indexterm" name="id2581778"></a> 316 <a class="indexterm" name="id2581786"></a> 317 <a class="indexterm" name="id2581792"></a> 313 <a class="indexterm" name="id2581779"></a> 314 <a class="indexterm" name="id2581785"></a> 315 <a class="indexterm" name="id2581791"></a> 316 <a class="indexterm" name="id2581798"></a> 317 <a class="indexterm" name="id2581804"></a> 318 318 Samba-3 has a special facility that makes it possible to maintain identical UIDs and GIDs 319 319 on all servers in a distributed network. A distributed network is one where there exists … … 322 322 users are copying files across UNIX/Linux systems using tools such as <code class="literal">rsync</code>. 323 323 </p><p> 324 <a class="indexterm" name="id2581815"></a> 325 <a class="indexterm" name="id2581822"></a> 326 <a class="indexterm" name="id2581829"></a> 327 <a class="indexterm" name="id2581835"></a> 328 <a class="indexterm" name="id2581842"></a> 324 <a class="indexterm" name="id2581828"></a> 325 <a class="indexterm" name="id2581834"></a> 326 <a class="indexterm" name="id2581841"></a> 329 327 <a class="indexterm" name="id2581848"></a> 330 <a class="indexterm" name="id2581855"></a> 331 <a class="indexterm" name="id2581862"></a> 328 <a class="indexterm" name="id2581854"></a> 329 <a class="indexterm" name="id2581861"></a> 330 <a class="indexterm" name="id2581868"></a> 331 <a class="indexterm" name="id2581875"></a> 332 332 The special facility is enabled using a parameter called <em class="parameter"><code>idmap backend</code></em>. 333 333 The default setting for this parameter is an empty string. Technically it is possible to use … … 336 336 <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> 337 337 shows that configuration. 338 </p><a class="indexterm" name="id2581 892"></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="id2581925"></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="id2581942"></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="id25819 57"></a>340 <a class="indexterm" name="id25819 64"></a>338 </p><a class="indexterm" name="id2581904"></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="id2581938"></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="id2581954"></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="id2581970"></a> 340 <a class="indexterm" name="id2581977"></a> 341 341 A network administrator who wants to make significant use of LDAP backends will sooner or later be 342 342 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 343 343 produced and released to open source an array of tools that might be of interest. These tools include: 344 344 </p><div class="itemizedlist"><ul type="disc"><li><p> 345 <a class="indexterm" name="id2581988"></a> 346 <a class="indexterm" name="id2581994"></a> 347 <a class="indexterm" name="id2582001"></a> 348 <a class="indexterm" name="id2582008"></a> 345 <a class="indexterm" name="id2582000"></a> 346 <a class="indexterm" name="id2582007"></a> 349 347 <a class="indexterm" name="id2582014"></a> 350 <a class="indexterm" name="id258202 1"></a>351 <a class="indexterm" name="id258202 8"></a>348 <a class="indexterm" name="id2582020"></a> 349 <a class="indexterm" name="id2582027"></a> 352 350 <a class="indexterm" name="id2582034"></a> 351 <a class="indexterm" name="id2582041"></a> 352 <a class="indexterm" name="id2582047"></a> 353 353 <span class="emphasis"><em>nss_ldap:</em></span> An LDAP name service switch (NSS) module to provide native 354 354 name service support for AIX, Linux, Solaris, and other operating systems. This tool 355 355 can be used for centralized storage and retrieval of UIDs and GIDs. 356 356 </p></li><li><p> 357 <a class="indexterm" name="id25820 55"></a>358 <a class="indexterm" name="id25820 61"></a>359 <a class="indexterm" name="id25820 68"></a>360 <a class="indexterm" name="id25820 75"></a>357 <a class="indexterm" name="id2582067"></a> 358 <a class="indexterm" name="id2582074"></a> 359 <a class="indexterm" name="id2582081"></a> 360 <a class="indexterm" name="id2582087"></a> 361 361 <span class="emphasis"><em>pam_ldap:</em></span> A PAM module that provides LDAP integration for UNIX/Linux 362 362 system access authentication. 363 363 </p></li><li><p> 364 <a class="indexterm" name="id2582 093"></a>365 <a class="indexterm" name="id25821 00"></a>366 <a class="indexterm" name="id25821 07"></a>367 <a class="indexterm" name="id25821 14"></a>364 <a class="indexterm" name="id2582106"></a> 365 <a class="indexterm" name="id2582113"></a> 366 <a class="indexterm" name="id2582120"></a> 367 <a class="indexterm" name="id2582127"></a> 368 368 <span class="emphasis"><em>idmap_ad:</em></span> An IDMAP backend that supports the Microsoft Services for 369 369 UNIX RFC 2307 schema available from the PADL Web 370 370 <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="id25821 37"></a>Comments Regarding LDAP</h3></div></div></div><p>372 <a class="indexterm" name="id25821 45"></a>373 <a class="indexterm" name="id25821 54"></a>374 <a class="indexterm" name="id25821 61"></a>375 <a class="indexterm" name="id25821 68"></a>371 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2582150"></a>Comments Regarding LDAP</h3></div></div></div><p> 372 <a class="indexterm" name="id2582158"></a> 373 <a class="indexterm" name="id2582167"></a> 374 <a class="indexterm" name="id2582174"></a> 375 <a class="indexterm" name="id2582180"></a> 376 376 There is much excitement and interest in LDAP directories in the information technology world 377 377 today. The LDAP architecture was designed to be highly scalable. It was also designed for … … 380 380 Identity Management (FIM) solutions that can underlie a corporate Single Sign-On (SSO) environment. 381 381 </p><p> 382 <a class="indexterm" name="id25821 86"></a>383 <a class="indexterm" name="id2582 193"></a>384 <a class="indexterm" name="id2582 199"></a>385 <a class="indexterm" name="id25822 06"></a>382 <a class="indexterm" name="id2582198"></a> 383 <a class="indexterm" name="id2582205"></a> 384 <a class="indexterm" name="id2582212"></a> 385 <a class="indexterm" name="id2582219"></a> 386 386 LDAP implementations have been built across a wide variety of platforms. It lies at the core of Microsoft 387 387 Windows Active Directory services (ADS), Novell's eDirectory, as well as many others. Implementation of the … … 389 389 depend on some form of authentication services. 390 390 </p><p> 391 <a class="indexterm" name="id25822 22"></a>392 <a class="indexterm" name="id25822 29"></a>393 <a class="indexterm" name="id25822 36"></a>394 <a class="indexterm" name="id25822 43"></a>395 <a class="indexterm" name="id25822 50"></a>396 <a class="indexterm" name="id25822 57"></a>397 <a class="indexterm" name="id25822 64"></a>398 <a class="indexterm" name="id25822 71"></a>399 <a class="indexterm" name="id25822 78"></a>400 <a class="indexterm" name="id25822 85"></a>401 <a class="indexterm" name="id2582 292"></a>402 <a class="indexterm" name="id2582 298"></a>403 <a class="indexterm" name="id25823 05"></a>404 <a class="indexterm" name="id25823 12"></a>391 <a class="indexterm" name="id2582235"></a> 392 <a class="indexterm" name="id2582242"></a> 393 <a class="indexterm" name="id2582249"></a> 394 <a class="indexterm" name="id2582256"></a> 395 <a class="indexterm" name="id2582263"></a> 396 <a class="indexterm" name="id2582270"></a> 397 <a class="indexterm" name="id2582277"></a> 398 <a class="indexterm" name="id2582284"></a> 399 <a class="indexterm" name="id2582290"></a> 400 <a class="indexterm" name="id2582297"></a> 401 <a class="indexterm" name="id2582304"></a> 402 <a class="indexterm" name="id2582311"></a> 403 <a class="indexterm" name="id2582318"></a> 404 <a class="indexterm" name="id2582325"></a> 405 405 UNIX services can utilize LDAP directory information for authentication and access controls 406 406 through intermediate tools and utilities. The total environment that consists of the LDAP directory … … 411 411 and also Samba. 412 412 </p><p> 413 <a class="indexterm" name="id2582332"></a>414 <a class="indexterm" name="id2582339"></a>415 413 <a class="indexterm" name="id2582345"></a> 416 414 <a class="indexterm" name="id2582352"></a> 417 415 <a class="indexterm" name="id2582359"></a> 418 416 <a class="indexterm" name="id2582366"></a> 417 <a class="indexterm" name="id2582372"></a> 418 <a class="indexterm" name="id2582379"></a> 419 419 Many sites are installing LDAP for the first time in order to provide a scalable passdb backend 420 420 for Samba. Others are faced with the need to adapt an existing LDAP directory to new uses such … … 424 424 information systems management costs. 425 425 </p><p> 426 <a class="indexterm" name="id25823 85"></a>427 <a class="indexterm" name="id2582 392"></a>426 <a class="indexterm" name="id2582398"></a> 427 <a class="indexterm" name="id2582405"></a> 428 428 Do not rush into an LDAP deployment. Take the time to understand how the design of the Directory 429 429 Information Tree (DIT) may impact current and future site needs, as well as the ability to meet … … 432 432 first implementations create awakening, second implementations of LDAP create fear, and 433 433 third-generation deployments bring peace and tranquility. 434 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2582411"></a>Caution Regarding LDAP and Samba</h4></div></div></div><p> 435 <a class="indexterm" name="id2582419"></a> 436 <a class="indexterm" name="id2582426"></a> 434 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2582425"></a>Caution Regarding LDAP and Samba</h4></div></div></div><p> 437 435 <a class="indexterm" name="id2582433"></a> 438 436 <a class="indexterm" name="id2582440"></a> … … 440 438 <a class="indexterm" name="id2582454"></a> 441 439 <a class="indexterm" name="id2582461"></a> 440 <a class="indexterm" name="id2582468"></a> 441 <a class="indexterm" name="id2582475"></a> 442 442 Samba requires UNIX POSIX identity information as well as a place to store information that is 443 443 specific to Samba and the Windows networking environment. The most used information that must … … 445 445 trust accounts, and intermediate information specific to Samba internals. 446 446 </p><p> 447 <a class="indexterm" name="id25824 78"></a>448 <a class="indexterm" name="id25824 85"></a>449 <a class="indexterm" name="id2582 492"></a>447 <a class="indexterm" name="id2582491"></a> 448 <a class="indexterm" name="id2582498"></a> 449 <a class="indexterm" name="id2582505"></a> 450 450 The example deployment guidelines in this book, as well as other books and HOWTO documents 451 451 available from the internet may not fit with established directory designs and implementations. … … 454 454 the LDAP directory for use with Samba may not suit your needs. 455 455 </p><p> 456 <a class="indexterm" name="id25825 09"></a>456 <a class="indexterm" name="id2582523"></a> 457 457 It is not uncommon, for sites that have existing LDAP DITs to find necessity to generate a 458 458 set of site-specific scripts and utilities to make it possible to deploy Samba within the … … 462 462 into deployment. 463 463 </p><p> 464 <a class="indexterm" name="id25825 28"></a>465 <a class="indexterm" name="id25825 34"></a>464 <a class="indexterm" name="id2582541"></a> 465 <a class="indexterm" name="id2582548"></a> 466 466 Above all, do not blindly use scripts and tools that are not suitable for your site. Check 467 467 and validate all scripts before you execute them to make sure that the existing infrastructure 468 468 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="id2582549"></a>LDAP Directories and Windows Computer Accounts</h3></div></div></div><p> 470 <a class="indexterm" name="id2582557"></a> 471 <a class="indexterm" name="id2582564"></a> 469 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2582562"></a>LDAP Directories and Windows Computer Accounts</h3></div></div></div><p> 472 470 <a class="indexterm" name="id2582571"></a> 471 <a class="indexterm" name="id2582578"></a> 472 <a class="indexterm" name="id2582584"></a> 473 473 Samba doesn't provide a turnkey solution to LDAP. It is best to deal with the design and 474 474 configuration of an LDAP directory prior to integration with Samba. A working knowledge … … 476 476 it a frustrating experience. 477 477 </p><p> 478 <a class="indexterm" name="id2582587"></a>479 <a class="indexterm" name="id2582594"></a>480 478 <a class="indexterm" name="id2582600"></a> 479 <a class="indexterm" name="id2582607"></a> 480 <a class="indexterm" name="id2582614"></a> 481 481 Computer (machine) accounts can be placed wherever you like in an LDAP directory subject 482 482 to some constraints that are described in this chapter. 483 483 </p><p> 484 <a class="indexterm" name="id2582613"></a>485 <a class="indexterm" name="id2582620"></a>486 484 <a class="indexterm" name="id2582627"></a> 487 <a class="indexterm" name="id2582634"></a> 488 <a class="indexterm" name="id2582641"></a> 489 <a class="indexterm" name="id2582648"></a> 490 <a class="indexterm" name="id2582655"></a> 485 <a class="indexterm" name="id2582633"></a> 486 <a class="indexterm" name="id2582640"></a> 487 <a class="indexterm" name="id2582647"></a> 488 <a class="indexterm" name="id2582654"></a> 489 <a class="indexterm" name="id2582661"></a> 490 <a class="indexterm" name="id2582668"></a> 491 491 The POSIX and sambaSamAccount components of computer (machine) accounts are both used by Samba. 492 492 Thus, machine accounts are treated inside Samba in the same way that Windows NT4/200X treats … … 494 494 the machine account ends in a $ character, as do trust accounts. 495 495 </p><p> 496 <a class="indexterm" name="id2582671"></a>497 <a class="indexterm" name="id2582678"></a>498 496 <a class="indexterm" name="id2582684"></a> 499 497 <a class="indexterm" name="id2582691"></a> 500 498 <a class="indexterm" name="id2582698"></a> 499 <a class="indexterm" name="id2582705"></a> 500 <a class="indexterm" name="id2582712"></a> 501 501 The need for Windows user, group, machine, trust, and other accounts to be tied to a valid UNIX 502 502 UID is a design decision that was made a long way back in the history of Samba development. It … … 504 504 Samba-3.x series. 505 505 </p><p> 506 <a class="indexterm" name="id25827 13"></a>507 <a class="indexterm" name="id25827 20"></a>508 <a class="indexterm" name="id25827 26"></a>506 <a class="indexterm" name="id2582727"></a> 507 <a class="indexterm" name="id2582733"></a> 508 <a class="indexterm" name="id2582740"></a> 509 509 The resolution of a UID from the Windows SID is achieved within Samba through a mechanism that 510 510 must refer back to the host operating system on which Samba is running. The NSS is the preferred … … 512 512 host OS it runs on. 513 513 </p><p> 514 <a class="indexterm" name="id2582741"></a>515 <a class="indexterm" name="id2582748"></a>516 514 <a class="indexterm" name="id2582755"></a> 517 <a class="indexterm" name="id258276 2"></a>515 <a class="indexterm" name="id2582761"></a> 518 516 <a class="indexterm" name="id2582768"></a> 519 517 <a class="indexterm" name="id2582775"></a> 520 518 <a class="indexterm" name="id2582782"></a> 519 <a class="indexterm" name="id2582788"></a> 520 <a class="indexterm" name="id2582795"></a> 521 521 Samba asks the host OS to provide a UID via the “<span class="quote">passwd</span>”, “<span class="quote">shadow</span>”, 522 522 and “<span class="quote">group</span>” facilities in the NSS control (configuration) file. The best tool … … 526 526 all account entities can be located in an LDAP directory. 527 527 </p><p> 528 <a class="indexterm" name="id2582810"></a> 529 <a class="indexterm" name="id2582817"></a> 530 <a class="indexterm" name="id2582824"></a> 528 <a class="indexterm" name="id2582823"></a> 531 529 <a class="indexterm" name="id2582830"></a> 532 530 <a class="indexterm" name="id2582837"></a> 531 <a class="indexterm" name="id2582844"></a> 532 <a class="indexterm" name="id2582850"></a> 533 533 For many the weapon of choice is to use the PADL nss_ldap utility. This utility must 534 534 be configured so that computer accounts can be resolved to a POSIX/UNIX account UID. That … … 537 537 of an LDAP directory is a complex subject that is beyond the scope of this documentation. 538 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="id2582867"></a>540 <a class="indexterm" name="id2582874"></a>541 539 <a class="indexterm" name="id2582881"></a> 540 <a class="indexterm" name="id2582888"></a> 541 <a class="indexterm" name="id2582894"></a> 542 542 Samba provides two tools for management of user and machine accounts: 543 543 <code class="literal">smbpasswd</code> and <code class="literal">pdbedit</code>. 544 544 </p><p> 545 <a class="indexterm" name="id25829 04"></a>546 <a class="indexterm" name="id25829 11"></a>547 <a class="indexterm" name="id25829 18"></a>545 <a class="indexterm" name="id2582917"></a> 546 <a class="indexterm" name="id2582924"></a> 547 <a class="indexterm" name="id2582931"></a> 548 548 The <code class="literal">pdbedit</code> can be used to manage account policies in addition to 549 549 Samba user account information. The policy management capability is used to administer … … 551 551 attempts. 552 552 </p><p> 553 <a class="indexterm" name="id2582938"></a> 554 <a class="indexterm" name="id2582945"></a> 555 <a class="indexterm" name="id2582952"></a> 553 <a class="indexterm" name="id2582951"></a> 556 554 <a class="indexterm" name="id2582958"></a> 555 <a class="indexterm" name="id2582965"></a> 556 <a class="indexterm" name="id2582972"></a> 557 557 Some people are confused when reference is made to <code class="literal">smbpasswd</code> because the 558 558 name refers to a storage mechanism for SambaSAMAccount information, but it is also the name 559 559 of a utility tool. That tool is destined to eventually be replaced by new functionality that 560 560 is 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="id2582990"></a>The <code class="literal">smbpasswd</code> Tool</h3></div></div></div><p> 562 <a class="indexterm" name="id2583003"></a> 563 <a class="indexterm" name="id2583010"></a> 561 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2583003"></a>The <code class="literal">smbpasswd</code> Tool</h3></div></div></div><p> 564 562 <a class="indexterm" name="id2583017"></a> 565 <a class="indexterm" name="id258302 4"></a>563 <a class="indexterm" name="id2583023"></a> 566 564 <a class="indexterm" name="id2583030"></a> 565 <a class="indexterm" name="id2583037"></a> 566 <a class="indexterm" name="id2583044"></a> 567 567 The <code class="literal">smbpasswd</code> utility is similar to the <code class="literal">passwd</code> 568 568 and <code class="literal">yppasswd</code> programs. It maintains the two 32 byte password … … 571 571 backend</code></em> in the <code class="filename">smb.conf</code> file. 572 572 </p><p> 573 <a class="indexterm" name="id25830 74"></a>574 <a class="indexterm" name="id25830 81"></a>573 <a class="indexterm" name="id2583088"></a> 574 <a class="indexterm" name="id2583095"></a> 575 575 <code class="literal">smbpasswd</code> works in a client-server mode where it contacts the 576 576 local smbd to change the user's password on its behalf. This has enormous benefits. 577 577 </p><p> 578 <a class="indexterm" name="id25831 00"></a>579 <a class="indexterm" name="id25831 06"></a>578 <a class="indexterm" name="id2583113"></a> 579 <a class="indexterm" name="id2583120"></a> 580 580 <code class="literal">smbpasswd</code> has the capability to change passwords on Windows NT 581 581 servers (this only works when the request is sent to the NT PDC if changing an NT 582 582 domain user's password). 583 583 </p><p> 584 <a class="indexterm" name="id25831 25"></a>585 <a class="indexterm" name="id25831 32"></a>584 <a class="indexterm" name="id2583139"></a> 585 <a class="indexterm" name="id2583146"></a> 586 586 <code class="literal">smbpasswd</code> can be used to: 587 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> … … 602 602 new values do not match each other, then the password will not be changed. 603 603 </p><p> 604 <a class="indexterm" name="id25832 72"></a>604 <a class="indexterm" name="id2583285"></a> 605 605 When invoked by an ordinary user, the command will allow only the user to change his or her own 606 606 SMB password. 607 607 </p><p> 608 <a class="indexterm" name="id25832 84"></a>609 <a class="indexterm" name="id2583 291"></a>608 <a class="indexterm" name="id2583298"></a> 609 <a class="indexterm" name="id2583304"></a> 610 610 When run by root, <code class="literal">smbpasswd</code> may take an optional argument specifying 611 611 the username whose SMB password you wish to change. When run as root, <code class="literal">smbpasswd</code> … … 613 613 for users who have forgotten their passwords. 614 614 </p><p> 615 <a class="indexterm" name="id2583318"></a>616 <a class="indexterm" name="id2583324"></a>617 615 <a class="indexterm" name="id2583331"></a> 618 616 <a class="indexterm" name="id2583338"></a> 617 <a class="indexterm" name="id2583345"></a> 618 <a class="indexterm" name="id2583352"></a> 619 619 <code class="literal">smbpasswd</code> is designed to work in the way familiar to UNIX 620 620 users who use the <code class="literal">passwd</code> or <code class="literal">yppasswd</code> commands. … … 622 622 password change capabilities. 623 623 </p><p> 624 <a class="indexterm" name="id25833 69"></a>624 <a class="indexterm" name="id2583383"></a> 625 625 For more details on using <code class="literal">smbpasswd</code>, refer to the man page (the 626 626 definitive reference). 627 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="id2583404"></a> 629 <a class="indexterm" name="id2583411"></a> 630 <a class="indexterm" name="id2583417"></a> 628 <a class="indexterm" name="id2583418"></a> 631 629 <a class="indexterm" name="id2583424"></a> 630 <a class="indexterm" name="id2583431"></a> 631 <a class="indexterm" name="id2583438"></a> 632 632 <code class="literal">pdbedit</code> is a tool that can be used only by root. It is used to 633 633 manage the passdb backend, as well as domain-wide account policy settings. <code class="literal">pdbedit</code> 634 634 can be used to: 635 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="id25834 84"></a>636 <a class="indexterm" name="id2583497"></a> 637 637 Under the terms of the Sarbanes-Oxley Act of 2002, American businesses and organizations are mandated to 638 638 implement a series of <code class="literal">internal controls</code> and procedures to communicate, store, … … 640 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 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="id25835 56"></a>643 <a class="indexterm" name="id25835 63"></a>642 <a class="indexterm" name="id2583570"></a> 643 <a class="indexterm" name="id2583576"></a> 644 644 In short, the Sarbanes-Oxley Act of 2002 is an instrument that enforces accountability in respect of 645 645 business related information systems so as to ensure the compliance of all information systems that … … 647 647 accountabilities are being demanded around the world. 648 648 </p><p> 649 <a class="indexterm" name="id2583579"></a>650 <a class="indexterm" name="id2583586"></a>651 649 <a class="indexterm" name="id2583593"></a> 652 650 <a class="indexterm" name="id2583600"></a> 653 <a class="indexterm" name="id2583607"></a> 651 <a class="indexterm" name="id2583606"></a> 652 <a class="indexterm" name="id2583613"></a> 653 <a class="indexterm" name="id2583620"></a> 654 654 The need to be familiar with the Samba tools and facilities that permit information systems operation 655 655 in compliance with government laws and regulations is clear to all. The <code class="literal">pdbedit</code> is … … 661 661 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>. 662 662 </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>Mimimum 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="id2583988"></a> 664 <a class="indexterm" name="id2583995"></a> 665 <a class="indexterm" name="id2584002"></a> 663 <a class="indexterm" name="id2584002"></a> 666 664 <a class="indexterm" name="id2584009"></a> 665 <a class="indexterm" name="id2584016"></a> 666 <a class="indexterm" name="id2584023"></a> 667 667 The <code class="literal">pdbedit</code> tool is the only one that can manage the account 668 668 security and policy settings. It is capable of all operations that smbpasswd can 669 669 do as well as a superset of them. 670 670 </p><p> 671 <a class="indexterm" name="id25840 28"></a>672 <a class="indexterm" name="id25840 35"></a>673 <a class="indexterm" name="id25840 42"></a>671 <a class="indexterm" name="id2584042"></a> 672 <a class="indexterm" name="id2584048"></a> 673 <a class="indexterm" name="id2584055"></a> 674 674 One particularly important purpose of the <code class="literal">pdbedit</code> is to allow 675 675 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="id2584058"></a>User Account Management</h4></div></div></div><p> 677 <a class="indexterm" name="id2584066"></a> 678 <a class="indexterm" name="id2584073"></a> 676 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2584072"></a>User Account Management</h4></div></div></div><p> 679 677 <a class="indexterm" name="id2584080"></a> 680 678 <a class="indexterm" name="id2584087"></a> 681 <a class="indexterm" name="id2584094"></a> 682 <a class="indexterm" name="id2584101"></a> 683 <a class="indexterm" name="id2584108"></a> 679 <a class="indexterm" name="id2584093"></a> 680 <a class="indexterm" name="id2584100"></a> 681 <a class="indexterm" name="id2584107"></a> 682 <a class="indexterm" name="id2584114"></a> 683 <a class="indexterm" name="id2584121"></a> 684 684 The <code class="literal">pdbedit</code> tool, like the <code class="literal">smbpasswd</code> tool, requires 685 685 that a POSIX user account already exists in the UNIX/Linux system accounts database (backend). … … 691 691 make use of these interface scripts. 692 692 </p><p> 693 <a class="indexterm" name="id25841 51"></a>694 <a class="indexterm" name="id25841 58"></a>693 <a class="indexterm" name="id2584165"></a> 694 <a class="indexterm" name="id2584172"></a> 695 695 Before attempting to use the <code class="literal">pdbedit</code> tool to manage user and machine 696 696 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="id25841 75"></a>Listing User and Machine Accounts</h5></div></div></div><p>698 <a class="indexterm" name="id25841 83"></a>699 <a class="indexterm" name="id2584 190"></a>697 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2584188"></a>Listing User and Machine Accounts</h5></div></div></div><p> 698 <a class="indexterm" name="id2584196"></a> 699 <a class="indexterm" name="id2584203"></a> 700 700 The following is an example of the user account information that is stored in 701 701 a tdbsam password backend. This listing was produced by running: … … 724 724 </pre><p> 725 725 </p><p> 726 <a class="indexterm" name="id25842 32"></a>726 <a class="indexterm" name="id2584245"></a> 727 727 Accounts can also be listed in the older <code class="literal">smbpasswd</code> format: 728 728 </p><pre class="screen"> … … 749 749 C610EFE9A385A3E8AA46ADFD576E6881:[W ]:LCT-40F07A4 750 750 </pre><p> 751 <a class="indexterm" name="id2584280"></a>752 <a class="indexterm" name="id2584287"></a>753 751 <a class="indexterm" name="id2584294"></a> 754 752 <a class="indexterm" name="id2584300"></a> 755 753 <a class="indexterm" name="id2584307"></a> 756 754 <a class="indexterm" name="id2584314"></a> 755 <a class="indexterm" name="id2584321"></a> 756 <a class="indexterm" name="id2584328"></a> 757 757 The account information that was returned by this command in order from left to right 758 758 consists of the following colon separated data: 759 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="id25843 64"></a>761 <a class="indexterm" name="id25843 71"></a>760 <a class="indexterm" name="id2584378"></a> 761 <a class="indexterm" name="id2584385"></a> 762 762 The Account Flags parameters are documented in the <code class="literal">pdbedit</code> man page, and are 763 763 briefly documented in <a class="link" href="passdb.html#TOSHARG-acctflags" title="Account Flags Management">the Account Flags Management section</a>. 764 764 </p><p> 765 <a class="indexterm" name="id2584 398"></a>765 <a class="indexterm" name="id2584412"></a> 766 766 The LCT data consists of 8 hexadecimal characters representing the time since January 1, 1970, of 767 767 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="id2584409"></a>Adding User Accounts</h5></div></div></div><p> 769 <a class="indexterm" name="id2584417"></a> 770 <a class="indexterm" name="id2584424"></a> 768 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2584423"></a>Adding User Accounts</h5></div></div></div><p> 771 769 <a class="indexterm" name="id2584431"></a> 772 770 <a class="indexterm" name="id2584438"></a> 773 771 <a class="indexterm" name="id2584445"></a> 772 <a class="indexterm" name="id2584452"></a> 773 <a class="indexterm" name="id2584458"></a> 774 774 The <code class="literal">pdbedit</code> can be used to add a user account to a standalone server 775 775 or to a domain. In the example shown here the account for the user <code class="literal">vlaan</code> … … 803 803 Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 804 804 </pre><p> 805 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2584497"></a>Deleting Accounts</h5></div></div></div><p> 806 <a class="indexterm" name="id2584505"></a> 807 <a class="indexterm" name="id2584512"></a> 805 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2584510"></a>Deleting Accounts</h5></div></div></div><p> 808 806 <a class="indexterm" name="id2584518"></a> 809 807 <a class="indexterm" name="id2584525"></a> 808 <a class="indexterm" name="id2584532"></a> 809 <a class="indexterm" name="id2584539"></a> 810 810 An account can be deleted from the SambaSAMAccount database 811 811 </p><pre class="screen"> … … 815 815 SambaSAMAccount (passdb backend) database, it is not removed from the UNIX account backend. 816 816 </p><p> 817 <a class="indexterm" name="id25845 52"></a>818 <a class="indexterm" name="id25845 59"></a>817 <a class="indexterm" name="id2584565"></a> 818 <a class="indexterm" name="id2584572"></a> 819 819 The use of the NT4 domain user manager to delete an account will trigger the <em class="parameter"><code>delete user 820 820 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="id25845 81"></a>Changing User Accounts</h5></div></div></div><p>822 <a class="indexterm" name="id2584 589"></a>821 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2584595"></a>Changing User Accounts</h5></div></div></div><p> 822 <a class="indexterm" name="id2584603"></a> 823 823 Refer to the <code class="literal">pdbedit</code> man page for a full synopsis of all operations 824 824 that are available with this tool. 825 825 </p><p> 826 <a class="indexterm" name="id25846 07"></a>826 <a class="indexterm" name="id2584621"></a> 827 827 An example of a simple change in the user account information is the change of the full name 828 828 information shown here: … … 836 836 </pre><p> 837 837 </p><p> 838 <a class="indexterm" name="id2584634"></a>839 <a class="indexterm" name="id2584641"></a>840 838 <a class="indexterm" name="id2584648"></a> 839 <a class="indexterm" name="id2584654"></a> 840 <a class="indexterm" name="id2584661"></a> 841 841 Let us assume for a moment that a user's password has expired and the user is unable to 842 842 change the password at this time. It may be necessary to give the user additional grace time … … 853 853 ... 854 854 </pre><p> 855 <a class="indexterm" name="id25846 76"></a>856 <a class="indexterm" name="id25846 83"></a>855 <a class="indexterm" name="id2584690"></a> 856 <a class="indexterm" name="id2584697"></a> 857 857 The user has recorded 2 bad logon attempts and the next will lock the account, but the 858 858 password is also expired. Here is how this account can be reset: … … 886 886 ... 887 887 </pre><p> 888 <a class="indexterm" name="id25847 47"></a>889 <a class="indexterm" name="id25847 54"></a>888 <a class="indexterm" name="id2584761"></a> 889 <a class="indexterm" name="id2584768"></a> 890 890 Refer to the strptime man page for specific time format information. 891 891 </p><p> 892 <a class="indexterm" name="id25847 66"></a>893 <a class="indexterm" name="id25847 72"></a>892 <a class="indexterm" name="id2584779"></a> 893 <a class="indexterm" name="id2584786"></a> 894 894 Please refer to the pdbedit man page for further information relating to SambaSAMAccount 895 895 management. 896 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="id2584 794"></a>898 <a class="indexterm" name="id25848 01"></a>899 <a class="indexterm" name="id25848 10"></a>900 <a class="indexterm" name="id25848 17"></a>897 <a class="indexterm" name="id2584808"></a> 898 <a class="indexterm" name="id2584815"></a> 899 <a class="indexterm" name="id2584824"></a> 900 <a class="indexterm" name="id2584830"></a> 901 901 The Samba SAM account flags are properly called the ACB (account control block) within 902 902 the Samba source code. In some parts of the Samba source code they are referred to as the 903 903 account encode_bits, and also as the account control flags. 904 904 </p><p> 905 <a class="indexterm" name="id2584831"></a>906 <a class="indexterm" name="id2584838"></a>907 905 <a class="indexterm" name="id2584845"></a> 908 906 <a class="indexterm" name="id2584852"></a> 909 907 <a class="indexterm" name="id2584859"></a> 908 <a class="indexterm" name="id2584866"></a> 909 <a class="indexterm" name="id2584872"></a> 910 910 The manual adjustment of user, machine (workstation or server) or an inter-domain trust 911 911 account account flgas should not be necessary under normal conditions of use of Samba. On the other hand, … … 913 913 useful. The tool of choice by which such correction can be affected is the <code class="literal">pdbedit</code> utility. 914 914 </p><p> 915 <a class="indexterm" name="id25848 82"></a>916 <a class="indexterm" name="id2584 889"></a>915 <a class="indexterm" name="id2584895"></a> 916 <a class="indexterm" name="id2584902"></a> 917 917 There have been a few requests for information regarding the account flags from developers 918 918 who are creating their own Samba management tools. An example of a need for information regarding … … 920 920 to manage an LDAP directory. 921 921 </p><p> 922 <a class="indexterm" name="id25849 05"></a>923 <a class="indexterm" name="id25849 11"></a>922 <a class="indexterm" name="id2584918"></a> 923 <a class="indexterm" name="id2584925"></a> 924 924 The account flag field can contain up to 16 characters. Presently, only 11 are in use. 925 925 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>. … … 927 927 In fact, they can be set without problem in any order in the SambaAcctFlags record in the LDAP directory. 928 928 </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="id25851 40"></a>930 <a class="indexterm" name="id25851 47"></a>929 <a class="indexterm" name="id2585154"></a> 930 <a class="indexterm" name="id2585160"></a> 931 931 An example of use of the <code class="literal">pdbedit</code> utility to set the account control flags 932 932 is shown here: … … 956 956 Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 957 957 </pre><p> 958 <a class="indexterm" name="id25852 02"></a>958 <a class="indexterm" name="id2585216"></a> 959 959 The flags can be reset to the default settings by executing: 960 960 </p><pre class="screen"> … … 983 983 Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 984 984 </pre><p> 985 </p></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id25852 39"></a>Domain Account Policy Managment</h5></div></div></div><p>986 <a class="indexterm" name="id25852 48"></a>987 <a class="indexterm" name="id25852 55"></a>985 </p></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2585253"></a>Domain Account Policy Managment</h5></div></div></div><p> 986 <a class="indexterm" name="id2585261"></a> 987 <a class="indexterm" name="id2585268"></a> 988 988 To view the domain account access policies that may be configured execute: 989 989 </p><pre class="screen"> … … 1033 1033 time there after. Please check the WHATSNEW.txt file in the Samba-3 tarball for specific update notiations 1034 1034 regarding this facility. 1035 </p></div></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25854 01"></a>Account Import/Export</h4></div></div></div><p>1036 <a class="indexterm" name="id25854 09"></a>1037 <a class="indexterm" name="id25854 16"></a>1038 <a class="indexterm" name="id25854 23"></a>1035 </p></div></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2585414"></a>Account Import/Export</h4></div></div></div><p> 1036 <a class="indexterm" name="id2585422"></a> 1037 <a class="indexterm" name="id2585429"></a> 1038 <a class="indexterm" name="id2585436"></a> 1039 1039 The <code class="literal">pdbedit</code> tool allows import/export of authentication (account) 1040 1040 databases from one backend to another. For example, to import/export accounts from an … … 1042 1042 backend: 1043 1043 </p><div class="procedure"><ol type="1"><li><p> 1044 <a class="indexterm" name="id25854 59"></a>1044 <a class="indexterm" name="id2585473"></a> 1045 1045 </p><pre class="screen"> 1046 1046 <code class="prompt">root# </code><strong class="userinput"><code>pdbedit -i smbpasswd -e tdbsam</code></strong> 1047 1047 </pre><p> 1048 1048 </p></li><li><p> 1049 <a class="indexterm" name="id2585 489"></a>1049 <a class="indexterm" name="id2585502"></a> 1050 1050 Replace the <em class="parameter"><code>smbpasswd</code></em> with <em class="parameter"><code>tdbsam</code></em> in the 1051 1051 <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="id25855 26"></a>Password Backends</h2></div></div></div><p>1053 <a class="indexterm" name="id25855 34"></a>1054 <a class="indexterm" name="id25855 41"></a>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="id2585539"></a>Password Backends</h2></div></div></div><p> 1053 <a class="indexterm" name="id2585547"></a> 1054 <a class="indexterm" name="id2585554"></a> 1055 1055 Samba offers flexibility in backend account database design. The flexibility is immediately obvious as one 1056 1056 begins to explore this capability. Recent changes to Samba (since 3.0.23) have removed the mulitple backend … … 1058 1058 operation of Samba-3 more consistent and predictable. 1059 1059 </p><p> 1060 <a class="indexterm" name="id25855 57"></a>1061 <a class="indexterm" name="id25855 64"></a>1060 <a class="indexterm" name="id2585571"></a> 1061 <a class="indexterm" name="id2585578"></a> 1062 1062 Beginning with Samba 3.0.23 it is no longer possible to specify use of mulitple passdb backends. Earlier 1063 1063 versions of Samba-3 made it possible to specify multiple password backends, and even multiple … … 1065 1065 SID to name ID resolution. The Samba team wrestled with the challenges and decided that this feature needed 1066 1066 to be removed. 1067 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2585579"></a>Plaintext</h3></div></div></div><p> 1068 <a class="indexterm" name="id2585587"></a> 1069 <a class="indexterm" name="id2585594"></a> 1067 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2585593"></a>Plaintext</h3></div></div></div><p> 1070 1068 <a class="indexterm" name="id2585601"></a> 1071 1069 <a class="indexterm" name="id2585608"></a> 1072 1070 <a class="indexterm" name="id2585615"></a> 1073 1071 <a class="indexterm" name="id2585622"></a> 1072 <a class="indexterm" name="id2585628"></a> 1073 <a class="indexterm" name="id2585635"></a> 1074 1074 Older versions of Samba retrieved user information from the UNIX user database 1075 1075 and eventually some other fields from the file <code class="filename">/etc/samba/smbpasswd</code> … … 1078 1078 that the Samba host OS will access its <code class="filename">/etc/passwd</code> database. 1079 1079 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="id25856 55"></a>smbpasswd: Encrypted Password Database</h3></div></div></div><p>1081 <a class="indexterm" name="id25856 64"></a>1082 <a class="indexterm" name="id25856 73"></a>1083 <a class="indexterm" name="id25856 80"></a>1084 <a class="indexterm" name="id2585 687"></a>1080 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2585669"></a>smbpasswd: Encrypted Password Database</h3></div></div></div><p> 1081 <a class="indexterm" name="id2585677"></a> 1082 <a class="indexterm" name="id2585686"></a> 1083 <a class="indexterm" name="id2585693"></a> 1084 <a class="indexterm" name="id2585700"></a> 1085 1085 Traditionally, when configuring <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS">encrypt passwords = yes</a> 1086 1086 in Samba's <code class="filename">smb.conf</code> file, user account information such as username, LM/NT password hashes, … … 1089 1089 (counted in the thousands). 1090 1090 </p><div class="itemizedlist"><ul type="disc"><li><p> 1091 <a class="indexterm" name="id25857 30"></a>1091 <a class="indexterm" name="id2585743"></a> 1092 1092 The first problem is that all lookups must be performed sequentially. Given that 1093 1093 there are approximately two lookups per domain logon (one during intial logon validation … … 1096 1096 such as that used in databases. 1097 1097 </p></li><li><p> 1098 <a class="indexterm" name="id2585747"></a>1099 <a class="indexterm" name="id2585754"></a>1100 1098 <a class="indexterm" name="id2585761"></a> 1101 1099 <a class="indexterm" name="id2585768"></a> 1102 1100 <a class="indexterm" name="id2585774"></a> 1101 <a class="indexterm" name="id2585781"></a> 1102 <a class="indexterm" name="id2585788"></a> 1103 1103 The second problem is that administrators who desire to replicate an smbpasswd file 1104 1104 to more than one Samba server are left to use external tools such as … … 1106 1106 in-house scripts. 1107 1107 </p></li><li><p> 1108 <a class="indexterm" name="id2585800"></a>1109 <a class="indexterm" name="id2585807"></a>1110 1108 <a class="indexterm" name="id2585814"></a> 1111 <a class="indexterm" name="id2585821"></a> 1112 <a class="indexterm" name="id2585828"></a> 1109 <a class="indexterm" name="id2585820"></a> 1110 <a class="indexterm" name="id2585827"></a> 1111 <a class="indexterm" name="id2585834"></a> 1112 <a class="indexterm" name="id2585841"></a> 1113 1113 Finally, the amount of information that is stored in an smbpasswd entry leaves 1114 1114 no room for additional attributes such as a home directory, password expiration time, 1115 1115 or even a relative identifier (RID). 1116 1116 </p></li></ul></div><p> 1117 <a class="indexterm" name="id2585845"></a>1118 <a class="indexterm" name="id2585852"></a>1119 1117 <a class="indexterm" name="id2585858"></a> 1120 1118 <a class="indexterm" name="id2585865"></a> 1119 <a class="indexterm" name="id2585872"></a> 1120 <a class="indexterm" name="id2585878"></a> 1121 1121 As a result of these deficiencies, a more robust means of storing user attributes 1122 1122 used by smbd was developed. The API that defines access to user accounts … … 1124 1124 API and is still so named in the Samba source code trees). 1125 1125 </p><p> 1126 <a class="indexterm" name="id2585880"></a>1127 <a class="indexterm" name="id2585887"></a>1128 1126 <a class="indexterm" name="id2585894"></a> 1129 1127 <a class="indexterm" name="id2585901"></a> 1130 1128 <a class="indexterm" name="id2585908"></a> 1129 <a class="indexterm" name="id2585915"></a> 1130 <a class="indexterm" name="id2585922"></a> 1131 1131 Samba provides an enhanced set of passdb backends that overcome the deficiencies 1132 1132 of the smbpasswd plaintext database. These are tdbsam and ldapsam. 1133 1133 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="id25859 21"></a>tdbsam</h3></div></div></div><p>1135 <a class="indexterm" name="id25859 29"></a>1136 <a class="indexterm" name="id25859 38"></a>1137 <a class="indexterm" name="id25859 47"></a>1134 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2585935"></a>tdbsam</h3></div></div></div><p> 1135 <a class="indexterm" name="id2585942"></a> 1136 <a class="indexterm" name="id2585952"></a> 1137 <a class="indexterm" name="id2585961"></a> 1138 1138 Samba can store user and machine account data in a “<span class="quote">TDB</span>” (trivial database). 1139 1139 Using this backend does not require any additional configuration. This backend is 1140 1140 recommended for new installations that do not require LDAP. 1141 1141 </p><p> 1142 <a class="indexterm" name="id2585964"></a>1143 <a class="indexterm" name="id2585971"></a>1144 1142 <a class="indexterm" name="id2585978"></a> 1145 <a class="indexterm" name="id2585984"></a> 1143 <a class="indexterm" name="id2585985"></a> 1144 <a class="indexterm" name="id2585991"></a> 1145 <a class="indexterm" name="id2585998"></a> 1146 1146 As a general guide, the Samba Team does not recommend using the tdbsam backend for sites 1147 1147 that have 250 or more users. Additionally, tdbsam is not capable of scaling for use … … 1149 1149 database. Clearly, for reason of scalability, the use of ldapsam should be encouraged. 1150 1150 </p><p> 1151 <a class="indexterm" name="id2586000"></a>1152 <a class="indexterm" name="id2586007"></a>1153 1151 <a class="indexterm" name="id2586014"></a> 1152 <a class="indexterm" name="id2586021"></a> 1153 <a class="indexterm" name="id2586028"></a> 1154 1154 The recommendation of a 250-user limit is purely based on the notion that this 1155 1155 would generally involve a site that has routed networks, possibly spread across … … 1157 1157 the performance-based scalability limits of the tdbsam architecture. 1158 1158 </p><p> 1159 <a class="indexterm" name="id2586030"></a> 1160 <a class="indexterm" name="id2586037"></a> 1161 <a class="indexterm" name="id2586044"></a> 1159 <a class="indexterm" name="id2586043"></a> 1162 1160 <a class="indexterm" name="id2586050"></a> 1161 <a class="indexterm" name="id2586057"></a> 1162 <a class="indexterm" name="id2586064"></a> 1163 1163 There are sites that have thousands of users and yet require only one server. 1164 1164 One site recently reported having 4,500 user accounts on one UNIX system and … … 1168 1168 only on the need for a reliable distribution mechanism for the SambaSAMAccount 1169 1169 backend. 1170 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25860 79"></a>ldapsam</h3></div></div></div><p>1171 <a class="indexterm" name="id2586 087"></a>1172 <a class="indexterm" name="id2586 093"></a>1173 <a class="indexterm" name="id25861 00"></a>1170 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2586092"></a>ldapsam</h3></div></div></div><p> 1171 <a class="indexterm" name="id2586100"></a> 1172 <a class="indexterm" name="id2586107"></a> 1173 <a class="indexterm" name="id2586114"></a> 1174 1174 There are a few points to stress that the ldapsam does not provide. The LDAP 1175 1175 support referred to in this documentation does not include: 1176 1176 </p><div class="itemizedlist"><ul type="disc"><li><p>A means of retrieving user account information from 1177 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="id2586129"></a>1179 <a class="indexterm" name="id2586136"></a>1180 1178 <a class="indexterm" name="id2586143"></a> 1181 <a class="indexterm" name="id2586149"></a> 1179 <a class="indexterm" name="id2586150"></a> 1180 <a class="indexterm" name="id2586156"></a> 1181 <a class="indexterm" name="id2586163"></a> 1182 1182 The second item can be accomplished by using LDAP NSS and PAM modules. LGPL versions of these libraries can be 1183 1183 obtained from <a class="ulink" href="http://www.padl.com/" target="_top">PADL Software</a>. More information about the … … 1185 1185 <span class="emphasis"><em>LDAP, System Administration</em></span> by Gerald Carter, Chapter 6, Replacing NIS"</a>. 1186 1186 </p><p> 1187 <a class="indexterm" name="id2586180"></a>1188 <a class="indexterm" name="id2586187"></a>1189 1187 <a class="indexterm" name="id2586194"></a> 1188 <a class="indexterm" name="id2586200"></a> 1189 <a class="indexterm" name="id2586207"></a> 1190 1190 This document describes how to use an LDAP directory for storing Samba user 1191 1191 account information traditionally stored in the smbpasswd(5) file. It is … … 1200 1200 Two additional Samba resources that may prove to be helpful are: 1201 1201 </p><div class="itemizedlist"><ul type="disc"><li><p> 1202 <a class="indexterm" name="id25862 74"></a>1202 <a class="indexterm" name="id2586288"></a> 1203 1203 The <a class="ulink" href="http://www.unav.es/cti/ldap-smb/ldap-smb-3-howto.html" target="_top">Samba-PDC-LDAP-HOWTO</a> 1204 1204 maintained by Ignacio Coupeau. 1205 1205 </p></li><li><p> 1206 <a class="indexterm" name="id2586294"></a>1207 <a class="indexterm" name="id2586300"></a>1208 1206 <a class="indexterm" name="id2586307"></a> 1207 <a class="indexterm" name="id2586314"></a> 1208 <a class="indexterm" name="id2586321"></a> 1209 1209 The NT migration scripts from <a class="ulink" href="http://samba.idealx.org/" target="_top">IDEALX</a> that are 1210 1210 geared to manage users and groups in such a Samba-LDAP domain controller configuration. 1211 1211 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="id2586326"></a>Supported LDAP Servers</h4></div></div></div><p> 1213 <a class="indexterm" name="id2586334"></a> 1214 <a class="indexterm" name="id2586341"></a> 1212 </p></li></ul></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2586340"></a>Supported LDAP Servers</h4></div></div></div><p> 1215 1213 <a class="indexterm" name="id2586348"></a> 1216 1214 <a class="indexterm" name="id2586355"></a> 1215 <a class="indexterm" name="id2586362"></a> 1216 <a class="indexterm" name="id2586368"></a> 1217 1217 The LDAP ldapsam code was developed and tested using the OpenLDAP 2.x server and 1218 1218 client libraries. The same code should work with Netscape's Directory Server and client SDK. … … 1221 1221 </p><p> 1222 1222 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="id25863 81"></a>Schema and Relationship to the RFC 2307 posixAccount</h4></div></div></div><p>1223 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2586395"></a>Schema and Relationship to the RFC 2307 posixAccount</h4></div></div></div><p> 1224 1224 Samba-3.0 includes the necessary schema file for OpenLDAP 2.x in the 1225 1225 <code class="filename">examples/LDAP/samba.schema</code> directory of the source code distribution … … 1237 1237 </pre><p> 1238 1238 </p><p> 1239 <a class="indexterm" name="id2586427"></a>1240 <a class="indexterm" name="id2586434"></a>1241 1239 <a class="indexterm" name="id2586440"></a> 1240 <a class="indexterm" name="id2586447"></a> 1241 <a class="indexterm" name="id2586454"></a> 1242 1242 The <code class="filename">samba.schema</code> file has been formatted for OpenLDAP 2.0/2.1. 1243 1243 The Samba Team owns the OID space used by the above schema and recommends its use. … … 1245 1245 schema file as a patch to <a class="ulink" href="mailto:jerry@samba.org" target="_top">jerry@samba.org</a>. 1246 1246 </p><p> 1247 <a class="indexterm" name="id2586467"></a> 1248 <a class="indexterm" name="id2586474"></a> 1249 <a class="indexterm" name="id2586481"></a> 1250 <a class="indexterm" name="id2586488"></a> 1247 <a class="indexterm" name="id2586480"></a> 1248 <a class="indexterm" name="id2586487"></a> 1251 1249 <a class="indexterm" name="id2586494"></a> 1252 1250 <a class="indexterm" name="id2586501"></a> 1253 1251 <a class="indexterm" name="id2586508"></a> 1252 <a class="indexterm" name="id2586515"></a> 1253 <a class="indexterm" name="id2586521"></a> 1254 1254 Just as the smbpasswd file is meant to store information that provides information 1255 1255 additional to a user's <code class="filename">/etc/passwd</code> entry, so is the sambaSamAccount … … 1260 1260 with the posixAccount ObjectClass outlined in RFC 2307. This is by design. 1261 1261 </p><p> 1262 <a class="indexterm" name="id2586537"></a> 1263 <a class="indexterm" name="id2586544"></a> 1264 <a class="indexterm" name="id2586551"></a> 1265 <a class="indexterm" name="id2586558"></a> 1262 <a class="indexterm" name="id2586550"></a> 1263 <a class="indexterm" name="id2586557"></a> 1266 1264 <a class="indexterm" name="id2586564"></a> 1267 1265 <a class="indexterm" name="id2586571"></a> 1268 1266 <a class="indexterm" name="id2586578"></a> 1269 1267 <a class="indexterm" name="id2586585"></a> 1270 <a class="indexterm" name="id2586591"></a> 1268 <a class="indexterm" name="id2586592"></a> 1269 <a class="indexterm" name="id2586598"></a> 1270 <a class="indexterm" name="id2586605"></a> 1271 1271 In order to store all user account information (UNIX and Samba) in the directory, 1272 1272 it is necessary to use the sambaSamAccount and posixAccount ObjectClasses in … … 1277 1277 store all Samba account information in LDAP, but still maintain UNIX account 1278 1278 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="id2586617"></a>OpenLDAP Configuration</h4></div></div></div><p> 1280 <a class="indexterm" name="id2586625"></a> 1281 <a class="indexterm" name="id2586632"></a> 1279 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2586630"></a>OpenLDAP Configuration</h4></div></div></div><p> 1282 1280 <a class="indexterm" name="id2586638"></a> 1283 1281 <a class="indexterm" name="id2586645"></a> 1282 <a class="indexterm" name="id2586652"></a> 1283 <a class="indexterm" name="id2586659"></a> 1284 1284 To include support for the sambaSamAccount object in an OpenLDAP directory 1285 1285 server, first copy the samba.schema file to slapd's configuration directory. … … 1290 1290 </pre><p> 1291 1291 </p><p> 1292 <a class="indexterm" name="id2586682"></a>1293 <a class="indexterm" name="id2586689"></a>1294 1292 <a class="indexterm" name="id2586696"></a> 1295 1293 <a class="indexterm" name="id2586703"></a> 1296 <a class="indexterm" name="id25867 10"></a>1294 <a class="indexterm" name="id2586709"></a> 1297 1295 <a class="indexterm" name="id2586716"></a> 1298 1296 <a class="indexterm" name="id2586723"></a> 1299 1297 <a class="indexterm" name="id2586730"></a> 1298 <a class="indexterm" name="id2586737"></a> 1299 <a class="indexterm" name="id2586744"></a> 1300 1300 Next, include the <code class="filename">samba.schema</code> file in <code class="filename">slapd.conf</code>. 1301 1301 The sambaSamAccount object contains two attributes that depend on other schema … … 1317 1317 </pre><p> 1318 1318 </p><p> 1319 <a class="indexterm" name="id2586798"></a>1320 <a class="indexterm" name="id2586805"></a>1321 1319 <a class="indexterm" name="id2586812"></a> 1322 1320 <a class="indexterm" name="id2586819"></a> 1321 <a class="indexterm" name="id2586826"></a> 1322 <a class="indexterm" name="id2586832"></a> 1323 1323 It is recommended that you maintain some indices on some of the most useful attributes, 1324 1324 as in the following example, to speed up searches made on sambaSamAccount ObjectClasses … … 1358 1358 <code class="prompt">root# </code><strong class="userinput"><code>/etc/init.d/slapd restart</code></strong> 1359 1359 </pre><p> 1360 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2586 889"></a>Initialize the LDAP Database</h4></div></div></div><p>1361 <a class="indexterm" name="id2586 897"></a>1362 <a class="indexterm" name="id25869 04"></a>1363 <a class="indexterm" name="id25869 11"></a>1364 <a class="indexterm" name="id25869 18"></a>1360 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2586902"></a>Initialize the LDAP Database</h4></div></div></div><p> 1361 <a class="indexterm" name="id2586910"></a> 1362 <a class="indexterm" name="id2586917"></a> 1363 <a class="indexterm" name="id2586924"></a> 1364 <a class="indexterm" name="id2586931"></a> 1365 1365 Before you can add accounts to the LDAP database, you must create the account containers 1366 1366 that they will be stored in. The following LDIF file should be modified to match your … … 1424 1424 </pre><p> 1425 1425 </p><p> 1426 <a class="indexterm" name="id25869 60"></a>1427 <a class="indexterm" name="id25869 67"></a>1426 <a class="indexterm" name="id2586974"></a> 1427 <a class="indexterm" name="id2586981"></a> 1428 1428 The userPassword shown above should be generated using <code class="literal">slappasswd</code>. 1429 1429 </p><p> 1430 <a class="indexterm" name="id25869 84"></a>1431 <a class="indexterm" name="id258 6991"></a>1430 <a class="indexterm" name="id2586998"></a> 1431 <a class="indexterm" name="id2587004"></a> 1432 1432 The following command will then load the contents of the LDIF file into the LDAP 1433 1433 database. 1434 <a class="indexterm" name="id25870 00"></a>1434 <a class="indexterm" name="id2587013"></a> 1435 1435 </p><pre class="screen"> 1436 1436 <code class="prompt">$ </code><strong class="userinput"><code>slapadd -v -l initldap.dif</code></strong> … … 1440 1440 as well as an admin password. 1441 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="id25870 32"></a>1442 <a class="indexterm" name="id2587045"></a> 1443 1443 Before Samba can access the LDAP server, you need to store the LDAP admin password 1444 1444 in the Samba-3 <code class="filename">secrets.tdb</code> database by: 1445 <a class="indexterm" name="id25870 47"></a>1445 <a class="indexterm" name="id2587060"></a> 1446 1446 </p><pre class="screen"> 1447 1447 <code class="prompt">root# </code><strong class="userinput"><code>smbpasswd -w <em class="replaceable"><code>secret</code></em></code></strong> 1448 1448 </pre><p> 1449 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25870 74"></a>Configuring Samba</h4></div></div></div><p>1450 <a class="indexterm" name="id25870 82"></a>1451 <a class="indexterm" name="id2587 089"></a>1449 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2587088"></a>Configuring Samba</h4></div></div></div><p> 1450 <a class="indexterm" name="id2587095"></a> 1451 <a class="indexterm" name="id2587102"></a> 1452 1452 The following parameters are available in <code class="filename">smb.conf</code> only if your version of Samba was built with 1453 1453 LDAP support. Samba automatically builds with LDAP support if the LDAP libraries are found. The … … 1468 1468 and libraries were not found during compilation. 1469 1469 </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="id25871 45"></a><em class="parameter"><code>passdb backend = ldapsam:url</code></em></td></tr><tr><td><a class="indexterm" name="id2587157"></a></td></tr><tr><td><a class="indexterm" name="id2587164"></a></td></tr><tr><td><a class="indexterm" name="id2587171"></a></td></tr><tr><td><a class="indexterm" name="id2587178"></a></td></tr><tr><td><a class="indexterm" name="id2587185"></a></td></tr><tr><td><a class="indexterm" name="id2587192"></a></td></tr><tr><td><a class="indexterm" name="id2587199"></a></td></tr><tr><td><a class="indexterm" name="id2587206"></a></td></tr><tr><td><a class="indexterm" name="id2587212"></a></td></tr><tr><td><a class="indexterm" name="id2587219"></a></td></tr><tr><td><a class="indexterm" name="id2587226"></a></td></tr><tr><td><a class="indexterm" name="id2587233"></a></td></tr><tr><td><a class="indexterm" name="id2587240"></a></td></tr></table><p>1470 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2587159"></a><em class="parameter"><code>passdb backend = ldapsam:url</code></em></td></tr><tr><td><a class="indexterm" name="id2587171"></a></td></tr><tr><td><a class="indexterm" name="id2587178"></a></td></tr><tr><td><a class="indexterm" name="id2587185"></a></td></tr><tr><td><a class="indexterm" name="id2587191"></a></td></tr><tr><td><a class="indexterm" name="id2587198"></a></td></tr><tr><td><a class="indexterm" name="id2587205"></a></td></tr><tr><td><a class="indexterm" name="id2587212"></a></td></tr><tr><td><a class="indexterm" name="id2587219"></a></td></tr><tr><td><a class="indexterm" name="id2587226"></a></td></tr><tr><td><a class="indexterm" name="id2587233"></a></td></tr><tr><td><a class="indexterm" name="id2587240"></a></td></tr><tr><td><a class="indexterm" name="id2587247"></a></td></tr><tr><td><a class="indexterm" name="id2587254"></a></td></tr></table><p> 1471 1471 </p><p> 1472 1472 These are described in the <code class="filename">smb.conf</code> man page and so are not repeated here. However, an example 1473 1473 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="id2587 292"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2587303"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2587315"></a><em class="parameter"><code>netbios name = MORIA</code></em></td></tr><tr><td><a class="indexterm" name="id2587327"></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="id2587363"></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="id2587384"></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="id2587400"></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="id2587416"></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="id2587436"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2587448"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2587460"></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="id2587484"></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="id2587498"></a>Accounts and Groups Management</h4></div></div></div><p>1475 <a class="indexterm" name="id25875 07"></a>1476 <a class="indexterm" name="id25875 14"></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="id2587305"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2587317"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2587329"></a><em class="parameter"><code>netbios name = MORIA</code></em></td></tr><tr><td><a class="indexterm" name="id2587340"></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="id2587377"></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="id2587397"></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="id2587413"></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="id2587430"></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="id2587450"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2587462"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2587474"></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="id2587498"></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="id2587512"></a>Accounts and Groups Management</h4></div></div></div><p> 1475 <a class="indexterm" name="id2587520"></a> 1476 <a class="indexterm" name="id2587527"></a> 1477 1477 Because user accounts are managed through the sambaSamAccount ObjectClass, you should 1478 1478 modify your existing administration tools to deal with sambaSamAccount attributes. 1479 1479 </p><p> 1480 <a class="indexterm" name="id2587529"></a>1481 <a class="indexterm" name="id2587536"></a>1482 1480 <a class="indexterm" name="id2587543"></a> 1481 <a class="indexterm" name="id2587550"></a> 1482 <a class="indexterm" name="id2587557"></a> 1483 1483 Machine accounts are managed with the sambaSamAccount ObjectClass, just 1484 1484 like user accounts. However, it is up to you to store those accounts … … 1489 1489 configuration file). 1490 1490 </p><p> 1491 <a class="indexterm" name="id2587573"></a>1492 <a class="indexterm" name="id2587580"></a>1493 1491 <a class="indexterm" name="id2587586"></a> 1494 1492 <a class="indexterm" name="id2587593"></a> 1493 <a class="indexterm" name="id2587600"></a> 1494 <a class="indexterm" name="id2587607"></a> 1495 1495 In Samba-3, the group management system is based on POSIX 1496 1496 groups. This means that Samba makes use of the posixGroup ObjectClass. … … 1499 1499 and, unlike MS Windows 2000 and Active Directory, Samba-3 does not 1500 1500 support nested groups. 1501 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25876 12"></a>Security and sambaSamAccount</h4></div></div></div><p>1502 <a class="indexterm" name="id25876 20"></a>1501 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2587625"></a>Security and sambaSamAccount</h4></div></div></div><p> 1502 <a class="indexterm" name="id2587633"></a> 1503 1503 There are two important points to remember when discussing the security 1504 1504 of sambaSAMAccount entries in the directory. 1505 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="id25876 39"></a>1506 <a class="indexterm" name="id2587652"></a> 1507 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 1508 1508 view the SambaLMPassword or SambaNTPassword attribute values.</p></li></ul></div><p> 1509 <a class="indexterm" name="id2587659"></a>1510 <a class="indexterm" name="id2587666"></a>1511 1509 <a class="indexterm" name="id2587673"></a> 1510 <a class="indexterm" name="id2587680"></a> 1511 <a class="indexterm" name="id2587686"></a> 1512 1512 These password hashes are clear-text equivalents and can be used to impersonate 1513 1513 the user without deriving the original clear-text strings. For more information … … 1515 1515 Account Information Database section</a>. 1516 1516 </p><p> 1517 <a class="indexterm" name="id2587695"></a>1518 <a class="indexterm" name="id2587702"></a>1519 1517 <a class="indexterm" name="id2587708"></a> 1520 1518 <a class="indexterm" name="id2587715"></a> 1519 <a class="indexterm" name="id2587722"></a> 1520 <a class="indexterm" name="id2587729"></a> 1521 1521 To remedy the first security issue, the <a class="link" href="smb.conf.5.html#LDAPSSL">ldap ssl</a> <code class="filename">smb.conf</code> 1522 1522 parameter defaults to require an encrypted session (<a class="link" href="smb.conf.5.html#LDAPSSL">ldap ssl = on</a>) using the default port of <code class="constant">636</code> when … … 1526 1526 (so do not set <a class="link" href="smb.conf.5.html#LDAPSSL">ldap ssl = off</a>). 1527 1527 </p><p> 1528 <a class="indexterm" name="id2587776"></a>1529 <a class="indexterm" name="id2587782"></a>1530 1528 <a class="indexterm" name="id2587789"></a> 1529 <a class="indexterm" name="id2587796"></a> 1530 <a class="indexterm" name="id2587802"></a> 1531 1531 Note that the LDAPS protocol is deprecated in favor of the LDAPv3 StartTLS 1532 1532 extended operation. However, the OpenLDAP library still provides support for 1533 1533 the older method of securing communication between clients and servers. 1534 1534 </p><p> 1535 <a class="indexterm" name="id2587803"></a>1536 <a class="indexterm" name="id2587810"></a>1537 1535 <a class="indexterm" name="id2587817"></a> 1536 <a class="indexterm" name="id2587824"></a> 1537 <a class="indexterm" name="id2587830"></a> 1538 1538 The second security precaution is to prevent non-administrative users from 1539 1539 harvesting password hashes from the directory. This can be done using the … … 1546 1546 by * none 1547 1547 </pre><p> 1548 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25878 47"></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" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2587860"></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>. 1549 1549 </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 1550 1550 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 … … 1581 1581 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 1582 1582 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="id2588 196"></a>1584 <a class="indexterm" name="id25882 02"></a>1583 <a class="indexterm" name="id2588209"></a> 1584 <a class="indexterm" name="id2588216"></a> 1585 1585 The majority of these parameters are only used when Samba is acting as a PDC of 1586 1586 a domain (refer to <a class="link" href="samba-pdc.html" title="Chapter 4. Domain Control">Domain Control</a>, for details on 1587 1587 how to configure Samba as a PDC). The following four attributes 1588 1588 are only stored with the sambaSamAccount entry if the values are non-default values: 1589 </p><div class="itemizedlist"><a class="indexterm" name="id2588225"></a><a class="indexterm" name="id2588231"></a><a class="indexterm" name="id2588238"></a><a class="indexterm" name="id2588245"></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="id2588274"></a> 1591 <a class="indexterm" name="id2588281"></a> 1589 </p><div class="itemizedlist"><a class="indexterm" name="id2588238"></a><a class="indexterm" name="id2588245"></a><a class="indexterm" name="id2588252"></a><a class="indexterm" name="id2588259"></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> 1592 1590 <a class="indexterm" name="id2588287"></a> 1591 <a class="indexterm" name="id2588294"></a> 1592 <a class="indexterm" name="id2588301"></a> 1593 1593 These attributes are only stored with the sambaSamAccount entry if 1594 1594 the values are non-default values. For example, assume MORIA has now been … … 1601 1601 will only write the attribute value to the directory entry if the value is 1602 1602 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="id25883 61"></a>Example LDIF Entries for a sambaSamAccount</h4></div></div></div><p>1603 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2588375"></a>Example LDIF Entries for a sambaSamAccount</h4></div></div></div><p> 1604 1604 The following is a working LDIF that demonstrates the use of the SambaSamAccount ObjectClass: 1605 1605 </p><pre class="programlisting"> … … 1646 1646 sambaNTPassword: 878D8014606CDA29677A44EFA1353FC7 1647 1647 </pre><p> 1648 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25884 09"></a>Password Synchronization</h4></div></div></div><p>1648 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2588422"></a>Password Synchronization</h4></div></div></div><p> 1649 1649 Samba-3 and later can update the non-Samba (LDAP) password stored with an account. When 1650 1650 using pam_ldap, this allows changing both UNIX and Windows passwords at once. … … 1655 1655 <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 1656 1656 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="id25885 61"></a>Using OpenLDAP Overlay for Password Syncronization</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" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2588575"></a>Using OpenLDAP Overlay for Password Syncronization</h4></div></div></div><p> 1658 1658 Howard Chu has written a special overlay called <code class="literal">smbk5pwd</code>. This tool modifies the 1659 1659 <code class="literal">SambaNTPassword</code>, <code class="literal">SambaLMPassword</code> and <code class="literal">Heimdal</code> … … 1663 1663 <code class="filename">contrib/slapd-modules/smbk5pwd</code> subdirectory. This module can also be used with 1664 1664 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="id25886 12"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2588618"></a>Users Cannot Logon</h3></div></div></div><p>“<span class="quote">I've installed Samba, but now I can't log on with my UNIX account! </span>”</p><p>Make sure your user has been added to the current Samba <a class="link" href="smb.conf.5.html#PASSDBBACKEND">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="id25886 56"></a>Configuration of <em class="parameter"><code>auth methods</code></em></h3></div></div></div><p>1665 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2588626"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2588632"></a>Users Cannot Logon</h3></div></div></div><p>“<span class="quote">I've installed Samba, but now I can't log on with my UNIX account! </span>”</p><p>Make sure your user has been added to the current Samba <a class="link" href="smb.conf.5.html#PASSDBBACKEND">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="id2588669"></a>Configuration of <em class="parameter"><code>auth methods</code></em></h3></div></div></div><p> 1667 1667 When explicitly setting an <a class="link" href="smb.conf.5.html#AUTHMETHODS">auth methods</a> parameter, 1668 1668 <em class="parameter"><code>guest</code></em> must be specified as the first entry on the line -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/pr01.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="prev" href="index.html" title="The Official Samba 3.2.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="id25326 78"></a>About the Cover Artwork</h2></div></div></div><p>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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="prev" href="index.html" title="The Official Samba 3.2.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="id2532691"></a>About the Cover Artwork</h2></div></div></div><p> 2 2 The cover artwork of this book continues the freedom theme of the first edition of “<span class="quote">The Official Samba-3 3 3 HOWTO and Reference Guide</span>”. We may look back upon the past to question the motives of those who have -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/pr02.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id24958 27"></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>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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id2495846"></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 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> 3 3 </p><p><a class="link" href="FastStart.html" title="Chapter 2. Fast Start: Cure for Impatience">Fast Start: Cure for Impatience</a> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/pr03.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id25431 85"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id2543199"></a>Foreword</h2></div></div></div><p> 2 2 When John first asked me to write an introductory piece for his latest book, I was somewhat mystified as to 3 3 why he chose me. A conversation with John provided some of the rationale, and he left it to me to fill in the -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/problems.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:dbannon@samba.org">dbannon@samba.org</a>></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"><<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>></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#id2677837">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2677889">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678144">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678194">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678338">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2678665">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678702">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678876">How to Get Off the Mailing Lists</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2677811"></a> 3 <a class="indexterm" name="id2677818"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:dbannon@samba.org">dbannon@samba.org</a>></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"><<a class="email" href="mailto:dan@samba.org">dan@samba.org</a>></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#id2677850">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2677902">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678158">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678208">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678352">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2678678">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678716">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678890">How to Get Off the Mailing Lists</a></span></dt></dl></div><p> 4 2 <a class="indexterm" name="id2677825"></a> 3 <a class="indexterm" name="id2677832"></a> 4 <a class="indexterm" name="id2677838"></a> 5 5 There are many sources of information available in the form of mailing lists, RFCs, and documentation. The 6 6 documentation that comes with the Samba distribution contains good explanations of general SMB topics such as 7 7 browsing. 8 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2677837"></a>Diagnostics Tools</h2></div></div></div><p> 9 <a class="indexterm" name="id2677844"></a> 10 <a class="indexterm" name="id2677851"></a> 8 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2677850"></a>Diagnostics Tools</h2></div></div></div><p> 11 9 <a class="indexterm" name="id2677858"></a> 12 10 <a class="indexterm" name="id2677865"></a> 13 11 <a class="indexterm" name="id2677872"></a> 12 <a class="indexterm" name="id2677879"></a> 13 <a class="indexterm" name="id2677886"></a> 14 14 With SMB networking, it is often not immediately clear what the cause is of a certain problem. Samba itself 15 15 provides rather useful information, but in some cases you might have to fall back to using a 16 16 <span class="emphasis"><em>sniffer</em></span>. A sniffer is a program that listens on your LAN, analyzes the data sent on it, 17 17 and displays it on the screen. 18 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2677889"></a>Debugging with Samba Itself</h3></div></div></div><p> 19 <a class="indexterm" name="id2677897"></a> 20 <a class="indexterm" name="id2677904"></a> 18 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2677902"></a>Debugging with Samba Itself</h3></div></div></div><p> 21 19 <a class="indexterm" name="id2677910"></a> 22 20 <a class="indexterm" name="id2677917"></a> … … 24 22 <a class="indexterm" name="id2677931"></a> 25 23 <a class="indexterm" name="id2677938"></a> 24 <a class="indexterm" name="id2677945"></a> 25 <a class="indexterm" name="id2677952"></a> 26 26 One of the best diagnostic tools for debugging problems is Samba itself. You can use the <code class="option">-d 27 27 option</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">debug level</a> at which to run. … … 29 29 options. The debug level (log level) can range from 1 (the default) to 10 (100 for debugging passwords). 30 30 </p><p> 31 <a class="indexterm" name="id2677992"></a> 32 <a class="indexterm" name="id2677999"></a> 33 <a class="indexterm" name="id2678005"></a> 34 <a class="indexterm" name="id2678012"></a> 31 <a class="indexterm" name="id2678006"></a> 32 <a class="indexterm" name="id2678013"></a> 35 33 <a class="indexterm" name="id2678019"></a> 36 34 <a class="indexterm" name="id2678026"></a> 37 35 <a class="indexterm" name="id2678033"></a> 36 <a class="indexterm" name="id2678040"></a> 37 <a class="indexterm" name="id2678047"></a> 38 38 Another helpful method of debugging is to compile Samba using the <code class="literal">gcc -g </code> flag. This will 39 39 include debug information in the binaries and allow you to attach <code class="literal">gdb</code> to the running … … 47 47 </p><p> 48 48 Some useful Samba commands worth investigating are: 49 <a class="indexterm" name="id26781 02"></a>50 <a class="indexterm" name="id26781 09"></a>49 <a class="indexterm" name="id2678116"></a> 50 <a class="indexterm" name="id2678123"></a> 51 51 </p><pre class="screen"> 52 52 <code class="prompt">$ </code><strong class="userinput"><code>testparm | more</code></strong> 53 53 <code class="prompt">$ </code><strong class="userinput"><code>smbclient -L //{netbios name of server}</code></strong> 54 54 </pre><p> 55 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2678144"></a>Tcpdump</h3></div></div></div><p> 56 <a class="indexterm" name="id2678152"></a> 57 <a class="indexterm" name="id2678159"></a> 55 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2678158"></a>Tcpdump</h3></div></div></div><p> 58 56 <a class="indexterm" name="id2678166"></a> 57 <a class="indexterm" name="id2678173"></a> 58 <a class="indexterm" name="id2678179"></a> 59 59 <a class="ulink" href="http://www.tcpdump.org/" target="_top">Tcpdump</a> was the first 60 60 UNIX sniffer with SMB support. It is a command-line utility and 61 61 now, its SMB support is somewhat lagging that of <code class="literal">ethereal</code> 62 62 and <code class="literal">tethereal</code>. 63 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2678 194"></a>Ethereal</h3></div></div></div><p>64 <a class="indexterm" name="id26782 02"></a>63 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2678208"></a>Ethereal</h3></div></div></div><p> 64 <a class="indexterm" name="id2678216"></a> 65 65 <a class="ulink" href="http://www.ethereal.com/" target="_top">Ethereal</a> is a graphical sniffer, available for both UNIX (Gtk) 66 66 and Windows. Ethereal's SMB support is quite good. For details on the use of <code class="literal">ethereal</code>, read 67 67 the well-written Ethereal User Guide. 68 68 </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="id26782 65"></a>69 <a class="indexterm" name="id2678279"></a> 70 70 Listen for data on ports 137, 138, 139, and 445. For example, use the filter <strong class="userinput"><code>port 137, port 138, 71 71 port 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. 72 72 </p><p> 73 73 A 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="id2678338"></a>The Windows Network Monitor</h3></div></div></div><p> 75 <a class="indexterm" name="id2678346"></a> 76 <a class="indexterm" name="id2678353"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2678352"></a>The Windows Network Monitor</h3></div></div></div><p> 77 75 <a class="indexterm" name="id2678360"></a> 78 76 <a class="indexterm" name="id2678367"></a> 79 77 <a class="indexterm" name="id2678374"></a> 80 78 <a class="indexterm" name="id2678381"></a> 79 <a class="indexterm" name="id2678388"></a> 80 <a class="indexterm" name="id2678395"></a> 81 81 For tracing things on Microsoft Windows NT, Network Monitor (aka Netmon) is available on Microsoft Developer 82 82 Network CDs, the Windows NT Server install CD, and the SMS CDs. The version of Netmon that ships with SMS … … 85 85 local NT box and broadcasts on the local subnet. Be aware that Ethereal can read and write Netmon formatted 86 86 files. 87 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2678 398"></a>Installing Network Monitor on an NT Workstation</h4></div></div></div><p>88 <a class="indexterm" name="id26784 06"></a>87 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2678412"></a>Installing Network Monitor on an NT Workstation</h4></div></div></div><p> 88 <a class="indexterm" name="id2678420"></a> 89 89 Installing Netmon on an NT workstation requires a couple of steps. The following are instructions for 90 90 installing Netmon V4.00.349, which comes with Microsoft Windows NT Server 4.0, on Microsoft Windows NT … … 92 92 need both the Microsoft Windows NT Server 4.0 Install CD and the Workstation 4.0 Install CD. 93 93 </p><p> 94 <a class="indexterm" name="id26784 23"></a>94 <a class="indexterm" name="id2678437"></a> 95 95 Initially you will need to install <span class="application">Network Monitor Tools and Agent</span> 96 96 on the NT Server to do this: … … 111 111 to <code class="filename">%SYSTEMROOT%\System32\netmon</code> on the workstation and set permissions 112 112 as 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="id26786 41"></a>Installing Network Monitor on Windows 9x/Me</h4></div></div></div><p>113 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2678655"></a>Installing Network Monitor on Windows 9x/Me</h4></div></div></div><p> 114 114 To install Netmon on Windows 9x/Me, install the Network Monitor Agent 115 115 from the Windows 9x/Me CD (<code class="filename">\admin\nettools\netmon</code>). 116 116 There is a readme file included with the Netmon driver files on the CD if you need 117 117 information 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="id26786 65"></a>Useful URLs</h2></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>See how Scott Merrill simulates a BDC behavior at118 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2678678"></a>Useful URLs</h2></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>See how Scott Merrill simulates a BDC behavior at 119 119 <a class="ulink" href="http://www.skippy.net/linux/smb-howto.html" target="_top"> 120 120 http://www.skippy.net/linux/smb-howto.html</a>. </p></li><li><p>FTP site for older SMB specs, 121 121 <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="id26787 02"></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" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2678716"></a>Getting Mailing List Help</h2></div></div></div><p> 123 123 There 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, 124 124 and then click on <code class="literal">Support</code>. Next, click on <code class="literal"> … … 131 131 If you do post a message to one of the lists, please observe the following guidelines: 132 132 </p><div class="itemizedlist"><ul type="disc"><li><p> 133 <a class="indexterm" name="id26787 57"></a>133 <a class="indexterm" name="id2678771"></a> 134 134 Always remember that the developers are volunteers; they are 135 135 not paid and they never guarantee to produce a particular feature at 136 136 a particular time. Any timelines are “<span class="quote">best guess,</span>” and nothing more. 137 137 </p></li><li><p> 138 <a class="indexterm" name="id26787 76"></a>138 <a class="indexterm" name="id2678789"></a> 139 139 Always mention what version of Samba you are using and what 140 140 operating system it's running under. You should list the relevant sections of … … 151 151 with such bad netiquet bahavior. 152 152 </p></li><li><p> 153 <a class="indexterm" name="id26788 28"></a>153 <a class="indexterm" name="id2678842"></a> 154 154 Don't cross post. Work out which is the best list to post to 155 155 and see what happens. Do not post to both samba-ntdom and samba-technical. … … 164 164 Consider pasting the relevant parts into the body of the message. The Samba 165 165 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="id26788 76"></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 same166 <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="id2678890"></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 167 167 place where you went to 168 168 subscribe to it, go to <a class="ulink" href="http://lists.samba.org/" target="_top">http://lists.samba.org</a>, -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/rights.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2601479">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2601754">Using the “<span class="quote">net rpc rights</span>” Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602099">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602409">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2602897">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2603074">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2603080">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2601195"></a> 3 <a class="indexterm" name="id2601202"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2601492">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2601767">Using the “<span class="quote">net rpc rights</span>” Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602113">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602423">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2602911">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2603088">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2603093">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></div><p> 4 2 <a class="indexterm" name="id2601209"></a> 5 3 <a class="indexterm" name="id2601216"></a> 4 <a class="indexterm" name="id2601223"></a> 5 <a class="indexterm" name="id2601230"></a> 6 6 The administration of Windows user, group, and machine accounts in the Samba 7 7 domain-controlled network necessitates interfacing between the MS Windows … … 11 11 Active Directory domains. 12 12 </p><p> 13 <a class="indexterm" name="id2601233"></a> 14 <a class="indexterm" name="id2601240"></a> 15 <a class="indexterm" name="id2601247"></a> 13 <a class="indexterm" name="id2601246"></a> 16 14 <a class="indexterm" name="id2601253"></a> 15 <a class="indexterm" name="id2601260"></a> 16 <a class="indexterm" name="id2601267"></a> 17 17 The addition of Windows NT4/2kX/XPPro machines to the domain necessitates the 18 18 creation of a machine account for each machine added. The machine account is … … 20 20 user logons. 21 21 </p><p> 22 <a class="indexterm" name="id2601268"></a> 23 <a class="indexterm" name="id2601275"></a> 24 <a class="indexterm" name="id2601282"></a> 22 <a class="indexterm" name="id2601281"></a> 25 23 <a class="indexterm" name="id2601288"></a> 26 24 <a class="indexterm" name="id2601295"></a> 27 25 <a class="indexterm" name="id2601302"></a> 26 <a class="indexterm" name="id2601309"></a> 27 <a class="indexterm" name="id2601316"></a> 28 28 Machine accounts are analogous to user accounts, and thus in implementing them on a UNIX machine that is 29 29 hosting Samba (i.e., on which Samba is running), it is necessary to create a special type of user account. … … 35 35 is designed to block man-in-the-middle attempts to violate network integrity. 36 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="id2601343"></a> 38 <a class="indexterm" name="id2601350"></a> 39 <a class="indexterm" name="id2601357"></a> 40 <a class="indexterm" name="id2601364"></a> 37 <a class="indexterm" name="id2601356"></a> 38 <a class="indexterm" name="id2601363"></a> 41 39 <a class="indexterm" name="id2601370"></a> 40 <a class="indexterm" name="id2601377"></a> 41 <a class="indexterm" name="id2601384"></a> 42 42 Machine (computer) accounts are used in the Windows NT OS family to store security 43 43 credentials for domain member servers and workstations. When the domain member … … 48 48 Windows secures authentication. 49 49 </p></div><p> 50 <a class="indexterm" name="id2601389"></a> 51 <a class="indexterm" name="id2601396"></a> 52 <a class="indexterm" name="id2601404"></a> 50 <a class="indexterm" name="id2601403"></a> 53 51 <a class="indexterm" name="id2601410"></a> 52 <a class="indexterm" name="id2601417"></a> 53 <a class="indexterm" name="id2601424"></a> 54 54 The creation of UNIX system accounts has traditionally been the sole right of 55 55 the system administrator, better known as the <code class="constant">root</code> account. … … 58 58 <code class="constant">root</code> account user. 59 59 </p><p> 60 <a class="indexterm" name="id2601432"></a>61 <a class="indexterm" name="id2601440"></a>62 60 <a class="indexterm" name="id2601446"></a> 63 61 <a class="indexterm" name="id2601453"></a> 62 <a class="indexterm" name="id2601460"></a> 63 <a class="indexterm" name="id2601467"></a> 64 64 All versions of Samba call system interface scripts that permit CIFS function 65 65 calls that are used to manage users, groups, and machine accounts … … 71 71 necessary to permit people who should not possess <code class="constant">root</code>-level 72 72 access 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="id2601479"></a>Rights Management Capabilities</h2></div></div></div><p> 74 <a class="indexterm" name="id2601487"></a> 75 <a class="indexterm" name="id2601494"></a> 76 <a class="indexterm" name="id2601501"></a> 73 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2601492"></a>Rights Management Capabilities</h2></div></div></div><p> 74 <a class="indexterm" name="id2601500"></a> 77 75 <a class="indexterm" name="id2601508"></a> 76 <a class="indexterm" name="id2601514"></a> 77 <a class="indexterm" name="id2601521"></a> 78 78 Samba 3.0.11 introduced support for the Windows privilege model. This model 79 79 allows certain rights to be assigned to a user or group SID. In order to enable … … 81 81 must be defined in the <em class="parameter"><code>global</code></em> section of the <code class="filename">smb.conf</code> file. 82 82 </p><p> 83 <a class="indexterm" name="id2601547"></a>84 <a class="indexterm" name="id2601553"></a>85 83 <a class="indexterm" name="id2601560"></a> 84 <a class="indexterm" name="id2601567"></a> 85 <a class="indexterm" name="id2601574"></a> 86 86 Currently, the rights supported in Samba-3 are listed in <a class="link" href="rights.html#rp-privs" title="Table 15.1. Current Privilege Capabilities">“Current Privilege Capabilities”</a>. 87 87 The remainder of this chapter explains how to manage and use these privileges on Samba servers. 88 </p><a class="indexterm" name="id26015 77"></a><a class="indexterm" name="id2601584"></a><a class="indexterm" name="id2601591"></a><a class="indexterm" name="id2601598"></a><a class="indexterm" name="id2601605"></a><a class="indexterm" name="id2601612"></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="id2601754"></a>Using the “<span class="quote">net rpc rights</span>” Utility</h3></div></div></div><p>89 <a class="indexterm" name="id26017 65"></a>90 <a class="indexterm" name="id26017 72"></a>91 <a class="indexterm" name="id26017 79"></a>92 <a class="indexterm" name="id26017 86"></a>93 <a class="indexterm" name="id2601 793"></a>88 </p><a class="indexterm" name="id2601591"></a><a class="indexterm" name="id2601597"></a><a class="indexterm" name="id2601604"></a><a class="indexterm" name="id2601611"></a><a class="indexterm" name="id2601618"></a><a class="indexterm" name="id2601626"></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="id2601767"></a>Using the “<span class="quote">net rpc rights</span>” Utility</h3></div></div></div><p> 89 <a class="indexterm" name="id2601778"></a> 90 <a class="indexterm" name="id2601785"></a> 91 <a class="indexterm" name="id2601792"></a> 92 <a class="indexterm" name="id2601799"></a> 93 <a class="indexterm" name="id2601806"></a> 94 94 There are two primary means of managing the rights assigned to users and groups 95 95 on a Samba server. The <code class="literal">NT4 User Manager for Domains</code> may be … … 102 102 The <code class="literal">net rpc rights</code> utility in Samba 3.0.11 has three new subcommands: 103 103 </p><div class="variablelist"><dl><dt><span class="term">list [name|accounts]</span></dt><dd><p> 104 <a class="indexterm" name="id26018 36"></a>105 <a class="indexterm" name="id26018 47"></a>106 <a class="indexterm" name="id26018 54"></a>107 <a class="indexterm" name="id26018 61"></a>104 <a class="indexterm" name="id2601849"></a> 105 <a class="indexterm" name="id2601860"></a> 106 <a class="indexterm" name="id2601867"></a> 107 <a class="indexterm" name="id2601874"></a> 108 108 When called with no arguments, <code class="literal">net rpc list</code> 109 109 simply lists the available rights on the server. When passed … … 114 114 privileged accounts on the server and the assigned rights. 115 115 </p></dd><dt><span class="term">grant <user> <right [right ...]></span></dt><dd><p> 116 <a class="indexterm" name="id26019 00"></a>117 <a class="indexterm" name="id26019 07"></a>118 <a class="indexterm" name="id26019 14"></a>119 <a class="indexterm" name="id26019 21"></a>116 <a class="indexterm" name="id2601913"></a> 117 <a class="indexterm" name="id2601920"></a> 118 <a class="indexterm" name="id2601927"></a> 119 <a class="indexterm" name="id2601934"></a> 120 120 When called with no arguments, this function is used to assign 121 121 a list of rights to a specified user or group. For example, … … 127 127 </pre><p> 128 128 The following syntax has the same result: 129 <a class="indexterm" name="id26019 46"></a>129 <a class="indexterm" name="id2601960"></a> 130 130 </p><pre class="screen"> 131 131 <code class="prompt">root# </code> net rpc rights grant 'DOMAIN\Domain Admins' \ … … 140 140 effect is to remove an assigned right (or list of rights) from a user or group. 141 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="id2602001"></a>143 <a class="indexterm" name="id2602008"></a>144 142 <a class="indexterm" name="id2602015"></a> 143 <a class="indexterm" name="id2602022"></a> 144 <a class="indexterm" name="id2602028"></a> 145 145 You must be connected as a member of the Domain Admins group to be able to grant or revoke privileges assigned 146 146 to an account. This capability is inherent to the Domain Admins group and is not configurable. There are no … … 149 149 explicitly assigned, even for the Domain Admins group. 150 150 </p></div><p> 151 <a class="indexterm" name="id2602033"></a>152 <a class="indexterm" name="id2602040"></a>153 151 <a class="indexterm" name="id2602047"></a> 154 152 <a class="indexterm" name="id2602054"></a> 153 <a class="indexterm" name="id2602061"></a> 154 <a class="indexterm" name="id2602068"></a> 155 155 By default, no privileges are initially assigned to any account because certain actions will be performed as 156 156 root once smbd determines that a user has the necessary rights. For example, when joining a client to a … … 158 158 cases. For this reason, you should be very careful about handing out privileges to accounts. 159 159 </p><p> 160 <a class="indexterm" name="id2602075"></a>161 <a class="indexterm" name="id2602082"></a>162 160 <a class="indexterm" name="id2602089"></a> 161 <a class="indexterm" name="id2602096"></a> 162 <a class="indexterm" name="id2602102"></a> 163 163 Access 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="id2602099"></a>Description of Privileges</h3></div></div></div><p> 165 <a class="indexterm" name="id2602107"></a> 166 <a class="indexterm" name="id2602114"></a> 164 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2602113"></a>Description of Privileges</h3></div></div></div><p> 167 165 <a class="indexterm" name="id2602121"></a> 166 <a class="indexterm" name="id2602127"></a> 167 <a class="indexterm" name="id2602134"></a> 168 168 The privileges that have been implemented in Samba-3.0.11 are shown below. It is possible, and likely, that 169 169 additional privileges may be implemented in later releases of Samba. It is also likely that any privileges … … 172 172 mailing lists. 173 173 </p><div class="variablelist"><dl><dt><span class="term">SeAddUsersPrivilege</span></dt><dd><p> 174 <a class="indexterm" name="id2602147"></a>175 <a class="indexterm" name="id2602154"></a>176 174 <a class="indexterm" name="id2602160"></a> 175 <a class="indexterm" name="id2602167"></a> 176 <a class="indexterm" name="id2602174"></a> 177 177 This right determines whether or not smbd will allow the 178 178 user to create new user or group accounts via such tools … … 180 180 <code class="literal">NT4 User Manager for Domains.</code> 181 181 </p></dd><dt><span class="term">SeDiskOperatorPrivilege</span></dt><dd><p> 182 <a class="indexterm" name="id2602 192"></a>183 <a class="indexterm" name="id2602 199"></a>184 <a class="indexterm" name="id26022 06"></a>182 <a class="indexterm" name="id2602205"></a> 183 <a class="indexterm" name="id2602212"></a> 184 <a class="indexterm" name="id2602220"></a> 185 185 Accounts that possess this right will be able to execute 186 186 scripts defined by the <code class="literal">add/delete/change</code> … … 189 189 on the Samba server. 190 190 </p></dd><dt><span class="term">SeMachineAccountPrivilege</span></dt><dd><p> 191 <a class="indexterm" name="id26022 39"></a>192 <a class="indexterm" name="id26022 46"></a>193 <a class="indexterm" name="id26022 53"></a>191 <a class="indexterm" name="id2602252"></a> 192 <a class="indexterm" name="id2602259"></a> 193 <a class="indexterm" name="id2602266"></a> 194 194 This right controls whether or not the user can join client 195 195 machines to a Samba-controlled domain. 196 196 </p></dd><dt><span class="term">SePrintOperatorPrivilege</span></dt><dd><p> 197 <a class="indexterm" name="id2602272"></a>198 <a class="indexterm" name="id2602279"></a>199 197 <a class="indexterm" name="id2602285"></a> 200 198 <a class="indexterm" name="id2602292"></a> 201 199 <a class="indexterm" name="id2602299"></a> 200 <a class="indexterm" name="id2602306"></a> 201 <a class="indexterm" name="id2602313"></a> 202 202 This privilege operates identically to the <a class="link" href="smb.conf.5.html#PRINTERADMIN">printer admin</a> 203 203 option in the <code class="filename">smb.conf</code> file (see section 5 man page for <code class="filename">smb.conf</code>) … … 208 208 <code class="filename">ntprinters.tdb</code> file. 209 209 </p></dd><dt><span class="term">SeRemoteShutdownPrivilege</span></dt><dd><p> 210 <a class="indexterm" name="id2602353"></a>211 <a class="indexterm" name="id2602360"></a>212 210 <a class="indexterm" name="id2602367"></a> 211 <a class="indexterm" name="id2602374"></a> 212 <a class="indexterm" name="id2602381"></a> 213 213 Samba provides two hooks for shutting down or rebooting 214 214 the server and for aborting a previously issued shutdown … … 217 217 right to be able to execute either of these hooks. 218 218 </p></dd><dt><span class="term">SeTakeOwnershipPrivilege</span></dt><dd><p> 219 <a class="indexterm" name="id2602 390"></a>220 <a class="indexterm" name="id2602 397"></a>219 <a class="indexterm" name="id2602403"></a> 220 <a class="indexterm" name="id2602410"></a> 221 221 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="id26024 09"></a>Privileges Suppored by Windows 2000 Domain Controllers</h3></div></div></div><p>222 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2602423"></a>Privileges Suppored by Windows 2000 Domain Controllers</h3></div></div></div><p> 223 223 For reference purposes, a Windows NT4 Primary Domain Controller reports support for the following 224 224 privileges: 225 <a class="indexterm" name="id2602420"></a> 226 <a class="indexterm" name="id2602427"></a> 227 <a class="indexterm" name="id2602434"></a> 228 <a class="indexterm" name="id2602441"></a> 225 <a class="indexterm" name="id2602433"></a> 226 <a class="indexterm" name="id2602440"></a> 229 227 <a class="indexterm" name="id2602448"></a> 230 228 <a class="indexterm" name="id2602455"></a> … … 234 232 <a class="indexterm" name="id2602483"></a> 235 233 <a class="indexterm" name="id2602490"></a> 236 <a class="indexterm" name="id260249 8"></a>237 <a class="indexterm" name="id260250 5"></a>238 <a class="indexterm" name="id260251 2"></a>239 <a class="indexterm" name="id260251 9"></a>240 <a class="indexterm" name="id260252 6"></a>241 <a class="indexterm" name="id260253 3"></a>234 <a class="indexterm" name="id2602497"></a> 235 <a class="indexterm" name="id2602504"></a> 236 <a class="indexterm" name="id2602511"></a> 237 <a class="indexterm" name="id2602518"></a> 238 <a class="indexterm" name="id2602525"></a> 239 <a class="indexterm" name="id2602532"></a> 242 240 <a class="indexterm" name="id2602540"></a> 243 <a class="indexterm" name="id2602547"></a> 244 <a class="indexterm" name="id2602554"></a> 245 <a class="indexterm" name="id2602561"></a> 246 <a class="indexterm" name="id2602568"></a> 247 <a class="indexterm" name="id2602575"></a> 241 <a class="indexterm" name="id2602546"></a> 242 <a class="indexterm" name="id2602553"></a> 243 <a class="indexterm" name="id2602560"></a> 244 <a class="indexterm" name="id2602567"></a> 245 <a class="indexterm" name="id2602574"></a> 246 <a class="indexterm" name="id2602581"></a> 247 <a class="indexterm" name="id2602588"></a> 248 248 </p><pre class="screen"> 249 249 SeCreateTokenPrivilege Create a token object … … 272 272 </pre><p> 273 273 And Windows 200x/XP Domain Controllers and workstations reports to support the following privileges: 274 <a class="indexterm" name="id2602613"></a>275 <a class="indexterm" name="id2602619"></a>276 274 <a class="indexterm" name="id2602626"></a> 277 <a class="indexterm" name="id260263 3"></a>275 <a class="indexterm" name="id2602632"></a> 278 276 <a class="indexterm" name="id2602640"></a> 279 277 <a class="indexterm" name="id2602647"></a> … … 283 281 <a class="indexterm" name="id2602675"></a> 284 282 <a class="indexterm" name="id2602682"></a> 285 <a class="indexterm" name="id26026 90"></a>286 <a class="indexterm" name="id260269 7"></a>287 <a class="indexterm" name="id260270 4"></a>288 <a class="indexterm" name="id260271 1"></a>289 <a class="indexterm" name="id260271 8"></a>290 <a class="indexterm" name="id260272 5"></a>283 <a class="indexterm" name="id2602689"></a> 284 <a class="indexterm" name="id2602696"></a> 285 <a class="indexterm" name="id2602703"></a> 286 <a class="indexterm" name="id2602710"></a> 287 <a class="indexterm" name="id2602717"></a> 288 <a class="indexterm" name="id2602724"></a> 291 289 <a class="indexterm" name="id2602732"></a> 292 <a class="indexterm" name="id260273 9"></a>293 <a class="indexterm" name="id260274 6"></a>294 <a class="indexterm" name="id260275 3"></a>295 <a class="indexterm" name="id26027 60"></a>296 <a class="indexterm" name="id260276 7"></a>297 <a class="indexterm" name="id260277 4"></a>298 <a class="indexterm" name="id260278 1"></a>290 <a class="indexterm" name="id2602738"></a> 291 <a class="indexterm" name="id2602745"></a> 292 <a class="indexterm" name="id2602752"></a> 293 <a class="indexterm" name="id2602759"></a> 294 <a class="indexterm" name="id2602766"></a> 295 <a class="indexterm" name="id2602773"></a> 296 <a class="indexterm" name="id2602780"></a> 299 297 <a class="indexterm" name="id2602788"></a> 300 <a class="indexterm" name="id260279 5"></a>298 <a class="indexterm" name="id2602794"></a> 301 299 <a class="indexterm" name="id2602802"></a> 302 300 <a class="indexterm" name="id2602809"></a> 301 <a class="indexterm" name="id2602816"></a> 302 <a class="indexterm" name="id2602823"></a> 303 303 </p><pre class="screen"> 304 304 SeCreateTokenPrivilege Create a token object … … 333 333 SeCreateGlobalPrivilege Create global objects 334 334 </pre><p> 335 <a class="indexterm" name="id26028 84"></a>335 <a class="indexterm" name="id2602897"></a> 336 336 The Samba Team is implementing only those privileges that are logical and useful in the UNIX/Linux 337 337 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="id2602897"></a>The Administrator Domain SID</h2></div></div></div><p> 339 <a class="indexterm" name="id2602905"></a> 340 <a class="indexterm" name="id2602912"></a> 338 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2602911"></a>The Administrator Domain SID</h2></div></div></div><p> 341 339 <a class="indexterm" name="id2602919"></a> 342 340 <a class="indexterm" name="id2602926"></a> 343 341 <a class="indexterm" name="id2602933"></a> 342 <a class="indexterm" name="id2602940"></a> 343 <a class="indexterm" name="id2602946"></a> 344 344 Please note that every Windows NT4 and later server requires a domain Administrator account. Samba versions 345 345 commencing with 3.0.11 permit Administrative duties to be performed via assigned rights and privileges … … 351 351 SID for domain FOO is: S-1-5-21-4294955119-3368514841-2087710299 352 352 </pre><p> 353 <a class="indexterm" name="id26029 67"></a>353 <a class="indexterm" name="id2602980"></a> 354 354 You may assign the domain administrator RID to an account using the <code class="literal">pdbedit</code> 355 355 command as shown here: 356 <a class="indexterm" name="id26029 81"></a>356 <a class="indexterm" name="id2602994"></a> 357 357 </p><pre class="screen"> 358 358 <code class="prompt">root# </code> pdbedit -U S-1-5-21-4294955119-3368514841-2087710299-500 -u root -r 359 359 </pre><p> 360 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="id2603005"></a>362 <a class="indexterm" name="id2603011"></a>363 361 <a class="indexterm" name="id2603018"></a> 364 362 <a class="indexterm" name="id2603025"></a> 363 <a class="indexterm" name="id2603032"></a> 364 <a class="indexterm" name="id2603039"></a> 365 365 The RID 500 is the well known standard value of the default Administrator account. It is the RID 366 366 that confers the rights and privileges that the Administrator account has on a Windows machine 367 367 or domain. Under UNIX/Linux the equivalent is UID=0 (the root account). 368 368 </p></div><p> 369 <a class="indexterm" name="id2603040"></a>370 <a class="indexterm" name="id2603047"></a>371 369 <a class="indexterm" name="id2603054"></a> 372 <a class="indexterm" name="id2603062"></a> 370 <a class="indexterm" name="id2603061"></a> 371 <a class="indexterm" name="id2603068"></a> 372 <a class="indexterm" name="id2603075"></a> 373 373 Releases of Samba version 3.0.11 and later make it possible to operate without an Administrator account 374 374 provided equivalent rights and privileges have been established for a Windows user or a Windows 375 375 group account. 376 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2603074"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2603080"></a>What Rights and Privileges Will Permit Windows Client Administration?</h3></div></div></div><p> 377 <a class="indexterm" name="id2603089"></a> 378 <a class="indexterm" name="id2603096"></a> 376 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2603088"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2603093"></a>What Rights and Privileges Will Permit Windows Client Administration?</h3></div></div></div><p> 379 377 <a class="indexterm" name="id2603102"></a> 380 <a class="indexterm" name="id2603110"></a> 378 <a class="indexterm" name="id2603109"></a> 379 <a class="indexterm" name="id2603116"></a> 380 <a class="indexterm" name="id2603123"></a> 381 381 When a Windows NT4 (or later) client joins a domain, the domain global <code class="literal">Domain Admins</code> group 382 382 is added to the membership of the local <code class="literal">Administrators</code> group on the client. Any user who is … … 384 384 Windows client. 385 385 </p><p> 386 <a class="indexterm" name="id2603142"></a>387 <a class="indexterm" name="id2603149"></a>388 386 <a class="indexterm" name="id2603156"></a> 389 <a class="indexterm" name="id260316 3"></a>387 <a class="indexterm" name="id2603162"></a> 390 388 <a class="indexterm" name="id2603170"></a> 389 <a class="indexterm" name="id2603177"></a> 390 <a class="indexterm" name="id2603184"></a> 391 391 This is often not the most desirable solution because it means that the user will have administrative 392 392 rights and privileges on domain servers also. The <code class="literal">Power Users</code> group on Windows client … … 394 394 group can be added to the membership of the local workstation group <code class="literal">Power Users</code>. 395 395 </p><p> 396 <a class="indexterm" name="id2603 198"></a>397 <a class="indexterm" name="id26032 05"></a>398 <a class="indexterm" name="id26032 12"></a>399 <a class="indexterm" name="id26032 19"></a>396 <a class="indexterm" name="id2603211"></a> 397 <a class="indexterm" name="id2603218"></a> 398 <a class="indexterm" name="id2603226"></a> 399 <a class="indexterm" name="id2603232"></a> 400 400 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 401 401 and groups to a local group that is on a Windows workstation. The use of the <code class="literal">net</code> 402 402 command permits this to be done from the Samba server. 403 403 </p><p> 404 <a class="indexterm" name="id2603247"></a>405 <a class="indexterm" name="id2603253"></a>406 404 <a class="indexterm" name="id2603260"></a> 405 <a class="indexterm" name="id2603267"></a> 406 <a class="indexterm" name="id2603274"></a> 407 407 Another way this can be done is to log onto the Windows workstation as the user 408 408 <code class="literal">Administrator</code>, then open a <code class="literal">cmd</code> shell, then execute: -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/samba-bdc.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:Volker.Lendecke@SerNet.DE">Volker.Lendecke@SerNet.DE</a>></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">SuSE<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>></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#id25588 77">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2559283">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560028">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560392">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560450">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560541">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561224">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2561680">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561724">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561779">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561834">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561939">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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:Volker.Lendecke@SerNet.DE">Volker.Lendecke@SerNet.DE</a>></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">SuSE<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>></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#id2558891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2559297">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560041">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560406">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560464">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560555">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561238">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2561694">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561737">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561792">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561847">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561952">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></div><p> 2 2 Before you continue reading this section, please make sure that you are comfortable 3 3 with 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="id25588 77"></a>Features and Benefits</h2></div></div></div><p>4 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2558891"></a>Features and Benefits</h2></div></div></div><p> 5 5 This is one of the most difficult chapters to summarize. It does not matter what we say here, for someone will 6 6 still draw conclusions and/or approach the Samba Team with expectations that are either not yet capable of … … 9 9 we will do our best to provide a solution. 10 10 </p><p> 11 <a class="indexterm" name="id2558904"></a> 12 <a class="indexterm" name="id2558913"></a> 13 <a class="indexterm" name="id2558919"></a> 11 <a class="indexterm" name="id2558917"></a> 14 12 <a class="indexterm" name="id2558926"></a> 15 <a class="indexterm" name="id2558935"></a> 13 <a class="indexterm" name="id2558933"></a> 14 <a class="indexterm" name="id2558939"></a> 15 <a class="indexterm" name="id2558948"></a> 16 16 Samba-3 can act as a Backup Domain Controller (BDC) to another Samba Primary Domain Controller (PDC). A 17 17 Samba-3 PDC can operate with an LDAP account backend. The LDAP backend can be either a common master LDAP … … 22 22 you will have stability and operational problems. 23 23 </p><p> 24 <a class="indexterm" name="id25589 60"></a>25 <a class="indexterm" name="id25589 68"></a>26 <a class="indexterm" name="id25589 77"></a>27 <a class="indexterm" name="id255 8986"></a>24 <a class="indexterm" name="id2558973"></a> 25 <a class="indexterm" name="id2558982"></a> 26 <a class="indexterm" name="id2558991"></a> 27 <a class="indexterm" name="id2559000"></a> 28 28 While it is possible to run a Samba-3 BDC with a non-LDAP backend, that backend must allow some form of 29 29 "two-way" propagation of changes from the BDC to the master. At this time only LDAP delivers the capability … … 31 31 is preferable for the PDC to use as its primary an LDAP master server. 32 32 </p><p> 33 <a class="indexterm" name="id2559003"></a> 34 <a class="indexterm" name="id2559012"></a> 35 <a class="indexterm" name="id2559022"></a> 36 <a class="indexterm" name="id2559033"></a> 37 <a class="indexterm" name="id2559040"></a> 38 <a class="indexterm" name="id2559046"></a> 33 <a class="indexterm" name="id2559017"></a> 34 <a class="indexterm" name="id2559026"></a> 35 <a class="indexterm" name="id2559035"></a> 36 <a class="indexterm" name="id2559047"></a> 39 37 <a class="indexterm" name="id2559053"></a> 38 <a class="indexterm" name="id2559060"></a> 39 <a class="indexterm" name="id2559067"></a> 40 40 The use of a non-LDAP backend SAM database is particularly problematic because domain member 41 41 servers and workstations periodically change the Machine Trust Account password. The new … … 47 47 breakage of the domain trust. 48 48 </p><p> 49 <a class="indexterm" name="id25590 75"></a>50 <a class="indexterm" name="id25590 83"></a>51 <a class="indexterm" name="id2559 093"></a>52 <a class="indexterm" name="id25591 02"></a>49 <a class="indexterm" name="id2559088"></a> 50 <a class="indexterm" name="id2559097"></a> 51 <a class="indexterm" name="id2559106"></a> 52 <a class="indexterm" name="id2559115"></a> 53 53 Considering the number of comments and questions raised concerning how to configure a BDC, 54 54 let's consider each possible option and look at the pros and cons for each possible solution. … … 71 71 and also suffers 72 72 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="id2559283"></a>Essential Background Information</h2></div></div></div><p> 74 <a class="indexterm" name="id2559292"></a> 75 <a class="indexterm" name="id2559298"></a> 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="id2559297"></a>Essential Background Information</h2></div></div></div><p> 76 74 <a class="indexterm" name="id2559305"></a> 77 75 <a class="indexterm" name="id2559312"></a> 76 <a class="indexterm" name="id2559319"></a> 77 <a class="indexterm" name="id2559326"></a> 78 78 A domain controller is a machine that is able to answer logon requests from network 79 79 workstations. Microsoft LanManager and IBM LanServer were two early products that 80 80 provided this capability. The technology has become known as the LanMan Netlogon service. 81 81 </p><p> 82 <a class="indexterm" name="id25593 27"></a>83 <a class="indexterm" name="id25593 38"></a>82 <a class="indexterm" name="id2559340"></a> 83 <a class="indexterm" name="id2559352"></a> 84 84 When MS Windows NT3.10 was first released, it supported a new style of Domain Control 85 85 and with it a new form of the network logon service that has extended functionality. … … 87 87 changed with the evolution of MS Windows NT and today provides a complex array of 88 88 services 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="id2559353"></a>MS Windows NT4-style Domain Control</h3></div></div></div><p> 90 <a class="indexterm" name="id2559361"></a> 91 <a class="indexterm" name="id2559368"></a> 89 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2559367"></a>MS Windows NT4-style Domain Control</h3></div></div></div><p> 92 90 <a class="indexterm" name="id2559375"></a> 93 91 <a class="indexterm" name="id2559382"></a> 94 92 <a class="indexterm" name="id2559389"></a> 95 93 <a class="indexterm" name="id2559396"></a> 96 <a class="indexterm" name="id2559405"></a> 94 <a class="indexterm" name="id2559403"></a> 95 <a class="indexterm" name="id2559409"></a> 96 <a class="indexterm" name="id2559418"></a> 97 97 Whenever a user logs into a Windows NT4/200x/XP Professional workstation, 98 98 the workstation connects to a domain controller (authentication server) to validate that … … 102 102 codes is returned to the workstation that has made the authentication request. 103 103 </p><p> 104 <a class="indexterm" name="id2559425"></a>105 <a class="indexterm" name="id2559432"></a>106 104 <a class="indexterm" name="id2559439"></a> 107 105 <a class="indexterm" name="id2559446"></a> 108 106 <a class="indexterm" name="id2559453"></a> 107 <a class="indexterm" name="id2559460"></a> 108 <a class="indexterm" name="id2559467"></a> 109 109 When the username/password pair has been validated, the domain controller 110 110 (authentication server) will respond with full enumeration of the account information … … 118 118 in all versions of MS Windows NT (3.10, 3.50, 3.51, 4.0). 119 119 </p><p> 120 <a class="indexterm" name="id2559477"></a> 121 <a class="indexterm" name="id2559486"></a> 122 <a class="indexterm" name="id2559493"></a> 123 <a class="indexterm" name="id2559500"></a> 120 <a class="indexterm" name="id2559490"></a> 121 <a class="indexterm" name="id2559499"></a> 124 122 <a class="indexterm" name="id2559506"></a> 123 <a class="indexterm" name="id2559514"></a> 124 <a class="indexterm" name="id2559520"></a> 125 125 The account information (user and machine) on domain controllers is stored in two files, 126 126 one containing the security information and the other the SAM. These are stored in files … … 132 132 There are two situations in which it is desirable to install BDCs: 133 133 </p><div class="itemizedlist"><ul type="disc"><li><p> 134 <a class="indexterm" name="id25595 42"></a>135 <a class="indexterm" name="id25595 49"></a>134 <a class="indexterm" name="id2559556"></a> 135 <a class="indexterm" name="id2559563"></a> 136 136 On the local network that the PDC is on, if there are many 137 137 workstations and/or where the PDC is generally very busy. In this case the BDCs 138 138 will pick up network logon requests and help to add robustness to network services. 139 139 </p></li><li><p> 140 <a class="indexterm" name="id25595 64"></a>140 <a class="indexterm" name="id2559577"></a> 141 141 At each remote site, to reduce wide-area network traffic and to add stability to 142 142 remote network operations. The design of the network, and the strategic placement of … … 145 145 (and thus costs). 146 146 </p></li></ul></div><p> 147 <a class="indexterm" name="id2559583"></a> 148 <a class="indexterm" name="id2559590"></a> 149 <a class="indexterm" name="id2559596"></a> 147 <a class="indexterm" name="id2559597"></a> 150 148 <a class="indexterm" name="id2559603"></a> 151 149 <a class="indexterm" name="id2559610"></a> 150 <a class="indexterm" name="id2559617"></a> 151 <a class="indexterm" name="id2559624"></a> 152 152 The interoperation of a PDC and its BDCs in a true Windows NT4 environment is worth 153 153 mentioning here. The PDC contains the master copy of the SAM. In the event that an … … 161 161 trigger them to obtain the update and then apply that to their own copy of the SAM. 162 162 </p><p> 163 <a class="indexterm" name="id25596 34"></a>164 <a class="indexterm" name="id25596 43"></a>165 <a class="indexterm" name="id25596 52"></a>166 <a class="indexterm" name="id25596 58"></a>163 <a class="indexterm" name="id2559648"></a> 164 <a class="indexterm" name="id2559656"></a> 165 <a class="indexterm" name="id2559665"></a> 166 <a class="indexterm" name="id2559672"></a> 167 167 Samba-3 cannot participate in true SAM replication and is therefore not able to 168 168 employ precisely the same protocols used by MS Windows NT4. A Samba-3 BDC will … … 170 170 to synchronize the SAM from delta files that are held by BDCs. 171 171 </p><p> 172 <a class="indexterm" name="id25596 73"></a>173 <a class="indexterm" name="id25596 80"></a>172 <a class="indexterm" name="id2559687"></a> 173 <a class="indexterm" name="id2559694"></a> 174 174 Samba-3 cannot function as a BDC to an MS Windows NT4 PDC, and Samba-3 cannot 175 175 function correctly as a PDC to an MS Windows NT4 BDC. Both Samba-3 and MS Windows 176 176 NT4 can function as a BDC to its own type of PDC. 177 177 </p><p> 178 <a class="indexterm" name="id2559 693"></a>179 <a class="indexterm" name="id25597 00"></a>180 <a class="indexterm" name="id25597 06"></a>178 <a class="indexterm" name="id2559707"></a> 179 <a class="indexterm" name="id2559713"></a> 180 <a class="indexterm" name="id2559720"></a> 181 181 The BDC is said to hold a <span class="emphasis"><em>read-only</em></span> of the SAM from which 182 182 it is able to process network logon requests and authenticate users. The BDC can … … 185 185 maintenance of domain security as well as in network integrity. 186 186 </p><p> 187 <a class="indexterm" name="id2559726"></a> 188 <a class="indexterm" name="id2559733"></a> 189 <a class="indexterm" name="id2559739"></a> 187 <a class="indexterm" name="id2559740"></a> 190 188 <a class="indexterm" name="id2559746"></a> 189 <a class="indexterm" name="id2559753"></a> 190 <a class="indexterm" name="id2559760"></a> 191 191 In the event that the NT4 PDC should need to be taken out of service, or if it dies, one of the NT4 BDCs can 192 192 be promoted to a PDC. If this happens while the original NT4 PDC is online, it is automatically demoted to an … … 195 195 promoted in this manner because reconfiguration of Samba requires changes to the <code class="filename">smb.conf</code> file. It is easy 196 196 enough 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="id25597 76"></a>Example PDC Configuration</h4></div></div></div><p>198 <a class="indexterm" name="id25597 84"></a>199 <a class="indexterm" name="id2559 791"></a>197 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2559790"></a>Example PDC Configuration</h4></div></div></div><p> 198 <a class="indexterm" name="id2559798"></a> 199 <a class="indexterm" name="id2559805"></a> 200 200 Beginning with Version 2.2, Samba officially supports domain logons for all current Windows clients, including 201 201 Windows NT4, 2003, and XP Professional. For Samba to be enabled as a PDC, some parameters in the 202 202 <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 203 203 section</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="id25598 45"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2559856"></a><em class="parameter"><code>passdb backend = ldapsam://localhost:389</code></em></td></tr><tr><td><a class="indexterm" name="id2559869"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2559880"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2559892"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2559904"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2559916"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2559928"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2559940"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2559952"></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="id25599 67"></a>206 <a class="indexterm" name="id25599 74"></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 class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2559858"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2559870"></a><em class="parameter"><code>passdb backend = ldapsam://localhost:389</code></em></td></tr><tr><td><a class="indexterm" name="id2559882"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2559894"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2559906"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2559918"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2559929"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2559941"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2559953"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2559965"></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="id2559981"></a> 206 <a class="indexterm" name="id2559988"></a> 207 207 Several other things like a <em class="parameter"><code>[homes]</code></em> and a <em class="parameter"><code>[netlogon]</code></em> share 208 208 also need to be set along with settings for the profile path, the user's home drive, and so on. This is not … … 212 212 as available in the <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample" target="_top">book</a> “<span class="quote">Samba-3 213 213 by Example</span>” 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="id25600 28"></a>LDAP Configuration Notes</h3></div></div></div><p>215 <a class="indexterm" name="id25600 36"></a>216 <a class="indexterm" name="id25600 45"></a>217 <a class="indexterm" name="id25600 54"></a>214 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560041"></a>LDAP Configuration Notes</h3></div></div></div><p> 215 <a class="indexterm" name="id2560049"></a> 216 <a class="indexterm" name="id2560058"></a> 217 <a class="indexterm" name="id2560068"></a> 218 218 When configuring a master and a slave LDAP server, it is advisable to use the master LDAP server 219 219 for the PDC and slave LDAP servers for the BDCs. It is not essential to use slave LDAP servers; however, … … 222 222 entire network. 223 223 </p><p> 224 <a class="indexterm" name="id2560071"></a> 225 <a class="indexterm" name="id2560080"></a> 226 <a class="indexterm" name="id2560090"></a> 227 <a class="indexterm" name="id2560096"></a> 224 <a class="indexterm" name="id2560085"></a> 225 <a class="indexterm" name="id2560094"></a> 228 226 <a class="indexterm" name="id2560103"></a> 227 <a class="indexterm" name="id2560110"></a> 228 <a class="indexterm" name="id2560116"></a> 229 229 When configuring a master LDAP server that will have slave LDAP servers, do not forget to configure this in 230 230 the <code class="filename">/etc/openldap/slapd.conf</code> file. It must be noted that the DN of a server certificate … … 233 233 on server certificate names are in RFC2830. 234 234 </p><p> 235 <a class="indexterm" name="id2560126"></a>236 <a class="indexterm" name="id2560133"></a>237 235 <a class="indexterm" name="id2560140"></a> 238 <a class="indexterm" name="id256014 6"></a>239 <a class="indexterm" name="id256015 6"></a>240 <a class="indexterm" name="id256016 3"></a>236 <a class="indexterm" name="id2560147"></a> 237 <a class="indexterm" name="id2560153"></a> 238 <a class="indexterm" name="id2560160"></a> 241 239 <a class="indexterm" name="id2560169"></a> 240 <a class="indexterm" name="id2560176"></a> 241 <a class="indexterm" name="id2560183"></a> 242 242 It does not really fit within the scope of this document, but a working LDAP installation is basic to 243 243 LDAP-enabled Samba operation. When using an OpenLDAP server with Transport Layer Security (TLS), the machine … … 248 248 a correct hostname. 249 249 </p><p> 250 <a class="indexterm" name="id2560210"></a>251 <a class="indexterm" name="id2560216"></a>252 250 <a class="indexterm" name="id2560223"></a> 253 251 <a class="indexterm" name="id2560230"></a> 254 <a class="indexterm" name="id256023 7"></a>252 <a class="indexterm" name="id2560236"></a> 255 253 <a class="indexterm" name="id2560243"></a> 254 <a class="indexterm" name="id2560250"></a> 255 <a class="indexterm" name="id2560257"></a> 256 256 Do not install a Samba PDC so that is uses an LDAP slave server. Joining client machines to the domain 257 257 will fail in this configuration because the change to the machine account in the LDAP tree must take place on … … 280 280 the 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 281 281 Servers 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="id2560378"></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="id2560392"></a>Active Directory Domain Control</h3></div></div></div><p> 283 <a class="indexterm" name="id2560400"></a> 284 <a class="indexterm" name="id2560407"></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="id2560391"></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="id2560406"></a>Active Directory Domain Control</h3></div></div></div><p> 285 283 <a class="indexterm" name="id2560414"></a> 286 284 <a class="indexterm" name="id2560421"></a> 287 285 <a class="indexterm" name="id2560428"></a> 288 286 <a class="indexterm" name="id2560434"></a> 287 <a class="indexterm" name="id2560441"></a> 288 <a class="indexterm" name="id2560448"></a> 289 289 As of the release of MS Windows 2000 and Active Directory, this information is now stored 290 290 in a directory that can be replicated and for which partial or full administrative control … … 292 292 tree, and it cannot be an Active Directory server. This means that Samba-3 also cannot 293 293 act 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="id2560450"></a>What Qualifies a Domain Controller on the Network?</h3></div></div></div><p> 295 <a class="indexterm" name="id2560459"></a> 296 <a class="indexterm" name="id2560465"></a> 294 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560464"></a>What Qualifies a Domain Controller on the Network?</h3></div></div></div><p> 297 295 <a class="indexterm" name="id2560472"></a> 298 <a class="indexterm" name="id2560478"></a> 296 <a class="indexterm" name="id2560479"></a> 297 <a class="indexterm" name="id2560485"></a> 298 <a class="indexterm" name="id2560492"></a> 299 299 Every machine that is a domain controller for the domain MIDEARTH has to register the NetBIOS 300 300 group name MIDEARTH<1C> with the WINS server and/or by broadcast on the local network. … … 304 304 implementation requires the DMB to be on the same machine as the PDC. 305 305 </p><p> 306 <a class="indexterm" name="id2560500"></a>307 <a class="indexterm" name="id2560507"></a>308 306 <a class="indexterm" name="id2560514"></a> 307 <a class="indexterm" name="id2560521"></a> 308 <a class="indexterm" name="id2560528"></a> 309 309 Where a WINS server is not used, broadcast name registrations alone must suffice. Refer to 310 310 <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> 311 311 for 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="id25605 41"></a>How Does a Workstation find its Domain Controller?</h3></div></div></div><p>313 <a class="indexterm" name="id25605 50"></a>314 <a class="indexterm" name="id25605 57"></a>312 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560555"></a>How Does a Workstation find its Domain Controller?</h3></div></div></div><p> 313 <a class="indexterm" name="id2560563"></a> 314 <a class="indexterm" name="id2560570"></a> 315 315 There are two different mechanisms to locate a domain controller: one method is used when 316 316 NetBIOS over TCP/IP is enabled and the other when it has been disabled in the TCP/IP 317 317 network configuration. 318 318 </p><p> 319 <a class="indexterm" name="id25605 70"></a>320 <a class="indexterm" name="id25605 77"></a>319 <a class="indexterm" name="id2560584"></a> 320 <a class="indexterm" name="id2560590"></a> 321 321 Where NetBIOS over TCP/IP is disabled, all name resolution involves the use of DNS, broadcast 322 322 messaging over UDP, as well as Active Directory communication technologies. In this type of 323 323 environment all machines require appropriate DNS entries. More information may be found in 324 324 <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="id2560598"></a>NetBIOS Over TCP/IP Enabled</h4></div></div></div><p> 326 <a class="indexterm" name="id2560606"></a> 327 <a class="indexterm" name="id2560613"></a> 325 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2560612"></a>NetBIOS Over TCP/IP Enabled</h4></div></div></div><p> 328 326 <a class="indexterm" name="id2560620"></a> 329 <a class="indexterm" name="id2560627"></a> 327 <a class="indexterm" name="id2560626"></a> 328 <a class="indexterm" name="id2560633"></a> 329 <a class="indexterm" name="id2560640"></a> 330 330 An MS Windows NT4/200x/XP Professional workstation in the domain MIDEARTH that wants a 331 331 local user to be authenticated has to find the domain controller for MIDEARTH. It does this … … 335 335 authenticate each other. After that the workstation sends the user's credentials (name and 336 336 password) 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="id2560664"></a>NetBIOS Over TCP/IP Disabled</h4></div></div></div><p> 338 <a class="indexterm" name="id2560672"></a> 339 <a class="indexterm" name="id2560679"></a> 340 <a class="indexterm" name="id2560686"></a> 337 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2560677"></a>NetBIOS Over TCP/IP Disabled</h4></div></div></div><p> 338 <a class="indexterm" name="id2560685"></a> 341 339 <a class="indexterm" name="id2560692"></a> 340 <a class="indexterm" name="id2560699"></a> 341 <a class="indexterm" name="id2560706"></a> 342 342 An MS Windows NT4/200x/XP Professional workstation in the realm <code class="constant">quenya.org</code> 343 343 that has a need to affect user logon authentication will locate the domain controller by 344 344 re-querying DNS servers for the <code class="constant">_ldap._tcp.pdc._msdcs.quenya.org</code> record. 345 345 More 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="id25607 23"></a>Backup Domain Controller Configuration</h2></div></div></div><p>347 <a class="indexterm" name="id25607 30"></a>346 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2560736"></a>Backup Domain Controller Configuration</h2></div></div></div><p> 347 <a class="indexterm" name="id2560744"></a> 348 348 The creation of a BDC requires some steps to prepare the Samba server before 349 349 <span class="application">smbd</span> is executed for the first time. These steps are as follows: 350 350 </p><div class="itemizedlist"><ul type="disc"><li><p> 351 <a class="indexterm" name="id2560751"></a> 352 <a class="indexterm" name="id2560758"></a> 353 <a class="indexterm" name="id2560764"></a> 351 <a class="indexterm" name="id2560765"></a> 354 352 <a class="indexterm" name="id2560771"></a> 355 353 <a class="indexterm" name="id2560778"></a> 356 <a class="indexterm" name="id2560785"></a> 354 <a class="indexterm" name="id2560784"></a> 355 <a class="indexterm" name="id2560791"></a> 356 <a class="indexterm" name="id2560798"></a> 357 357 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 358 358 stored in the file <code class="filename">private/MACHINE.SID</code>. For all versions of Samba released since 2.2.5 … … 362 362 domain SID. This is described here. 363 363 </p><p> 364 <a class="indexterm" name="id2560815"></a>365 <a class="indexterm" name="id2560822"></a>366 364 <a class="indexterm" name="id2560829"></a> 367 <a class="indexterm" name="id256083 5"></a>365 <a class="indexterm" name="id2560836"></a> 368 366 <a class="indexterm" name="id2560842"></a> 367 <a class="indexterm" name="id2560849"></a> 368 <a class="indexterm" name="id2560856"></a> 369 369 To retrieve the domain SID from the PDC or an existing BDC and store it in the 370 370 <code class="filename">secrets.tdb</code>, execute: … … 372 372 <code class="prompt">root# </code><strong class="userinput"><code>net rpc getsid</code></strong> 373 373 </pre></li><li><p> 374 <a class="indexterm" name="id2560882"></a>375 <a class="indexterm" name="id2560889"></a>376 374 <a class="indexterm" name="id2560896"></a> 375 <a class="indexterm" name="id2560903"></a> 376 <a class="indexterm" name="id2560909"></a> 377 377 Specification of the <a class="link" href="smb.conf.5.html#LDAPADMINDN">ldap admin dn</a> is obligatory. 378 378 This also requires the LDAP administration password to be set in the <code class="filename">secrets.tdb</code> … … 382 382 parameter must be specified in the <code class="filename">smb.conf</code> file. 383 383 </p></li><li><p> 384 <a class="indexterm" name="id2560970"></a> 385 <a class="indexterm" name="id2560979"></a> 386 <a class="indexterm" name="id2560986"></a> 384 <a class="indexterm" name="id2560984"></a> 387 385 <a class="indexterm" name="id2560993"></a> 386 <a class="indexterm" name="id2561000"></a> 387 <a class="indexterm" name="id2561007"></a> 388 388 The UNIX user database has to be synchronized from the PDC to the 389 389 BDC. This means that both the <code class="filename">/etc/passwd</code> and … … 396 396 passwords. An LDAP solution would also work. 397 397 </p></li><li><p> 398 <a class="indexterm" name="id2561026"></a> 399 <a class="indexterm" name="id2561033"></a> 400 <a class="indexterm" name="id2561040"></a> 398 <a class="indexterm" name="id2561039"></a> 401 399 <a class="indexterm" name="id2561046"></a> 402 400 <a class="indexterm" name="id2561053"></a> 403 <a class="indexterm" name="id25610 59"></a>401 <a class="indexterm" name="id2561060"></a> 404 402 <a class="indexterm" name="id2561066"></a> 405 403 <a class="indexterm" name="id2561073"></a> 404 <a class="indexterm" name="id2561080"></a> 405 <a class="indexterm" name="id2561087"></a> 406 406 The Samba password database must be replicated from the PDC to the BDC. 407 407 Although it is possible to synchronize the <code class="filename">smbpasswd</code> … … 418 418 or when it takes place. 419 419 </p><p> 420 <a class="indexterm" name="id2561119"></a> 421 <a class="indexterm" name="id2561125"></a> 422 <a class="indexterm" name="id2561132"></a> 420 <a class="indexterm" name="id2561133"></a> 423 421 <a class="indexterm" name="id2561139"></a> 422 <a class="indexterm" name="id2561146"></a> 423 <a class="indexterm" name="id2561153"></a> 424 424 The use of LDAP for both the POSIX (UNIX user and group) accounts and for the 425 425 SambaSAMAccount data automatically ensures that all account change information … … 427 427 action to synchronize account information because LDAP will meet that requirement. 428 428 </p></li><li><p> 429 <a class="indexterm" name="id2561156"></a> 430 <a class="indexterm" name="id2561163"></a> 431 <a class="indexterm" name="id2561170"></a> 429 <a class="indexterm" name="id2561169"></a> 432 430 <a class="indexterm" name="id2561176"></a> 433 431 <a class="indexterm" name="id2561183"></a> 434 <a class="indexterm" name="id2561189"></a> 432 <a class="indexterm" name="id2561190"></a> 433 <a class="indexterm" name="id2561196"></a> 434 <a class="indexterm" name="id2561203"></a> 435 435 The netlogon share has to be replicated from the PDC to the BDC. This can be done manually whenever login 436 436 scripts are changed, or it can be done automatically using a <code class="literal">cron</code> job that will replicate … … 439 439 that can be manually managed given that the administrator will make all changes to the netlogon share as part 440 440 of a conscious move. 441 </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25612 24"></a>Example Configuration</h3></div></div></div><p>441 </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2561238"></a>Example Configuration</h3></div></div></div><p> 442 442 Finally, the BDC has to be capable of being found by the workstations. This can be done by configuring the 443 443 Samba <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 444 444 Setup 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="id25612 70"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2561282"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://slave-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2561294"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2561306"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561318"></a><em class="parameter"><code>ldap suffix = dc=abmas,dc=biz</code></em></td></tr><tr><td><a class="indexterm" name="id2561329"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2561341"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2561353"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2561365"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2561377"></a><em class="parameter"><code>ldap admin dn = cn=sambadmin,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2561390"></a><em class="parameter"><code>idmap backend = ldap:ldap://master-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2561402"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2561414"></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 class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2561284"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2561295"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://slave-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2561308"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2561319"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561331"></a><em class="parameter"><code>ldap suffix = dc=abmas,dc=biz</code></em></td></tr><tr><td><a class="indexterm" name="id2561343"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2561355"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2561367"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2561379"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2561391"></a><em class="parameter"><code>ldap admin dn = cn=sambadmin,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2561403"></a><em class="parameter"><code>idmap backend = ldap:ldap://master-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2561415"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2561427"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table></div></div><br class="example-break"><p> 446 446 Fully documented working example network configurations using OpenLDAP and Samba 447 447 as available in the <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample" target="_top">book</a> “<span class="quote">Samba-3 448 448 by Example</span>” that may be obtained from local and on-line book stores. 449 449 </p><p> 450 <a class="indexterm" name="id2561445"></a>451 <a class="indexterm" name="id2561451"></a>452 450 <a class="indexterm" name="id2561458"></a> 453 451 <a class="indexterm" name="id2561465"></a> 452 <a class="indexterm" name="id2561472"></a> 453 <a class="indexterm" name="id2561478"></a> 454 454 This configuration causes the BDC to register only the name MIDEARTH<1C> with the WINS server. This is 455 455 not a problem, as the name MIDEARTH<1C> is a NetBIOS group name that is meant to be registered by more … … 457 457 register MIDEARTH<1B>, which is a unique NetBIOS name that is reserved for the PDC. 458 458 </p><p> 459 <a class="indexterm" name="id2561497"></a>460 <a class="indexterm" name="id2561504"></a>461 459 <a class="indexterm" name="id2561510"></a> 462 <a class="indexterm" name="id256151 7"></a>463 <a class="indexterm" name="id256152 4"></a>464 <a class="indexterm" name="id256153 1"></a>460 <a class="indexterm" name="id2561516"></a> 461 <a class="indexterm" name="id2561523"></a> 462 <a class="indexterm" name="id2561530"></a> 465 463 <a class="indexterm" name="id2561537"></a> 466 464 <a class="indexterm" name="id2561544"></a> 467 465 <a class="indexterm" name="id2561550"></a> 466 <a class="indexterm" name="id2561557"></a> 467 <a class="indexterm" name="id2561563"></a> 468 468 The <em class="parameter"><code>idmap backend</code></em> will redirect the <code class="literal">winbindd</code> utility to use the LDAP 469 469 database to store all mappings for Windows SIDs to UIDs and GIDs for UNIX accounts in a repository that is … … 471 471 <code class="literal">nss_ldap</code> utility. 472 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="id25615 84"></a>474 <a class="indexterm" name="id2561 593"></a>475 <a class="indexterm" name="id25616 00"></a>476 <a class="indexterm" name="id25616 07"></a>473 <a class="indexterm" name="id2561596"></a> 474 <a class="indexterm" name="id2561606"></a> 475 <a class="indexterm" name="id2561612"></a> 476 <a class="indexterm" name="id2561620"></a> 477 477 Samba-3 has introduced a new ID mapping facility. One of the features of this facility is that it 478 478 allows greater flexibility in how user and group IDs are handled in respect to NT domain user and group … … 482 482 regarding its behavior. 483 483 </p></div><p> 484 <a class="indexterm" name="id2561637"></a>485 <a class="indexterm" name="id2561644"></a>486 484 <a class="indexterm" name="id2561650"></a> 485 <a class="indexterm" name="id2561656"></a> 486 <a class="indexterm" name="id2561663"></a> 487 487 The use of the <a class="link" href="smb.conf.5.html#IDMAPBACKEND">idmap backend = ldap:ldap://master.quenya.org</a> 488 488 option on a BDC only makes sense where ldapsam is used on a PDC. The purpose of an LDAP-based idmap backend is … … 490 490 and groups to common UID/GIDs. In other words, this option is generally intended for use on BDCs and on domain 491 491 member servers. 492 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25616 80"></a>Common Errors</h2></div></div></div><p>493 <a class="indexterm" name="id2561 688"></a>492 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2561694"></a>Common Errors</h2></div></div></div><p> 493 <a class="indexterm" name="id2561701"></a> 494 494 Domain control was a new area for Samba, but there are now many examples that we may refer to. 495 495 Updated information will be published as they become available and may be found in later Samba releases or … … 498 498 documents well tested and proven configuration examples. You can obtain a copy of this 499 499 <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="id2561724"></a>Machine Accounts Keep Expiring</h3></div></div></div><p> 501 <a class="indexterm" name="id2561732"></a> 502 <a class="indexterm" name="id2561739"></a> 500 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2561737"></a>Machine Accounts Keep Expiring</h3></div></div></div><p> 503 501 <a class="indexterm" name="id2561746"></a> 504 <a class="indexterm" name="id2561752"></a> 502 <a class="indexterm" name="id2561753"></a> 503 <a class="indexterm" name="id2561759"></a> 504 <a class="indexterm" name="id2561766"></a> 505 505 This problem will occur when the passdb (SAM) files are copied from a central 506 506 server but the local BDC is acting as a PDC. This results in the application of … … 514 514 The solution is to use a more robust passdb backend, such as the ldapsam backend, setting up 515 515 a 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="id25617 79"></a>Can Samba Be a Backup Domain Controller to an NT4 PDC?</h3></div></div></div><p>517 <a class="indexterm" name="id2561 787"></a>518 <a class="indexterm" name="id2561 796"></a>516 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2561792"></a>Can Samba Be a Backup Domain Controller to an NT4 PDC?</h3></div></div></div><p> 517 <a class="indexterm" name="id2561801"></a> 518 <a class="indexterm" name="id2561810"></a> 519 519 No. The native NT4 SAM replication protocols have not yet been fully implemented. 520 520 </p><p> 521 <a class="indexterm" name="id25618 07"></a>522 <a class="indexterm" name="id25618 14"></a>523 <a class="indexterm" name="id25618 20"></a>521 <a class="indexterm" name="id2561821"></a> 522 <a class="indexterm" name="id2561828"></a> 523 <a class="indexterm" name="id2561834"></a> 524 524 Can I get the benefits of a BDC with Samba? Yes, but only to a Samba PDC.The 525 525 main reason for implementing a BDC is availability. If the PDC is a Samba 526 526 machine, a second Samba machine can be set up to service logon requests whenever 527 527 the PDC is down. 528 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25618 34"></a>How Do I Replicate the smbpasswd File?</h3></div></div></div><p>529 <a class="indexterm" name="id25618 42"></a>530 <a class="indexterm" name="id25618 51"></a>531 <a class="indexterm" name="id25618 58"></a>528 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2561847"></a>How Do I Replicate the smbpasswd File?</h3></div></div></div><p> 529 <a class="indexterm" name="id2561856"></a> 530 <a class="indexterm" name="id2561865"></a> 531 <a class="indexterm" name="id2561871"></a> 532 532 Replication of the smbpasswd file is sensitive. It has to be done whenever changes 533 533 to the SAM are made. Every user's password change is done in the smbpasswd file and 534 534 has to be replicated to the BDC. So replicating the smbpasswd file very often is necessary. 535 535 </p><p> 536 <a class="indexterm" name="id2561872"></a>537 <a class="indexterm" name="id2561879"></a>538 536 <a class="indexterm" name="id2561886"></a> 537 <a class="indexterm" name="id2561893"></a> 538 <a class="indexterm" name="id2561899"></a> 539 539 As the smbpasswd file contains plaintext password equivalents, it must not be 540 540 sent unencrypted over the wire. The best way to set up smbpasswd replication from … … 543 543 <code class="literal">rsync</code> transfer without requiring the user to type a password. 544 544 </p><p> 545 <a class="indexterm" name="id25619 16"></a>546 <a class="indexterm" name="id25619 23"></a>545 <a class="indexterm" name="id2561930"></a> 546 <a class="indexterm" name="id2561937"></a> 547 547 As said a few times before, use of this method is broken and flawed. Machine trust 548 548 accounts will go out of sync, resulting in a broken domain. This method is 549 549 <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="id25619 39"></a>Can I Do This All with LDAP?</h3></div></div></div><p>551 <a class="indexterm" name="id25619 47"></a>552 <a class="indexterm" name="id25619 54"></a>550 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2561952"></a>Can I Do This All with LDAP?</h3></div></div></div><p> 551 <a class="indexterm" name="id2561961"></a> 552 <a class="indexterm" name="id2561967"></a> 553 553 The simple answer is yes. Samba's pdb_ldap code supports binding to a replica 554 554 LDAP server and will also follow referrals and rebind to the master if it ever -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/samba-pdc.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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"><<a class="email" href="mailto:dbannon@samba.org">dbannon@samba.org</a>></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">SuSE<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>></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#id25543 36">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2555570">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2555590">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2556095">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557346">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557399">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2557418">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2558282">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2558287">“<span class="quote">$</span>” Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558388">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558452">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558529">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558648">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558675">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558694">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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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"><<a class="email" href="mailto:dbannon@samba.org">dbannon@samba.org</a>></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">SuSE<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@suse.de">gd@suse.de</a>></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#id2554350">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2555584">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2555604">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2556109">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557360">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557413">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2557432">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2558295">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2558301">“<span class="quote">$</span>” Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558401">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558466">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558542">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558661">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558689">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558707">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></div><p> 2 2 There are many who approach MS Windows networking with incredible misconceptions. 3 3 That's okay, because it gives the rest of us plenty of opportunity to be of assistance. … … 5 5 that is already available. 6 6 </p><p> 7 <a class="indexterm" name="id2554 199"></a>7 <a class="indexterm" name="id2554213"></a> 8 8 You are advised not to tackle this section without having first understood 9 9 and mastered some basics. MS Windows networking is not particularly forgiving of … … 33 33 make mistakes, then please do it on a test network, away from users, and in such a way as 34 34 to 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="id25543 36"></a>Features and Benefits</h2></div></div></div><p>36 <a class="indexterm" name="id25543 44"></a>35 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2554350"></a>Features and Benefits</h2></div></div></div><p> 36 <a class="indexterm" name="id2554358"></a> 37 37 <span class="emphasis"><em>What is the key benefit of Microsoft Domain Security?</em></span> 38 38 </p><p> 39 <a class="indexterm" name="id2554359"></a> 40 <a class="indexterm" name="id2554368"></a> 41 <a class="indexterm" name="id2554375"></a> 39 <a class="indexterm" name="id2554372"></a> 42 40 <a class="indexterm" name="id2554381"></a> 41 <a class="indexterm" name="id2554388"></a> 42 <a class="indexterm" name="id2554395"></a> 43 43 In a word, <span class="emphasis"><em>single sign-on</em></span>, or SSO for short. To many, this is the Holy Grail of MS 44 44 Windows NT and beyond networking. SSO allows users in a well-designed network to log onto any workstation that … … 48 48 feature of the domain security protocols. 49 49 </p><p> 50 <a class="indexterm" name="id25544 09"></a>51 <a class="indexterm" name="id25544 16"></a>52 <a class="indexterm" name="id25544 22"></a>53 <a class="indexterm" name="id25544 31"></a>54 <a class="indexterm" name="id25544 40"></a>50 <a class="indexterm" name="id2554423"></a> 51 <a class="indexterm" name="id2554429"></a> 52 <a class="indexterm" name="id2554436"></a> 53 <a class="indexterm" name="id2554445"></a> 54 <a class="indexterm" name="id2554454"></a> 55 55 The benefits of domain security are available to those sites that deploy a Samba PDC. A domain provides a 56 56 unique network security identifier (SID). Domain user and group security identifiers are comprised of the … … 59 59 organizational access control. UNIX systems recognize only local security identifiers. 60 60 </p><p> 61 <a class="indexterm" name="id25544 59"></a>61 <a class="indexterm" name="id2554473"></a> 62 62 A SID represents a security context. For example, every Windows machine has local accounts within the security 63 63 context of the local machine which has a unique SID. Every domain (NT4, ADS, Samba) contains accounts that 64 64 exist within the domain security context which is defined by the domain SID. 65 65 </p><p> 66 <a class="indexterm" name="id25544 74"></a>67 <a class="indexterm" name="id25544 81"></a>66 <a class="indexterm" name="id2554488"></a> 67 <a class="indexterm" name="id2554494"></a> 68 68 A domain member server will have a SID that differs from the domain SID. The domain member server can be 69 69 configured to regard all domain users as local users. It can also be configured to recognize domain users and … … 83 83 The result is that every account in the Windows networking world has a globally unique security identifier. 84 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="id25545 28"></a>86 <a class="indexterm" name="id25545 37"></a>87 <a class="indexterm" name="id25545 44"></a>85 <a class="indexterm" name="id2554541"></a> 86 <a class="indexterm" name="id2554551"></a> 87 <a class="indexterm" name="id2554558"></a> 88 88 Network clients of an MS Windows domain security environment must be domain members to be able to gain access 89 89 to the advanced features provided. Domain membership involves more than just setting the workgroup name to the … … 93 93 The following functionalities are new to the Samba-3 release: 94 94 </p><div class="itemizedlist"><ul type="disc"><li><p> 95 <a class="indexterm" name="id25545 78"></a>95 <a class="indexterm" name="id2554591"></a> 96 96 Samba-3 supports the use of a choice of backends that may be used in which user, group and machine 97 97 accounts may be stored. Multiple passwd backends can be used in combination, either as additive backend 98 98 data sets, or as fail-over data sets. 99 99 </p><p> 100 <a class="indexterm" name="id2554594"></a>101 <a class="indexterm" name="id2554601"></a>102 100 <a class="indexterm" name="id2554608"></a> 103 101 <a class="indexterm" name="id2554615"></a> 104 102 <a class="indexterm" name="id2554621"></a> 103 <a class="indexterm" name="id2554628"></a> 104 <a class="indexterm" name="id2554635"></a> 105 105 An LDAP passdb backend confers the benefit that the account backend can be distributed and replicated, 106 106 which is of great value because it confers scalability and provides a high degree of reliability. 107 107 </p></li><li><p> 108 <a class="indexterm" name="id25546 36"></a>109 <a class="indexterm" name="id25546 48"></a>110 <a class="indexterm" name="id25546 57"></a>108 <a class="indexterm" name="id2554650"></a> 109 <a class="indexterm" name="id2554661"></a> 110 <a class="indexterm" name="id2554671"></a> 111 111 Windows NT4 domain trusts. Samba-3 supports workstation and server (machine) trust accounts. It also 112 112 supports Windows NT4 style interdomain trust accounts, which further assists in network scalability 113 113 and interoperability. 114 114 </p></li><li><p> 115 <a class="indexterm" name="id2554672"></a>116 <a class="indexterm" name="id2554679"></a>117 115 <a class="indexterm" name="id2554686"></a> 118 116 <a class="indexterm" name="id2554693"></a> 119 <a class="indexterm" name="id2554702"></a> 120 <a class="indexterm" name="id2554711"></a> 117 <a class="indexterm" name="id2554699"></a> 118 <a class="indexterm" name="id2554706"></a> 119 <a class="indexterm" name="id2554716"></a> 120 <a class="indexterm" name="id2554725"></a> 121 121 Operation without NetBIOS over TCP/IP, rather using the raw SMB over TCP/IP. Note, this is feasible 122 122 only when operating as a Microsoft active directory domain member server. When acting as a Samba domain 123 123 controller the use of NetBIOS is necessary to provide network browsing support. 124 124 </p></li><li><p> 125 <a class="indexterm" name="id2554730"></a>126 <a class="indexterm" name="id2554736"></a>127 125 <a class="indexterm" name="id2554743"></a> 126 <a class="indexterm" name="id2554750"></a> 127 <a class="indexterm" name="id2554757"></a> 128 128 Samba-3 provides NetBIOS name services (WINS), NetBIOS over TCP/IP (TCP port 139) session services, SMB over 129 129 TCP/IP (TCP port 445) session services, and Microsoft compatible ONC DCE RPC services (TCP port 135) 130 130 services. 131 131 </p></li><li><p> 132 <a class="indexterm" name="id25547 58"></a>132 <a class="indexterm" name="id2554772"></a> 133 133 Management of users and groups via the User Manager for Domains. This can be done on any MS Windows client 134 134 using the <code class="filename">Nexus.exe</code> toolkit for Windows 9x/Me, or using the SRVTOOLS.EXE package for MS … … 140 140 The following functionalities are not provided by Samba-3: 141 141 </p><div class="itemizedlist"><ul type="disc"><li><p> 142 <a class="indexterm" name="id2554 796"></a>143 <a class="indexterm" name="id25548 02"></a>142 <a class="indexterm" name="id2554809"></a> 143 <a class="indexterm" name="id2554816"></a> 144 144 SAM replication with Windows NT4 domain controllers (i.e., a Samba PDC and a Windows NT BDC, or vice versa). 145 145 This means Samba cannot operate as a BDC when the PDC is Microsoft-based Windows NT PDC. Samba-3 can not 146 146 participate in replication of account data to Windows PDCs and BDCs. 147 147 </p></li><li><p> 148 <a class="indexterm" name="id25548 18"></a>149 <a class="indexterm" name="id25548 25"></a>148 <a class="indexterm" name="id2554832"></a> 149 <a class="indexterm" name="id2554839"></a> 150 150 Acting as a Windows 2000 active directory domain controller (i.e., Kerberos and Active Directory). In point of 151 151 fact, Samba-3 does have some Active Directory domain control ability that is at this time purely experimental. … … 154 154 support during the Samba-3 series life-cycle. 155 155 </p></li><li><p> 156 <a class="indexterm" name="id2554844"></a>157 <a class="indexterm" name="id2554851"></a>158 156 <a class="indexterm" name="id2554858"></a> 157 <a class="indexterm" name="id2554864"></a> 158 <a class="indexterm" name="id2554871"></a> 159 159 The Windows 200x/XP Microsoft Management Console (MMC) cannot be used to manage a Samba-3 server. For this you 160 160 can use only the MS Windows NT4 Domain Server Manager and the MS Windows NT4 Domain User Manager. Both are 161 161 part of the SVRTOOLS.EXE package mentioned later. 162 162 </p></li></ul></div><p> 163 <a class="indexterm" name="id25548 76"></a>164 <a class="indexterm" name="id25548 83"></a>163 <a class="indexterm" name="id2554890"></a> 164 <a class="indexterm" name="id2554897"></a> 165 165 Windows 9x/Me/XP Home clients are not true members of a domain for reasons outlined in this chapter. The 166 166 protocol for support of Windows 9x/Me-style network (domain) logons is completely different from NT4/Windows … … 168 168 network logon facilities that are supported in Samba since approximately the Samba-1.9.15 series. 169 169 </p><p> 170 <a class="indexterm" name="id25549 00"></a>170 <a class="indexterm" name="id2554914"></a> 171 171 Samba-3 implements group mapping between Windows NT groups and UNIX groups (this is really quite complicated 172 172 to 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 173 173 Windows and UNIX</a>. 174 174 </p><p> 175 <a class="indexterm" name="id25549 23"></a>176 <a class="indexterm" name="id25549 30"></a>177 <a class="indexterm" name="id25549 39"></a>175 <a class="indexterm" name="id2554937"></a> 176 <a class="indexterm" name="id2554944"></a> 177 <a class="indexterm" name="id2554953"></a> 178 178 Samba-3, like an MS Windows NT4 PDC or a Windows 200x Active Directory, needs to store user and Machine Trust 179 179 Account 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 … … 181 181 this. A complete discussion of account database backends can be found in <a class="link" href="passdb.html" title="Chapter 11. Account Information Databases">Account 182 182 Information Databases</a>. 183 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2554970"></a>Single Sign-On and Domain Security</h2></div></div></div><p> 184 <a class="indexterm" name="id2554978"></a> 185 <a class="indexterm" name="id2554987"></a> 186 <a class="indexterm" name="id2554994"></a> 183 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2554984"></a>Single Sign-On and Domain Security</h2></div></div></div><p> 184 <a class="indexterm" name="id2554992"></a> 187 185 <a class="indexterm" name="id2555001"></a> 188 <a class="indexterm" name="id255500 8"></a>186 <a class="indexterm" name="id2555007"></a> 189 187 <a class="indexterm" name="id2555014"></a> 190 188 <a class="indexterm" name="id2555021"></a> 189 <a class="indexterm" name="id2555028"></a> 190 <a class="indexterm" name="id2555035"></a> 191 191 When network administrators are asked to describe the benefits of Windows NT4 and active directory networking 192 192 the most often mentioned feature is that of single sign-on (SSO). Many companies have implemented SSO … … 198 198 uniqueness and history limits are applied. 199 199 </p><p> 200 <a class="indexterm" name="id25550 45"></a>200 <a class="indexterm" name="id2555058"></a> 201 201 There is a broadly held perception that SSO is the answer to the problem of users having to deal with too many 202 202 information system access credentials (username/password pairs). Many elaborate schemes have been devised to … … 205 205 many SSO solutions are an administrative nightmare. 206 206 </p><p> 207 <a class="indexterm" name="id2555063"></a>208 <a class="indexterm" name="id2555070"></a>209 207 <a class="indexterm" name="id2555077"></a> 208 <a class="indexterm" name="id2555083"></a> 209 <a class="indexterm" name="id2555090"></a> 210 210 SSO implementations utilize centralization of all user account information. Depending on environmental 211 211 complexity and the age of the systems over which a SSO solution is implemented, it may not be possible to … … 216 216 Ideally, the implementation of SSO should reduce complexity and reduce administative overheads. 217 217 </p><p> 218 <a class="indexterm" name="id2555 099"></a>219 <a class="indexterm" name="id25551 06"></a>220 <a class="indexterm" name="id25551 16"></a>221 <a class="indexterm" name="id25551 25"></a>222 <a class="indexterm" name="id25551 32"></a>218 <a class="indexterm" name="id2555113"></a> 219 <a class="indexterm" name="id2555120"></a> 220 <a class="indexterm" name="id2555129"></a> 221 <a class="indexterm" name="id2555138"></a> 222 <a class="indexterm" name="id2555145"></a> 223 223 The initial goal of many network administrators is often to create and use a centralized identity management 224 224 system. It is often assumed that such a centralized system will use a single authentication infrastructure … … 233 233 and access control were designed and built. 234 234 </p><p> 235 <a class="indexterm" name="id2555180"></a>236 <a class="indexterm" name="id2555187"></a>237 235 <a class="indexterm" name="id2555193"></a> 238 <a class="indexterm" name="id255520 1"></a>239 <a class="indexterm" name="id255520 8"></a>240 <a class="indexterm" name="id255521 5"></a>236 <a class="indexterm" name="id2555200"></a> 237 <a class="indexterm" name="id2555207"></a> 238 <a class="indexterm" name="id2555214"></a> 241 239 <a class="indexterm" name="id2555221"></a> 242 240 <a class="indexterm" name="id2555228"></a> 241 <a class="indexterm" name="id2555235"></a> 242 <a class="indexterm" name="id2555242"></a> 243 243 Over the past decade an industry has been developed around the various methods that have been built to get 244 244 around the key limitations of legacy information technology systems. One approach that is often used involves … … 249 249 credentials. 250 250 </p><p> 251 <a class="indexterm" name="id25552 50"></a>252 <a class="indexterm" name="id25552 60"></a>253 <a class="indexterm" name="id25552 69"></a>254 <a class="indexterm" name="id25552 79"></a>251 <a class="indexterm" name="id2555263"></a> 252 <a class="indexterm" name="id2555273"></a> 253 <a class="indexterm" name="id2555283"></a> 254 <a class="indexterm" name="id2555292"></a> 255 255 The Organization for the Advancement of Structured Information Standards (OASIS) has developed the Security 256 256 Assertion Markup Language (SAML), a structured method for communication of authentication information. The … … 259 259 authenticate their respective users and vouch for secure access to the services each provides. 260 260 </p><p> 261 <a class="indexterm" name="id2555298"></a> 262 <a class="indexterm" name="id2555307"></a> 263 <a class="indexterm" name="id2555314"></a> 261 <a class="indexterm" name="id2555311"></a> 264 262 <a class="indexterm" name="id2555321"></a> 265 263 <a class="indexterm" name="id2555328"></a> 266 <a class="indexterm" name="id2555334"></a> 264 <a class="indexterm" name="id2555335"></a> 265 <a class="indexterm" name="id2555342"></a> 266 <a class="indexterm" name="id2555347"></a> 267 267 SAML documents can be wrapped in a Simple Object Access Protocol (SOAP) message for the computer-to-computer 268 268 communications needed for Web services. Or they may be passed between Web servers of federated organizations … … 274 274 interfaces. In a nust-shell, that is why FIM is a big and growing industry. 275 275 </p><p> 276 <a class="indexterm" name="id2555370"></a> 277 <a class="indexterm" name="id2555377"></a> 278 <a class="indexterm" name="id2555383"></a> 276 <a class="indexterm" name="id2555384"></a> 279 277 <a class="indexterm" name="id2555390"></a> 280 278 <a class="indexterm" name="id2555397"></a> 279 <a class="indexterm" name="id2555404"></a> 280 <a class="indexterm" name="id2555411"></a> 281 281 Ignoring the bigger picture, which is beyond the scope of this book, the migration of all user and group 282 282 management to a centralized system is a step in the right direction. It is essential for interoperability … … 287 287 programming interface (GSSAPI) services. 288 288 </p><p> 289 <a class="indexterm" name="id2555422"></a>290 <a class="indexterm" name="id2555428"></a>291 289 <a class="indexterm" name="id2555435"></a> 290 <a class="indexterm" name="id2555442"></a> 291 <a class="indexterm" name="id2555448"></a> 292 292 A growing number of companies provide authentication agents for disparate legacy platforms to permit the use 293 293 of LDAP systems. Thus the use of OpenLDAP, the dominant open source software implementation of the light … … 295 295 LDAP and Microsoft ADS make Samba a highly scalable and forward reaching organizational networking technology. 296 296 </p><p> 297 <a class="indexterm" name="id2555453"></a>298 <a class="indexterm" name="id2555459"></a>299 297 <a class="indexterm" name="id2555466"></a> 300 298 <a class="indexterm" name="id2555473"></a> 301 299 <a class="indexterm" name="id2555480"></a> 302 300 <a class="indexterm" name="id2555487"></a> 301 <a class="indexterm" name="id2555493"></a> 302 <a class="indexterm" name="id2555500"></a> 303 303 Microsoft ADS provides purely proprietary services that, with limitation, can be extended to provide a 304 304 centralized authentication infrastructure. Samba plus LDAP provides a similar opportunity for extension of a … … 308 308 sustainable choice and competition in the FIM market place. 309 309 </p><p> 310 <a class="indexterm" name="id2555512"></a>311 <a class="indexterm" name="id2555519"></a>312 310 <a class="indexterm" name="id2555526"></a> 311 <a class="indexterm" name="id2555532"></a> 312 <a class="indexterm" name="id2555539"></a> 313 313 Primary domain control, if it is to be scalable to meet the needs of large sites, must therefore be capable of 314 314 using LDAP. The rapid adoption of OpenLDAP, and Samba configurations that use it, is ample proof that the era … … 316 316 user and group identity information can be distributed makes it an an unavoidable option. 317 317 </p><p> 318 <a class="indexterm" name="id25555 43"></a>319 <a class="indexterm" name="id25555 50"></a>320 <a class="indexterm" name="id25555 56"></a>318 <a class="indexterm" name="id2555557"></a> 319 <a class="indexterm" name="id2555563"></a> 320 <a class="indexterm" name="id2555570"></a> 321 321 At this time, the use of Samba based BDCs, necessitates the use of LDAP. The most commonly used LDAP 322 322 implementation used by Samba sites is OpenLDAP. It is possible to use any standards compliant LDAP server. 323 323 Those 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="id25555 70"></a>Basics of Domain Control</h2></div></div></div><p>325 <a class="indexterm" name="id25555 78"></a>324 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2555584"></a>Basics of Domain Control</h2></div></div></div><p> 325 <a class="indexterm" name="id2555592"></a> 326 326 Over the years, public perceptions of what domain control really is has taken on an almost mystical nature. 327 327 Before 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="id2555 590"></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="id25556 16"></a>330 <a class="indexterm" name="id25556 23"></a>331 <a class="indexterm" name="id25556 29"></a>332 <a class="indexterm" name="id25556 39"></a>328 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2555604"></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="id2555630"></a> 330 <a class="indexterm" name="id2555636"></a> 331 <a class="indexterm" name="id2555643"></a> 332 <a class="indexterm" name="id2555652"></a> 333 333 The <span class="emphasis"><em>Primary Domain Controller</em></span> or PDC plays an important role in MS Windows NT4. In 334 334 Windows 200x domain control architecture, this role is held by domain controllers. Folklore dictates that … … 338 338 (domain member) servers than in the domain controllers. 339 339 </p><p> 340 <a class="indexterm" name="id2555667"></a>341 <a class="indexterm" name="id2555673"></a>342 340 <a class="indexterm" name="id2555680"></a> 343 341 <a class="indexterm" name="id2555687"></a> 344 <a class="indexterm" name="id2555694"></a> 342 <a class="indexterm" name="id2555693"></a> 343 <a class="indexterm" name="id2555700"></a> 344 <a class="indexterm" name="id2555707"></a> 345 345 In the case of MS Windows NT4-style domains, it is the PDC that initiates a new domain control database. 346 346 This forms a part of the Windows registry called the Security Account Manager (SAM). It plays a key … … 348 348 database with BDCs. 349 349 </p><p> 350 <a class="indexterm" name="id25557 11"></a>351 <a class="indexterm" name="id25557 23"></a>352 <a class="indexterm" name="id25557 30"></a>353 <a class="indexterm" name="id25557 39"></a>350 <a class="indexterm" name="id2555725"></a> 351 <a class="indexterm" name="id2555737"></a> 352 <a class="indexterm" name="id2555743"></a> 353 <a class="indexterm" name="id2555753"></a> 354 354 With MS Windows 200x Server-based Active Directory domains, one domain controller initiates a potential 355 355 hierarchy of domain controllers, each with its own area of delegated control. The master domain … … 358 358 LDAP-based user and machine account backend. 359 359 </p><p> 360 <a class="indexterm" name="id25557 56"></a>361 <a class="indexterm" name="id25557 63"></a>360 <a class="indexterm" name="id2555770"></a> 361 <a class="indexterm" name="id2555777"></a> 362 362 New 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="id2555773" href="#ftn.id2555773" class="footnote">1</a>]</sup> 364 </p><p> 365 <a class="indexterm" name="id2555789"></a> 366 <a class="indexterm" name="id2555795"></a> 363 database (one of the registry files)<sup>[<a name="id2555786" href="#ftn.id2555786" class="footnote">1</a>]</sup> 364 </p><p> 367 365 <a class="indexterm" name="id2555802"></a> 368 <a class="indexterm" name="id255580 8"></a>366 <a class="indexterm" name="id2555809"></a> 369 367 <a class="indexterm" name="id2555815"></a> 370 368 <a class="indexterm" name="id2555822"></a> 369 <a class="indexterm" name="id2555829"></a> 370 <a class="indexterm" name="id2555836"></a> 371 371 The <span class="emphasis"><em>Backup Domain Controller</em></span> or BDC plays a key role in servicing network authentication 372 372 requests. The BDC is biased to answer logon requests in preference to the PDC. On a network segment that has … … 380 380 particular logon authentication request. 381 381 </p><p> 382 <a class="indexterm" name="id25558 52"></a>383 <a class="indexterm" name="id25558 59"></a>382 <a class="indexterm" name="id2555866"></a> 383 <a class="indexterm" name="id2555873"></a> 384 384 A Windows NT4 BDC can be promoted to a PDC. If the PDC is online at the time that a BDC is promoted to PDC, 385 385 the previous PDC is automatically demoted to a BDC. With Samba-3, this is not an automatic operation; the PDC 386 386 and BDC must be manually configured, and other appropriate changes also need to be made. 387 387 </p><p> 388 <a class="indexterm" name="id25558 75"></a>388 <a class="indexterm" name="id2555888"></a> 389 389 With MS Windows NT4, a decision is made at installation to determine what type of machine the server will be. 390 390 It is possible to promote a BDC to a PDC, and vice versa. The only method Microsoft provide to convert a … … 394 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 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="id25559 44"></a>396 <a class="indexterm" name="id2555957"></a> 397 397 Algin Technology LLC provide a commercial tool that makes it possible to promote a Windows NT4 standalone 398 398 server 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. 399 399 </p></div><p> 400 <a class="indexterm" name="id25559 63"></a>401 <a class="indexterm" name="id25559 75"></a>400 <a class="indexterm" name="id2555977"></a> 401 <a class="indexterm" name="id2555988"></a> 402 402 Samba-3 servers can readily be converted to and from domain controller roles through simple changes to the 403 403 <code class="filename">smb.conf</code> file. Samba-3 is capable of acting fully as a native member of a Windows 200x server Active 404 404 Directory domain. 405 405 </p><p> 406 <a class="indexterm" name="id255 5995"></a>406 <a class="indexterm" name="id2556008"></a> 407 407 For the sake of providing a complete picture, MS Windows 2000 domain control configuration is done after the server has been 408 408 installed. Please refer to Microsoft documentation for the procedures that should be followed to convert a 409 409 domain member server to or from a domain control, and to install or remove active directory service support. 410 410 </p><p> 411 <a class="indexterm" name="id25560 13"></a>412 <a class="indexterm" name="id25560 22"></a>411 <a class="indexterm" name="id2556027"></a> 412 <a class="indexterm" name="id2556036"></a> 413 413 New to Samba-3 is the ability to function fully as an MS Windows NT4-style domain controller, 414 414 excluding the SAM replication components. However, please be aware that Samba-3 also supports the 415 415 MS Windows 200x domain control protocols. 416 416 </p><p> 417 <a class="indexterm" name="id25560 38"></a>417 <a class="indexterm" name="id2556052"></a> 418 418 At this time any appearance that Samba-3 is capable of acting as a <span class="emphasis"><em>domain controller</em></span> in 419 419 native ADS mode is limited and experimental in nature. This functionality should not be used until the Samba … … 423 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 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="id2556095"></a>Preparing for Domain Control</h3></div></div></div><p> 426 <a class="indexterm" name="id2556103"></a> 427 <a class="indexterm" name="id2556110"></a> 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="id2556109"></a>Preparing for Domain Control</h3></div></div></div><p> 428 426 <a class="indexterm" name="id2556117"></a> 429 427 <a class="indexterm" name="id2556124"></a> 428 <a class="indexterm" name="id2556130"></a> 429 <a class="indexterm" name="id2556137"></a> 430 430 There are two ways that MS Windows machines may interact with each other, with other servers, 431 431 and with domain controllers: either as <span class="emphasis"><em>standalone</em></span> systems, more commonly … … 433 433 more commonly called <span class="emphasis"><em>domain</em></span> members. 434 434 </p><p> 435 <a class="indexterm" name="id25561 49"></a>436 <a class="indexterm" name="id25561 56"></a>437 <a class="indexterm" name="id25561 65"></a>435 <a class="indexterm" name="id2556162"></a> 436 <a class="indexterm" name="id2556169"></a> 437 <a class="indexterm" name="id2556178"></a> 438 438 It should be noted that workgroup membership involves no special configuration other than the machine being 439 439 configured so the network configuration has a commonly used name for its workgroup entry. It is not uncommon … … 443 443 involve security machine accounts</em></span>. 444 444 </p><p> 445 <a class="indexterm" name="id2556 188"></a>446 <a class="indexterm" name="id2556 195"></a>447 <a class="indexterm" name="id25562 04"></a>445 <a class="indexterm" name="id2556201"></a> 446 <a class="indexterm" name="id2556208"></a> 447 <a class="indexterm" name="id2556218"></a> 448 448 Domain member machines have a machine trust account in the domain accounts database. A special procedure 449 449 must be followed on each machine to effect domain membership. This procedure, which can be done … … 452 452 domain, a machine trust account password change will be automatically triggered. 453 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="id25562 23"></a>454 <a class="indexterm" name="id2556237"></a> 455 455 When Samba is configured as a domain controller, secure network operation demands that 456 456 all MS Windows NT4/200x/XP Professional clients should be configured as domain members. … … 461 461 The following are necessary for configuring Samba-3 as an MS Windows NT4-style PDC for MS Windows 462 462 NT4/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">security = user</a>).</p></li><li><p>Consistent configuration of name resolution.<sup>[<a name="id25562 78" href="#ftn.id2556278" 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 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">security = user</a>).</p></li><li><p>Consistent configuration of name resolution.<sup>[<a name="id2556292" href="#ftn.id2556292" 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> 464 464 The following provisions are required to serve MS Windows 9x/Me clients: 465 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">security = user</a>).</p></li><li><p>Network logon configuration (since Windows 9x/Me/XP Home are not technically domain … … 467 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 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="id25564 00"></a>470 <a class="indexterm" name="id25564 06"></a>469 <a class="indexterm" name="id2556414"></a> 470 <a class="indexterm" name="id2556420"></a> 471 471 Roaming profiles and system/network policies are advanced network administration topics 472 472 that are covered in <a class="link" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management">Desktop Profile Management</a> and … … 476 476 A domain controller is an SMB/CIFS server that: 477 477 </p><div class="itemizedlist"><ul type="disc"><li><p> 478 <a class="indexterm" name="id2556443"></a> 479 <a class="indexterm" name="id2556452"></a> 480 <a class="indexterm" name="id2556458"></a> 478 <a class="indexterm" name="id2556456"></a> 481 479 <a class="indexterm" name="id2556465"></a> 482 480 <a class="indexterm" name="id2556472"></a> 481 <a class="indexterm" name="id2556479"></a> 482 <a class="indexterm" name="id2556485"></a> 483 483 Registers and advertises itself as a domain controller (through NetBIOS broadcasts 484 484 as well as by way of name registrations either by Mailslot Broadcasts over UDP broadcast, 485 485 to a WINS server over UDP unicast, or via DNS and Active Directory). 486 486 </p></li><li><p> 487 <a class="indexterm" name="id2556 487"></a>488 <a class="indexterm" name="id2556 494"></a>487 <a class="indexterm" name="id2556501"></a> 488 <a class="indexterm" name="id2556508"></a> 489 489 Provides the NETLOGON service. (This is actually a collection of services that runs over 490 490 multiple protocols. These include the LanMan logon service, the Netlogon service, … … 493 493 Provides a share called NETLOGON. 494 494 </p></li></ul></div><p> 495 <a class="indexterm" name="id2556515"></a> 496 <a class="indexterm" name="id2556526"></a> 497 <a class="indexterm" name="id2556538"></a> 498 <a class="indexterm" name="id2556544"></a> 495 <a class="indexterm" name="id2556528"></a> 496 <a class="indexterm" name="id2556540"></a> 499 497 <a class="indexterm" name="id2556551"></a> 498 <a class="indexterm" name="id2556558"></a> 499 <a class="indexterm" name="id2556564"></a> 500 500 It is rather easy to configure Samba to provide these. Each Samba domain controller must provide the NETLOGON 501 501 service that Samba calls the <a class="link" href="smb.conf.5.html#DOMAINLOGONS">domain logons</a> functionality (after the name of the 502 502 parameter 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="id25565 82" href="#ftn.id2556582" class="footnote">3</a>]</sup> This causes the PDC to claim a domain-specific NetBIOS name that identifies503 domain master browser.<sup>[<a name="id2556596" href="#ftn.id2556596" class="footnote">3</a>]</sup> This causes the PDC to claim a domain-specific NetBIOS name that identifies 504 504 it as a DMB for its given domain or workgroup. Local master browsers (LMBs) in the same domain or workgroup on 505 505 broadcast-isolated subnets then ask for a complete copy of the browse list for the whole wide-area network. 506 506 Browser clients then contact their LMB, and will receive the domain-wide browse list instead of just the list 507 507 for 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="id25566 04"></a>Domain Control: Example Configuration</h2></div></div></div><p>508 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2556618"></a>Domain Control: Example Configuration</h2></div></div></div><p> 509 509 The first step in creating a working Samba PDC is to understand the parameters necessary 510 510 in <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 511 511 smb.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="id25566 59"></a></td></tr><tr><td><a class="indexterm" name="id2556666"></a></td></tr><tr><td><a class="indexterm" name="id2556672"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2556684"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2556696"></a><em class="parameter"><code>preferred master = auto</code></em></td></tr><tr><td><a class="indexterm" name="id2556708"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556719"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556731"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2556743"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556754"></a><em class="parameter"><code>logon path = \\%N\profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2556766"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2556778"></a><em class="parameter"><code>logon home = \\homeserver\%U\winprofile</code></em></td></tr><tr><td><a class="indexterm" name="id2556790"></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="id2556811"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2556823"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556834"></a></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2556850"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2556862"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2556873"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2556885"></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 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="id2556672"></a></td></tr><tr><td><a class="indexterm" name="id2556679"></a></td></tr><tr><td><a class="indexterm" name="id2556686"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2556698"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2556709"></a><em class="parameter"><code>preferred master = auto</code></em></td></tr><tr><td><a class="indexterm" name="id2556721"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556733"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556745"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2556756"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556768"></a><em class="parameter"><code>logon path = \\%N\profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2556780"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2556792"></a><em class="parameter"><code>logon home = \\homeserver\%U\winprofile</code></em></td></tr><tr><td><a class="indexterm" name="id2556804"></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="id2556824"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2556836"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556848"></a></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2556864"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2556875"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2556887"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2556899"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr></table></div></div><br class="example-break"><p> 513 513 The 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: 514 514 </p><div class="variablelist"><dl><dt><span class="term">passdb backend </span></dt><dd><p> 515 <a class="indexterm" name="id2556919"></a> 516 <a class="indexterm" name="id2556928"></a> 517 <a class="indexterm" name="id2556935"></a> 515 <a class="indexterm" name="id2556933"></a> 518 516 <a class="indexterm" name="id2556942"></a> 519 517 <a class="indexterm" name="id2556949"></a> 520 518 <a class="indexterm" name="id2556956"></a> 519 <a class="indexterm" name="id2556962"></a> 520 <a class="indexterm" name="id2556969"></a> 521 521 This contains all the user and group account information. Acceptable values for a PDC 522 522 are: <span class="emphasis"><em>smbpasswd, tdbsam, and ldapsam</em></span>. The “<span class="quote">guest</span>” entry provides 523 523 default accounts and is included by default; there is no need to add it explicitly. 524 524 </p><p> 525 <a class="indexterm" name="id2556977"></a> 526 <a class="indexterm" name="id2556984"></a> 527 <a class="indexterm" name="id2556991"></a> 525 <a class="indexterm" name="id2556990"></a> 528 526 <a class="indexterm" name="id2556997"></a> 527 <a class="indexterm" name="id2557004"></a> 528 <a class="indexterm" name="id2557011"></a> 529 529 Where use of BDCs is intended, the only logical choice is 530 530 to use LDAP so the passdb backend can be distributed. The tdbsam and smbpasswd files 531 531 cannot effectively be distributed and therefore should not be used. 532 532 </p></dd><dt><span class="term">Domain Control Parameters </span></dt><dd><p> 533 <a class="indexterm" name="id2557018"></a>534 <a class="indexterm" name="id2557025"></a>535 533 <a class="indexterm" name="id2557032"></a> 536 534 <a class="indexterm" name="id2557039"></a> 535 <a class="indexterm" name="id2557046"></a> 536 <a class="indexterm" name="id2557052"></a> 537 537 The parameters <span class="emphasis"><em>os level, preferred master, domain master, security, 538 538 encrypt passwords</em></span>, and <span class="emphasis"><em>domain logons</em></span> play a central role in assuring domain 539 539 control and network logon support. 540 540 </p><p> 541 <a class="indexterm" name="id25570 62"></a>542 <a class="indexterm" name="id25570 68"></a>541 <a class="indexterm" name="id2557075"></a> 542 <a class="indexterm" name="id2557082"></a> 543 543 The <span class="emphasis"><em>os level</em></span> must be set at or above a value of 32. A domain controller 544 544 must be the DMB, must be set in <span class="emphasis"><em>user</em></span> mode security, … … 547 547 to do this, refer to <a class="link" href="passdb.html" title="Chapter 11. Account Information Databases">Account Information Databases</a>. 548 548 </p></dd><dt><span class="term">Environment Parameters </span></dt><dd><p> 549 <a class="indexterm" name="id2557105"></a>550 <a class="indexterm" name="id2557112"></a>551 549 <a class="indexterm" name="id2557119"></a> 552 550 <a class="indexterm" name="id2557126"></a> 551 <a class="indexterm" name="id2557132"></a> 552 <a class="indexterm" name="id2557139"></a> 553 553 The parameters <span class="emphasis"><em>logon path, logon home, logon drive</em></span>, and <span class="emphasis"><em>logon script</em></span> are 554 554 environment support settings that help to facilitate client logon operations and that help … … 556 556 to the man page information for these parameters. 557 557 </p></dd><dt><span class="term">NETLOGON Share </span></dt><dd><p> 558 <a class="indexterm" name="id2557155"></a>559 <a class="indexterm" name="id2557162"></a>560 558 <a class="indexterm" name="id2557169"></a> 561 <a class="indexterm" name="id2557176"></a> 562 <a class="indexterm" name="id2557183"></a> 563 <a class="indexterm" name="id2557190"></a> 559 <a class="indexterm" name="id2557175"></a> 560 <a class="indexterm" name="id2557182"></a> 561 <a class="indexterm" name="id2557189"></a> 562 <a class="indexterm" name="id2557196"></a> 563 <a class="indexterm" name="id2557203"></a> 564 564 The NETLOGON share plays a central role in domain logon and domain membership support. 565 565 This share is provided on all Microsoft domain controllers. It is used to provide logon … … 567 567 tools that may be needed for logon processing. This is an essential share on a domain controller. 568 568 </p></dd><dt><span class="term">PROFILE Share </span></dt><dd><p> 569 <a class="indexterm" name="id2557213"></a>570 <a class="indexterm" name="id2557220"></a>571 569 <a class="indexterm" name="id2557226"></a> 572 570 <a class="indexterm" name="id2557233"></a> 573 571 <a class="indexterm" name="id2557240"></a> 572 <a class="indexterm" name="id2557247"></a> 573 <a class="indexterm" name="id2557254"></a> 574 574 This share is used to store user desktop profiles. Each user must have a directory at the root 575 575 of this share. This directory must be write-enabled for the user and must be globally read-enabled. … … 581 581 of operation. The following <code class="filename">smb.conf</code> parameters are the essentials alone: 582 582 </p><p> 583 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id25572 80"></a><em class="parameter"><code>netbios name = BELERIAND</code></em></td></tr><tr><td><a class="indexterm" name="id2557292"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2557304"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557316"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557327"></a><em class="parameter"><code>security = User</code></em></td></tr></table><p>583 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2557294"></a><em class="parameter"><code>netbios name = BELERIAND</code></em></td></tr><tr><td><a class="indexterm" name="id2557306"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2557317"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557329"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557341"></a><em class="parameter"><code>security = User</code></em></td></tr></table><p> 584 584 </p><p> 585 585 The additional parameters shown in the longer listing in this section just make for 586 586 a 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="id25573 46"></a>Samba ADS Domain Control</h2></div></div></div><p>588 <a class="indexterm" name="id25573 54"></a>587 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2557360"></a>Samba ADS Domain Control</h2></div></div></div><p> 588 <a class="indexterm" name="id2557368"></a> 589 589 Samba-3 is not, and cannot act as, an Active Directory server. It cannot truly function as an Active Directory 590 590 PDC. The protocols for some of the functionality of Active Directory domain controllers has been partially … … 595 595 someday or maybe never! 596 596 </p><p> 597 <a class="indexterm" name="id25573 76"></a>598 <a class="indexterm" name="id25573 83"></a>597 <a class="indexterm" name="id2557389"></a> 598 <a class="indexterm" name="id2557396"></a> 599 599 To be sure, Samba-3 is designed to provide most of the functionality that Microsoft Windows NT4-style 600 600 domain controllers have. Samba-3 does not have all the capabilities of Windows NT4, but it does have … … 602 602 is not Windows Server 200x: it is not an Active Directory server. We hope this is plain and simple 603 603 enough 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="id2557 399"></a>Domain and Network Logon Configuration</h2></div></div></div><p>605 <a class="indexterm" name="id25574 07"></a>604 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2557413"></a>Domain and Network Logon Configuration</h2></div></div></div><p> 605 <a class="indexterm" name="id2557421"></a> 606 606 The subject of network or domain logons is discussed here because it forms 607 607 an 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="id25574 18"></a>Domain Network Logon Service</h3></div></div></div><p>609 <a class="indexterm" name="id25574 26"></a>608 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2557432"></a>Domain Network Logon Service</h3></div></div></div><p> 609 <a class="indexterm" name="id2557440"></a> 610 610 All domain controllers must run the netlogon service (<span class="emphasis"><em>domain logons</em></span> 611 611 in Samba). One domain controller must be configured with <a class="link" href="smb.conf.5.html#DOMAINMASTER">domain master = Yes</a> 612 612 (the PDC); on all BDCs set the parameter <a class="link" href="smb.conf.5.html#DOMAINMASTER">domain master = No</a>. 613 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id25574 65"></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="id2557494"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557506"></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="id2557526"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2557538"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2557550"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557562"></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="id2557576"></a>The Special Case of MS Windows XP Home Edition</h4></div></div></div><p>614 <a class="indexterm" name="id25575 84"></a>613 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2557479"></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="id2557508"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557520"></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="id2557540"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2557552"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2557564"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557575"></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="id2557589"></a>The Special Case of MS Windows XP Home Edition</h4></div></div></div><p> 614 <a class="indexterm" name="id2557598"></a> 615 615 To be completely clear: If you want MS Windows XP Home Edition to integrate with your 616 616 MS Windows NT4 or Active Directory domain security, understand it cannot be done. … … 626 626 If it can be done, then to do so would violate your software license agreement with 627 627 Microsoft, 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="id2557614"></a>The Special Case of Windows 9x/Me</h4></div></div></div><p> 629 <a class="indexterm" name="id2557622"></a> 630 <a class="indexterm" name="id2557629"></a> 628 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2557628"></a>The Special Case of Windows 9x/Me</h4></div></div></div><p> 631 629 <a class="indexterm" name="id2557636"></a> 632 630 <a class="indexterm" name="id2557643"></a> 633 631 <a class="indexterm" name="id2557650"></a> 632 <a class="indexterm" name="id2557656"></a> 633 <a class="indexterm" name="id2557663"></a> 634 634 A domain and a workgroup are exactly the same in terms of network 635 635 browsing. The difference is that a distributable authentication … … 639 639 now in the same way as MS Windows NT/200x. 640 640 </p><p> 641 <a class="indexterm" name="id25576 66"></a>641 <a class="indexterm" name="id2557680"></a> 642 642 The SMB client logging on to a domain has an expectation that every other 643 643 server in the domain should accept the same authentication information. … … 646 646 It should be noted that browsing is totally orthogonal to logon support. 647 647 </p><p> 648 <a class="indexterm" name="id2557682"></a>649 <a class="indexterm" name="id2557689"></a>650 648 <a class="indexterm" name="id2557696"></a> 649 <a class="indexterm" name="id2557703"></a> 650 <a class="indexterm" name="id2557710"></a> 651 651 Issues related to the single-logon network model are discussed in this 652 652 section. Samba supports domain logons, network logon scripts, and user … … 654 654 which are the focus of this section. 655 655 </p><p> 656 <a class="indexterm" name="id25577 11"></a>656 <a class="indexterm" name="id2557724"></a> 657 657 When an SMB client in a domain wishes to log on, it broadcasts requests for a logon server. The first one to 658 658 reply gets the job and validates its password using whatever mechanism the Samba administrator has installed. … … 670 670 performs a logon: 671 671 </p><div class="orderedlist"><ol type="1"><li><p> 672 <a class="indexterm" name="id25577 57"></a>673 <a class="indexterm" name="id25577 64"></a>672 <a class="indexterm" name="id2557770"></a> 673 <a class="indexterm" name="id2557777"></a> 674 674 The client broadcasts (to the IP broadcast address of the subnet it is in) 675 675 a NetLogon request. This is sent to the NetBIOS name DOMAIN<1C> at the … … 680 680 the netlogon service). 681 681 </p></li><li><p> 682 <a class="indexterm" name="id2557805"></a>683 <a class="indexterm" name="id2557812"></a>684 682 <a class="indexterm" name="id2557819"></a> 683 <a class="indexterm" name="id2557826"></a> 684 <a class="indexterm" name="id2557833"></a> 685 685 The client connects to that server, logs on (does an SMBsessetupX) and 686 686 then connects to the IPC$ share (using an SMBtconX). 687 687 </p></li><li><p> 688 <a class="indexterm" name="id25578 34"></a>688 <a class="indexterm" name="id2557848"></a> 689 689 The client does a NetWkstaUserLogon request, which retrieves the name 690 690 of the user's logon script. … … 694 694 After this, the client disconnects from the NetLogon share. 695 695 </p></li><li><p> 696 <a class="indexterm" name="id25578 60"></a>697 <a class="indexterm" name="id25578 67"></a>696 <a class="indexterm" name="id2557873"></a> 697 <a class="indexterm" name="id2557880"></a> 698 698 The client sends a NetUserGetInfo request to the server to retrieve 699 699 the user's home share, which is used to search for profiles. Since the … … 702 702 home directory. 703 703 </p></li><li><p> 704 <a class="indexterm" name="id25578 85"></a>704 <a class="indexterm" name="id2557899"></a> 705 705 The client connects to the user's home share and searches for the 706 706 user's profile. As it turns out, you can specify the user's home share as … … 708 708 If the profiles are found, they are implemented. 709 709 </p></li><li><p> 710 <a class="indexterm" name="id25579 09"></a>710 <a class="indexterm" name="id2557922"></a> 711 711 The client then disconnects from the user's home share and reconnects to 712 712 the NetLogon share and looks for <code class="filename">CONFIG.POL</code>, the policies file. If this is … … 715 715 The main difference between a PDC and a Windows 9x/Me logon server configuration is: 716 716 </p><div class="itemizedlist"><ul type="disc"><li><p> 717 <a class="indexterm" name="id25579 38"></a>718 <a class="indexterm" name="id25579 47"></a>717 <a class="indexterm" name="id2557952"></a> 718 <a class="indexterm" name="id2557961"></a> 719 719 Password encryption is not required for a Windows 9x/Me logon server. But note 720 720 that beginning with MS Windows 98 the default setting is that plaintext … … 722 722 changes that are documented in <a class="link" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies">System and Account Policies</a>. 723 723 </p></li><li><p> 724 <a class="indexterm" name="id25579 70"></a>724 <a class="indexterm" name="id2557984"></a> 725 725 Windows 9x/Me clients do not require and do not use Machine Trust Accounts. 726 726 </p></li></ul></div><p> 727 <a class="indexterm" name="id25579 82"></a>727 <a class="indexterm" name="id2557996"></a> 728 728 A Samba PDC will act as a Windows 9x/Me logon server; after all, it does provide the 729 729 network logon services that MS Windows 9x/Me expect to find. 730 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="id255 7996"></a>731 <a class="indexterm" name="id2558010"></a> 732 732 Use of plaintext passwords is strongly discouraged. Where used they are easily detected 733 733 using 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="id25580 09"></a>Security Mode and Master Browsers</h3></div></div></div><p>735 <a class="indexterm" name="id25580 17"></a>736 <a class="indexterm" name="id25580 24"></a>737 <a class="indexterm" name="id25580 31"></a>734 </p></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558022"></a>Security Mode and Master Browsers</h3></div></div></div><p> 735 <a class="indexterm" name="id2558030"></a> 736 <a class="indexterm" name="id2558037"></a> 737 <a class="indexterm" name="id2558044"></a> 738 738 There are a few comments to make in order to tie up some loose ends. There has been much debate over the issue 739 739 of whether it is okay to configure Samba as a domain controller that operates with security mode other than … … 741 741 and server mode security are really just a variation on SMB user-level security. 742 742 </p><p> 743 <a class="indexterm" name="id2558048"></a> 744 <a class="indexterm" name="id2558055"></a> 745 <a class="indexterm" name="id2558062"></a> 743 <a class="indexterm" name="id2558061"></a> 746 744 <a class="indexterm" name="id2558068"></a> 747 745 <a class="indexterm" name="id2558075"></a> 748 746 <a class="indexterm" name="id2558082"></a> 749 <a class="indexterm" name="id2558089"></a> 747 <a class="indexterm" name="id2558088"></a> 748 <a class="indexterm" name="id2558095"></a> 749 <a class="indexterm" name="id2558102"></a> 750 750 Actually, this issue is also closely tied to the debate on whether Samba must be the DMB for its workgroup 751 751 when operating as a domain controller. In a pure Microsoft Windows NT domain, the PDC wins the election to be … … 758 758 where a Samba server is the PDC it is wise to configure the Samba domain controller as the DMB. 759 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="id2558142"></a>761 <a class="indexterm" name="id2558149"></a>762 760 <a class="indexterm" name="id2558156"></a> 763 761 <a class="indexterm" name="id2558163"></a> 764 762 <a class="indexterm" name="id2558170"></a> 763 <a class="indexterm" name="id2558176"></a> 764 <a class="indexterm" name="id2558184"></a> 765 765 SMB/CIFS servers that register the DOMAIN<1C> name do so because they provide the network logon 766 766 service. Server that register the DOMAIN<1B> name are DMBs meaning that they are responsible … … 783 783 to be the DMB for its domain and set <a class="link" href="smb.conf.5.html#SECURITY">security = user</a>. 784 784 This 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="id25582 82"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558287"></a>“<span class="quote">$</span>” Cannot Be Included in Machine Name</h3></div></div></div><p>786 <a class="indexterm" name="id2558 298"></a>787 <a class="indexterm" name="id25583 04"></a>788 <a class="indexterm" name="id25583 10"></a>785 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2558295"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558301"></a>“<span class="quote">$</span>” Cannot Be Included in Machine Name</h3></div></div></div><p> 786 <a class="indexterm" name="id2558311"></a> 787 <a class="indexterm" name="id2558317"></a> 788 <a class="indexterm" name="id2558324"></a> 789 789 A machine account, typically stored in <code class="filename">/etc/passwd</code>, takes the form of the machine 790 790 name with a “<span class="quote">$</span>” appended. Some BSD systems will not create a user with a “<span class="quote">$</span>” in the name. 791 791 Recent versions of FreeBSD have removed this limitation, but older releases are still in common use. 792 792 </p><p> 793 <a class="indexterm" name="id25583 36"></a>793 <a class="indexterm" name="id2558350"></a> 794 794 The problem is only in the program used to make the entry. Once made, it works perfectly. Create a user 795 795 without the “<span class="quote">$</span>”. Then use <code class="literal">vipw</code> to edit the entry, adding the “<span class="quote">$</span>”. … … 799 799 The use of vipw will ensure that shadow files (where used) will remain current with the passwd file. This is 800 800 important for security reasons. 801 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558 388"></a>Joining Domain Fails Because of Existing Machine Account</h3></div></div></div><p>802 <a class="indexterm" name="id2558 396"></a>801 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558401"></a>Joining Domain Fails Because of Existing Machine Account</h3></div></div></div><p> 802 <a class="indexterm" name="id2558410"></a> 803 803 “<span class="quote">I get told, `You already have a connection to the Domain....' or `Cannot join domain, the 804 804 credentials supplied conflict with an existing set...' when creating a Machine Trust Account.</span>” … … 815 815 you are joining (bad idea), you will get this message. Change the workgroup name to something else 816 816 it 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="id25584 52"></a>The System Cannot Log You On (C000019B)</h3></div></div></div><p>“<span class="quote">817 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558466"></a>The System Cannot Log You On (C000019B)</h3></div></div></div><p>“<span class="quote"> 818 818 I joined the domain successfully but after upgrading to a newer version of the Samba code I get the message, 819 819 <span class="errorname">`The system cannot log you on (C000019B). Please try again or consult your system 820 820 administrator</span> when attempting to logon.'</span>” 821 821 </p><p> 822 <a class="indexterm" name="id25584 73"></a>822 <a class="indexterm" name="id2558487"></a> 823 823 This occurs when the domain SID stored in the secrets.tdb database is changed. The most common cause of a 824 824 change in domain SID is when the domain name and/or the server name (NetBIOS name) is changed. The only way … … 837 837 can be recovered from the secrets.tdb file. The alternative is to visit each workstation to rejoin 838 838 it to the domain. 839 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25585 29"></a>The Machine Trust Account Is Not Accessible</h3></div></div></div><p>839 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558542"></a>The Machine Trust Account Is Not Accessible</h3></div></div></div><p> 840 840 “<span class="quote">When I try to join the domain I get the message, <span class="errorname">"The machine account 841 841 for this computer either does not exist or is not accessible</span>." What's wrong?</span>” … … 859 859 Some people have also reported that inconsistent subnet masks between the Samba server and the NT 860 860 client 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="id25586 48"></a>Account Disabled</h3></div></div></div><p>“<span class="quote">When I attempt to log in to a Samba domain from a NT4/W200x workstation,861 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558661"></a>Account Disabled</h3></div></div></div><p>“<span class="quote">When I attempt to log in to a Samba domain from a NT4/W200x workstation, 862 862 I get a message about my account being disabled.</span>”</p><p> 863 863 Enable the user accounts with <strong class="userinput"><code>smbpasswd -e <em class="replaceable"><code>username</code></em> 864 864 </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="id25586 75"></a>Domain Controller Unavailable</h3></div></div></div><p>“<span class="quote">Until a few minutes after Samba has started, clients get the error `Domain Controller Unavailable'</span>”</p><p>865 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558689"></a>Domain Controller Unavailable</h3></div></div></div><p>“<span class="quote">Until a few minutes after Samba has started, clients get the error `Domain Controller Unavailable'</span>”</p><p> 866 866 A domain controller has to announce its role on the network. This usually takes a while. Be patient for up to 15 minutes, 867 867 then try again. 868 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558 694"></a>Cannot Log onto Domain Member Workstation After Joining Domain</h3></div></div></div><p>869 <a class="indexterm" name="id25587 02"></a>870 <a class="indexterm" name="id25587 09"></a>868 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558707"></a>Cannot Log onto Domain Member Workstation After Joining Domain</h3></div></div></div><p> 869 <a class="indexterm" name="id2558716"></a> 870 <a class="indexterm" name="id2558723"></a> 871 871 After successfully joining the domain, user logons fail with one of two messages: one to the 872 872 effect that the domain controller cannot be found; the other claims that the account does not … … 885 885 </p><p> 886 886 It 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.id25557 73" href="#id2555773" class="para">1</a>] </sup>See also <a class="link" href="passdb.html" title="Chapter 11. Account Information Databases">Account Information888 Databases</a>.</p>.</div><div class="footnote"><p><sup>[<a name="ftn.id25562 78" href="#id2556278" class="para">2</a>] </sup>See <a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network Browsing</a>, and889 <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.id25565 82" href="#id2556582" class="para">3</a>] </sup>See <a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network887 </p></div></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2555786" href="#id2555786" 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.id2556292" href="#id2556292" 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.id2556596" href="#id2556596" class="para">3</a>] </sup>See <a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network 890 890 Browsing</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.2.x/docs/htmldocs/Samba3-HOWTO/securing-samba.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2611056">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611155">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611301">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2611317">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611471">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611530">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#id2611881">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612025">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2612080">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2612124">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2612139">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612168">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="id2611056"></a>Introduction</h2></div></div></div><p> 2 <a class="indexterm" name="id2611064"></a> 3 <a class="indexterm" name="id2611071"></a> 4 <a class="indexterm" name="id2611078"></a> 5 <a class="indexterm" name="id2611085"></a> 6 <a class="indexterm" name="id2611092"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2611069">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611168">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611314">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2611330">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611484">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611544">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#id2611894">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612038">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2612093">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2612137">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2612152">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612181">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="id2611069"></a>Introduction</h2></div></div></div><p> 2 <a class="indexterm" name="id2611077"></a> 3 <a class="indexterm" name="id2611084"></a> 4 <a class="indexterm" name="id2611091"></a> 7 5 <a class="indexterm" name="id2611098"></a> 8 6 <a class="indexterm" name="id2611105"></a> 7 <a class="indexterm" name="id2611112"></a> 8 <a class="indexterm" name="id2611118"></a> 9 9 The information contained in this chapter applies in general to all Samba installations. Security is 10 10 everyone's concern in the information technology world. A surprising number of Samba servers are being … … 23 23 how obvious most of it really is. The challenge for most of us is to discover that first morsel 24 24 of 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="id26111 55"></a>Features and Benefits</h2></div></div></div><p>26 <a class="indexterm" name="id26111 63"></a>27 <a class="indexterm" name="id26111 70"></a>28 <a class="indexterm" name="id26111 77"></a>29 <a class="indexterm" name="id26111 84"></a>25 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2611168"></a>Features and Benefits</h2></div></div></div><p> 26 <a class="indexterm" name="id2611176"></a> 27 <a class="indexterm" name="id2611183"></a> 28 <a class="indexterm" name="id2611190"></a> 29 <a class="indexterm" name="id2611197"></a> 30 30 There are three levels at which security principles must be observed in order to render a site 31 31 at least moderately secure. They are the perimeter firewall, the configuration of the host … … 35 35 the latest protocols to permit more secure MS Windows file and print operations. 36 36 </p><p> 37 <a class="indexterm" name="id26112 04"></a>38 <a class="indexterm" name="id26112 11"></a>39 <a class="indexterm" name="id26112 18"></a>37 <a class="indexterm" name="id2611217"></a> 38 <a class="indexterm" name="id2611224"></a> 39 <a class="indexterm" name="id2611231"></a> 40 40 Samba can be secured from connections that originate from outside the local network. This can be done using 41 41 <span class="emphasis"><em>host-based protection</em></span>, using Samba's implementation of a technology known as … … 44 44 resource-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. 45 45 </p><p> 46 <a class="indexterm" name="id26112 65"></a>47 <a class="indexterm" name="id26112 74"></a>48 <a class="indexterm" name="id26112 81"></a>46 <a class="indexterm" name="id2611278"></a> 47 <a class="indexterm" name="id2611288"></a> 48 <a class="indexterm" name="id2611294"></a> 49 49 Another method by which Samba may be secured is by setting Access Control Entries (ACEs) in an Access 50 50 Control List (ACL) on the shares themselves. This is discussed in 51 51 <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="id26113 01"></a>Technical Discussion of Protective Measures and Issues</h2></div></div></div><p>52 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2611314"></a>Technical Discussion of Protective Measures and Issues</h2></div></div></div><p> 53 53 The key challenge of security is that protective measures suffice at best 54 54 only to close the door on known exploits and breach techniques. Never assume that … … 56 56 fortress! Given the history of information systems so far, it is only a matter of time 57 57 before someone will find yet another vulnerability. 58 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2611317"></a>Using Host-Based Protection</h3></div></div></div><p> 59 <a class="indexterm" name="id2611325"></a> 60 <a class="indexterm" name="id2611331"></a> 58 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2611330"></a>Using Host-Based Protection</h3></div></div></div><p> 61 59 <a class="indexterm" name="id2611338"></a> 60 <a class="indexterm" name="id2611344"></a> 61 <a class="indexterm" name="id2611351"></a> 62 62 In many installations of Samba, the greatest threat comes from outside 63 63 your immediate network. By default, Samba accepts connections from … … 66 66 especially vulnerable. 67 67 </p><p> 68 <a class="indexterm" name="id26113 53"></a>69 <a class="indexterm" name="id26113 60"></a>68 <a class="indexterm" name="id2611366"></a> 69 <a class="indexterm" name="id2611373"></a> 70 70 One of the simplest fixes in this case is to use the <a class="link" href="smb.conf.5.html#HOSTSALLOW">hosts allow</a> and 71 71 <a class="link" href="smb.conf.5.html#HOSTSDENY">hosts deny</a> options in the Samba <code class="filename">smb.conf</code> configuration file to 72 72 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="id26114 07"></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="id2611419"></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="id26114 34"></a>76 <a class="indexterm" name="id26114 41"></a>77 <a class="indexterm" name="id26114 48"></a>73 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2611420"></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="id2611432"></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="id2611447"></a> 76 <a class="indexterm" name="id2611454"></a> 77 <a class="indexterm" name="id2611461"></a> 78 78 The above will allow SMB connections only from <code class="constant">localhost</code> (your own 79 79 computer) and from the two private networks 192.168.2 and 192.168.3. All other 80 80 connections will be refused as soon as the client sends its first packet. The refusal 81 81 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="id26114 71"></a>User-Based Protection</h3></div></div></div><p>82 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2611484"></a>User-Based Protection</h3></div></div></div><p> 83 83 If you want to restrict access to your server to valid users only, then the following 84 84 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="id2611 498"></a><em class="parameter"><code>valid users = @smbusers, jacko</code></em></td></tr></table><p>86 </p><p> 87 <a class="indexterm" name="id26115 14"></a>85 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2611512"></a><em class="parameter"><code>valid users = @smbusers, jacko</code></em></td></tr></table><p> 86 </p><p> 87 <a class="indexterm" name="id2611527"></a> 88 88 This restricts all server access either to the user <span class="emphasis"><em>jacko</em></span> 89 89 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="id2611530"></a>Using Interface Protection</h3></div></div></div><p> 91 <a class="indexterm" name="id2611538"></a> 92 <a class="indexterm" name="id2611545"></a> 90 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2611544"></a>Using Interface Protection</h3></div></div></div><p> 93 91 <a class="indexterm" name="id2611552"></a> 92 <a class="indexterm" name="id2611559"></a> 93 <a class="indexterm" name="id2611566"></a> 94 94 By default, Samba accepts connections on any network interface that 95 95 it finds on your system. That means if you have an ISDN line or a PPP … … 98 98 </p><p> 99 99 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="id26115 73"></a><em class="parameter"><code>interfaces = eth* lo</code></em></td></tr><tr><td><a class="indexterm" name="id2611585"></a><em class="parameter"><code>bind interfaces only = yes</code></em></td></tr></table><p>101 </p><p> 102 <a class="indexterm" name="id26116 00"></a>103 <a class="indexterm" name="id26116 07"></a>104 <a class="indexterm" name="id26116 14"></a>105 <a class="indexterm" name="id26116 21"></a>100 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2611586"></a><em class="parameter"><code>interfaces = eth* lo</code></em></td></tr><tr><td><a class="indexterm" name="id2611598"></a><em class="parameter"><code>bind interfaces only = yes</code></em></td></tr></table><p> 101 </p><p> 102 <a class="indexterm" name="id2611613"></a> 103 <a class="indexterm" name="id2611620"></a> 104 <a class="indexterm" name="id2611627"></a> 105 <a class="indexterm" name="id2611634"></a> 106 106 This tells Samba to listen for connections only on interfaces with a name starting with 107 107 <code class="constant">eth</code> such as <code class="constant">eth0</code> or <code class="constant">eth1</code>, plus on the loopback interface called … … 109 109 the common name for Ethernet adapters on Linux. 110 110 </p><p> 111 <a class="indexterm" name="id2611650"></a> 112 <a class="indexterm" name="id2611657"></a> 113 <a class="indexterm" name="id2611664"></a> 111 <a class="indexterm" name="id2611663"></a> 114 112 <a class="indexterm" name="id2611670"></a> 113 <a class="indexterm" name="id2611677"></a> 114 <a class="indexterm" name="id2611684"></a> 115 115 If you use the above and someone tries to make an SMB connection to your host over a PPP interface called 116 116 <code class="constant">ppp0</code>, then [s]he will get a TCP connection refused reply. In that case, no Samba code … … 119 119 valid active services. 120 120 </p><p> 121 <a class="indexterm" name="id2611692"></a>122 <a class="indexterm" name="id2611698"></a>123 121 <a class="indexterm" name="id2611705"></a> 124 122 <a class="indexterm" name="id2611712"></a> 125 123 <a class="indexterm" name="id2611719"></a> 124 <a class="indexterm" name="id2611726"></a> 125 <a class="indexterm" name="id2611732"></a> 126 126 A better response would be to ignore the connection (from, for example, ppp0) altogether. The 127 127 advantage of ignoring the connection attempt, as compared with refusing it, is that it foils those who … … 130 130 use of appropriate firewall mechanisms. 131 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="id26117 48"></a>133 <a class="indexterm" name="id26117 55"></a>134 <a class="indexterm" name="id26117 62"></a>132 <a class="indexterm" name="id2611761"></a> 133 <a class="indexterm" name="id2611768"></a> 134 <a class="indexterm" name="id2611775"></a> 135 135 Many people use a firewall to deny access to services they do not want exposed outside their network. This can 136 136 be a good idea, although I recommend using it in conjunction with the above methods so you are protected even … … 139 139 If you are setting up a firewall, you need to know what TCP and UDP ports to allow and block. Samba uses 140 140 the following: 141 <a class="indexterm" name="id2611778"></a>142 <a class="indexterm" name="id2611785"></a>143 141 <a class="indexterm" name="id2611792"></a> 144 142 <a class="indexterm" name="id2611799"></a> 145 143 <a class="indexterm" name="id2611806"></a> 144 <a class="indexterm" name="id2611812"></a> 145 <a class="indexterm" name="id2611819"></a> 146 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="id26118 40"></a>147 <a class="indexterm" name="id2611854"></a> 148 148 The last one is important because many older firewall setups may not be aware of it, given that this port 149 149 was only added to the protocol in recent years. 150 150 </p><p> 151 <a class="indexterm" name="id2611853"></a>152 <a class="indexterm" name="id2611860"></a>153 151 <a class="indexterm" name="id2611867"></a> 152 <a class="indexterm" name="id2611874"></a> 153 <a class="indexterm" name="id2611881"></a> 154 154 When configuring a firewall, the high order ports (1024-65535) are often used for outgoing connections and 155 155 therefore should be permitted through the firewall. It is prudent to block incoming packets on the high order 156 156 ports except for established connections. 157 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26118 81"></a>Using IPC$ Share-Based Denials </h3></div></div></div><p>158 <a class="indexterm" name="id2611 889"></a>159 <a class="indexterm" name="id2611 896"></a>160 <a class="indexterm" name="id26119 03"></a>157 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2611894"></a>Using IPC$ Share-Based Denials </h3></div></div></div><p> 158 <a class="indexterm" name="id2611902"></a> 159 <a class="indexterm" name="id2611909"></a> 160 <a class="indexterm" name="id2611916"></a> 161 161 If the above methods are not suitable, then you could also place a more specific deny on the IPC$ share that 162 162 is used in the recently discovered security hole. This allows you to offer access to other shares while … … 164 164 </p><p> 165 165 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="id26119 33"></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="id2611945"></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="id26119 60"></a>169 <a class="indexterm" name="id26119 67"></a>170 <a class="indexterm" name="id26119 74"></a>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="id2611946"></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="id2611958"></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="id2611973"></a> 169 <a class="indexterm" name="id2611980"></a> 170 <a class="indexterm" name="id2611987"></a> 171 171 This instructs Samba that IPC$ connections are not allowed from anywhere except the two listed network 172 172 addresses (localhost and the 192.168.115 subnet). Connections to other shares are still allowed. Because the … … 174 174 against attackers who do not know a valid username/password for your host. 175 175 </p><p> 176 <a class="indexterm" name="id261 1991"></a>177 <a class="indexterm" name="id261 1998"></a>178 <a class="indexterm" name="id26120 05"></a>176 <a class="indexterm" name="id2612004"></a> 177 <a class="indexterm" name="id2612011"></a> 178 <a class="indexterm" name="id2612018"></a> 179 179 If you use this method, then clients will be given an <code class="literal">`access denied'</code> reply when they try 180 180 to access the IPC$ share. Those clients will not be able to browse shares and may also be unable to access 181 181 some other resources. This is not recommended unless for some reason you cannot use one of the other methods 182 182 just discussed. 183 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26120 25"></a>NTLMv2 Security</h3></div></div></div><p>184 <a class="indexterm" name="id26120 33"></a>183 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2612038"></a>NTLMv2 Security</h3></div></div></div><p> 184 <a class="indexterm" name="id2612046"></a> 185 185 To configure NTLMv2 authentication, the following registry keys are worth knowing about: 186 186 </p><p> … … 202 202 NtlmMinServerSec is set to 0x00080000, the connection will fail if NTLMv2 203 203 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="id26120 80"></a>Upgrading Samba</h2></div></div></div><p>205 <a class="indexterm" name="id2612 088"></a>206 <a class="indexterm" name="id2612 094"></a>207 <a class="indexterm" name="id26121 02"></a>204 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2612093"></a>Upgrading Samba</h2></div></div></div><p> 205 <a class="indexterm" name="id2612101"></a> 206 <a class="indexterm" name="id2612108"></a> 207 <a class="indexterm" name="id2612115"></a> 208 208 Please check regularly on <a class="ulink" href="http://www.samba.org/" target="_top">http://www.samba.org/</a> for 209 209 updates and important announcements. Occasionally security releases are made, and it is highly recommended to 210 210 upgrade Samba promptly when a security vulnerability is discovered. Check with your OS vendor for OS-specific 211 211 upgrades. 212 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26121 24"></a>Common Errors</h2></div></div></div><p>212 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2612137"></a>Common Errors</h2></div></div></div><p> 213 213 If all Samba and host platform configurations were really as intuitive as one might like them to be, this 214 214 chapter would not be necessary. Security issues are often vexing for a support person to resolve, not because 215 215 of the complexity of the problem, but because most administrators who post what turns out to be a security 216 216 problem 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="id26121 39"></a>Smbclient Works on Localhost, but the Network Is Dead</h3></div></div></div><p>217 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2612152"></a>Smbclient Works on Localhost, but the Network Is Dead</h3></div></div></div><p> 218 218 This is a common problem. Linux vendors tend to install a default firewall. 219 219 With the default firewall in place, only traffic on the loopback adapter (IP address 127.0.0.1) … … 223 223 allow SMB networking traffic through. See <a class="link" href="securing-samba.html#firewallports" title="Using a Firewall">the Using a 224 224 Firewall</a> section. 225 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26121 68"></a>Why Can Users Access Other Users' Home Directories?</h3></div></div></div><p>225 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2612181"></a>Why Can Users Access Other Users' Home Directories?</h3></div></div></div><p> 226 226 “<span class="quote"> 227 <a class="indexterm" name="id26121 78"></a>228 <a class="indexterm" name="id26121 86"></a>227 <a class="indexterm" name="id2612192"></a> 228 <a class="indexterm" name="id2612199"></a> 229 229 We are unable to keep individual users from mapping to any other user's home directory once they have 230 230 supplied a valid password! They only need to enter their own password. I have not found any method to … … 234 234 User xyzzy can map his home directory. Once mapped, user xyzzy can also map anyone else's home directory. 235 235 </span>”</p><p> 236 <a class="indexterm" name="id26122 07"></a>237 <a class="indexterm" name="id26122 14"></a>236 <a class="indexterm" name="id2612221"></a> 237 <a class="indexterm" name="id2612228"></a> 238 238 This is not a security flaw, it is by design. Samba allows users to have exactly the same access to the UNIX 239 239 file system as when they were logged on to the UNIX box, except that it only allows such views onto the file 240 240 system as are allowed by the defined shares. 241 241 </p><p> 242 <a class="indexterm" name="id26122 29"></a>243 <a class="indexterm" name="id26122 36"></a>242 <a class="indexterm" name="id2612242"></a> 243 <a class="indexterm" name="id2612249"></a> 244 244 If your UNIX home directories are set up so that one user can happily <code class="literal">cd</code> 245 245 into another user's directory and execute <code class="literal">ls</code>, the UNIX security solution is to change file 246 246 permissions on the user's home directories so that the <code class="literal">cd</code> and <code class="literal">ls</code> are denied. 247 247 </p><p> 248 <a class="indexterm" name="id26122 73"></a>249 <a class="indexterm" name="id26122 80"></a>248 <a class="indexterm" name="id2612286"></a> 249 <a class="indexterm" name="id2612293"></a> 250 250 Samba tries very hard not to second guess the UNIX administrator's security policies and 251 251 trusts the UNIX admin to set the policies and permissions he or she desires. … … 256 256 The <a class="link" href="smb.conf.5.html#ONLYUSER">only user</a> works in conjunction with the <a class="link" href="smb.conf.5.html#USERS">users = list</a>, 257 257 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="id26123 46"></a><em class="parameter"><code>users = %S</code></em></td></tr></table><p>258 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2612359"></a><em class="parameter"><code>users = %S</code></em></td></tr></table><p> 259 259 This is equivalent to adding 260 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26123 63"></a><em class="parameter"><code>valid users = %S</code></em></td></tr></table><p>260 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2612376"></a><em class="parameter"><code>valid users = %S</code></em></td></tr></table><p> 261 261 to the definition of the <em class="parameter"><code>[homes]</code></em> share, as recommended in 262 262 the <code class="filename">smb.conf</code> man page. -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/speed.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Cochrane</span></h3><div class="affiliation"><span class="orgname">Dundee Limb Fitting Centre<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:paulc@dth.scot.nhs.uk">paulc@dth.scot.nhs.uk</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id26836 76">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683715">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683811">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683855">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683903">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683928">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683994">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684046">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684070">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684091">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684182">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684278">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="id2683676"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Cochrane</span></h3><div class="affiliation"><span class="orgname">Dundee Limb Fitting Centre<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:paulc@dth.scot.nhs.uk">paulc@dth.scot.nhs.uk</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2683690">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683729">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683825">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683869">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683917">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683942">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684008">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684060">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684084">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684105">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684196">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684292">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="id2683690"></a>Comparisons</h2></div></div></div><p> 2 2 The Samba server uses TCP to talk to the client, so if you are 3 3 trying to see if it performs well, you should really compare it to … … 21 21 hardware, Samba should certainly be competitive in speed with other 22 22 systems. 23 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26837 15"></a>Socket Options</h2></div></div></div><p>23 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2683729"></a>Socket Options</h2></div></div></div><p> 24 24 There are a number of socket options that can greatly affect the 25 25 performance of a TCP-based server like Samba. … … 45 45 recommended that before specifying any settings for <em class="parameter"><code>socket options</code></em>, the effect 46 46 first 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="id26838 11"></a>Read Size</h2></div></div></div><p>47 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2683825"></a>Read Size</h2></div></div></div><p> 48 48 The option <a class="link" href="smb.conf.5.html#READSIZE">read size</a> affects the overlap of disk 49 49 reads/writes with network reads/writes. If the amount of data being … … 62 62 value will vary greatly between systems anyway. A value over 65536 is 63 63 pointless 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="id26838 55"></a>Max Xmit</h2></div></div></div><p>64 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2683869"></a>Max Xmit</h2></div></div></div><p> 65 65 At startup the client and server negotiate a <em class="parameter"><code>maximum transmit</code></em> size, 66 66 which limits the size of nearly all SMB commands. You can set the … … 75 75 of less than 2048 is likely to cause severe problems. 76 76 In 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="id26839 03"></a>Log Level</h2></div></div></div><p>77 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2683917"></a>Log Level</h2></div></div></div><p> 78 78 If you set the log level (also known as <a class="link" href="smb.conf.5.html#DEBUGLEVEL">debug level</a>) higher than 2, 79 79 then you may suffer a large drop in performance. This is because the 80 80 server flushes the log file after each operation, which can be quite 81 81 expensive. 82 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26839 28"></a>Read Raw</h2></div></div></div><p>82 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2683942"></a>Read Raw</h2></div></div></div><p> 83 83 The <a class="link" href="smb.conf.5.html#READRAW">read raw</a> operation is designed to be an optimized, low-latency 84 84 file read operation. A server may choose to not support it, … … 91 91 network. It might lower, raise, or not affect your performance. Only 92 92 testing can really tell. 93 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id268 3994"></a>Write Raw</h2></div></div></div><p>93 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2684008"></a>Write Raw</h2></div></div></div><p> 94 94 The <a class="link" href="smb.conf.5.html#WRITERAW">write raw</a> operation is designed to be an optimized, low-latency 95 95 file write operation. A server may choose to not support it, however, and Samba makes support for … … 98 98 Some machines may find <a class="link" href="smb.conf.5.html#WRITERAW">write raw</a> slower than normal write, in which 99 99 case 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="id26840 46"></a>Slow Logins</h2></div></div></div><p>100 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2684060"></a>Slow Logins</h2></div></div></div><p> 101 101 Slow logins are almost always due to the password checking time. Using 102 102 the lowest practical <a class="link" href="smb.conf.5.html#PASSWORDLEVEL">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="id26840 70"></a>Client Tuning</h2></div></div></div><p>103 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2684084"></a>Client Tuning</h2></div></div></div><p> 104 104 Often a speed problem can be traced to the client. The client (for 105 105 example Windows for Workgroups) can often be tuned for better TCP 106 106 performance. Check the sections on the various clients in 107 107 <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="id2684 091"></a>Samba Performance Problem Due to Changing Linux Kernel</h2></div></div></div><p>108 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2684105"></a>Samba Performance Problem Due to Changing Linux Kernel</h2></div></div></div><p> 109 109 A user wrote the following to the mailing list: 110 110 </p><div class="blockquote"><blockquote class="blockquote"><p> 111 <a class="indexterm" name="id26841 06"></a>112 <a class="indexterm" name="id26841 12"></a>111 <a class="indexterm" name="id2684120"></a> 112 <a class="indexterm" name="id2684126"></a> 113 113 I am running Gentoo on my server and Samba 2.2.8a. Recently I changed kernel versions from 114 114 <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 … … 121 121 The answer he was given is: 122 122 </p><div class="blockquote"><blockquote class="blockquote"><p> 123 <a class="indexterm" name="id26841 55"></a>124 <a class="indexterm" name="id26841 61"></a>125 <a class="indexterm" name="id26841 68"></a>123 <a class="indexterm" name="id2684169"></a> 124 <a class="indexterm" name="id2684175"></a> 125 <a class="indexterm" name="id2684182"></a> 126 126 Grab the mii-tool and check the duplex settings on the NIC. My guess is that it is a link layer issue, not an 127 127 application layer problem. Also run ifconfig and verify that the framing error, collisions, and so on, look 128 128 normal 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="id2684182"></a>Corrupt tdb Files</h2></div></div></div><p> 130 <a class="indexterm" name="id2684190"></a> 131 <a class="indexterm" name="id2684197"></a> 129 </p></blockquote></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2684196"></a>Corrupt tdb Files</h2></div></div></div><p> 132 130 <a class="indexterm" name="id2684204"></a> 131 <a class="indexterm" name="id2684211"></a> 132 <a class="indexterm" name="id2684218"></a> 133 133 Our Samba PDC server has been hosting three TB of data to our 500+ users [Windows NT/XP] for the last three 134 134 years using Samba without a problem. Today all shares went very slow. Also, the main smbd kept spawning new … … 139 139 how can I detect early corruption? 140 140 </p><p> 141 <a class="indexterm" name="id26842 35"></a>142 <a class="indexterm" name="id26842 42"></a>141 <a class="indexterm" name="id2684249"></a> 142 <a class="indexterm" name="id2684256"></a> 143 143 <span class="emphasis"><em>Answer:</em></span> Yes, run <code class="literal">tdbbackup</code> each time after stopping nmbd and before starting nmbd. 144 144 </p><p> … … 147 147 </p><p> 148 148 <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="id26842 78"></a>Samba Performance is Very Slow</h2></div></div></div><p>150 <a class="indexterm" name="id2684 286"></a>149 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2684292"></a>Samba Performance is Very Slow</h2></div></div></div><p> 150 <a class="indexterm" name="id2684300"></a> 151 151 A site reported experiencing very baffling symptoms with MYOB Premier opening and 152 152 accessing its data files. Some operations on the file would take between 40 and 153 153 45 seconds. 154 154 </p><p> 155 <a class="indexterm" name="id2684 299"></a>156 <a class="indexterm" name="id26843 06"></a>155 <a class="indexterm" name="id2684313"></a> 156 <a class="indexterm" name="id2684320"></a> 157 157 It turned out that the printer monitor program running on the Windows 158 158 clients was causing the problems. From the logs, we saw activity coming 159 159 through with pauses of about 1 second. 160 160 </p><p> 161 <a class="indexterm" name="id26843 20"></a>162 <a class="indexterm" name="id26843 26"></a>161 <a class="indexterm" name="id2684334"></a> 162 <a class="indexterm" name="id2684340"></a> 163 163 Stopping the monitor software resulted in the networks access at normal 164 164 (quick) speed. Restarting the program caused the speed to slow down -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/tdb.html
r203 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id26798 76">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2680338">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="id2679876"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26798 84"></a>3 <a class="indexterm" name="id2679 890"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2679890">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2680352">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="id2679890"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2679898"></a> 3 <a class="indexterm" name="id2679904"></a> 4 4 Samba uses a lightweight database called Trivial Database (tdb) in which it stores persistent and transient data. 5 5 Some tdb files can be disposed of before restarting Samba, but others are used to store information that is vital … … 7 7 to better manage their Samba installations. 8 8 </p><p> 9 <a class="indexterm" name="id2679907"></a>10 <a class="indexterm" name="id2679914"></a>11 9 <a class="indexterm" name="id2679921"></a> 12 <a class="indexterm" name="id2679927"></a> 10 <a class="indexterm" name="id2679928"></a> 11 <a class="indexterm" name="id2679934"></a> 12 <a class="indexterm" name="id2679941"></a> 13 13 Those who package Samba for commercial distribution with operating systems and appliances would do well to take 14 14 note that tdb files can get corrupted, and for this reason ought to be backed up regularly. An appropriate time … … 38 38 </p></td></tr><tr><td align="center">passdb.tdb</td><td align="center">Y</td><td align="center"><p> 39 39 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="id26803 38"></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" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2680352"></a>Managing TDB Files</h2></div></div></div><p> 41 41 The <code class="literal">tdbbackup</code> utility is a tool that may be used to backup samba tdb files. 42 42 This tool may also be used to verify the integrity of the tdb files prior to Samba startup or -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/troubleshooting.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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#id26757 42">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2675781">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2676074">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#id2677837">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2677889">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678144">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678194">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678338">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2678665">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678702">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678876">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#id2679008">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679097">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#id2679333">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2679534">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679668">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679792">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#id2679876">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2680338">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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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#id2675756">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2675795">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2676088">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#id2677850">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2677902">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678158">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678208">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678352">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2678678">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678716">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678890">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#id2679022">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679111">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#id2679347">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2679548">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679682">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679806">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#id2679890">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2680352">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.2.x/docs/htmldocs/Samba3-HOWTO/type.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id2551 599"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.2.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="id2551612"></a>First Steps in Server Configuration</h1></div></div></div><p> 2 2 Samba can operate in various modes within SMB networks. This HOWTO section contains information on 3 3 configuring Samba to function as the type of server your network requires. Please read this 4 4 section 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#id25517 42">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2551910">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2552070">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2552243">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552418">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552625">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553160">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553317">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2553615">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2553819">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2553843">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553879">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553923">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553954">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2554012">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#id2554336">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2554970">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2555570">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2555590">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2556095">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2556604">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557346">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557399">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2557418">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558009">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2558282">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2558287">“<span class="quote">$</span>” Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558388">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558452">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558529">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558648">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558675">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558694">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#id2558877">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2559283">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2559353">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560028">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560392">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560450">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560541">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2560723">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561224">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2561680">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561724">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561779">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561834">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561939">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#id2562183">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#id2562869">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563306">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563586">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563692">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#id2564157">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2564892">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#id2565174">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2565365">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#id2566460">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2566532">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2566738">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2566777">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2566853">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2567089">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#id2567216">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567310">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567511">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#id2568495">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#id2568562">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2568622">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2568666">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570437">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570964">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2571409">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#id2551756">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2551923">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2552083">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2552257">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552431">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552639">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553173">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553330">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2553629">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2553833">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2553856">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553893">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553936">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553968">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2554025">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#id2554350">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2554984">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2555584">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2555604">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2556109">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2556618">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557360">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557413">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2557432">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558022">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2558295">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2558301">“<span class="quote">$</span>” Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558401">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558466">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558542">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558661">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558689">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558707">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#id2558891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2559297">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2559367">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560041">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560406">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560464">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560555">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2560736">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561238">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2561694">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561737">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561792">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561847">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561952">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#id2562196">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#id2562883">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563320">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563599">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563705">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#id2564171">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2564906">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#id2565187">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2565378">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#id2566473">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2566545">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2566752">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2566792">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2566867">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2567103">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#id2567230">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567324">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567525">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#id2568508">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#id2568576">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2568636">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2568680">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570451">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570978">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2571422">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.2.x/docs/htmldocs/Samba3-HOWTO/unicode.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:monyo@home.monyo.com">monyo@home.monyo.com</a>></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#id26628 40">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2662892">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663025">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663162">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663193">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2663332">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2663985">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2664108">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2664255">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2664260">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="id2662840"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26628 48"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:monyo@home.monyo.com">monyo@home.monyo.com</a>></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#id2662854">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2662905">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663039">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663175">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663207">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2663346">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2663999">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2664122">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2664268">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2664274">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="id2662854"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2662862"></a> 3 3 Every industry eventually matures. One of the great areas of maturation is in 4 4 the focus that has been given over the past decade to make it possible for anyone … … 12 12 is deserving of special mention. 13 13 </p><p> 14 <a class="indexterm" name="id26628 76"></a>14 <a class="indexterm" name="id2662890"></a> 15 15 Samba-2.x supported a single locale through a mechanism called 16 16 <span class="emphasis"><em>codepages</em></span>. Samba-3 is destined to become a truly transglobal 17 17 file- 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="id2662 892"></a>What Are Charsets and Unicode?</h2></div></div></div><p>19 <a class="indexterm" name="id26629 00"></a>18 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2662905"></a>What Are Charsets and Unicode?</h2></div></div></div><p> 19 <a class="indexterm" name="id2662913"></a> 20 20 Computers communicate in numbers. In texts, each number is 21 21 translated to a corresponding letter. The meaning that will be assigned … … 23 23 </em></span> that is used. 24 24 </p><p> 25 <a class="indexterm" name="id26629 17"></a>26 <a class="indexterm" name="id26629 24"></a>25 <a class="indexterm" name="id2662931"></a> 26 <a class="indexterm" name="id2662937"></a> 27 27 A charset can be seen as a table that is used to translate numbers to 28 28 letters. Not all computers use the same charset (there are charsets … … 32 32 256 characters. Using this mode of encoding, each character takes exactly one byte. 33 33 </p><p> 34 <a class="indexterm" name="id26629 42"></a>35 <a class="indexterm" name="id26629 49"></a>34 <a class="indexterm" name="id2662955"></a> 35 <a class="indexterm" name="id2662962"></a> 36 36 There are also charsets that support extended characters, but those need at least 37 37 twice as much storage space as does ASCII encoding. Such charsets can contain … … 40 40 more then one byte to store one character. 41 41 </p><p> 42 <a class="indexterm" name="id26629 70"></a>42 <a class="indexterm" name="id2662984"></a> 43 43 One standardized multibyte charset encoding scheme is known as 44 44 <a class="ulink" href="http://www.unicode.org/" target="_top">unicode</a>. A big advantage of using a … … 46 46 computers use the same charset when they are communicating. 47 47 </p><p> 48 <a class="indexterm" name="id2662991"></a>49 <a class="indexterm" name="id2662998"></a>50 48 <a class="indexterm" name="id2663004"></a> 49 <a class="indexterm" name="id2663011"></a> 50 <a class="indexterm" name="id2663018"></a> 51 51 Old Windows clients use single-byte charsets, named 52 52 <em class="parameter"><code>codepages</code></em>, by Microsoft. However, there is no support for … … 54 54 have to make sure you are using the same charset when talking to an older client. 55 55 Newer 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="id26630 25"></a>Samba and Charsets</h2></div></div></div><p>57 <a class="indexterm" name="id26630 33"></a>58 <a class="indexterm" name="id26630 40"></a>56 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663039"></a>Samba and Charsets</h2></div></div></div><p> 57 <a class="indexterm" name="id2663047"></a> 58 <a class="indexterm" name="id2663054"></a> 59 59 As of Samba-3, Samba can (and will) talk Unicode over the wire. Internally, 60 60 Samba knows of three kinds of character sets: 61 61 </p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#UNIXCHARSET">unix charset</a></span></dt><dd><p> 62 <a class="indexterm" name="id26630 72"></a>63 <a class="indexterm" name="id26630 78"></a>62 <a class="indexterm" name="id2663086"></a> 63 <a class="indexterm" name="id2663092"></a> 64 64 This is the charset used internally by your operating system. 65 65 The default is <code class="constant">UTF-8</code>, which is fine for most … … 74 74 Run <code class="literal">testparm -v | grep "dos charset"</code> to see 75 75 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="id26631 62"></a>Conversion from Old Names</h2></div></div></div><p>77 <a class="indexterm" name="id26631 70"></a>76 </p></dd></dl></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663175"></a>Conversion from Old Names</h2></div></div></div><p> 77 <a class="indexterm" name="id2663183"></a> 78 78 Because previous Samba versions did not do any charset conversion, 79 79 characters in filenames are usually not correct in the UNIX charset but only … … 81 81 </p><p>Bjoern Jacke has written a utility named <a class="ulink" href="http://j3e.de/linux/convmv/" target="_top">convmv</a> 82 82 that 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="id2663 193"></a>Japanese Charsets</h2></div></div></div><p>83 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663207"></a>Japanese Charsets</h2></div></div></div><p> 84 84 Setting up Japanese charsets is quite difficult. This is mainly because: 85 85 </p><div class="itemizedlist"><ul type="disc"><li><p> 86 <a class="indexterm" name="id26632 09"></a>86 <a class="indexterm" name="id2663222"></a> 87 87 The Windows character set is extended from the original legacy Japanese 88 88 standard (JIS X 0208) and is not standardized. This means that the strictly 89 89 standardized implementation cannot support the full Windows character set. 90 90 </p></li><li><p> 91 <a class="indexterm" name="id2663224"></a>92 <a class="indexterm" name="id2663230"></a>93 91 <a class="indexterm" name="id2663237"></a> 94 92 <a class="indexterm" name="id2663244"></a> 95 <a class="indexterm" name="id2663250"></a> 93 <a class="indexterm" name="id2663251"></a> 94 <a class="indexterm" name="id2663258"></a> 95 <a class="indexterm" name="id2663264"></a> 96 96 Mainly for historical reasons, there are several encoding methods in 97 97 Japanese, which are not fully compatible with each other. There are … … 113 113 the charset parameters depends on the implementation of iconv() you are using. 114 114 </p><p> 115 <a class="indexterm" name="id2663300"></a>116 <a class="indexterm" name="id2663307"></a>117 115 <a class="indexterm" name="id2663314"></a> 118 116 <a class="indexterm" name="id2663320"></a> 117 <a class="indexterm" name="id2663327"></a> 118 <a class="indexterm" name="id2663334"></a> 119 119 Though 2-byte fixed UCS-2 encoding is used in Windows internally, 120 120 Shift_JIS series encoding is usually used in Japanese environments 121 121 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="id26633 32"></a>Basic Parameter Setting</h3></div></div></div><p>123 <a class="indexterm" name="id26633 39"></a>122 </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2663346"></a>Basic Parameter Setting</h3></div></div></div><p> 123 <a class="indexterm" name="id2663353"></a> 124 124 The <a class="link" href="smb.conf.5.html#DOSCHARSET">dos charset</a> and 125 125 <a class="link" href="smb.conf.5.html#DISPLAYCHARSET">display charset</a> … … 128 128 but sometimes has a different name. 129 129 </p><p> 130 <a class="indexterm" name="id26633 76"></a>131 <a class="indexterm" name="id26633 82"></a>132 <a class="indexterm" name="id2663 389"></a>130 <a class="indexterm" name="id2663390"></a> 131 <a class="indexterm" name="id2663396"></a> 132 <a class="indexterm" name="id2663403"></a> 133 133 The <a class="link" href="smb.conf.5.html#UNIXCHARSET">unix charset</a> can be either Shift_JIS series, 134 134 EUC-JP series, or UTF-8. UTF-8 is always available, but the availability of other locales … … 167 167 with Shift_JIS. 168 168 </p></dd><dt><span class="term">EUC-JP series</span></dt><dd><p> 169 <a class="indexterm" name="id26635 28"></a>170 <a class="indexterm" name="id26635 35"></a>169 <a class="indexterm" name="id2663542"></a> 170 <a class="indexterm" name="id2663549"></a> 171 171 EUC-JP series means a locale that is equivalent to the industry 172 172 standard called EUC-JP, widely used in Japanese UNIX (although EUC … … 177 177 “<span class="quote">.txt</span>” (an 8-byte BINARY string). 178 178 </p><p> 179 <a class="indexterm" name="id2663560"></a>180 <a class="indexterm" name="id2663567"></a>181 179 <a class="indexterm" name="id2663574"></a> 182 180 <a class="indexterm" name="id2663580"></a> … … 187 185 <a class="indexterm" name="id2663614"></a> 188 186 <a class="indexterm" name="id2663621"></a> 187 <a class="indexterm" name="id2663628"></a> 188 <a class="indexterm" name="id2663635"></a> 189 189 Since EUC-JP is usually used on open source UNIX, Linux, and FreeBSD, and on commercial-based UNIX, Solaris, 190 190 IRIX, and Tru64 UNIX as Japanese locale (however, it is also possible on Solaris to use Shift_JIS and UTF-8, … … 199 199 during parsing filenames. 200 200 </p><p> 201 <a class="indexterm" name="id26636 54"></a>201 <a class="indexterm" name="id2663668"></a> 202 202 Moreover, if you built Samba using differently installed libiconv, 203 203 the eucJP-ms locale included in libiconv and EUC-JP series locale … … 224 224 written from Windows on UNIX. 225 225 </p><p> 226 <a class="indexterm" name="id26637 34"></a>227 <a class="indexterm" name="id26637 41"></a>228 <a class="indexterm" name="id26637 48"></a>226 <a class="indexterm" name="id2663749"></a> 227 <a class="indexterm" name="id2663756"></a> 228 <a class="indexterm" name="id2663762"></a> 229 229 In addition, although it is not directly concerned with Samba, since 230 230 there is a delicate difference between the iconv() function, which is … … 234 234 of the limitations involved in the process. 235 235 </p><p> 236 <a class="indexterm" name="id26637 65"></a>236 <a class="indexterm" name="id2663780"></a> 237 237 Although Mac OS X uses UTF-8 as its encoding method for filenames, 238 238 it uses an extended UTF-8 specification that Samba cannot handle, so 239 239 UTF-8 locale is not available for Mac OS X. 240 240 </p></dd><dt><span class="term">Shift_JIS series + vfs_cap (CAP encoding)</span></dt><dd><p> 241 <a class="indexterm" name="id2663787"></a>242 <a class="indexterm" name="id2663793"></a>243 241 <a class="indexterm" name="id2663800"></a> 242 <a class="indexterm" name="id2663807"></a> 243 <a class="indexterm" name="id2663814"></a> 244 244 CAP encoding means a specification used in CAP and NetAtalk, file 245 245 server software for Macintosh. In the case of CAP encoding, for … … 270 270 To use CAP encoding on Samba-3, you should use the unix charset parameter and VFS 271 271 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="id2663899"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2663910"></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="id2663931"></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="id2663946"></a> 274 <a class="indexterm" name="id2663953"></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="id2663913"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2663924"></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="id2663945"></a><em class="parameter"><code>vfs option = cap</code></em></td></tr></table></div></div><br class="example-break"><p> 275 273 <a class="indexterm" name="id2663960"></a> 276 274 <a class="indexterm" name="id2663967"></a> 275 <a class="indexterm" name="id2663973"></a> 276 <a class="indexterm" name="id2663980"></a> 277 277 You should set CP932 if using GNU libiconv for unix charset. With this setting, 278 278 filenames in the “<span class="quote">cap-share</span>” 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="id26639 85"></a>Individual Implementations</h3></div></div></div><p>279 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2663999"></a>Individual Implementations</h3></div></div></div><p> 280 280 Here is some additional information regarding individual implementations: 281 281 </p><div class="variablelist"><dl><dt><span class="term">GNU libiconv</span></dt><dd><p> … … 300 300 </p><p> 301 301 Using the above glibc, these setting are available: 302 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26640 61"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2664073"></a><em class="parameter"><code>unix charset = CP932 / eucJP-ms / UTF-8</code></em></td></tr><tr><td><a class="indexterm" name="id2664085"></a><em class="parameter"><code>display charset = CP932</code></em></td></tr></table><p>302 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2664075"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2664087"></a><em class="parameter"><code>unix charset = CP932 / eucJP-ms / UTF-8</code></em></td></tr><tr><td><a class="indexterm" name="id2664099"></a><em class="parameter"><code>display charset = CP932</code></em></td></tr></table><p> 303 303 </p><p> 304 304 Other Japanese locales (for example, Shift_JIS and EUC-JP) should not 305 305 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="id26641 08"></a>Migration from Samba-2.2 Series</h3></div></div></div><p>306 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664122"></a>Migration from Samba-2.2 Series</h3></div></div></div><p> 307 307 Prior to Samba-2.2 series, the “<span class="quote">coding system</span>” parameter was used. The default codepage in Samba 308 308 2.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">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> 309 309 shows 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="id26642 04" href="#ftn.id2664204" 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="id2664235" href="#ftn.id2664235" 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.id2664204" href="#id2664204" class="para">a</a>] </sup>Only exists in Japanese Samba version</p></div><div class="footnote"><p><sup>[<a name="ftn.id2664235" href="#id2664235" 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="id2664255"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664260"></a>CP850.so Can't Be Found</h3></div></div></div><p>“<span class="quote">Samba is complaining about a missing <code class="filename">CP850.so</code> file.</span>”</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="id2664218" href="#ftn.id2664218" 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="id2664248" href="#ftn.id2664248" 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.id2664218" href="#id2664218" class="para">a</a>] </sup>Only exists in Japanese Samba version</p></div><div class="footnote"><p><sup>[<a name="ftn.id2664248" href="#id2664248" 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="id2664268"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664274"></a>CP850.so Can't Be Found</h3></div></div></div><p>“<span class="quote">Samba is complaining about a missing <code class="filename">CP850.so</code> file.</span>”</p><p> 311 311 CP850 is the default <a class="link" href="smb.conf.5.html#DOSCHARSET">dos charset</a>. 312 312 The <a class="link" href="smb.conf.5.html#DOSCHARSET">dos charset</a> is used to convert data to the codepage used by your DOS clients. -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/upgrading-to-3.0.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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#id2669 196">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669224">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#id2669274">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2669425">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669434">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669444">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2670644">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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></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#id2669210">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669238">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#id2669288">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2669439">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669448">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669458">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2670658">New Functionality</a></span></dt></dl></dd></dl></div><p> 2 2 This chapter provides a detailed record of changes made during the 3.x series releases. At this time this 3 3 series consists of the 3.0.x series that is under the GNU GPL version 2 license, and the Samba 3.2.x series 4 4 that 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="id2669 196"></a>Key Update Requirements</h2></div></div></div><p>5 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669210"></a>Key Update Requirements</h2></div></div></div><p> 6 6 Samba is a fluid product in which there may be significant changes between releases. Some of these changes are 7 7 brought about as a result of changes in the protocols that are used by Microsoft Windows network clients as a … … 14 14 3.0.25 before 3.2.0-specific changes were applied. Unless a 3.0.x series feature is specifically revoked, the 15 15 behavior 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="id26692 24"></a>Upgrading from Samba-3.0.x to Samba-3.2.0</h3></div></div></div><p>16 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669238"></a>Upgrading from Samba-3.0.x to Samba-3.2.0</h3></div></div></div><p> 17 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="id2669247"></a>19 <a class="indexterm" name="id2669254"></a>20 18 <a class="indexterm" name="id2669261"></a> 19 <a class="indexterm" name="id2669268"></a> 20 <a class="indexterm" name="id2669275"></a> 21 21 This chapter deals exclusively with the differences between Samba-3.0.25 and Samba-2.2.8a. 22 22 It points out where configuration parameters have changed, and provides a simple guide for 23 23 the 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="id26692 74"></a>Quick Migration Guide</h3></div></div></div><p>24 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669288"></a>Quick Migration Guide</h3></div></div></div><p> 25 25 Samba-3.0.25 default behavior should be approximately the same as Samba-2.2.x. 26 26 The default behavior when the new parameter <a class="link" href="smb.conf.5.html#PASSDBBACKEND">passdb backend</a> … … 29 29 will use the <code class="filename">smbpasswd</code> database. 30 30 </p><p> 31 <a class="indexterm" name="id26693 24"></a>32 <a class="indexterm" name="id26693 31"></a>31 <a class="indexterm" name="id2669338"></a> 32 <a class="indexterm" name="id2669345"></a> 33 33 So why say that <span class="emphasis"><em>behavior should be approximately the same as Samba-2.2.x</em></span>? Because 34 34 Samba-3.0.25 can negotiate new protocols, such as support for native Unicode, that may result in … … 37 37 preserved across the upgrade. 38 38 </p><p> 39 <a class="indexterm" name="id2669352"></a> 40 <a class="indexterm" name="id2669359"></a> 41 <a class="indexterm" name="id2669365"></a> 39 <a class="indexterm" name="id2669366"></a> 42 40 <a class="indexterm" name="id2669372"></a> 41 <a class="indexterm" name="id2669379"></a> 42 <a class="indexterm" name="id2669386"></a> 43 43 If the Samba-2.2.x system is using an LDAP backend, and there is no time to update the LDAP 44 44 database, then make sure that <a class="link" href="smb.conf.5.html#PASSDBBACKEND">passdb backend = ldapsam_compat</a> … … 47 47 to migrate the old LDAP database to the new one through use of the <code class="literal">pdbedit</code>. 48 48 See <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="id26694 25"></a>New Featuers 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="id26694 34"></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="id26694 44"></a>New Features in Samba-3.0.x</h3></div></div></div><p>49 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669439"></a>New Featuers 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="id2669448"></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="id2669458"></a>New Features in Samba-3.0.x</h3></div></div></div><p> 52 52 The major new features are: 53 53 </p><div class="orderedlist"><ol type="1"><li><p> 54 <a class="indexterm" name="id26694 66"></a>55 <a class="indexterm" name="id26694 73"></a>54 <a class="indexterm" name="id2669480"></a> 55 <a class="indexterm" name="id2669486"></a> 56 56 Active Directory support. This release is able to join an ADS realm 57 57 as a member server and authenticate users using LDAP/Kerberos. 58 58 </p></li><li><p> 59 <a class="indexterm" name="id2669 486"></a>60 <a class="indexterm" name="id2669 493"></a>59 <a class="indexterm" name="id2669500"></a> 60 <a class="indexterm" name="id2669506"></a> 61 61 Unicode support. Samba will now negotiate Unicode on the wire, and 62 62 internally there is a much better infrastructure for multibyte 63 63 and Unicode character sets. 64 64 </p></li><li><p> 65 <a class="indexterm" name="id26695 07"></a>65 <a class="indexterm" name="id2669521"></a> 66 66 New authentication system. The internal authentication system has 67 67 been almost completely rewritten. Most of the changes are internal, 68 68 but the new authoring system is also very configurable. 69 69 </p></li><li><p> 70 <a class="indexterm" name="id26695 21"></a>70 <a class="indexterm" name="id2669535"></a> 71 71 New filename mangling system. The filename mangling system has been 72 72 completely rewritten. An internal database now stores mangling maps 73 73 persistently. 74 74 </p></li><li><p> 75 <a class="indexterm" name="id26695 35"></a>75 <a class="indexterm" name="id2669549"></a> 76 76 New “<span class="quote">net</span>” command. A new “<span class="quote">net</span>” command has been added. It is 77 77 somewhat similar to the “<span class="quote">net</span>” command in Windows. Eventually, we … … 79 79 with subcommands in “<span class="quote">net</span>”. 80 80 </p></li><li><p> 81 <a class="indexterm" name="id26695 63"></a>81 <a class="indexterm" name="id2669577"></a> 82 82 Samba now negotiates NT-style status32 codes on the wire. This 83 83 considerably improves error handling. 84 84 </p></li><li><p> 85 <a class="indexterm" name="id26695 76"></a>85 <a class="indexterm" name="id2669590"></a> 86 86 Better Windows 200x/XP printing support, including publishing 87 87 printer attributes in Active Directory. 88 88 </p></li><li><p> 89 <a class="indexterm" name="id2669589"></a>90 <a class="indexterm" name="id2669596"></a>91 89 <a class="indexterm" name="id2669603"></a> 90 <a class="indexterm" name="id2669610"></a> 91 <a class="indexterm" name="id2669617"></a> 92 92 New loadable RPC modules for passdb backends and character sets. 93 93 </p></li><li><p> 94 <a class="indexterm" name="id26696 16"></a>94 <a class="indexterm" name="id2669630"></a> 95 95 New default dual-daemon winbindd support for better performance. 96 96 </p></li><li><p> 97 <a class="indexterm" name="id2669628"></a>98 <a class="indexterm" name="id2669635"></a>99 97 <a class="indexterm" name="id2669642"></a> 98 <a class="indexterm" name="id2669648"></a> 99 <a class="indexterm" name="id2669655"></a> 100 100 Support for migrating from a Windows NT 4.0 domain to a Samba 101 101 domain and maintaining user, group, and domain SIDs. 102 102 </p></li><li><p> 103 <a class="indexterm" name="id26696 55"></a>104 <a class="indexterm" name="id26696 62"></a>103 <a class="indexterm" name="id2669668"></a> 104 <a class="indexterm" name="id2669675"></a> 105 105 Support for establishing trust relationships with Windows NT 4.0 106 106 domain controllers. 107 107 </p></li><li><p> 108 <a class="indexterm" name="id26696 75"></a>109 <a class="indexterm" name="id26696 82"></a>110 <a class="indexterm" name="id2669 689"></a>108 <a class="indexterm" name="id2669688"></a> 109 <a class="indexterm" name="id2669695"></a> 110 <a class="indexterm" name="id2669702"></a> 111 111 Initial support for a distributed Winbind architecture using 112 112 an LDAP directory for storing SID to UID/GID mappings. … … 114 114 Major updates to the Samba documentation tree. 115 115 </p></li><li><p> 116 <a class="indexterm" name="id26697 07"></a>117 <a class="indexterm" name="id26697 14"></a>116 <a class="indexterm" name="id2669720"></a> 117 <a class="indexterm" name="id2669727"></a> 118 118 Full support for client and server SMB signing to ensure 119 119 compatibility with default Windows 2003 security settings. 120 120 </p></li></ol></div><p> 121 121 Plus lots of other improvements! 122 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26697 29"></a>Configuration Parameter Changes</h4></div></div></div><p>122 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2669742"></a>Configuration Parameter Changes</h4></div></div></div><p> 123 123 This 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 124 124 including Samba-3.0.25. … … 131 131 be obtain on-line from the Samba <a class="ulink" href="http://www.samba.org/samba/" target="_top">web site</a>, in 132 132 the 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="id26697 74"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id2669779"></a><p>133 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2669787"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id2669792"></a><p> 134 134 In 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="id26699 44"></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="id2669959"></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="id2670509"></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="id2670644"></a>New Functionality</h3></div></div></div><p>136 <a class="indexterm" name="id26706 52"></a>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="id2669957"></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="id2669972"></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="id2670523"></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="id2670658"></a>New Functionality</h3></div></div></div><p> 136 <a class="indexterm" name="id2670666"></a> 137 137 The major changes in behavior since that Samba-2.2.x series are documented in this section. 138 138 Please refer to the <code class="filename">WHATSNEW.txt</code> file that ships with every release of 139 139 Samba to obtain detailed information regarding the changes that have been made during the 140 140 life of the current Samba release. 141 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26706 71"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id2670677"></a><p>141 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2670685"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id2670690"></a><p> 142 142 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> 143 143 for information pertaining to the Samba-3 data files, their location and the information that must be 144 144 preserved across server migrations, updates and upgrades. 145 145 </p><p> 146 <a class="indexterm" name="id26707 07"></a>146 <a class="indexterm" name="id2670721"></a> 147 147 Please remember to back up your existing ${lock directory}/*tdb before upgrading to Samba-3. If necessary, 148 148 Samba will upgrade databases as they are opened. Downgrading from Samba-3 to 2.2, or reversion to an earlier 149 149 version of Samba-3 from a later release, is an unsupported path. 150 150 </p><p> 151 <a class="indexterm" name="id26707 22"></a>151 <a class="indexterm" name="id2670736"></a> 152 152 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>. 153 153 </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="id26710 22"></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" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2671036"></a>Changes in Behavior</h4></div></div></div><p> 155 155 The following issues are known changes in behavior between Samba-2.2 and 156 156 Samba-3 that may affect certain installations of Samba. 157 157 </p><div class="orderedlist"><ol type="1"><li><p> 158 <a class="indexterm" name="id2671044"></a>159 <a class="indexterm" name="id2671051"></a>160 158 <a class="indexterm" name="id2671058"></a> 159 <a class="indexterm" name="id2671064"></a> 160 <a class="indexterm" name="id2671071"></a> 161 161 When operating as a member of a Windows domain, Samba-2.2 would map any users authenticated by the remote DC 162 162 to the “<span class="quote">guest account</span>” if a UID could not be obtained via the getpwnam() call. Samba-3 rejects … … 164 164 to re-establish the Samba-2.2 behavior. 165 165 </p></li><li><p> 166 <a class="indexterm" name="id26710 82"></a>167 <a class="indexterm" name="id2671 089"></a>166 <a class="indexterm" name="id2671096"></a> 167 <a class="indexterm" name="id2671103"></a> 168 168 When adding machines to a Samba-2.2 controlled domain, the 169 169 “<span class="quote">add user script</span>” was used to create the UNIX identity of the … … 172 172 not fall back to using the “<span class="quote">add user script</span>” in the absence of 173 173 an “<span class="quote">add machine script</span>”. 174 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26711 19"></a>Passdb Backends and Authentication</h4></div></div></div><p>174 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2671133"></a>Passdb Backends and Authentication</h4></div></div></div><p> 175 175 There have been a few new changes that Samba administrators should be 176 176 aware of when moving to Samba-3. 177 177 </p><div class="orderedlist"><ol type="1"><li><p> 178 <a class="indexterm" name="id26711 40"></a>178 <a class="indexterm" name="id2671154"></a> 179 179 Encrypted passwords have been enabled by default in order to 180 180 interoperate better with out-of-the-box Windows client … … 183 183 must be explicitly defined in <code class="filename">smb.conf</code>. 184 184 </p></li><li><p> 185 <a class="indexterm" name="id26711 65"></a>186 <a class="indexterm" name="id26711 72"></a>187 <a class="indexterm" name="id26711 78"></a>185 <a class="indexterm" name="id2671179"></a> 186 <a class="indexterm" name="id2671186"></a> 187 <a class="indexterm" name="id2671192"></a> 188 188 Inclusion of new <a class="link" href="smb.conf.5.html#SECURITY">security = ads</a> option for integration 189 189 with an Active Directory domain using the native Windows Kerberos 5 and LDAP protocols. 190 190 </p></li></ol></div><p> 191 <a class="indexterm" name="id26712 04"></a>191 <a class="indexterm" name="id2671218"></a> 192 192 Samba-3 also includes the possibility of setting up chains of authentication methods (<a class="link" href="smb.conf.5.html#AUTHMETHODS">auth methods</a>) and account storage backends (<a class="link" href="smb.conf.5.html#PASSDBBACKEND">passdb backend</a>). Please refer to 193 193 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 … … 195 195 the values actually mean in order to ensure Samba operates correctly. 196 196 </p><p> 197 <a class="indexterm" name="id26712 56"></a>198 <a class="indexterm" name="id26712 62"></a>199 <a class="indexterm" name="id26712 69"></a>197 <a class="indexterm" name="id2671270"></a> 198 <a class="indexterm" name="id2671276"></a> 199 <a class="indexterm" name="id2671283"></a> 200 200 Certain functions of the <code class="literal">smbpasswd</code> tool have been split between the 201 201 new <code class="literal">smbpasswd</code> utility, the <code class="literal">net</code> tool, and the new <code class="literal">pdbedit</code> 202 202 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="id26713 03"></a>LDAP</h4></div></div></div><p>203 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2671317"></a>LDAP</h4></div></div></div><p> 204 204 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="id2671313"></a>New Schema</h5></div></div></div><p> 206 <a class="indexterm" name="id2671321"></a> 207 <a class="indexterm" name="id2671328"></a> 205 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2671327"></a>New Schema</h5></div></div></div><p> 208 206 <a class="indexterm" name="id2671335"></a> 209 207 <a class="indexterm" name="id2671342"></a> 208 <a class="indexterm" name="id2671349"></a> 209 <a class="indexterm" name="id2671356"></a> 210 210 A new object class (sambaSamAccount) has been introduced to replace 211 211 the old sambaAccount. This change aids in the renaming of attributes … … 215 215 </p><p> 216 216 Example: 217 <a class="indexterm" name="id26713 57"></a>217 <a class="indexterm" name="id2671371"></a> 218 218 </p><pre class="screen"> 219 219 <code class="prompt">$ </code>ldapsearch .... -LLL -b "ou=people,dc=..." > old.ldif 220 220 <code class="prompt">$ </code>convertSambaAccount --sid <DOM SID> --input old.ldif --output new.ldif 221 221 </pre><p> 222 <a class="indexterm" name="id2671 390"></a>222 <a class="indexterm" name="id2671404"></a> 223 223 The <DOM SID> can be obtained by running 224 224 </p><pre class="screen"> 225 225 <code class="prompt">$ </code><strong class="userinput"><code>net getlocalsid <DOMAINNAME></code></strong> 226 226 </pre><p> 227 <a class="indexterm" name="id26714 16"></a>227 <a class="indexterm" name="id2671430"></a> 228 228 on the Samba PDC as root. 229 229 </p><p> 230 230 Under Samba-2.x the domain SID can be obtained by executing: 231 <a class="indexterm" name="id26714 28"></a>231 <a class="indexterm" name="id2671442"></a> 232 232 </p><pre class="screen"> 233 233 <code class="prompt">$ </code><strong class="userinput"><code>smbpasswd -S <DOMAINNAME></code></strong> 234 234 </pre><p> 235 235 </p><p> 236 <a class="indexterm" name="id2671454"></a>237 <a class="indexterm" name="id2671461"></a>238 236 <a class="indexterm" name="id2671468"></a> 239 237 <a class="indexterm" name="id2671475"></a> 238 <a class="indexterm" name="id2671482"></a> 239 <a class="indexterm" name="id2671489"></a> 240 240 The old <code class="literal">sambaAccount</code> schema may still be used by specifying the 241 241 <em class="parameter"><code>ldapsam_compat</code></em> passdb backend. However, the sambaAccount and … … 247 247 Other new object classes and their uses include: 248 248 </p><div class="itemizedlist"><ul type="disc"><li><p> 249 <a class="indexterm" name="id2671522"></a>250 <a class="indexterm" name="id2671529"></a>251 249 <a class="indexterm" name="id2671536"></a> 252 <a class="indexterm" name="id267154 2"></a>253 <a class="indexterm" name="id26715 49"></a>250 <a class="indexterm" name="id2671543"></a> 251 <a class="indexterm" name="id2671550"></a> 254 252 <a class="indexterm" name="id2671556"></a> 253 <a class="indexterm" name="id2671563"></a> 254 <a class="indexterm" name="id2671570"></a> 255 255 <code class="literal">sambaDomain</code> domain information used to allocate RIDs 256 256 for users and groups as necessary. The attributes are added … … 259 259 passdb backend has been selected. 260 260 </p></li><li><p> 261 <a class="indexterm" name="id2671587"></a>262 <a class="indexterm" name="id2671594"></a>263 261 <a class="indexterm" name="id2671600"></a> 262 <a class="indexterm" name="id2671607"></a> 263 <a class="indexterm" name="id2671614"></a> 264 264 sambaGroupMapping an object representing the 265 265 relationship between a posixGroup and a Windows … … 267 267 group suffix</span>” and managed by the “<span class="quote">net groupmap</span>” command. 268 268 </p></li><li><p> 269 <a class="indexterm" name="id2671625"></a>270 <a class="indexterm" name="id2671632"></a>271 269 <a class="indexterm" name="id2671639"></a> 272 270 <a class="indexterm" name="id2671646"></a> 271 <a class="indexterm" name="id2671653"></a> 272 <a class="indexterm" name="id2671660"></a> 273 273 <code class="literal">sambaUNIXIdPool</code> created in the “<span class="quote">ldap idmap suffix</span>” entry 274 274 automatically and contains the next available “<span class="quote">idmap UID</span>” and 275 275 “<span class="quote">idmap GID</span>”. 276 276 </p></li><li><p> 277 <a class="indexterm" name="id26716 78"></a>278 <a class="indexterm" name="id26716 85"></a>277 <a class="indexterm" name="id2671692"></a> 278 <a class="indexterm" name="id2671699"></a> 279 279 <code class="literal">sambaIdmapEntry</code> object storing a mapping between a 280 280 SID and a UNIX UID/GID. These objects are created by the 281 281 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="id2671706"></a>New Suffix for Searching</h5></div></div></div><p> 283 <a class="indexterm" name="id2671714"></a> 284 <a class="indexterm" name="id2671720"></a> 282 </p></li></ul></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2671720"></a>New Suffix for Searching</h5></div></div></div><p> 285 283 <a class="indexterm" name="id2671727"></a> 286 284 <a class="indexterm" name="id2671734"></a> … … 288 286 <a class="indexterm" name="id2671748"></a> 289 287 <a class="indexterm" name="id2671755"></a> 288 <a class="indexterm" name="id2671762"></a> 289 <a class="indexterm" name="id2671769"></a> 290 290 The following new <code class="filename">smb.conf</code> parameters have been added to aid in directing 291 291 certain LDAP queries when <em class="parameter"><code>passdb backend = ldapsam://...</code></em> has been 292 292 specified. 293 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="id26718 24"></a>295 <a class="indexterm" name="id26718 30"></a>294 <a class="indexterm" name="id2671838"></a> 295 <a class="indexterm" name="id2671844"></a> 296 296 If an <em class="parameter"><code>ldap suffix</code></em> is defined, it will be appended to all of the 297 297 remaining subsuffix parameters. In this case, the order of the suffix … … 301 301 Due to a limitation in Samba's <code class="filename">smb.conf</code> parsing, you should not surround 302 302 the domain names with quotation marks. 303 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id26718 72"></a>IdMap LDAP Support</h5></div></div></div><p>304 <a class="indexterm" name="id26718 79"></a>303 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2671885"></a>IdMap LDAP Support</h5></div></div></div><p> 304 <a class="indexterm" name="id2671893"></a> 305 305 Samba-3 supports an LDAP backend for the idmap subsystem. The 306 306 following options inform Samba that the idmap table should be 307 307 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="id26719 12"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id2671924"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2671936"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id2671948"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p>309 <a class="indexterm" name="id26719 62"></a>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="id2671926"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id2671938"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2671950"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id2671962"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p> 309 <a class="indexterm" name="id2671976"></a> 310 310 This configuration allows Winbind installations on multiple servers to 311 311 share a UID/GID number space, thus avoiding the interoperability problems -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/winbind.html
r149 r204 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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Potter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:tpot@linuxcare.com.au">tpot@linuxcare.com.au</a>></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"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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"><<a class="email" href="mailto:getnag@rediffmail.com">getnag@rediffmail.com</a>></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"><<a class="email" href="mailto:jtrostel@snapserver.com">jtrostel@snapserver.com</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2646 095">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646438">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646528">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646681">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646726">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2646852">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646902">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646989">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647036">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647268">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647424">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647499">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2647556">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2647562">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647677">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647829">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2650287">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2650336">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2650378">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2650414">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="id2646095"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26461 03"></a>3 <a class="indexterm" name="id26461 10"></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.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.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="surname">Potter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:tpot@linuxcare.com.au">tpot@linuxcare.com.au</a>></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"><<a class="email" href="mailto:tridge@samba.org">tridge@samba.org</a>></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"><<a class="email" href="mailto:getnag@rediffmail.com">getnag@rediffmail.com</a>></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"><<a class="email" href="mailto:jtrostel@snapserver.com">jtrostel@snapserver.com</a>></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"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></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"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></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#id2646109">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646452">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646541">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646694">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646740">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2646865">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646916">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647002">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647050">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647282">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647437">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647513">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2647570">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2647576">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647690">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647842">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2650301">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2650350">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2650391">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2650428">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="id2646109"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2646117"></a> 3 <a class="indexterm" name="id2646123"></a> 4 4 Integration of UNIX and Microsoft Windows NT through a unified logon has 5 5 been considered a “<span class="quote">holy grail</span>” in heterogeneous computing environments for 6 6 a long time. 7 7 </p><p> 8 <a class="indexterm" name="id2646126"></a>9 <a class="indexterm" name="id2646133"></a>10 8 <a class="indexterm" name="id2646140"></a> 11 9 <a class="indexterm" name="id2646147"></a> 10 <a class="indexterm" name="id2646154"></a> 11 <a class="indexterm" name="id2646161"></a> 12 12 There is one other facility without which UNIX and Microsoft Windows network 13 13 interoperability would suffer greatly. It is imperative that there be a … … 15 15 domain user and group ownerships with integrity. 16 16 </p><p> 17 <a class="indexterm" name="id2646162"></a> 18 <a class="indexterm" name="id2646171"></a> 19 <a class="indexterm" name="id2646178"></a> 17 <a class="indexterm" name="id2646176"></a> 20 18 <a class="indexterm" name="id2646185"></a> 19 <a class="indexterm" name="id2646192"></a> 20 <a class="indexterm" name="id2646198"></a> 21 21 <span class="emphasis"><em>winbind</em></span> is a component of the Samba suite of programs that 22 22 solves the unified logon problem. Winbind uses a UNIX implementation of Microsoft … … 28 28 Winbind provides three separate functions: 29 29 </p><div class="itemizedlist"><ul type="disc"><li><p> 30 <a class="indexterm" name="id26462 13"></a>31 <a class="indexterm" name="id26462 19"></a>30 <a class="indexterm" name="id2646226"></a> 31 <a class="indexterm" name="id2646233"></a> 32 32 Authentication of user credentials (via PAM). This makes it possible to 33 33 log onto a UNIX/Linux system using user and group accounts from a Windows 34 34 NT4 (including a Samba domain) or an Active Directory domain. 35 35 </p></li><li><p> 36 <a class="indexterm" name="id26462 34"></a>37 <a class="indexterm" name="id26462 41"></a>36 <a class="indexterm" name="id2646248"></a> 37 <a class="indexterm" name="id2646255"></a> 38 38 Identity resolution (via NSS). This is the default when winbind is not used. 39 39 </p></li><li><p> 40 <a class="indexterm" name="id2646253"></a> 41 <a class="indexterm" name="id2646260"></a> 42 <a class="indexterm" name="id2646266"></a> 40 <a class="indexterm" name="id2646267"></a> 43 41 <a class="indexterm" name="id2646273"></a> 44 42 <a class="indexterm" name="id2646280"></a> 45 43 <a class="indexterm" name="id2646286"></a> 46 44 <a class="indexterm" name="id2646293"></a> 45 <a class="indexterm" name="id2646300"></a> 46 <a class="indexterm" name="id2646307"></a> 47 47 Winbind maintains a database called winbind_idmap.tdb in which it stores 48 48 mappings between UNIX UIDs, GIDs, and NT SIDs. This mapping is used only … … 53 53 from the LDAP database. 54 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="id2646323"></a> 56 <a class="indexterm" name="id2646330"></a> 57 <a class="indexterm" name="id2646339"></a> 58 <a class="indexterm" name="id2646346"></a> 55 <a class="indexterm" name="id2646337"></a> 56 <a class="indexterm" name="id2646343"></a> 59 57 <a class="indexterm" name="id2646353"></a> 60 <a class="indexterm" name="id2646359"></a> 58 <a class="indexterm" name="id2646360"></a> 59 <a class="indexterm" name="id2646366"></a> 60 <a class="indexterm" name="id2646373"></a> 61 61 If <code class="literal">winbindd</code> is not running, smbd (which calls <code class="literal">winbindd</code>) will fall back to 62 62 using purely local information from <code class="filename">/etc/passwd</code> and <code class="filename">/etc/group</code> and no dynamic 63 63 mapping will be used. On an operating system that has been enabled with the NSS, 64 64 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="id26464 38"></a>Introduction</h2></div></div></div><p>It is well known that UNIX and Microsoft Windows NT have65 </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="id2646452"></a>Introduction</h2></div></div></div><p>It is well known that UNIX and Microsoft Windows NT have 66 66 different models for representing user and group information and 67 67 use different technologies for implementing them. This fact has 68 68 made it difficult to integrate the two systems in a satisfactory 69 69 manner.</p><p> 70 <a class="indexterm" name="id26464 54"></a>71 <a class="indexterm" name="id26464 61"></a>70 <a class="indexterm" name="id2646468"></a> 71 <a class="indexterm" name="id2646475"></a> 72 72 One common solution in use today has been to create 73 73 identically named user accounts on both the UNIX and Windows systems … … 82 82 </p></li><li><p>Password changing for Windows NT users. 83 83 </p></li></ul></div><p> 84 <a class="indexterm" name="id26465 05"></a>85 <a class="indexterm" name="id26465 12"></a>84 <a class="indexterm" name="id2646518"></a> 85 <a class="indexterm" name="id2646525"></a> 86 86 Ideally, a prospective solution to the unified logon problem 87 87 would satisfy all the above components without duplication of … … 90 90 groups on either system. The Winbind system provides a simple 91 91 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="id2646528"></a>What Winbind Provides</h2></div></div></div><p> 93 <a class="indexterm" name="id2646536"></a> 94 <a class="indexterm" name="id2646543"></a> 92 problem.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2646541"></a>What Winbind Provides</h2></div></div></div><p> 95 93 <a class="indexterm" name="id2646549"></a> 96 94 <a class="indexterm" name="id2646556"></a> 95 <a class="indexterm" name="id2646563"></a> 96 <a class="indexterm" name="id2646570"></a> 97 97 Winbind unifies UNIX and Windows NT account management by 98 98 allowing a UNIX box to become a full member of an NT domain. Once … … 101 101 to be used in much the same manner that NIS+ is used within 102 102 UNIX-only environments.</p><p> 103 <a class="indexterm" name="id2646576"></a>104 <a class="indexterm" name="id2646582"></a>105 103 <a class="indexterm" name="id2646589"></a> 106 104 <a class="indexterm" name="id2646596"></a> 105 <a class="indexterm" name="id2646603"></a> 106 <a class="indexterm" name="id2646610"></a> 107 107 The end result is that whenever a 108 108 program on the UNIX machine asks the operating system to look up … … 113 113 redirection to the NT domain controller is completely 114 114 transparent.</p><p> 115 <a class="indexterm" name="id26466 13"></a>116 <a class="indexterm" name="id26466 20"></a>115 <a class="indexterm" name="id2646627"></a> 116 <a class="indexterm" name="id2646634"></a> 117 117 Users on the UNIX machine can then use NT user and group 118 118 names as they would “<span class="quote">native</span>” UNIX names. They can chown files 119 119 so they are owned by NT domain users or even login to the 120 120 UNIX machine and run a UNIX X-Window session as a domain user.</p><p> 121 <a class="indexterm" name="id26466 38"></a>121 <a class="indexterm" name="id2646652"></a> 122 122 The only obvious indication that Winbind is being used is 123 123 that user and group names take the form <code class="constant">DOMAIN\user</code> and … … 125 125 that redirection to a domain controller is wanted for a particular 126 126 lookup and which trusted domain is being referenced.</p><p> 127 <a class="indexterm" name="id26466 60"></a>128 <a class="indexterm" name="id26466 67"></a>127 <a class="indexterm" name="id2646674"></a> 128 <a class="indexterm" name="id2646681"></a> 129 129 Additionally, Winbind provides an authentication service that hooks into the PAM system 130 130 to provide authentication via an NT domain to any PAM-enabled 131 131 applications. This capability solves the problem of synchronizing 132 132 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="id26466 81"></a>Target Uses</h3></div></div></div><p>134 <a class="indexterm" name="id2646 688"></a>133 location (on the domain controller).</p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2646694"></a>Target Uses</h3></div></div></div><p> 134 <a class="indexterm" name="id2646702"></a> 135 135 Winbind is targeted at organizations that have an 136 136 existing NT-based domain infrastructure into which they wish … … 140 140 simplifies the administrative overhead of deploying UNIX 141 141 workstations into an NT-based organization.</p><p> 142 <a class="indexterm" name="id26467 06"></a>143 <a class="indexterm" name="id26467 12"></a>142 <a class="indexterm" name="id2646719"></a> 143 <a class="indexterm" name="id2646726"></a> 144 144 Another interesting way in which we expect Winbind to 145 145 be used is as a central part of UNIX-based appliances. Appliances 146 146 that provide file and print services to Microsoft-based networks 147 147 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="id26467 26"></a>Handling of Foreign SIDs</h3></div></div></div><p>149 <a class="indexterm" name="id26467 34"></a>148 the appliance into the domain.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2646740"></a>Handling of Foreign SIDs</h3></div></div></div><p> 149 <a class="indexterm" name="id2646748"></a> 150 150 The term <span class="emphasis"><em>foreign SID</em></span> is often met with the reaction that it 151 151 is not relevant to a particular environment. The following documents an interchange … … 153 153 often expressed regarding the use of winbind. 154 154 </p><p> 155 <a class="indexterm" name="id26467 52"></a>155 <a class="indexterm" name="id2646766"></a> 156 156 Fact: Winbind is needed to handle users who use workstations that are NOT part 157 157 of the local domain. 158 158 </p><p> 159 <a class="indexterm" name="id26467 64"></a>159 <a class="indexterm" name="id2646778"></a> 160 160 Response: “<span class="quote">Why? I've used Samba with workstations that are not part of my domains 161 161 lots of times without using winbind. I thought winbind was for using Samba as a member server 162 162 in a domain controlled by another Samba/Windows PDC.</span>” 163 163 </p><p> 164 <a class="indexterm" name="id26467 81"></a>165 <a class="indexterm" name="id2646 788"></a>166 <a class="indexterm" name="id2646 794"></a>164 <a class="indexterm" name="id2646795"></a> 165 <a class="indexterm" name="id2646802"></a> 166 <a class="indexterm" name="id2646808"></a> 167 167 If the Samba server will be accessed from a domain other than the local Samba domain, or 168 168 if there will be access from machines that are not local domain members, winbind will … … 170 170 of the foreign user separate from users that are members of the Samba domain. 171 171 </p><p> 172 <a class="indexterm" name="id2646811"></a>173 <a class="indexterm" name="id2646817"></a>174 172 <a class="indexterm" name="id2646824"></a> 175 173 <a class="indexterm" name="id2646831"></a> 174 <a class="indexterm" name="id2646838"></a> 175 <a class="indexterm" name="id2646845"></a> 176 176 This means that winbind is eminently useful in cases where a single 177 177 Samba PDC on a local network is combined with both domain member and domain non-member workstations. … … 182 182 foreign (non-member of the domain) account will be treated as MACHINE\george because 183 183 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="id2646852"></a>How Winbind Works</h2></div></div></div><p> 185 <a class="indexterm" name="id2646859"></a> 186 <a class="indexterm" name="id2646866"></a> 184 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2646865"></a>How Winbind Works</h2></div></div></div><p> 187 185 <a class="indexterm" name="id2646873"></a> 188 186 <a class="indexterm" name="id2646880"></a> 187 <a class="indexterm" name="id2646887"></a> 188 <a class="indexterm" name="id2646893"></a> 189 189 The Winbind system is designed around a client/server 190 190 architecture. A long-running <code class="literal">winbindd</code> daemon … … 192 192 to arrive. These requests are generated by the NSS and PAM 193 193 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="id2646902"></a>Microsoft Remote Procedure Calls</h3></div></div></div><p> 195 <a class="indexterm" name="id2646910"></a> 196 <a class="indexterm" name="id2646920"></a> 197 <a class="indexterm" name="id2646926"></a> 194 in detail below.</p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2646916"></a>Microsoft Remote Procedure Calls</h3></div></div></div><p> 195 <a class="indexterm" name="id2646924"></a> 198 196 <a class="indexterm" name="id2646933"></a> 199 197 <a class="indexterm" name="id2646940"></a> 198 <a class="indexterm" name="id2646947"></a> 199 <a class="indexterm" name="id2646954"></a> 200 200 Over the last few years, efforts have been underway by various Samba Team members to implement various aspects of 201 201 the Microsoft Remote Procedure Call (MSRPC) system. This system is used for most network-related operations … … 204 204 Samba, it has also yielded a body of code that can be used for other purposes. 205 205 </p><p> 206 <a class="indexterm" name="id2646959"></a>207 <a class="indexterm" name="id2646966"></a>208 206 <a class="indexterm" name="id2646973"></a> 207 <a class="indexterm" name="id2646980"></a> 208 <a class="indexterm" name="id2646987"></a> 209 209 Winbind uses various MSRPC calls to enumerate domain users and groups and to obtain detailed information about 210 210 individual users or groups. Other MSRPC calls can be used to authenticate NT domain users and to change user 211 211 passwords. By directly querying a Windows PDC for user and group information, Winbind maps the NT account 212 212 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="id2646989"></a>Microsoft Active Directory Services</h3></div></div></div><p> 214 <a class="indexterm" name="id2646997"></a> 215 <a class="indexterm" name="id2647004"></a> 216 <a class="indexterm" name="id2647010"></a> 213 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647002"></a>Microsoft Active Directory Services</h3></div></div></div><p> 214 <a class="indexterm" name="id2647011"></a> 217 215 <a class="indexterm" name="id2647017"></a> 216 <a class="indexterm" name="id2647024"></a> 217 <a class="indexterm" name="id2647031"></a> 218 218 Since late 2001, Samba has gained the ability to interact with Microsoft Windows 2000 using its “<span class="quote">native 219 219 mode</span>” protocols rather than the NT4 RPC services. Using LDAP and Kerberos, a domain member running 220 220 Winbind can enumerate users and groups in exactly the same way as a Windows 200x client would, and in so doing 221 221 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="id2647036"></a>Name Service Switch</h3></div></div></div><p> 223 <a class="indexterm" name="id2647044"></a> 224 <a class="indexterm" name="id2647051"></a> 222 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647050"></a>Name Service Switch</h3></div></div></div><p> 225 223 <a class="indexterm" name="id2647058"></a> 226 224 <a class="indexterm" name="id2647064"></a> 225 <a class="indexterm" name="id2647072"></a> 226 <a class="indexterm" name="id2647078"></a> 227 227 The NSS is a feature that is present in many UNIX operating systems. It allows system 228 228 information such as hostnames, mail aliases, and user information … … 233 233 and then consult an NIS database for user information or a DNS server 234 234 for hostname information.</p><p> 235 <a class="indexterm" name="id2647083"></a> 236 <a class="indexterm" name="id2647090"></a> 237 <a class="indexterm" name="id2647096"></a> 235 <a class="indexterm" name="id2647097"></a> 238 236 <a class="indexterm" name="id2647103"></a> 239 237 <a class="indexterm" name="id2647110"></a> 238 <a class="indexterm" name="id2647117"></a> 239 <a class="indexterm" name="id2647124"></a> 240 240 The NSS application programming interface allows Winbind to present itself as a source of system 241 241 information when resolving UNIX usernames and groups. Winbind uses this interface and information obtained … … 244 244 groups in an NT domain plus any trusted domain as though they were local users and groups. 245 245 </p><p> 246 <a class="indexterm" name="id2647129"></a>247 <a class="indexterm" name="id2647136"></a>248 246 <a class="indexterm" name="id2647143"></a> 247 <a class="indexterm" name="id2647149"></a> 248 <a class="indexterm" name="id2647156"></a> 249 249 The primary control file for NSS is <code class="filename">/etc/nsswitch.conf</code>. When a UNIX application 250 250 makes a request to do a lookup, the C library looks in <code class="filename">/etc/nsswitch.conf</code> for a line that … … 255 255 passwd: files example 256 256 </pre><p> 257 <a class="indexterm" name="id2647178"></a>258 <a class="indexterm" name="id2647185"></a>259 257 <a class="indexterm" name="id2647192"></a> 258 <a class="indexterm" name="id2647199"></a> 259 <a class="indexterm" name="id2647206"></a> 260 260 then the C library will first load a module called <code class="filename">/lib/libnss_files.so</code> followed 261 261 by the module <code class="filename">/lib/libnss_example.so</code>. The C library will dynamically load each of these … … 263 263 is resolved, the C library returns the result to the application. 264 264 </p><p> 265 <a class="indexterm" name="id26472 20"></a>266 <a class="indexterm" name="id26472 26"></a>267 <a class="indexterm" name="id26472 33"></a>265 <a class="indexterm" name="id2647234"></a> 266 <a class="indexterm" name="id2647240"></a> 267 <a class="indexterm" name="id2647247"></a> 268 268 This NSS interface provides an easy way for Winbind to hook into the operating system. All that needs 269 269 to be done is to put <code class="filename">libnss_winbind.so</code> in <code class="filename">/lib/</code> then add 270 270 “<span class="quote">winbind</span>” into <code class="filename">/etc/nsswitch.conf</code> at the appropriate place. The C library 271 271 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="id2647268"></a>Pluggable Authentication Modules</h3></div></div></div><p> 273 <a class="indexterm" name="id2647277"></a> 274 <a class="indexterm" name="id2647283"></a> 272 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647282"></a>Pluggable Authentication Modules</h3></div></div></div><p> 275 273 <a class="indexterm" name="id2647290"></a> 276 274 <a class="indexterm" name="id2647297"></a> 275 <a class="indexterm" name="id2647304"></a> 276 <a class="indexterm" name="id2647311"></a> 277 277 PAMs provide a system for abstracting authentication and authorization technologies. With a PAM 278 278 module, it is possible to specify different authentication methods for different system applications without … … 281 281 local password file but only allow users resolved from an NIS database to log in over the network. 282 282 </p><p> 283 <a class="indexterm" name="id2647316"></a> 284 <a class="indexterm" name="id2647323"></a> 285 <a class="indexterm" name="id2647329"></a> 283 <a class="indexterm" name="id2647330"></a> 286 284 <a class="indexterm" name="id2647336"></a> 287 285 <a class="indexterm" name="id2647343"></a> 286 <a class="indexterm" name="id2647350"></a> 287 <a class="indexterm" name="id2647357"></a> 288 288 Winbind uses the authentication management and password management PAM interface to integrate Windows 289 289 NT users into a UNIX system. This allows Windows NT users to log in to a UNIX machine and be authenticated … … 291 291 on the PDC. 292 292 </p><p> 293 <a class="indexterm" name="id2647359"></a> 294 <a class="indexterm" name="id2647366"></a> 295 <a class="indexterm" name="id2647372"></a> 293 <a class="indexterm" name="id2647373"></a> 296 294 <a class="indexterm" name="id2647379"></a> 295 <a class="indexterm" name="id2647386"></a> 296 <a class="indexterm" name="id2647393"></a> 297 297 PAM is configured by providing control files in the directory <code class="filename">/etc/pam.d/</code> for 298 298 each of the services that require authentication. When an authentication request is made by an application, … … 302 302 and the PAM control files for relevant services are updated to allow authentication via Winbind. See the PAM 303 303 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="id2647424"></a>User and Group ID Allocation</h3></div></div></div><p> 305 <a class="indexterm" name="id2647432"></a> 306 <a class="indexterm" name="id2647438"></a> 304 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647437"></a>User and Group ID Allocation</h3></div></div></div><p> 307 305 <a class="indexterm" name="id2647445"></a> 306 <a class="indexterm" name="id2647452"></a> 307 <a class="indexterm" name="id2647458"></a> 308 308 When a user or group is created under Windows NT/200x, it is allocated a numerical relative identifier 309 309 (RID). This is slightly different from UNIX, which has a range of numbers that are used to identify users and … … 314 314 will have mapped all Windows NT users and groups to UNIX user IDs and group IDs. 315 315 </p><p> 316 <a class="indexterm" name="id2647467"></a>317 <a class="indexterm" name="id2647474"></a>318 316 <a class="indexterm" name="id2647481"></a> 319 317 <a class="indexterm" name="id2647488"></a> 318 <a class="indexterm" name="id2647494"></a> 319 <a class="indexterm" name="id2647501"></a> 320 320 The results of this mapping are stored persistently in an ID mapping database held in a tdb database. 321 321 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="id2647499"></a>Result Caching</h3></div></div></div><p> 323 <a class="indexterm" name="id2647507"></a> 324 <a class="indexterm" name="id2647514"></a> 322 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647513"></a>Result Caching</h3></div></div></div><p> 325 323 <a class="indexterm" name="id2647521"></a> 326 324 <a class="indexterm" name="id2647527"></a> 327 325 <a class="indexterm" name="id2647534"></a> 326 <a class="indexterm" name="id2647541"></a> 327 <a class="indexterm" name="id2647548"></a> 328 328 An active directory system can generate a lot of user and group name lookups. To reduce the network 329 329 cost of these lookups, Winbind uses a caching scheme based on the SAM sequence number supplied by NT domain … … 333 333 compared against the sequence number of the cached entry. If the sequence numbers do not match, then the 334 334 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="id26475 56"></a>Installation and Configuration</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647562"></a>Introduction</h3></div></div></div><p>336 <a class="indexterm" name="id26475 70"></a>337 <a class="indexterm" name="id26475 77"></a>338 <a class="indexterm" name="id26475 83"></a>335 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2647570"></a>Installation and Configuration</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647576"></a>Introduction</h3></div></div></div><p> 336 <a class="indexterm" name="id2647584"></a> 337 <a class="indexterm" name="id2647591"></a> 338 <a class="indexterm" name="id2647597"></a> 339 339 This section describes the procedures used to get Winbind up and running. Winbind is capable of providing 340 340 access and authentication control for Windows Domain users through an NT or Windows 200x PDC for regular … … 343 343 <span class="emphasis"><em>Why should I do this?</em></span> 344 344 </p><p> 345 <a class="indexterm" name="id2647610"></a> 346 <a class="indexterm" name="id2647616"></a> 347 <a class="indexterm" name="id2647624"></a> 345 <a class="indexterm" name="id2647623"></a> 348 346 <a class="indexterm" name="id2647630"></a> 347 <a class="indexterm" name="id2647637"></a> 348 <a class="indexterm" name="id2647644"></a> 349 349 This allows the Samba administrator to rely on the authentication mechanisms on the Windows NT/200x PDC 350 350 for the authentication of domain members. Windows NT/200x users no longer need to have separate accounts on … … 353 353 <span class="emphasis"><em>Who should be reading this document?</em></span> 354 354 </p><p> 355 <a class="indexterm" name="id26476 55"></a>356 <a class="indexterm" name="id26476 61"></a>355 <a class="indexterm" name="id2647669"></a> 356 <a class="indexterm" name="id2647675"></a> 357 357 This document is designed for system administrators. If you are implementing Samba on a file server and wish 358 358 to (fairly easily) integrate existing Windows NT/200x users from your PDC onto the Samba server, this document 359 359 is for you. 360 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647677"></a>Requirements</h3></div></div></div><p> 361 <a class="indexterm" name="id2647684"></a> 362 <a class="indexterm" name="id2647691"></a> 360 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647690"></a>Requirements</h3></div></div></div><p> 363 361 <a class="indexterm" name="id2647698"></a> 362 <a class="indexterm" name="id2647705"></a> 363 <a class="indexterm" name="id2647712"></a> 364 364 If you have a Samba configuration file that you are currently using, <span class="emphasis"><em>BACK IT UP!</em></span> 365 365 If your system already uses PAM, <span class="emphasis"><em>back up the <code class="filename">/etc/pam.d</code> directory 366 366 contents!</em></span> If you haven't already made a boot disk, <span class="emphasis"><em>MAKE ONE NOW!</em></span> 367 367 </p><p> 368 <a class="indexterm" name="id2647728"></a>369 <a class="indexterm" name="id2647734"></a>370 368 <a class="indexterm" name="id2647741"></a> 369 <a class="indexterm" name="id2647748"></a> 370 <a class="indexterm" name="id2647755"></a> 371 371 Messing with the PAM configuration files can make it nearly impossible to log in to your machine. That's 372 372 why you want to be able to boot back into your machine in single-user mode and restore your … … 374 374 way things are going. 375 375 </p><p> 376 <a class="indexterm" name="id26477 62"></a>377 <a class="indexterm" name="id26477 69"></a>376 <a class="indexterm" name="id2647776"></a> 377 <a class="indexterm" name="id2647783"></a> 378 378 The 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 379 379 instructions on downloading the source code. 380 380 </p><p> 381 <a class="indexterm" name="id2647788"></a>382 <a class="indexterm" name="id2647795"></a>383 381 <a class="indexterm" name="id2647802"></a> 384 382 <a class="indexterm" name="id2647809"></a> 383 <a class="indexterm" name="id2647816"></a> 384 <a class="indexterm" name="id2647822"></a> 385 385 To allow domain users the ability to access Samba shares and files, as well as potentially other services 386 386 provided by your Samba machine, PAM must be set up properly on your 387 387 machine. In order to compile the Winbind modules, you should have at least the PAM development libraries installed 388 388 on 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="id2647829"></a>Testing Things Out</h3></div></div></div><p> 390 <a class="indexterm" name="id2647836"></a> 391 <a class="indexterm" name="id2647843"></a> 389 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647842"></a>Testing Things Out</h3></div></div></div><p> 392 390 <a class="indexterm" name="id2647850"></a> 393 391 <a class="indexterm" name="id2647857"></a> 394 392 <a class="indexterm" name="id2647864"></a> 393 <a class="indexterm" name="id2647871"></a> 394 <a class="indexterm" name="id2647877"></a> 395 395 Before starting, it is probably best to kill off all the Samba-related daemons running on your server. 396 396 Kill 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, … … 400 400 better in Samba if the pam-devel package is also installed. This package includes the header files 401 401 needed to compile PAM-aware applications. 402 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2647916"></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="id2647930"></a> 404 <a class="indexterm" name="id2647937"></a> 405 <a class="indexterm" name="id2647943"></a> 402 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2647929"></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="id2647944"></a> 406 404 <a class="indexterm" name="id2647950"></a> 405 <a class="indexterm" name="id2647957"></a> 406 <a class="indexterm" name="id2647964"></a> 407 407 PAM is a standard component of most current generation UNIX/Linux systems. Unfortunately, few systems install 408 408 the <code class="filename">pam-devel</code> libraries that are needed to build PAM-enabled Samba. Additionally, Samba-3 … … 414 414 The libraries needed to run the <span class="application">winbindd</span> daemon through nsswitch need to be copied to their proper locations: 415 415 </p><p> 416 <a class="indexterm" name="id264 7990"></a>416 <a class="indexterm" name="id2648004"></a> 417 417 </p><pre class="screen"> 418 418 <code class="prompt">root# </code><strong class="userinput"><code>cp ../samba/source/nsswitch/libnss_winbind.so /lib</code></strong> … … 423 423 <code class="prompt">root# </code> <strong class="userinput"><code>ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2</code></strong> 424 424 </p><p>And, in the case of Sun Solaris: 425 <a class="indexterm" name="id26480 37"></a>425 <a class="indexterm" name="id2648051"></a> 426 426 </p><pre class="screen"> 427 427 <code class="prompt">root# </code><strong class="userinput"><code>ln -s /usr/lib/libnss_winbind.so /usr/lib/libnss_winbind.so.1</code></strong> … … 430 430 </pre><p> 431 431 </p><p> 432 <a class="indexterm" name="id2648 087"></a>432 <a class="indexterm" name="id2648100"></a> 433 433 As root, edit <code class="filename">/etc/nsswitch.conf</code> to allow user and group entries to be visible from the 434 434 <span class="application">winbindd</span> daemon. My <code class="filename">/etc/nsswitch.conf</code> file looked like this after editing: … … 438 438 group: files winbind 439 439 </pre><p> 440 <a class="indexterm" name="id2648123"></a> 441 <a class="indexterm" name="id2648130"></a> 442 <a class="indexterm" name="id2648136"></a> 440 <a class="indexterm" name="id2648137"></a> 443 441 <a class="indexterm" name="id2648143"></a> 444 442 <a class="indexterm" name="id2648150"></a> 443 <a class="indexterm" name="id2648157"></a> 444 <a class="indexterm" name="id2648164"></a> 445 445 The libraries needed by the <code class="literal">winbindd</code> daemon will be automatically 446 446 entered into the <code class="literal">ldconfig</code> cache the next time … … 454 454 this library is indeed recognized by the dynamic link loader. 455 455 </p><p> 456 <a class="indexterm" name="id2648214"></a>457 <a class="indexterm" name="id2648221"></a>458 456 <a class="indexterm" name="id2648228"></a> 459 457 <a class="indexterm" name="id2648235"></a> 460 <a class="indexterm" name="id2648242"></a> 458 <a class="indexterm" name="id2648241"></a> 459 <a class="indexterm" name="id2648248"></a> 460 <a class="indexterm" name="id2648255"></a> 461 461 The Sun Solaris dynamic link loader management tool is called <code class="literal">crle</code>. The 462 462 use of this tool is necessary to instruct the dynamic link loader to search directories that … … 481 481 From this it is apparent that the <code class="filename">/usr/local/lib</code> directory is included 482 482 in 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="id2648314"></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="id2648326"></a> 485 <a class="indexterm" name="id2648332"></a> 483 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2648327"></a>NSS Winbind on AIX</h4></div></div></div><p>(This section is only for those running AIX.)</p><p> 486 484 <a class="indexterm" name="id2648339"></a> 487 485 <a class="indexterm" name="id2648346"></a> 488 486 <a class="indexterm" name="id2648353"></a> 489 487 <a class="indexterm" name="id2648360"></a> 488 <a class="indexterm" name="id2648367"></a> 489 <a class="indexterm" name="id2648374"></a> 490 490 The Winbind AIX identification module gets built as <code class="filename">libnss_winbind.so</code> in the 491 491 nsswitch directory of the Samba source. This file can be copied to <code class="filename">/usr/lib/security</code>, … … 505 505 can 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 506 506 Management Guide: Operating System and Devices.</a> 507 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26484 27"></a>Configure smb.conf</h4></div></div></div><p>508 <a class="indexterm" name="id26484 35"></a>509 <a class="indexterm" name="id26484 42"></a>510 <a class="indexterm" name="id26484 48"></a>507 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2648441"></a>Configure smb.conf</h4></div></div></div><p> 508 <a class="indexterm" name="id2648449"></a> 509 <a class="indexterm" name="id2648455"></a> 510 <a class="indexterm" name="id2648462"></a> 511 511 Several parameters are needed in the <code class="filename">smb.conf</code> file to control the behavior of <span class="application">winbindd</span>. These 512 512 are 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="id2648522"></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="id2648538"></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="id2648554"></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="id2648570"></a><em class="parameter"><code>winbind enum users = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2648582"></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="id2648598"></a><em class="parameter"><code>template homedir = /home/winnt/%D/%U</code></em></td></tr><tr><td><a class="indexterm" name="id2648610"></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="id2648624"></a>Join the Samba Server to the PDC Domain</h4></div></div></div><p> 514 <a class="indexterm" name="id2648632"></a> 515 <a class="indexterm" name="id2648639"></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 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="id2648536"></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="id2648552"></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="id2648568"></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="id2648583"></a><em class="parameter"><code>winbind enum users = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2648595"></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="id2648612"></a><em class="parameter"><code>template homedir = /home/winnt/%D/%U</code></em></td></tr><tr><td><a class="indexterm" name="id2648624"></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="id2648638"></a>Join the Samba Server to the PDC Domain</h4></div></div></div><p> 516 514 <a class="indexterm" name="id2648646"></a> 515 <a class="indexterm" name="id2648653"></a> 516 <a class="indexterm" name="id2648660"></a> 517 517 All machines that will participate in domain security should be members of 518 518 the domain. This applies also to the PDC and all BDCs. 519 519 </p><p> 520 <a class="indexterm" name="id2648658"></a>521 <a class="indexterm" name="id2648665"></a>522 520 <a class="indexterm" name="id2648672"></a> 523 <a class="indexterm" name="id26486 83"></a>524 <a class="indexterm" name="id264868 9"></a>521 <a class="indexterm" name="id2648678"></a> 522 <a class="indexterm" name="id2648685"></a> 525 523 <a class="indexterm" name="id2648696"></a> 526 524 <a class="indexterm" name="id2648703"></a> 527 525 <a class="indexterm" name="id2648710"></a> 528 <a class="indexterm" name="id2648716"></a> 526 <a class="indexterm" name="id2648717"></a> 527 <a class="indexterm" name="id2648723"></a> 528 <a class="indexterm" name="id2648730"></a> 529 529 The process of joining a domain requires the use of the <code class="literal">net rpc join</code> 530 530 command. This process communicates with the domain controller it will register with … … 533 533 start Samba on a PDC so that it can join its own domain. 534 534 </p><p> 535 <a class="indexterm" name="id2648744"></a>536 <a class="indexterm" name="id2648751"></a>537 535 <a class="indexterm" name="id2648758"></a> 536 <a class="indexterm" name="id2648765"></a> 537 <a class="indexterm" name="id2648772"></a> 538 538 Enter the following command to make the Samba server join the domain, where <em class="replaceable"><code>PDC</code></em> is 539 539 the name of your PDC and <em class="replaceable"><code>Administrator</code></em> is a domain user who has administrative 540 540 privileges in the domain. 541 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="id2648779"></a>543 <a class="indexterm" name="id2648786"></a>544 542 <a class="indexterm" name="id2648793"></a> 545 543 <a class="indexterm" name="id2648800"></a> 544 <a class="indexterm" name="id2648806"></a> 545 <a class="indexterm" name="id2648813"></a> 546 546 Before attempting to join a machine to the domain, verify that Samba is running 547 547 on the target domain controller (usually PDC) and that it is capable of being reached via ports 548 548 137/udp, 135/tcp, 139/tcp, and 445/tcp (if Samba or Windows Server 2Kx). 549 549 </p></div><p> 550 <a class="indexterm" name="id26488 14"></a>550 <a class="indexterm" name="id2648828"></a> 551 551 The use of the <code class="literal">net rpc join</code> facility is shown here: 552 552 </p><pre class="screen"> … … 556 556 <em class="replaceable"><code>DOMAIN</code></em></span>” where <em class="replaceable"><code>DOMAIN</code></em> 557 557 is your domain name. 558 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2648862"></a>Starting and Testing the <code class="literal">winbindd</code> Daemon</h4></div></div></div><p> 559 <a class="indexterm" name="id2648876"></a> 560 <a class="indexterm" name="id2648883"></a> 558 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2648876"></a>Starting and Testing the <code class="literal">winbindd</code> Daemon</h4></div></div></div><p> 561 559 <a class="indexterm" name="id2648890"></a> 560 <a class="indexterm" name="id2648896"></a> 561 <a class="indexterm" name="id2648903"></a> 562 562 Eventually, you will want to modify your Samba startup script to automatically invoke the winbindd daemon when 563 563 the other parts of Samba start, but it is possible to test out just the Winbind portion first. To start up … … 568 568 Use the appropriate path to the location of the <code class="literal">winbindd</code> executable file. 569 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="id26489 29"></a>571 <a class="indexterm" name="id26489 36"></a>570 <a class="indexterm" name="id2648943"></a> 571 <a class="indexterm" name="id2648949"></a> 572 572 The command to start up Winbind services assumes that Samba has been installed in the 573 573 <code class="filename">/usr/local/samba</code> directory tree. You may need to search for the location of Samba files 574 574 if this is not the location of <code class="literal">winbindd</code> on your system. 575 575 </p></div><p> 576 <a class="indexterm" name="id26489 61"></a>577 <a class="indexterm" name="id26489 68"></a>576 <a class="indexterm" name="id2648975"></a> 577 <a class="indexterm" name="id2648982"></a> 578 578 I'm always paranoid and like to make sure the daemon is really running. 579 579 </p><pre class="screen"> … … 581 581 </pre><p> 582 582 </p><p> 583 <a class="indexterm" name="id264 8996"></a>583 <a class="indexterm" name="id2649010"></a> 584 584 This command should produce output like the following if the daemon is running. 585 585 </p><pre class="screen"> … … 587 587 </pre><p> 588 588 </p><p> 589 <a class="indexterm" name="id26490 14"></a>590 <a class="indexterm" name="id26490 20"></a>589 <a class="indexterm" name="id2649027"></a> 590 <a class="indexterm" name="id2649034"></a> 591 591 Now, for the real test, try to get some information about the users on your PDC: 592 592 </p><pre class="screen"> … … 606 606 “<span class="quote">\</span>”. 607 607 </p><p> 608 <a class="indexterm" name="id26490 78"></a>609 <a class="indexterm" name="id26490 85"></a>608 <a class="indexterm" name="id2649092"></a> 609 <a class="indexterm" name="id2649099"></a> 610 610 You can do the same sort of thing to get group information from the PDC: 611 611 </p><pre class="screen"> … … 621 621 CEO\Group Policy Creator Owners 622 622 </pre><p> 623 <a class="indexterm" name="id2649115"></a>624 <a class="indexterm" name="id2649122"></a>625 623 <a class="indexterm" name="id2649128"></a> 626 624 <a class="indexterm" name="id2649135"></a> 627 <a class="indexterm" name="id264914 1"></a>628 <a class="indexterm" name="id264914 8"></a>625 <a class="indexterm" name="id2649142"></a> 626 <a class="indexterm" name="id2649149"></a> 629 627 <a class="indexterm" name="id2649155"></a> 628 <a class="indexterm" name="id2649162"></a> 629 <a class="indexterm" name="id2649169"></a> 630 630 The function <code class="literal">getent</code> can now be used to get unified lists of both local and PDC users and 631 631 groups. Try the following command: … … 641 641 <code class="prompt">root# </code><strong class="userinput"><code>getent group</code></strong> 642 642 </pre><p> 643 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2649217"></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="id2649223"></a>Linux</h5></div></div></div><p> 644 <a class="indexterm" name="id2649231"></a> 645 <a class="indexterm" name="id2649238"></a> 643 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2649231"></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="id2649237"></a>Linux</h5></div></div></div><p> 646 644 <a class="indexterm" name="id2649244"></a> 647 645 <a class="indexterm" name="id2649251"></a> … … 649 647 <a class="indexterm" name="id2649265"></a> 650 648 <a class="indexterm" name="id2649272"></a> 651 <a class="indexterm" name="id2649278"></a> 652 <a class="indexterm" name="id2649283"></a> 649 <a class="indexterm" name="id2649279"></a> 650 <a class="indexterm" name="id2649286"></a> 651 <a class="indexterm" name="id2649291"></a> 652 <a class="indexterm" name="id2649297"></a> 653 653 The <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 654 654 task, you need to modify the startup scripts of your system. They are located at … … 711 711 return $RETVAL 712 712 } 713 </pre></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id26494 28"></a>Solaris</h5></div></div></div><p>713 </pre></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2649442"></a>Solaris</h5></div></div></div><p> 714 714 Winbind 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> 715 715 for details. 716 716 </p><p> 717 <a class="indexterm" name="id2649449"></a>718 <a class="indexterm" name="id2649456"></a>719 717 <a class="indexterm" name="id2649463"></a> 720 718 <a class="indexterm" name="id2649470"></a> 721 719 <a class="indexterm" name="id2649477"></a> 722 720 <a class="indexterm" name="id2649484"></a> 721 <a class="indexterm" name="id2649491"></a> 722 <a class="indexterm" name="id2649498"></a> 723 723 On Solaris, you need to modify the <code class="filename">/etc/init.d/samba.server</code> startup script. It 724 724 usually only starts smbd and nmbd but should now start winbindd, too. If you have Samba installed in … … 781 781 /usr/local/samba/sbin/winbindd -B 782 782 </pre><p> 783 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id26495 73"></a>Restarting</h5></div></div></div><p>784 <a class="indexterm" name="id26495 80"></a>785 <a class="indexterm" name="id2649 587"></a>783 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2649586"></a>Restarting</h5></div></div></div><p> 784 <a class="indexterm" name="id2649594"></a> 785 <a class="indexterm" name="id2649601"></a> 786 786 If you restart the <span class="application">smbd</span>, <span class="application">nmbd</span>, and <span class="application">winbindd</span> daemons at this point, you 787 787 should be able to connect to the Samba server as a domain member just as 788 788 if you were a local user. 789 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2649617"></a>Configure Winbind and PAM</h4></div></div></div><p> 790 <a class="indexterm" name="id2649625"></a> 791 <a class="indexterm" name="id2649632"></a> 789 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2649631"></a>Configure Winbind and PAM</h4></div></div></div><p> 792 790 <a class="indexterm" name="id2649639"></a> 793 791 <a class="indexterm" name="id2649646"></a> 792 <a class="indexterm" name="id2649653"></a> 793 <a class="indexterm" name="id2649659"></a> 794 794 If you have made it this far, you know that <code class="literal">winbindd</code> and Samba are working together. If you 795 795 want to use Winbind to provide authentication for other services, keep reading. The PAM configuration files … … 797 797 <code class="filename">/etc/pam.d</code> files? If not, do it now.) 798 798 </p><p> 799 <a class="indexterm" name="id2649673"></a>800 <a class="indexterm" name="id2649679"></a>801 799 <a class="indexterm" name="id2649686"></a> 802 800 <a class="indexterm" name="id2649693"></a> 803 801 <a class="indexterm" name="id2649700"></a> 804 802 <a class="indexterm" name="id2649707"></a> 803 <a class="indexterm" name="id2649714"></a> 804 <a class="indexterm" name="id2649721"></a> 805 805 You will need a PAM module to use winbindd with these other services. This module will be compiled in the 806 806 <code class="filename">../source/nsswitch</code> directory by invoking the command: … … 815 815 <code class="prompt">root# </code><strong class="userinput"><code>cp ../samba/source/nsswitch/pam_winbind.so /lib/security</code></strong> 816 816 </pre><p> 817 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id26497 84"></a>Linux/FreeBSD-Specific PAM Configuration</h5></div></div></div><p>818 <a class="indexterm" name="id2649 792"></a>817 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2649797"></a>Linux/FreeBSD-Specific PAM Configuration</h5></div></div></div><p> 818 <a class="indexterm" name="id2649806"></a> 819 819 The <code class="filename">/etc/pam.d/samba</code> file does not need to be changed. I just left this file as it was: 820 820 </p><pre class="programlisting"> … … 822 822 account required /lib/security/pam_stack.so service=system-auth 823 823 </pre><p> 824 <a class="indexterm" name="id2649816"></a>825 <a class="indexterm" name="id2649823"></a>826 824 <a class="indexterm" name="id2649830"></a> 827 825 <a class="indexterm" name="id2649837"></a> … … 831 829 <a class="indexterm" name="id2649864"></a> 832 830 <a class="indexterm" name="id2649871"></a> 831 <a class="indexterm" name="id2649878"></a> 832 <a class="indexterm" name="id2649885"></a> 833 833 The other services that I modified to allow the use of Winbind as an authentication service were the normal 834 834 login on the console (or a terminal session), telnet logins, and ftp service. In order to enable these … … 844 844 enable = yes 845 845 </pre><p> 846 <a class="indexterm" name="id2649924"></a>847 <a class="indexterm" name="id2649931"></a>848 846 <a class="indexterm" name="id2649938"></a> 847 <a class="indexterm" name="id2649945"></a> 848 <a class="indexterm" name="id2649952"></a> 849 849 For ftp services to work properly, you will also need to either have individual directories for the domain 850 850 users already present on the server or change the home directory template to a general directory for all 851 851 domain 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">template homedir</a>. 852 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="id26499 73"></a>853 <a class="indexterm" name="id2649987"></a> 854 854 The directory in <a class="link" href="smb.conf.5.html#TEMPLATEHOMEDIR">template homedir</a> is not created automatically! Use pam_mkhomedir or 855 855 pre-create the directories of users to make sure users can log in on UNIX with their own home directory. 856 856 </p></div><p> 857 <a class="indexterm" name="id26 49998"></a>858 <a class="indexterm" name="id26500 05"></a>859 <a class="indexterm" name="id26500 11"></a>857 <a class="indexterm" name="id2650012"></a> 858 <a class="indexterm" name="id2650018"></a> 859 <a class="indexterm" name="id2650025"></a> 860 860 The <code class="filename">/etc/pam.d/ftp</code> file can be changed to allow Winbind ftp access in a manner similar to 861 861 the samba file. My <code class="filename">/etc/pam.d/ftp</code> file was changed to look like this: … … 870 870 session required /lib/security/pam_stack.so service=system-auth 871 871 </pre><p> 872 <a class="indexterm" name="id26500 48"></a>872 <a class="indexterm" name="id2650061"></a> 873 873 The <code class="filename">/etc/pam.d/login</code> file can be changed in nearly the same way. It now looks like this: 874 874 </p><pre class="programlisting"> … … 884 884 session optional /lib/security/pam_console.so 885 885 </pre><p> 886 <a class="indexterm" name="id2650078"></a>887 <a class="indexterm" name="id2650085"></a>888 886 <a class="indexterm" name="id2650092"></a> 887 <a class="indexterm" name="id2650099"></a> 888 <a class="indexterm" name="id2650106"></a> 889 889 In this case, I added the </p><pre class="programlisting">auth sufficient /lib/security/pam_winbind.so</pre><p> lines 890 890 as before, but also added the </p><pre class="programlisting">required pam_securetty.so</pre><p> above it to disallow … … 892 892 use_first_pass</pre><p> line after the <code class="literal">winbind.so</code> line to get rid of annoying 893 893 double prompts for passwords. 894 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id26501 30"></a>Solaris-Specific Configuration</h5></div></div></div><p>895 <a class="indexterm" name="id26501 38"></a>896 <a class="indexterm" name="id26501 45"></a>894 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2650143"></a>Solaris-Specific Configuration</h5></div></div></div><p> 895 <a class="indexterm" name="id2650152"></a> 896 <a class="indexterm" name="id2650158"></a> 897 897 The <code class="filename">/etc/pam.conf</code> needs to be changed. I changed this file so my Domain 898 898 users can log on both locally as well as with telnet. The following are the changes … … 961 961 #other password optional /usr/lib/security/$ISA/pam_krb5.so.1 try_first_pass 962 962 </pre><p> 963 <a class="indexterm" name="id26502 57"></a>963 <a class="indexterm" name="id2650270"></a> 964 964 I also added a <em class="parameter"><code>try_first_pass</code></em> line after the <code class="filename">winbind.so</code> 965 965 line to get rid of annoying double prompts for passwords. … … 967 967 Now restart your Samba and try connecting through your application that you 968 968 configured 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="id2650287"></a>Conclusion</h2></div></div></div><p> 970 <a class="indexterm" name="id2650295"></a> 971 <a class="indexterm" name="id2650302"></a> 972 <a class="indexterm" name="id2650308"></a> 973 <a class="indexterm" name="id2650315"></a> 969 </p></div></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2650301"></a>Conclusion</h2></div></div></div><p> 970 <a class="indexterm" name="id2650309"></a> 971 <a class="indexterm" name="id2650316"></a> 974 972 <a class="indexterm" name="id2650322"></a> 973 <a class="indexterm" name="id2650329"></a> 974 <a class="indexterm" name="id2650335"></a> 975 975 The Winbind system, through the use of the NSS, PAMs, and appropriate Microsoft RPC calls, have allowed us to 976 976 provide seamless integration of Microsoft Windows NT domain users on a UNIX system. The result is a great 977 977 reduction 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="id26503 36"></a>Common Errors</h2></div></div></div><p>978 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2650350"></a>Common Errors</h2></div></div></div><p> 979 979 Winbind has a number of limitations in its current released version that we hope to overcome in future releases: 980 980 </p><div class="itemizedlist"><ul type="disc"><li><p> … … 990 990 Currently the Winbind PAM module does not take into account possible workstation and logon time 991 991 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="id26503 78"></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" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2650391"></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> 993 993 Do not under any circumstances run <code class="literal">nscd</code> on any system 994 994 on which <code class="literal">winbindd</code> is running. … … 997 997 even though NSSWITCH is correctly configured, it will not be possible to resolve 998 998 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="id26504 14"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p>“<span class="quote">999 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2650428"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p>“<span class="quote"> 1000 1000 My <code class="filename">smb.conf</code> file is correctly configured. I have specified <a class="link" href="smb.conf.5.html#IDMAPUID">idmap uid = 12000</a>, 1001 1001 and <a class="link" href="smb.conf.5.html#IDMAPGID">idmap gid = 3000-3500</a> and <code class="literal">winbind</code> is running.
Note:
See TracChangeset
for help on using the changeset viewer.