Changeset 231 for branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO
- Timestamp:
- May 27, 2009, 9:08:03 AM (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
r226 r231 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.7 3.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#id2603587">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2603782">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604132">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604255">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2604921">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2604954">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605320">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605656">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2605993">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606141">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2606488">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606494">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606541">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606611">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606755">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606970">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607127">Interaction with the Standard Samba “<span class="quote">create mask</span>” Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607496">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607569">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2607981">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2607993">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2608315">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#id2608361">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 03417"></a>3 <a class="indexterm" name="id26 03424"></a>4 <a class="indexterm" name="id26 03431"></a>5 <a class="indexterm" name="id26 03438"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><span class="contrib">drawing</span> <div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2610520">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2610715">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611066">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611189">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2611855">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2611888">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612262">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612600">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2612937">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613086">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2613432">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613439">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613486">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613556">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613700">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613915">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614073">Interaction with the Standard Samba create mask Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614442">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614515">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2614928">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2614939">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615262">File Operations Done as root with force user Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615308">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2610350"></a> 3 <a class="indexterm" name="id2610357"></a> 4 <a class="indexterm" name="id2610364"></a> 5 <a class="indexterm" name="id2610371"></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="id26 03454"></a>12 <a class="indexterm" name="id26 03461"></a>11 <a class="indexterm" name="id2610387"></a> 12 <a class="indexterm" name="id2610394"></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="id26 03476"></a>18 <a class="indexterm" name="id26 03482"></a>19 <a class="indexterm" name="id26 03489"></a>20 <a class="indexterm" name="id26 03496"></a>17 <a class="indexterm" name="id2610408"></a> 18 <a class="indexterm" name="id2610415"></a> 19 <a class="indexterm" name="id2610422"></a> 20 <a class="indexterm" name="id2610429"></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="id26 03509"></a>26 <a class="indexterm" name="id26 03516"></a>27 <a class="indexterm" name="id26 03525"></a>28 <a class="indexterm" name="id26 03532"></a>25 <a class="indexterm" name="id2610442"></a> 26 <a class="indexterm" name="id2610449"></a> 27 <a class="indexterm" name="id2610458"></a> 28 <a class="indexterm" name="id2610465"></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="id26 03549"></a>35 <a class="indexterm" name="id2610482"></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="id26 03564"></a>41 <a class="indexterm" name="id26 03571"></a>40 <a class="indexterm" name="id2610497"></a> 41 <a class="indexterm" name="id2610504"></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="id26 03587"></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="id2610520"></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="id26 03607"></a>51 <a class="indexterm" name="id2610540"></a> 52 52 <span class="emphasis"><em>UNIX File and Directory Permissions</em></span> 53 53 </p><p> 54 <a class="indexterm" name="id26 03624"></a>55 <a class="indexterm" name="id26 03631"></a>56 <a class="indexterm" name="id26 03638"></a>54 <a class="indexterm" name="id2610557"></a> 55 <a class="indexterm" name="id2610564"></a> 56 <a class="indexterm" name="id2610571"></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="id26 03675"></a>67 <a class="indexterm" name="id2610608"></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="id26 03707"></a>77 </p><p> 78 <a class="indexterm" name="id26 03719"></a>76 <a class="indexterm" name="id2610639"></a> 77 </p><p> 78 <a class="indexterm" name="id2610652"></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="id26 03737"></a>86 <a class="indexterm" name="id26 03746"></a>85 <a class="indexterm" name="id2610670"></a> 86 <a class="indexterm" name="id2610679"></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="id26 03762"></a>89 <a class="indexterm" name="id2610695"></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="id26 03782"></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="id2610715"></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="id26 03797"></a>MS Windows NTFS Comparison with UNIX File Systems</h3></div></div></div><p>103 <a class="indexterm" name="id26 03805"></a>104 <a class="indexterm" name="id26 03812"></a>105 <a class="indexterm" name="id26 03819"></a>106 <a class="indexterm" name="id26 03828"></a>102 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2610729"></a>MS Windows NTFS Comparison with UNIX File Systems</h3></div></div></div><p> 103 <a class="indexterm" name="id2610738"></a> 104 <a class="indexterm" name="id2610745"></a> 105 <a class="indexterm" name="id2610751"></a> 106 <a class="indexterm" name="id2610761"></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="id26 03863"></a>117 <a class="indexterm" name="id2610796"></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="id26 03908"></a>127 <a class="indexterm" name="id26 03915"></a>126 <a class="indexterm" name="id2610841"></a> 127 <a class="indexterm" name="id2610848"></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="id26 03979"></a>154 <a class="indexterm" name="id2610912"></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="id26 04007"></a>158 <a class="indexterm" name="id2610940"></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="id26 04043"></a>165 <a class="indexterm" name="id2610977"></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="id26 04073"></a>172 <a class="indexterm" name="id26 04082"></a>173 <a class="indexterm" name="id26 04092"></a>171 <a class="indexterm" name="id2611007"></a> 172 <a class="indexterm" name="id2611016"></a> 173 <a class="indexterm" name="id2611025"></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="id26 04132"></a>Managing Directories</h3></div></div></div><p>187 <a class="indexterm" name="id26 04140"></a>188 <a class="indexterm" name="id26 04147"></a>189 <a class="indexterm" name="id26 04154"></a>186 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2611066"></a>Managing Directories</h3></div></div></div><p> 187 <a class="indexterm" name="id2611074"></a> 188 <a class="indexterm" name="id2611081"></a> 189 <a class="indexterm" name="id2611087"></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="id26 04255"></a>File and Directory Access Control</h3></div></div></div><p>194 <a class="indexterm" name="id26 04263"></a>195 <a class="indexterm" name="id26 04273"></a>196 <a class="indexterm" name="id26 04279"></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="id2611189"></a>File and Directory Access Control</h3></div></div></div><p> 194 <a class="indexterm" name="id2611197"></a> 195 <a class="indexterm" name="id2611207"></a> 196 <a class="indexterm" name="id2611213"></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="id26 04421"></a>230 <a class="indexterm" name="id26 04428"></a>231 <a class="indexterm" name="id26 04435"></a>232 <a class="indexterm" name="id26 04441"></a>233 <a class="indexterm" name="id26 04448"></a>234 <a class="indexterm" name="id26 04455"></a>229 <a class="indexterm" name="id2611355"></a> 230 <a class="indexterm" name="id2611362"></a> 231 <a class="indexterm" name="id2611369"></a> 232 <a class="indexterm" name="id2611375"></a> 233 <a class="indexterm" name="id2611382"></a> 234 <a class="indexterm" name="id2611389"></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="id26 04485"></a>242 <a class="indexterm" name="id26 04491"></a>243 <a class="indexterm" name="id26 04498"></a>244 <a class="indexterm" name="id26 04505"></a>241 <a class="indexterm" name="id2611419"></a> 242 <a class="indexterm" name="id2611425"></a> 243 <a class="indexterm" name="id2611432"></a> 244 <a class="indexterm" name="id2611439"></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="id26 04518"></a>249 <a class="indexterm" name="id26 04524"></a>250 <a class="indexterm" name="id26 04531"></a>251 <a class="indexterm" name="id26 04538"></a>252 <a class="indexterm" name="id26 04545"></a>248 <a class="indexterm" name="id2611452"></a> 249 <a class="indexterm" name="id2611458"></a> 250 <a class="indexterm" name="id2611465"></a> 251 <a class="indexterm" name="id2611472"></a> 252 <a class="indexterm" name="id2611479"></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="id26 04564"></a>258 <a class="indexterm" name="id26 04570"></a>259 <a class="indexterm" name="id26 04577"></a>260 <a class="indexterm" name="id26 04584"></a>257 <a class="indexterm" name="id2611498"></a> 258 <a class="indexterm" name="id2611504"></a> 259 <a class="indexterm" name="id2611511"></a> 260 <a class="indexterm" name="id2611518"></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="id26 04605"></a>266 <a class="indexterm" name="id26 04612"></a>267 <a class="indexterm" name="id26 04619"></a>268 <a class="indexterm" name="id26 04626"></a>269 <a class="indexterm" name="id26 04635"></a>265 <a class="indexterm" name="id2611539"></a> 266 <a class="indexterm" name="id2611546"></a> 267 <a class="indexterm" name="id2611553"></a> 268 <a class="indexterm" name="id2611560"></a> 269 <a class="indexterm" name="id2611569"></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="id26 04667"></a>Protecting Directories and Files from Deletion</h4></div></div></div><p>280 <a class="indexterm" name="id26 04676"></a>281 <a class="indexterm" name="id26 04683"></a>282 <a class="indexterm" name="id26 04690"></a>283 <a class="indexterm" name="id26 04696"></a>279 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2611601"></a>Protecting Directories and Files from Deletion</h4></div></div></div><p> 280 <a class="indexterm" name="id2611610"></a> 281 <a class="indexterm" name="id2611617"></a> 282 <a class="indexterm" name="id2611624"></a> 283 <a class="indexterm" name="id2611630"></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="id26 04718"></a>292 <a class="indexterm" name="id26 04725"></a>293 <a class="indexterm" name="id26 04732"></a>291 <a class="indexterm" name="id2611652"></a> 292 <a class="indexterm" name="id2611659"></a> 293 <a class="indexterm" name="id2611666"></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="id26 04747"></a>299 <a class="indexterm" name="id26 04754"></a>300 <a class="indexterm" name="id26 04761"></a>301 <a class="indexterm" name="id26 04768"></a>298 <a class="indexterm" name="id2611681"></a> 299 <a class="indexterm" name="id2611688"></a> 300 <a class="indexterm" name="id2611695"></a> 301 <a class="indexterm" name="id2611702"></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="id26 04789"></a>309 <a class="indexterm" name="id26 04796"></a>310 <a class="indexterm" name="id26 04803"></a>311 <a class="indexterm" name="id26 04809"></a>308 <a class="indexterm" name="id2611723"></a> 309 <a class="indexterm" name="id2611730"></a> 310 <a class="indexterm" name="id2611737"></a> 311 <a class="indexterm" name="id2611744"></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="id26 04848"></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="id2611782"></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="id26 04921"></a>Share Definition Access Controls</h2></div></div></div><p>344 <a class="indexterm" name="id26 04929"></a>343 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2611855"></a>Share Definition Access Controls</h2></div></div></div><p> 344 <a class="indexterm" name="id2611863"></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="id26 04954"></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="id2611888"></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 350 <a class="link" href="smb.conf.5.html#FORCEUSER" >force user</a> and <a class="link" href="smb.conf.5.html#FORCEGROUP">force group</a> behavior will achieve this.350 <a class="link" href="smb.conf.5.html#FORCEUSER" target="_top">force user</a> and <a class="link" href="smb.conf.5.html#FORCEGROUP" target="_top">force group</a> behavior will achieve this. 351 351 In other situations it may be necessary to use a paranoia level of control to ensure that only particular 352 352 authorized persons will be able to access a share or its contents. Here the use of the 353 <a class="link" href="smb.conf.5.html#VALIDUSERS" >valid users</a> or the <a class="link" href="smb.conf.5.html#INVALIDUSERS">invalid users</a> parameter may be useful.353 <a class="link" href="smb.conf.5.html#VALIDUSERS" target="_top">valid users</a> or the <a class="link" href="smb.conf.5.html#INVALIDUSERS" target="_top">invalid users</a> parameter may be useful. 354 354 </p><p> 355 355 As always, it is highly advisable to use the easiest to maintain and the least ambiguous method for … … 359 359 </p><p> 360 360 <a class="link" href="AccessControls.html#ugbc" title="Table 16.2. User- and Group-Based Controls">User and Group Based Controls</a> enumerates these controls. 361 </p><div class="table"><a name="ugbc"></a><p class="title"><b>Table 16.2. User- and Group-Based Controls</b></p><div class="table-contents"><table summary="User- and Group-Based Controls" border="1"><colgroup><col align="left"><col align="justify"></colgroup><thead><tr><th align="center">Control Parameter</th><th align="center">Description, Action, Notes</th></tr></thead><tbody><tr><td align="left"><a class="link" href="smb.conf.5.html#ADMINUSERS" >admin users</a></td><td align="justify"><p>361 </p><div class="table"><a name="ugbc"></a><p class="title"><b>Table 16.2. User- and Group-Based Controls</b></p><div class="table-contents"><table summary="User- and Group-Based Controls" border="1"><colgroup><col align="left"><col align="justify"></colgroup><thead><tr><th align="center">Control Parameter</th><th align="center">Description, Action, Notes</th></tr></thead><tbody><tr><td align="left"><a class="link" href="smb.conf.5.html#ADMINUSERS" target="_top">admin users</a></td><td align="justify"><p> 362 362 List of users who will be granted administrative privileges on the share. 363 363 They will do all file operations as the superuser (root). 364 364 Users in this list will be able to do anything they like on the share, 365 365 irrespective of file permissions. 366 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#FORCEGROUP" >force group</a></td><td align="justify"><p>366 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#FORCEGROUP" target="_top">force group</a></td><td align="justify"><p> 367 367 Specifies a UNIX group name that will be assigned as the default primary group 368 368 for all users connecting to this service. 369 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#FORCEUSER" >force user</a></td><td align="justify"><p>369 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#FORCEUSER" target="_top">force user</a></td><td align="justify"><p> 370 370 Specifies a UNIX username that will be assigned as the default user for all users connecting to this service. 371 371 This is useful for sharing files. Incorrect use can cause security problems. 372 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#GUESTOK" >guest ok</a></td><td align="justify"><p>372 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#GUESTOK" target="_top">guest ok</a></td><td align="justify"><p> 373 373 If this parameter is set for a service, then no password is required to connect to the service. Privileges will be 374 374 those of the guest account. 375 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#INVALIDUSERS" >invalid users</a></td><td align="justify"><p>375 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#INVALIDUSERS" target="_top">invalid users</a></td><td align="justify"><p> 376 376 List of users that should not be allowed to login to this service. 377 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#ONLYUSER" >only user</a></td><td align="justify"><p>377 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#ONLYUSER" target="_top">only user</a></td><td align="justify"><p> 378 378 Controls whether connections with usernames not in the user list will be allowed. 379 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#READLIST" >read list</a></td><td align="justify"><p>379 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#READLIST" target="_top">read list</a></td><td align="justify"><p> 380 380 List of users that are given read-only access to a service. Users in this list 381 381 will not be given write access, no matter what the read-only option is set to. 382 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#USERNAME" >username</a></td><td align="justify"><p>382 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#USERNAME" target="_top">username</a></td><td align="justify"><p> 383 383 Refer to the <code class="filename">smb.conf</code> man page for more information; this is a complex and potentially misused parameter. 384 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#VALIDUSERS" >valid users</a></td><td align="justify"><p>384 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#VALIDUSERS" target="_top">valid users</a></td><td align="justify"><p> 385 385 List of users that should be allowed to login to this service. 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>386 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#WRITELIST" target="_top">write list</a></td><td align="justify"><p> 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="id26 05320"></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="id2612262"></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 … … 394 394 Refer to <a class="link" href="AccessControls.html#fdpbc" title="Table 16.3. File and Directory Permission-Based Controls">File and Directory Permission Based Controls</a> for information 395 395 regarding the parameters that may be used to set file and directory permission-based access controls. 396 </p><div class="table"><a name="fdpbc"></a><p class="title"><b>Table 16.3. File and Directory Permission-Based Controls</b></p><div class="table-contents"><table summary="File and Directory Permission-Based Controls" border="1"><colgroup><col align="left"><col align="justify"></colgroup><thead><tr><th align="center">Control Parameter</th><th align="center">Description, Action, Notes</th></tr></thead><tbody><tr><td align="left"><a class="link" href="smb.conf.5.html#CREATEMASK" >create mask</a></td><td align="justify"><p>396 </p><div class="table"><a name="fdpbc"></a><p class="title"><b>Table 16.3. File and Directory Permission-Based Controls</b></p><div class="table-contents"><table summary="File and Directory Permission-Based Controls" border="1"><colgroup><col align="left"><col align="justify"></colgroup><thead><tr><th align="center">Control Parameter</th><th align="center">Description, Action, Notes</th></tr></thead><tbody><tr><td align="left"><a class="link" href="smb.conf.5.html#CREATEMASK" target="_top">create mask</a></td><td align="justify"><p> 397 397 Refer to the <code class="filename">smb.conf</code> man page. 398 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#DIRECTORYMASK" >directory mask</a></td><td align="justify"><p>398 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#DIRECTORYMASK" target="_top">directory mask</a></td><td align="justify"><p> 399 399 The octal modes used when converting DOS modes to UNIX modes when creating UNIX directories. 400 400 See also directory security mask. 401 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#DOSFILEMODE" >dos filemode</a></td><td align="justify"><p>401 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#DOSFILEMODE" target="_top">dos filemode</a></td><td align="justify"><p> 402 402 Enabling this parameter allows a user who has write access to the file to modify the permissions on it. 403 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#FORCECREATEMODE" >force create mode</a></td><td align="justify"><p>403 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#FORCECREATEMODE" target="_top">force create mode</a></td><td align="justify"><p> 404 404 This parameter specifies a set of UNIX-mode bit permissions that will always be set on a file created by Samba. 405 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#FORCEDIRECTORYMODE" >force directory mode</a></td><td align="justify"><p>405 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#FORCEDIRECTORYMODE" target="_top">force directory mode</a></td><td align="justify"><p> 406 406 This parameter specifies a set of UNIX-mode bit permissions that will always be set on a directory created by Samba. 407 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#FORCEDIRECTORYSECURITYMODE" >force directory security mode</a></td><td align="justify"><p>407 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#FORCEDIRECTORYSECURITYMODE" target="_top">force directory security mode</a></td><td align="justify"><p> 408 408 Controls UNIX permission bits modified when a Windows NT client is manipulating UNIX permissions on a directory. 409 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#FORCESECURITYMODE" >force security mode</a></td><td align="justify"><p>409 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#FORCESECURITYMODE" target="_top">force security mode</a></td><td align="justify"><p> 410 410 Controls UNIX permission bits modified when a Windows NT client manipulates UNIX permissions. 411 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#HIDEUNREADABLE" >hide unreadable</a></td><td align="justify"><p>411 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#HIDEUNREADABLE" target="_top">hide unreadable</a></td><td align="justify"><p> 412 412 Prevents clients from seeing the existence of files that cannot be read. 413 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#HIDEUNWRITEABLEFILES" >hide unwriteable files</a></td><td align="justify"><p>413 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#HIDEUNWRITEABLEFILES" target="_top">hide unwriteable files</a></td><td align="justify"><p> 414 414 Prevents clients from seeing the existence of files that cannot be written to. Unwritable directories are shown as usual. 415 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#NTACLSUPPORT" >nt acl support</a></td><td align="justify"><p>415 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#NTACLSUPPORT" target="_top">nt acl support</a></td><td align="justify"><p> 416 416 This parameter controls whether smbd will attempt to map UNIX permissions into Windows NT ACLs. 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>417 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#SECURITYMASK" target="_top">security mask</a></td><td align="justify"><p> 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="id26 05656"></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="id2612600"></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 422 422 full implications of <code class="filename">smb.conf</code> file settings. 423 423 </p><div class="table"><a name="mcoc"></a><p class="title"><b>Table 16.4. Other Controls</b></p><div class="table-contents"><table summary="Other Controls" border="1"><colgroup><col align="justify"><col align="justify"></colgroup><thead><tr><th align="center">Control Parameter</th><th align="center">Description, Action, Notes</th></tr></thead><tbody><tr><td align="justify"> 424 <a class="link" href="smb.conf.5.html#CASESENSITIVE" >case sensitive</a>,425 <a class="link" href="smb.conf.5.html#DEFAULTCASE" >default case</a>,426 <a class="link" href="smb.conf.5.html#SHORTPRESERVECASE" >short preserve case</a>424 <a class="link" href="smb.conf.5.html#CASESENSITIVE" target="_top">case sensitive</a>, 425 <a class="link" href="smb.conf.5.html#DEFAULTCASE" target="_top">default case</a>, 426 <a class="link" href="smb.conf.5.html#SHORTPRESERVECASE" target="_top">short preserve case</a> 427 427 </td><td align="justify"><p> 428 428 This means that all file name lookup will be done in a case-sensitive manner. 429 429 Files will be created with the precise file name Samba received from the MS Windows client. 430 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#CSCPOLICY" >csc policy</a></td><td align="justify"><p>430 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#CSCPOLICY" target="_top">csc policy</a></td><td align="justify"><p> 431 431 Client-side caching policy parallels MS Windows client-side file caching capabilities. 432 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#DONTDESCEND" >dont descend</a></td><td align="justify"><p>432 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#DONTDESCEND" target="_top">dont descend</a></td><td align="justify"><p> 433 433 Allows specifying a comma-delimited list of directories that the server should always show as empty. 434 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#DOSFILETIMERESOLUTION" >dos filetime resolution</a></td><td align="justify"><p>434 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#DOSFILETIMERESOLUTION" target="_top">dos filetime resolution</a></td><td align="justify"><p> 435 435 This option is mainly used as a compatibility option for Visual C++ when used against Samba shares. 436 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#DOSFILETIMES" >dos filetimes</a></td><td align="justify"><p>436 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#DOSFILETIMES" target="_top">dos filetimes</a></td><td align="justify"><p> 437 437 DOS and Windows allow users to change file timestamps if they can write to the file. POSIX semantics prevent this. 438 438 This option allows DOS and Windows behavior. 439 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#FAKEOPLOCKS" >fake oplocks</a></td><td align="justify"><p>439 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#FAKEOPLOCKS" target="_top">fake oplocks</a></td><td align="justify"><p> 440 440 Oplocks are the way that SMB clients get permission from a server to locally cache file operations. If a server grants an 441 441 oplock, the client is free to assume that it is the only one accessing the file, and it will aggressively cache file data. 442 442 </p></td></tr><tr><td align="justify"> 443 <a class="link" href="smb.conf.5.html#HIDEDOTFILES" >hide dot files</a>,444 <a class="link" href="smb.conf.5.html#HIDEFILES" >hide files</a>,445 <a class="link" href="smb.conf.5.html#VETOFILES" >veto files</a>443 <a class="link" href="smb.conf.5.html#HIDEDOTFILES" target="_top">hide dot files</a>, 444 <a class="link" href="smb.conf.5.html#HIDEFILES" target="_top">hide files</a>, 445 <a class="link" href="smb.conf.5.html#VETOFILES" target="_top">veto files</a> 446 446 </td><td align="justify"><p> 447 447 Note: MS Windows Explorer allows override of files marked as hidden so they will still be visible. 448 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#READONLY" >read only</a></td><td align="justify"><p>448 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#READONLY" target="_top">read only</a></td><td align="justify"><p> 449 449 If this parameter is yes, then users of a service may not create or modify files in the service's directory. 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>450 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#VETOFILES" target="_top">veto files</a></td><td align="justify"><p> 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="id26 05993"></a>Access Controls on Shares</h2></div></div></div><p>453 <a class="indexterm" name="id26 06001"></a>454 <a class="indexterm" name="id26 06008"></a>455 <a class="indexterm" name="id26 06015"></a>456 <a class="indexterm" name="id26 06022"></a>457 <a class="indexterm" name="id26 06029"></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="id2612937"></a>Access Controls on Shares</h2></div></div></div><p> 453 <a class="indexterm" name="id2612945"></a> 454 <a class="indexterm" name="id2612952"></a> 455 <a class="indexterm" name="id2612959"></a> 456 <a class="indexterm" name="id2612966"></a> 457 <a class="indexterm" name="id2612973"></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="id26 06052"></a>465 <a class="indexterm" name="id26 06059"></a>466 <a class="indexterm" name="id26 06066"></a>464 <a class="indexterm" name="id2612997"></a> 465 <a class="indexterm" name="id2613004"></a> 466 <a class="indexterm" name="id2613010"></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="id26 06082"></a>473 <a class="indexterm" name="id26 06089"></a>474 <a class="indexterm" name="id26 06096"></a>475 <a class="indexterm" name="id26 06103"></a>472 <a class="indexterm" name="id2613026"></a> 473 <a class="indexterm" name="id2613033"></a> 474 <a class="indexterm" name="id2613040"></a> 475 <a class="indexterm" name="id2613047"></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="id26 06141"></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="id2613086"></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="id26 06153"></a>Windows NT4 Workstation/Server</h4></div></div></div><p>484 <a class="indexterm" name="id26 06161"></a>485 <a class="indexterm" name="id26 06168"></a>486 <a class="indexterm" name="id26 06175"></a>487 <a class="indexterm" name="id26 06182"></a>483 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2613097"></a>Windows NT4 Workstation/Server</h4></div></div></div><p> 484 <a class="indexterm" name="id2613105"></a> 485 <a class="indexterm" name="id2613112"></a> 486 <a class="indexterm" name="id2613119"></a> 487 <a class="indexterm" name="id2613126"></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="id26 06202"></a><p class="title"><b>Procedure 16.2. Instructions</b></p><ol type="1"><li><p>492 </p><div class="procedure"><a name="id2613147"></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="id26 06258"></a>Windows 200x/XP</h4></div></div></div><p>500 <a class="indexterm" name="id26 06266"></a>501 <a class="indexterm" name="id26 06273"></a>502 <a class="indexterm" name="id26 06280"></a>503 <a class="indexterm" name="id26 06286"></a>499 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2613202"></a>Windows 200x/XP</h4></div></div></div><p> 500 <a class="indexterm" name="id2613210"></a> 501 <a class="indexterm" name="id2613217"></a> 502 <a class="indexterm" name="id2613224"></a> 503 <a class="indexterm" name="id2613231"></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="id26 06319"></a>510 <a class="indexterm" name="id26 06326"></a>511 <a class="indexterm" name="id26 06333"></a>509 <a class="indexterm" name="id2613264"></a> 510 <a class="indexterm" name="id2613270"></a> 511 <a class="indexterm" name="id2613277"></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="id26 06357"></a><p class="title"><b>Procedure 16.3. Instructions</b></p><ol type="1"><li><p>515 </p><div class="procedure"><a name="id2613301"></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="id26 06438"></a>526 <a class="indexterm" name="id2613382"></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="id26 06488"></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="id2606494"></a>Managing UNIX Permissions Using NT Security Dialogs</h3></div></div></div><p>538 <a class="indexterm" name="id26 06503"></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="id2613432"></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="id2613439"></a>Managing UNIX Permissions Using NT Security Dialogs</h3></div></div></div><p> 538 <a class="indexterm" name="id2613447"></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="id26 06541"></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="id2613486"></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="id26 06611"></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="id2613556"></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: … … 572 572 Click on the <span class="guibutton">Close</span> button to remove this dialog. 573 573 </p><p> 574 If the parameter <a class="link" href="smb.conf.5.html#NTACLSUPPORT" >nt acl support</a> is set to <code class="constant">false</code>,574 If the parameter <a class="link" href="smb.conf.5.html#NTACLSUPPORT" target="_top">nt acl support</a> is set to <code class="constant">false</code>, 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="id26 06685"></a>577 <a class="indexterm" name="id2613630"></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="id26 06714"></a>586 <a class="indexterm" name="id26 06721"></a>587 <a class="indexterm" name="id26 06728"></a>585 <a class="indexterm" name="id2613659"></a> 586 <a class="indexterm" name="id2613666"></a> 587 <a class="indexterm" name="id2613673"></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="id26 06755"></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="id2613700"></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: … … 599 599 <em class="replaceable"><code>(Long name)</code></em> is the descriptive string identifying the user (normally found in the 600 600 GECOS field of the UNIX password database).</p><p> 601 If the parameter <a class="link" href="smb.conf.5.html#NTACLSUPPORT" >nt acl support</a> is set to <code class="constant">false</code>,601 If the parameter <a class="link" href="smb.conf.5.html#NTACLSUPPORT" target="_top">nt acl support</a> is set to <code class="constant">false</code>, 602 602 the file owner will be shown as the NT user <code class="constant">Everyone</code>, and the permissions will be 603 603 shown as NT <span class="emphasis"><em>Full Control</em></span>. 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="id26 06838"></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="id2613784"></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="id26 06932"></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="id2613878"></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="id26 06970"></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="id2613915"></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, … … 639 639 be taken into account. 640 640 </p><p> 641 If the parameter <a class="link" href="smb.conf.5.html#NTACLSUPPORT" >nt acl support</a> is set to <code class="constant">false</code>, any attempt to641 If the parameter <a class="link" href="smb.conf.5.html#NTACLSUPPORT" target="_top">nt acl support</a> is set to <code class="constant">false</code>, any attempt to 642 642 set security permissions will fail with an <span class="errorname">"Access Denied" </span> message. 643 643 </p><p> … … 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="id26 07127"></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="id2614073"></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 671 </p><div class="itemizedlist"><ul type="disc"><li><p><a class="link" href="smb.conf.5.html#SECURITYMASK" >security mask</a></p></li><li><p><a class="link" href="smb.conf.5.html#FORCESECURITYMODE">force security mode</a></p></li><li><p><a class="link" href="smb.conf.5.html#DIRECTORYSECURITYMASK">directory security mask</a></p></li><li><p><a class="link" href="smb.conf.5.html#FORCEDIRECTORYSECURITYMODE">force directory security mode</a></p></li></ul></div><p>671 </p><div class="itemizedlist"><ul type="disc"><li><p><a class="link" href="smb.conf.5.html#SECURITYMASK" target="_top">security mask</a></p></li><li><p><a class="link" href="smb.conf.5.html#FORCESECURITYMODE" target="_top">force security mode</a></p></li><li><p><a class="link" href="smb.conf.5.html#DIRECTORYSECURITYMASK" target="_top">directory security mask</a></p></li><li><p><a class="link" href="smb.conf.5.html#FORCEDIRECTORYSECURITYMODE" target="_top">force directory security mode</a></p></li></ul></div><p> 672 672 673 673 </p><p> … … 676 676 r/w/x triplet set, and then checks the changed permissions for a 677 677 file against the bits set in the 678 <a class="link" href="smb.conf.5.html#SECURITYMASK" >security mask</a> parameter. Any bits that678 <a class="link" href="smb.conf.5.html#SECURITYMASK" target="_top">security mask</a> parameter. Any bits that 679 679 were changed that are not set to <span class="emphasis"><em>1</em></span> in this parameter are left alone 680 680 in the file permissions.</p><p> 681 Essentially, zero bits in the <a class="link" href="smb.conf.5.html#SECURITYMASK" >security mask</a>681 Essentially, zero bits in the <a class="link" href="smb.conf.5.html#SECURITYMASK" target="_top">security mask</a> 682 682 may be treated as a set of bits the user is <span class="emphasis"><em>not</em></span> 683 683 allowed to change, and one bits are those the user is allowed to change. 684 684 </p><p> 685 685 If not explicitly set, this parameter defaults to the same value as 686 the <a class="link" href="smb.conf.5.html#CREATEMASK" >create mask</a> parameter. To allow a user to modify all the686 the <a class="link" href="smb.conf.5.html#CREATEMASK" target="_top">create mask</a> parameter. To allow a user to modify all the 687 687 user/group/world permissions on a file, set this parameter to 0777. 688 688 </p><p> 689 689 Next Samba checks the changed permissions for a file against the bits set in the 690 <a class="link" href="smb.conf.5.html#FORCESECURITYMODE" >force security mode</a> parameter. Any bits690 <a class="link" href="smb.conf.5.html#FORCESECURITYMODE" target="_top">force security mode</a> parameter. Any bits 691 691 that were changed that correspond to bits set to <span class="emphasis"><em>1</em></span> in this parameter 692 692 are forced to be set.</p><p> … … 695 695 has always set to be <span class="emphasis"><em>on</em></span>.</p><p> 696 696 If not explicitly set, this parameter defaults to the same value 697 as the <a class="link" href="smb.conf.5.html#FORCECREATEMODE" >force create mode</a> parameter.697 as the <a class="link" href="smb.conf.5.html#FORCECREATEMODE" target="_top">force create mode</a> parameter. 698 698 To allow a user to modify all the user/group/world permissions on a file 699 699 with no restrictions, set this parameter to 000. The 700 <a class="link" href="smb.conf.5.html#SECURITYMASK" >security mask</a> and <em class="parameter"><code>force700 <a class="link" href="smb.conf.5.html#SECURITYMASK" target="_top">security mask</a> and <em class="parameter"><code>force 701 701 security mode</code></em> parameters are applied to the change 702 702 request in that order.</p><p> … … 707 707 </code></em> parameter instead of <em class="parameter"><code>force security mode 708 708 </code></em>.</p><p> 709 The <a class="link" href="smb.conf.5.html#DIRECTORYSECURITYMASK" >directory security mask</a> parameter709 The <a class="link" href="smb.conf.5.html#DIRECTORYSECURITYMASK" target="_top">directory security mask</a> parameter 710 710 by default is set to the same value as the <em class="parameter"><code>directory mask 711 711 </code></em> parameter and the <em class="parameter"><code>force directory security 712 712 mode</code></em> parameter by default is set to the same value as 713 the <a class="link" href="smb.conf.5.html#FORCEDIRECTORYMODE" >force directory mode</a> parameter.713 the <a class="link" href="smb.conf.5.html#FORCEDIRECTORYMODE" target="_top">force directory mode</a> parameter. 714 714 In this way Samba enforces the permission restrictions that 715 715 an administrator can set on a Samba share, while still allowing users … … 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="id26 07447"></a><em class="parameter"><code>security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2607459"></a><em class="parameter"><code>force security mode = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2607470"></a><em class="parameter"><code>directory security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2607483"></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="id2607496"></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="id2614393"></a><em class="parameter"><code>security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2614404"></a><em class="parameter"><code>force security mode = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2614416"></a><em class="parameter"><code>directory security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2614428"></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="id2614442"></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="id26 07569"></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="id2614515"></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="id26 07627"></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="id2614573"></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="id26 07688"></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="id2614634"></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="id26 07957"></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="id2614903"></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="id26 07981"></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="id2614928"></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="id26 07993"></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="id2614939"></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="id26 08299"></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="id26 08315"></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 When you have a user in <a class="link" href="smb.conf.5.html#ADMINUSERS" >admin users</a>, Samba will always do file operations for893 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="id26 08361"></a>MS Word with Samba Changes Owner of File</h3></div></div></div><p>890 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2615246"></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="id2615262"></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 When you have a user in <a class="link" href="smb.conf.5.html#ADMINUSERS" target="_top">admin users</a>, Samba will always do file operations for 893 this user as <span class="emphasis"><em>root</em></span>, even if <a class="link" href="smb.conf.5.html#FORCEUSER" target="_top">force user</a> has been set. 894 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2615308"></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="id26 08430"></a><em class="parameter"><code>force create mode = 0660</code></em></td></tr><tr><td><a class="indexterm" name="id2608442"></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="id2615377"></a><em class="parameter"><code>force create mode = 0660</code></em></td></tr><tr><td><a class="indexterm" name="id2615389"></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
r226 r231 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.7 3.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#id2650612">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650639">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650782">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651186">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2651371">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651597">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651640">Limiting Logon Connections</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id265 0601"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2657588">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657615">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657758">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658163">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2658348">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658573">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658616">Limiting Logon Connections</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2657576"></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="id265 0612"></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="id2657588"></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="id265 0639"></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="id265 0652"></a>18 <a class="indexterm" name="id265 0659"></a>19 <a class="indexterm" name="id265 0666"></a>16 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2657615"></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="id2657628"></a> 18 <a class="indexterm" name="id2657635"></a> 19 <a class="indexterm" name="id2657642"></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="id265 0684"></a>24 <a class="indexterm" name="id265 0691"></a>23 <a class="indexterm" name="id2657660"></a> 24 <a class="indexterm" name="id2657667"></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="id265 0745"></a>31 <a class="indexterm" name="id265 0752"></a>32 <a class="indexterm" name="id265 0759"></a>30 <a class="indexterm" name="id2657721"></a> 31 <a class="indexterm" name="id2657728"></a> 32 <a class="indexterm" name="id2657735"></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="id265 0782"></a>Remote Desktop Management</h2></div></div></div><p>37 <a class="indexterm" name="id265 0790"></a>38 <a class="indexterm" name="id265 0798"></a>36 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2657758"></a>Remote Desktop Management</h2></div></div></div><p> 37 <a class="indexterm" name="id2657766"></a> 38 <a class="indexterm" name="id2657773"></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="id265 0811"></a>Remote Management from NoMachine.Com</h3></div></div></div><p>44 <a class="indexterm" name="id265 0819"></a>43 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2657787"></a>Remote Management from NoMachine.Com</h3></div></div></div><p> 44 <a class="indexterm" name="id2657795"></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="id265 0835"></a>49 <a class="indexterm" name="id2657811"></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="id265 0850"></a>55 <a class="indexterm" name="id265 0857"></a>56 <a class="indexterm" name="id265 0864"></a>57 <a class="indexterm" name="id265 0870"></a>54 <a class="indexterm" name="id2657826"></a> 55 <a class="indexterm" name="id2657833"></a> 56 <a class="indexterm" name="id2657839"></a> 57 <a class="indexterm" name="id2657846"></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="id265 0901"></a>66 <a class="indexterm" name="id265 0908"></a>67 <a class="indexterm" name="id265 0914"></a>65 <a class="indexterm" name="id2657877"></a> 66 <a class="indexterm" name="id2657884"></a> 67 <a class="indexterm" name="id2657891"></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="id265 0928"></a>72 <a class="indexterm" name="id2657904"></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="id265 0942"></a>78 <a class="indexterm" name="id265 0949"></a>79 <a class="indexterm" name="id265 0955"></a>80 <a class="indexterm" name="id265 0962"></a>77 <a class="indexterm" name="id2657918"></a> 78 <a class="indexterm" name="id2657925"></a> 79 <a class="indexterm" name="id2657932"></a> 80 <a class="indexterm" name="id2657938"></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="id265 0981"></a>89 <a class="indexterm" name="id265 0988"></a>90 <a class="indexterm" name="id265 0994"></a>91 <a class="indexterm" name="id265 1001"></a>88 <a class="indexterm" name="id2657957"></a> 89 <a class="indexterm" name="id2657964"></a> 90 <a class="indexterm" name="id2657971"></a> 91 <a class="indexterm" name="id2657978"></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="id265 1018"></a>98 <a class="indexterm" name="id265 1025"></a>99 <a class="indexterm" name="id265 1032"></a>97 <a class="indexterm" name="id2657995"></a> 98 <a class="indexterm" name="id2658002"></a> 99 <a class="indexterm" name="id2658008"></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="id265 1082"></a>121 <a class="indexterm" name="id2658058"></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="id265 1145"></a>144 <a class="indexterm" name="id265 1152"></a>145 <a class="indexterm" name="id265 1158"></a>146 <a class="indexterm" name="id265 1165"></a>147 <a class="indexterm" name="id265 1172"></a>143 <a class="indexterm" name="id2658122"></a> 144 <a class="indexterm" name="id2658128"></a> 145 <a class="indexterm" name="id2658135"></a> 146 <a class="indexterm" name="id2658142"></a> 147 <a class="indexterm" name="id2658148"></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="id265 1186"></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="id2658163"></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="id265 1202"></a>155 <a class="indexterm" name="id265 1209"></a>156 <a class="indexterm" name="id265 1216"></a>157 <a class="indexterm" name="id265 1222"></a>158 <a class="indexterm" name="id265 1229"></a>159 <a class="indexterm" name="id265 1236"></a>160 <a class="indexterm" name="id265 1243"></a>161 <a class="indexterm" name="id265 1249"></a>154 <a class="indexterm" name="id2658179"></a> 155 <a class="indexterm" name="id2658185"></a> 156 <a class="indexterm" name="id2658192"></a> 157 <a class="indexterm" name="id2658199"></a> 158 <a class="indexterm" name="id2658206"></a> 159 <a class="indexterm" name="id2658213"></a> 160 <a class="indexterm" name="id2658219"></a> 161 <a class="indexterm" name="id2658226"></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="id265 1262"></a>166 <a class="indexterm" name="id265 1268"></a>165 <a class="indexterm" name="id2658238"></a> 166 <a class="indexterm" name="id2658245"></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="id265 1283"></a>172 <a class="indexterm" name="id265 1290"></a>173 <a class="indexterm" name="id265 1297"></a>171 <a class="indexterm" name="id2658260"></a> 172 <a class="indexterm" name="id2658267"></a> 173 <a class="indexterm" name="id2658274"></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="id265 1371"></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="id2658348"></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="id265 1442"></a>198 <a class="indexterm" name="id2658418"></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="id265 1597"></a>Adding Printers without User Intervention</h3></div></div></div><p>278 <a class="indexterm" name="id265 1605"></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="id2658573"></a>Adding Printers without User Intervention</h3></div></div></div><p> 278 <a class="indexterm" name="id2658582"></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="id265 1640"></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="id2658616"></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
r226 r231 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.7 3.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#id2680538">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2680544">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2680585">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2680777">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680851">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680989">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2681227">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#id2681497">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2681717">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#id2682101">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682205">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682244">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682386">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682429">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682491">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2682496">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#id2682672">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2682756">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2682762">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682881">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682938">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683031">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683036">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683120">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683146">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683204">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683235">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#id2683293">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683362">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683382">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2683579">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#id2683686">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683724">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683821">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683865">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683913">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683938">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684004">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684056">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684080">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684101">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684192">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684288">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#id2685477">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2685695">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#id2685847">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2686026">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2686117">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.74.0"><link rel="home" 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#id2687532">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2687538">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2687580">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2687771">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2687846">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2687984">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688221">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688492">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2688712">Alternative: Starting smbd as a Daemon</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Portability.html">43. Portability</a></span></dt><dd><dl><dt><span class="sect1"><a href="Portability.html#id2689096">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689200">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689239">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689381">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689424">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689486">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2689491">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#id2689667">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2689751">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2689757">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689877">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689933">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690026">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690032">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690115">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690141">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690200">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690231">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#id2690288">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690358">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690378">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2690575">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#id2690682">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690720">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690817">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690862">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690909">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690934">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691000">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691053">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691076">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691097">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691189">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691284">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#id2692475">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2692694">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#id2692846">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2693025">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2693116">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
r226 r231 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.7 3.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#id2664377">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2664421">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2664519">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664690">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664860">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664908">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="id2664377"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26 64385"></a>3 <a class="indexterm" name="id26 64392"></a>4 <a class="indexterm" name="id26 64399"></a>5 <a class="indexterm" name="id26 64406"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2671368">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2671412">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2671510">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671681">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671850">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671899">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="id2671368"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2671376"></a> 3 <a class="indexterm" name="id2671383"></a> 4 <a class="indexterm" name="id2671390"></a> 5 <a class="indexterm" name="id2671396"></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="id26 64421"></a>Discussion of Backup Solutions</h2></div></div></div><p>13 <a class="indexterm" name="id26 64430"></a>14 <a class="indexterm" name="id26 64436"></a>12 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2671412"></a>Discussion of Backup Solutions</h2></div></div></div><p> 13 <a class="indexterm" name="id2671420"></a> 14 <a class="indexterm" name="id2671427"></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="id26 64452"></a>22 <a class="indexterm" name="id26 64459"></a>21 <a class="indexterm" name="id2671443"></a> 22 <a class="indexterm" name="id2671450"></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="id26 64474"></a>29 <a class="indexterm" name="id26 64481"></a>30 <a class="indexterm" name="id26 64488"></a>28 <a class="indexterm" name="id2671465"></a> 29 <a class="indexterm" name="id2671472"></a> 30 <a class="indexterm" name="id2671478"></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="id26 64519"></a>BackupPC</h3></div></div></div><p>42 <a class="indexterm" name="id26 64526"></a>43 <a class="indexterm" name="id26 64533"></a>44 <a class="indexterm" name="id26 64540"></a>41 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671510"></a>BackupPC</h3></div></div></div><p> 42 <a class="indexterm" name="id2671517"></a> 43 <a class="indexterm" name="id2671524"></a> 44 <a class="indexterm" name="id2671531"></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="id26 64565"></a>50 <a class="indexterm" name="id26 64572"></a>51 <a class="indexterm" name="id26 64578"></a>52 <a class="indexterm" name="id26 64585"></a>53 <a class="indexterm" name="id26 64592"></a>54 <a class="indexterm" name="id26 64598"></a>55 <a class="indexterm" name="id26 64605"></a>56 <a class="indexterm" name="id26 64611"></a>49 <a class="indexterm" name="id2671556"></a> 50 <a class="indexterm" name="id2671562"></a> 51 <a class="indexterm" name="id2671569"></a> 52 <a class="indexterm" name="id2671576"></a> 53 <a class="indexterm" name="id2671582"></a> 54 <a class="indexterm" name="id2671589"></a> 55 <a class="indexterm" name="id2671596"></a> 56 <a class="indexterm" name="id2671602"></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="id26 64643"></a>64 <a class="indexterm" name="id26 64650"></a>65 <a class="indexterm" name="id26 64657"></a>63 <a class="indexterm" name="id2671634"></a> 64 <a class="indexterm" name="id2671641"></a> 65 <a class="indexterm" name="id2671648"></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="id26 64677"></a>74 <a class="indexterm" name="id2671668"></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="id26 64690"></a>Rsync</h3></div></div></div><p>79 <a class="indexterm" name="id26 64698"></a>80 <a class="indexterm" name="id26 64705"></a>81 <a class="indexterm" name="id26 64711"></a>82 <a class="indexterm" name="id26 64718"></a>83 <a class="indexterm" name="id26 64725"></a>84 <a class="indexterm" name="id26 64732"></a>78 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671681"></a>Rsync</h3></div></div></div><p> 79 <a class="indexterm" name="id2671689"></a> 80 <a class="indexterm" name="id2671695"></a> 81 <a class="indexterm" name="id2671702"></a> 82 <a class="indexterm" name="id2671709"></a> 83 <a class="indexterm" name="id2671716"></a> 84 <a class="indexterm" name="id2671722"></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="id26 64771"></a>90 <a class="indexterm" name="id26 64778"></a>91 <a class="indexterm" name="id26 64785"></a>89 <a class="indexterm" name="id2671761"></a> 90 <a class="indexterm" name="id2671768"></a> 91 <a class="indexterm" name="id2671775"></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="id26 64860"></a>Amanda</h3></div></div></div><p>111 <a class="indexterm" name="id26 64868"></a>112 <a class="indexterm" name="id26 64874"></a>113 <a class="indexterm" name="id26 64881"></a>110 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671850"></a>Amanda</h3></div></div></div><p> 111 <a class="indexterm" name="id2671858"></a> 112 <a class="indexterm" name="id2671865"></a> 113 <a class="indexterm" name="id2671872"></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="id26 64908"></a>BOBS: Browseable Online Backup System</h3></div></div></div><p>123 <a class="indexterm" name="id26 64917"></a>122 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671899"></a>BOBS: Browseable Online Backup System</h3></div></div></div><p> 123 <a class="indexterm" name="id2671907"></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
r226 r231 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.7 3.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#id2625955">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2625960">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626020">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2626139">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2626254">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626501">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626746">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627122">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2627140">Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627190">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627425">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#id2627712">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627834">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#id2628025">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628203">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#id2628562">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628716">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628799">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628918">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2628958">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629622">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629829">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629986">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630173">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630341">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630611">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630695">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630915">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631254">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631489">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631502"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631571">“<span class="quote">Raw</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631679">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631958">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632241"><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#id2632578">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633006">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633129">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633224">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633241">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633303">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633375">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633480">Network Printing (Windows Clients and UNIX/Samba Print2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id26 33498">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633689">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633768">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633858">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633902">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633970">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633985">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#id26 34023">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634041">CUPS: A “<span class="quote">Magical Stone</span>”?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634084">PostScript Drivers with No Major Problems, Even in Kernel4 Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id26 34171">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634194"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634292">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#id2634572">CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634811">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634930">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634955">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635017">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635317">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635535">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635675">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635867">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636011">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636133">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636214">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636295">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#id2636530">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636704">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636876">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636981">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637113">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637337">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638296">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638439">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2638642">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638709">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638775">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638826">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638946">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639121">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639948">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640421">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640456">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640510">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640551">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640692">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640836">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640902">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640942">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640956">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641173">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641249">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641334">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641472">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2641520">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641816">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641927">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641933">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#id2642010">“<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#id2642048">“<span class="quote">cupsaddsmb</span>” Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642122">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642146">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642237">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642289">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642326">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#id2642362">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642397">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642430">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642471">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642496">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642543">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#id2642826">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642881"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642931">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#id2643029">Print Queue Called “<span class="quote">lp</span>” Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643098">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#id2643152">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="id2625955"></a>Introduction</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2625960"></a>Features and Benefits</h3></div></div></div><p>5 <a class="indexterm" name="id26 25968"></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.74.0"><link rel="home" 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="orgname">Danka Deutschland GmbH </span> <span class="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH <br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><span class="contrib">drawings</span> <div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2632918">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2632924">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632984">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633103">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633218">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633467">Simple smb.conf Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633711">More Complex CUPS smb.conf Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634088">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634106">Central Spooling vs. Peer-to-Peer Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634156">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634391">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634678">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634800">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#id2634992">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635170">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#id2635529">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635683">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635766">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635886">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2635925">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636590">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636798">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636955">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637143">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637311">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637580">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637665">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637884">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638458">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638471">mime.convs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638540">Raw Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638648">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638927">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639210">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639975">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640098">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640193">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640209">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640271">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640343">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640448">Network Printing (Windows Clients and UNIX/Samba Print 2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640466">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640656">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640735">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640826">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640870">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640938">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640953">Printer Drivers Running in Kernel Mode Cause Many 3 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640991">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641009">CUPS: A Magical Stone?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641052">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#id2641139">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641162">cupsaddsmb: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641260">Prepare Your smb.conf for cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641541">CUPS PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641780">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641899">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641924">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641987">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642286">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642504">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642644">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642836">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642980">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643102">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643183">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643264">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#id2643499">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2643673">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643845">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643950">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644082">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644307">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645265">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645408">The Printing *.tdb Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2645611">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645679">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645745">Losing *.tdb Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645796">Using tdbbackup</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645915">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646091">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646918">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647391">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647427">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647481">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647521">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647662">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647807">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647873">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647913">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647927">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648144">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648220">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648305">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648444">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2648491">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648787">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648899">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648904">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop">cupsaddsmb Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648981">cupsaddsmb or rpcclient addriver Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649019">cupsaddsmb Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649093">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649118">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649209">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649260">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649298">Can't Use cupsaddsmb on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649333">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649368">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649401">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649442">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649468">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649514">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#id2649797">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649853">cupsaddsmb Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649902">Permissions on /var/spool/samba/ Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650001">Print Queue Called lp Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650070">Location of Adobe PostScript Driver Files for cupsaddsmb</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2650124">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="id2632918"></a>Introduction</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632924"></a>Features and Benefits</h3></div></div></div><p> 5 <a class="indexterm" name="id2632932"></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="id26 26003"></a>14 <a class="indexterm" name="id2632967"></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="id26 26020"></a>Overview</h3></div></div></div><p>21 <a class="indexterm" name="id26 26028"></a>22 <a class="indexterm" name="id26 26035"></a>23 <a class="indexterm" name="id26 26042"></a>24 <a class="indexterm" name="id26 26049"></a>25 <a class="indexterm" name="id26 26056"></a>26 <a class="indexterm" name="id26 26065"></a>27 <a class="indexterm" name="id26 26075"></a>28 <a class="indexterm" name="id26 26081"></a>20 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632984"></a>Overview</h3></div></div></div><p> 21 <a class="indexterm" name="id2632991"></a> 22 <a class="indexterm" name="id2632998"></a> 23 <a class="indexterm" name="id2633005"></a> 24 <a class="indexterm" name="id2633012"></a> 25 <a class="indexterm" name="id2633019"></a> 26 <a class="indexterm" name="id2633029"></a> 27 <a class="indexterm" name="id2633038"></a> 28 <a class="indexterm" name="id2633045"></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="id26 26107"></a>37 <a class="indexterm" name="id26 26114"></a>36 <a class="indexterm" name="id2633071"></a> 37 <a class="indexterm" name="id2633078"></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="id26 26139"></a>Basic CUPS Support Configuration</h2></div></div></div><p>44 <a class="indexterm" name="id26 26147"></a>45 <a class="indexterm" name="id26 26154"></a>46 <a class="indexterm" name="id26 26160"></a>47 <a class="indexterm" name="id26 26167"></a>48 <a class="indexterm" name="id26 26174"></a>43 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2633103"></a>Basic CUPS Support Configuration</h2></div></div></div><p> 44 <a class="indexterm" name="id2633111"></a> 45 <a class="indexterm" name="id2633118"></a> 46 <a class="indexterm" name="id2633124"></a> 47 <a class="indexterm" name="id2633131"></a> 48 <a class="indexterm" name="id2633138"></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 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, the50 parameters: <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = cups</a> and <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = cups</a>. CUPS does not need a printcap file. However, the 51 51 <code class="filename">cupsd.conf</code> configuration file knows of two related directives that control how such a 52 52 file will be automatically created and maintained by CUPS for the convenience of third-party applications … … 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="id26 26254"></a>Linking smbd with libcups.so</h3></div></div></div><p>59 <a class="indexterm" name="id26 26262"></a>58 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633218"></a>Linking smbd with libcups.so</h3></div></div></div><p> 59 <a class="indexterm" name="id2633226"></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="id26 26288"></a>67 <a class="indexterm" name="id26 26294"></a>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>66 <a class="indexterm" name="id2633251"></a> 67 <a class="indexterm" name="id2633258"></a> 68 When Samba is compiled and linked with <code class="filename">libcups</code>, <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = cups</a> 69 69 uses the CUPS API to list printers, submit jobs, query queues, and so on. Otherwise it maps to the System V 70 70 commands with an additional <code class="literal">-oraw</code> option for printing. On a Linux … … 80 80 </pre><p> 81 81 </p><p> 82 <a class="indexterm" name="id26 26365"></a>82 <a class="indexterm" name="id2633329"></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 … … 86 86 This is an important point to remember! 87 87 </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> Should it be necessary, for any reason, to set your own print commands, you can do this by setting 88 <a class="link" href="smb.conf.5.html#PRINTING" >printing = sysv</a>. However, you will lose all the benefits88 <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv</a>. However, you will lose all the benefits 89 89 of tight CUPS-Samba integration. When you do this, you must manually configure the printing system commands 90 90 (most important: 91 <a class="link" href="smb.conf.5.html#PRINTCOMMAND" >print command</a>; other commands are92 <a class="link" href="smb.conf.5.html#LPPAUSECOMMAND" >lppause command</a>,93 <a class="link" href="smb.conf.5.html#LPRESUMECOMMAND" >lpresume command</a>,94 <a class="link" href="smb.conf.5.html#LPQCOMMAND" >lpq command</a>,95 <a class="link" href="smb.conf.5.html#LPRMCOMMAND" >lprm command</a>,96 <a class="link" href="smb.conf.5.html#QUEUEPAUSECOMMAND" >queuepause command</a> and97 <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="id26 26501"></a>Simple <code class="filename">smb.conf</code> Settings for CUPS</h3></div></div></div><p>91 <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a>; other commands are 92 <a class="link" href="smb.conf.5.html#LPPAUSECOMMAND" target="_top">lppause command</a>, 93 <a class="link" href="smb.conf.5.html#LPRESUMECOMMAND" target="_top">lpresume command</a>, 94 <a class="link" href="smb.conf.5.html#LPQCOMMAND" target="_top">lpq command</a>, 95 <a class="link" href="smb.conf.5.html#LPRMCOMMAND" target="_top">lprm command</a>, 96 <a class="link" href="smb.conf.5.html#QUEUEPAUSECOMMAND" target="_top">queuepause command</a> and 97 <a class="link" href="smb.conf.5.html#QUEUERESUMECOMMAND" target="_top">queue resume command</a>). 98 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2633467"></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="id26 26561"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626573"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2626584"></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="id2626605"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2626617"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2626628"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2626640"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626652"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2626663"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626675"></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="id26 26690"></a>104 <a class="indexterm" name="id26 26697"></a>105 <a class="indexterm" name="id26 26704"></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="id2633527"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633538"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2633550"></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="id2633571"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2633583"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2633594"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2633606"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633618"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2633629"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633641"></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="id2633656"></a> 104 <a class="indexterm" name="id2633663"></a> 105 <a class="indexterm" name="id2633670"></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="id26 26746"></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="id2633711"></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="id26 26803"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2626814"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2626826"></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="id2626847"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2626858"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2626870"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626882"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2626893"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2626905"></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="id2626926"></a><em class="parameter"><code>comment = A special printer with his own settings</code></em></td></tr><tr><td><a class="indexterm" name="id2626938"></a><em class="parameter"><code>path = /var/spool/samba-special</code></em></td></tr><tr><td><a class="indexterm" name="id2626950"></a><em class="parameter"><code>printing = sysv</code></em></td></tr><tr><td><a class="indexterm" name="id2626962"></a><em class="parameter"><code>printcap = lpstat</code></em></td></tr><tr><td><a class="indexterm" name="id2626973"></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="id2626990"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2627002"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2627013"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2627025"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2627037"></a><em class="parameter"><code>hosts deny = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2627048"></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="id2633768"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2633779"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2633791"></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="id2633812"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2633824"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2633835"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633847"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2633858"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633870"></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="id2633891"></a><em class="parameter"><code>comment = A special printer with his own settings</code></em></td></tr><tr><td><a class="indexterm" name="id2633904"></a><em class="parameter"><code>path = /var/spool/samba-special</code></em></td></tr><tr><td><a class="indexterm" name="id2633915"></a><em class="parameter"><code>printing = sysv</code></em></td></tr><tr><td><a class="indexterm" name="id2633927"></a><em class="parameter"><code>printcap = lpstat</code></em></td></tr><tr><td><a class="indexterm" name="id2633939"></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="id2633955"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2633967"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2633978"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633990"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2634002"></a><em class="parameter"><code>hosts deny = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2634014"></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 122 <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a> of this share is “<span class="quote">kurt</span>” (not the “<span class="quote">@ntadmins</span>” group),122 <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> of this share is “<span class="quote">kurt</span>” (not the “<span class="quote">@ntadmins</span>” group), 123 123 guest access is not allowed, the share isn't published to the Network Neighborhood (so you need to know it is there), and it 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 <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="id26 27122"></a>Advanced Configuration</h2></div></div></div><p>125 <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv</a> and <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = lpstat</a>. 126 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2634088"></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="id26 27140"></a>Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</h3></div></div></div><p>131 <a class="indexterm" name="id26 27151"></a>132 <a class="indexterm" name="id26 27158"></a>133 <a class="indexterm" name="id26 27167"></a>130 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634106"></a>Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</h3></div></div></div><p> 131 <a class="indexterm" name="id2634117"></a> 132 <a class="indexterm" name="id2634124"></a> 133 <a class="indexterm" name="id2634133"></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="id26 27190"></a>Raw Print Serving: Vendor Drivers on Windows Clients</h3></div></div></div><p>142 <a class="indexterm" name="id26 27199"></a>143 <a class="indexterm" name="id26 27205"></a>141 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634156"></a>Raw Print Serving: Vendor Drivers on Windows Clients</h3></div></div></div><p> 142 <a class="indexterm" name="id2634165"></a> 143 <a class="indexterm" name="id2634171"></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="id26 27227"></a>153 <a class="indexterm" name="id26 27234"></a>152 <a class="indexterm" name="id2634193"></a> 153 <a class="indexterm" name="id2634200"></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="id26 27258"></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="id26 27270"></a>167 </p><div class="procedure"><a name="id2634224"></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="id2634236"></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="id26 27297"></a>175 <a class="indexterm" name="id2634263"></a> 176 176 Do the same for the file <code class="filename">/etc/cups/mime.convs</code>. 177 177 </p></li><li><p> … … 182 182 </p></li><li><p> 183 183 In the <code class="filename">smb.conf</code> file <code class="constant">[printers]</code> section add 184 <a class="link" href="smb.conf.5.html#USECLIENTDRIVER" >use client driver = Yes</a>,184 <a class="link" href="smb.conf.5.html#USECLIENTDRIVER" target="_top">use client driver = Yes</a>, 185 185 and in the <code class="constant">[global]</code> section add 186 <a class="link" href="smb.conf.5.html#PRINTING" >printing = CUPS</a>, plus187 <a class="link" href="smb.conf.5.html#PRINTCAP" >printcap = CUPS</a>.186 <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = CUPS</a>, plus 187 <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = CUPS</a>. 188 188 </p></li><li><p> 189 189 Install the printer as if it is a local printer, that is, Printing to <code class="constant">LPT1:</code>. … … 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="id26 27425"></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="id2634391"></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="id26 27455"></a>203 <a class="indexterm" name="id2634421"></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="id26 27501"></a>215 <a class="indexterm" name="id26 27508"></a>216 <a class="indexterm" name="id26 27515"></a>214 <a class="indexterm" name="id2634467"></a> 215 <a class="indexterm" name="id2634474"></a> 216 <a class="indexterm" name="id2634481"></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="id26 27570"></a>229 <a class="indexterm" name="id26 27577"></a>228 <a class="indexterm" name="id2634536"></a> 229 <a class="indexterm" name="id2634543"></a> 230 230 In <code class="filename">/etc/cups/mime.convs</code>, have this line: 231 <a class="indexterm" name="id26 27590"></a>231 <a class="indexterm" name="id2634556"></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="id26 27654"></a>243 <a class="indexterm" name="id26 27661"></a>242 <a class="indexterm" name="id2634620"></a> 243 <a class="indexterm" name="id2634627"></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="id26 27712"></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="id2634678"></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="id26 27726"></a>261 <a class="indexterm" name="id2634692"></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="id26 27763"></a>270 <a class="indexterm" name="id2634729"></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="id26 27791"></a>275 <a class="indexterm" name="id2634757"></a> 276 276 The Imprints tool set method. 277 277 </p></li></ul></div><p> 278 <a class="indexterm" name="id26 27803"></a>278 <a class="indexterm" name="id2634769"></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="id26 27834"></a>Advanced Intelligent Printing with PostScript Driver Download</h2></div></div></div><p>285 <a class="indexterm" name="id26 27842"></a>284 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2634800"></a>Advanced Intelligent Printing with PostScript Driver Download</h2></div></div></div><p> 285 <a class="indexterm" name="id2634808"></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="id26 27866"></a><a class="indexterm" name="id2627873"></a><a class="indexterm" name="id2627880"></a><div class="itemizedlist"><ul type="disc"><li><p>Maybe your boss wants to get monthly statistics: Which290 </p><a class="indexterm" name="id2634832"></a><a class="indexterm" name="id2634839"></a><a class="indexterm" name="id2634846"></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="id26 27950"></a>307 <a class="indexterm" name="id26 27956"></a>306 <a class="indexterm" name="id2634915"></a> 307 <a class="indexterm" name="id2634922"></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="id26 27970"></a>313 <a class="indexterm" name="id26 27976"></a>314 <a class="indexterm" name="id26 27983"></a>315 <a class="indexterm" name="id26 27990"></a>316 <a class="indexterm" name="id26 27996"></a>312 <a class="indexterm" name="id2634935"></a> 313 <a class="indexterm" name="id2634942"></a> 314 <a class="indexterm" name="id2634949"></a> 315 <a class="indexterm" name="id2634956"></a> 316 <a class="indexterm" name="id2634963"></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="id26 28025"></a>Windows Drivers, GDI, and EMF</h3></div></div></div><p>324 <a class="indexterm" name="id26 28033"></a>325 <a class="indexterm" name="id26 28040"></a>326 <a class="indexterm" name="id26 28046"></a>327 <a class="indexterm" name="id26 28053"></a>323 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2634992"></a>Windows Drivers, GDI, and EMF</h3></div></div></div><p> 324 <a class="indexterm" name="id2635000"></a> 325 <a class="indexterm" name="id2635006"></a> 326 <a class="indexterm" name="id2635013"></a> 327 <a class="indexterm" name="id2635020"></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="id26 28089"></a>339 <a class="indexterm" name="id26 28095"></a>340 <a class="indexterm" name="id26 28102"></a>338 <a class="indexterm" name="id2635055"></a> 339 <a class="indexterm" name="id2635062"></a> 340 <a class="indexterm" name="id2635069"></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="id26 28112"></a> <a class="indexterm" name="id2628119"></a>343 <a class="indexterm" name="id26 28126"></a> <a class="indexterm" name="id2628132"></a> systems.342 for its (BSD-UNIX-based, did you know?) Mac OS X and Darwin operating <a class="indexterm" name="id2635079"></a> <a class="indexterm" name="id2635086"></a> 343 <a class="indexterm" name="id2635093"></a> <a class="indexterm" name="id2635099"></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="id26 28203"></a>UNIX Printfile Conversion and GUI Basics</h3></div></div></div><p>349 <a class="indexterm" name="id26 28211"></a>350 <a class="indexterm" name="id26 28218"></a>351 <a class="indexterm" name="id26 28225"></a>352 <a class="indexterm" name="id26 28232"></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="id2635170"></a>UNIX Printfile Conversion and GUI Basics</h3></div></div></div><p> 349 <a class="indexterm" name="id2635179"></a> 350 <a class="indexterm" name="id2635186"></a> 351 <a class="indexterm" name="id2635192"></a> 352 <a class="indexterm" name="id2635199"></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="id26 28282"></a>367 <a class="indexterm" name="id26 28289"></a>368 <a class="indexterm" name="id26 28295"></a>369 <a class="indexterm" name="id26 28302"></a>370 <a class="indexterm" name="id26 28309"></a>371 <a class="indexterm" name="id26 28316"></a>372 <a class="indexterm" name="id26 28323"></a>373 <a class="indexterm" name="id26 28329"></a>374 <a class="indexterm" name="id26 28336"></a>375 <a class="indexterm" name="id26 28343"></a>366 <a class="indexterm" name="id2635249"></a> 367 <a class="indexterm" name="id2635256"></a> 368 <a class="indexterm" name="id2635263"></a> 369 <a class="indexterm" name="id2635269"></a> 370 <a class="indexterm" name="id2635276"></a> 371 <a class="indexterm" name="id2635283"></a> 372 <a class="indexterm" name="id2635290"></a> 373 <a class="indexterm" name="id2635297"></a> 374 <a class="indexterm" name="id2635304"></a> 375 <a class="indexterm" name="id2635310"></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="id26 28393"></a>388 <a class="indexterm" name="id26 28400"></a>389 <a class="indexterm" name="id26 28409"></a>390 <a class="indexterm" name="id26 28418"></a>391 <a class="indexterm" name="id26 28425"></a>387 <a class="indexterm" name="id2635360"></a> 388 <a class="indexterm" name="id2635367"></a> 389 <a class="indexterm" name="id2635376"></a> 390 <a class="indexterm" name="id2635385"></a> 391 <a class="indexterm" name="id2635392"></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="id26 28454"></a>401 <a class="indexterm" name="id26 28461"></a>402 <a class="indexterm" name="id26 28467"></a>400 <a class="indexterm" name="id2635421"></a> 401 <a class="indexterm" name="id2635428"></a> 402 <a class="indexterm" name="id2635435"></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="id26 28546"></a>409 <a class="indexterm" name="id2635513"></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="id26 28562"></a>Ghostscript: The Software RIP for Non-PostScript Printers</h3></div></div></div><p>415 <a class="indexterm" name="id26 28570"></a>414 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635529"></a>Ghostscript: The Software RIP for Non-PostScript Printers</h3></div></div></div><p> 415 <a class="indexterm" name="id2635538"></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="id26 28641"></a>423 <a class="indexterm" name="id26 28648"></a>424 <a class="indexterm" name="id26 28654"></a>422 <a class="indexterm" name="id2635609"></a> 423 <a class="indexterm" name="id2635615"></a> 424 <a class="indexterm" name="id2635622"></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="id26 28693"></a> Therefore, ESP Ghostscript was developed as an enhancement over GNU Ghostscript,432 deficiencies. <a class="indexterm" name="id2635660"></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="id26 28716"></a>PostScript Printer Description (PPD) Specification</h3></div></div></div><p>437 <a class="indexterm" name="id26 28724"></a>438 <a class="indexterm" name="id26 28731"></a>439 <a class="indexterm" name="id26 28737"></a>436 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635683"></a>PostScript Printer Description (PPD) Specification</h3></div></div></div><p> 437 <a class="indexterm" name="id2635692"></a> 438 <a class="indexterm" name="id2635698"></a> 439 <a class="indexterm" name="id2635705"></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="id26 28777"></a>462 <a class="indexterm" name="id26 28784"></a>461 <a class="indexterm" name="id2635745"></a> 462 <a class="indexterm" name="id2635751"></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="id26 28799"></a>Using Windows-Formatted Vendor PPDs</h3></div></div></div><p>469 <a class="indexterm" name="id26 28807"></a>470 <a class="indexterm" name="id26 28814"></a>471 <a class="indexterm" name="id26 28820"></a>468 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635766"></a>Using Windows-Formatted Vendor PPDs</h3></div></div></div><p> 469 <a class="indexterm" name="id2635774"></a> 470 <a class="indexterm" name="id2635781"></a> 471 <a class="indexterm" name="id2635788"></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="id26 28860"></a>483 <a class="indexterm" name="id26 28867"></a>482 <a class="indexterm" name="id2635828"></a> 483 <a class="indexterm" name="id2635834"></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="id26 28892"></a>488 <a class="indexterm" name="id2635859"></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="id26 28918"></a>CUPS Also Uses PPDs for Non-PostScript Printers</h3></div></div></div><p>494 <a class="indexterm" name="id26 28927"></a>495 <a class="indexterm" name="id26 28934"></a>496 <a class="indexterm" name="id26 28940"></a>493 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2635886"></a>CUPS Also Uses PPDs for Non-PostScript Printers</h3></div></div></div><p> 494 <a class="indexterm" name="id2635894"></a> 495 <a class="indexterm" name="id2635901"></a> 496 <a class="indexterm" name="id2635908"></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="id26 28958"></a>The CUPS Filtering Architecture</h2></div></div></div><p>502 <a class="indexterm" name="id26 28966"></a>503 <a class="indexterm" name="id26 28973"></a>504 <a class="indexterm" name="id26 28980"></a>505 <a class="indexterm" name="id26 28986"></a>506 <a class="indexterm" name="id26 28993"></a>501 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2635925"></a>The CUPS Filtering Architecture</h2></div></div></div><p> 502 <a class="indexterm" name="id2635934"></a> 503 <a class="indexterm" name="id2635940"></a> 504 <a class="indexterm" name="id2635947"></a> 505 <a class="indexterm" name="id2635954"></a> 506 <a class="indexterm" name="id2635961"></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="id26 29023"></a>518 <a class="indexterm" name="id26 29030"></a>517 <a class="indexterm" name="id2635991"></a> 518 <a class="indexterm" name="id2635998"></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="id26 29050"></a>523 <a class="indexterm" name="id2636018"></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="id26 29067"></a>528 <a class="indexterm" name="id26 29074"></a>529 <a class="indexterm" name="id26 29081"></a>527 <a class="indexterm" name="id2636035"></a> 528 <a class="indexterm" name="id2636042"></a> 529 <a class="indexterm" name="id2636048"></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="id26 29112"></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="id2636079"></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="id26 29134"></a>540 <a class="indexterm" name="id26 29141"></a>541 <a class="indexterm" name="id26 29148"></a>542 <a class="indexterm" name="id26 29155"></a>539 <a class="indexterm" name="id2636102"></a> 540 <a class="indexterm" name="id2636109"></a> 541 <a class="indexterm" name="id2636115"></a> 542 <a class="indexterm" name="id2636122"></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="id26 29177"></a> broadest printer547 results and <a class="indexterm" name="id2636145"></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="id26 29194"></a>MIME Types and CUPS Filters</h3></div></div></div><p>551 <a class="indexterm" name="id26 29202"></a>552 <a class="indexterm" name="id26 29211"></a>553 <a class="indexterm" name="id26 29218"></a>554 <a class="indexterm" name="id26 29224"></a>555 <a class="indexterm" name="id26 29231"></a>550 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636161"></a>MIME Types and CUPS Filters</h3></div></div></div><p> 551 <a class="indexterm" name="id2636169"></a> 552 <a class="indexterm" name="id2636178"></a> 553 <a class="indexterm" name="id2636185"></a> 554 <a class="indexterm" name="id2636192"></a> 555 <a class="indexterm" name="id2636199"></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="id26 29268"></a>561 <a class="indexterm" name="id2636236"></a> 562 562 </p><pre class="programlisting"> 563 563 application/pdf pdf string(0,%PDF) 564 564 </pre><p> 565 <a class="indexterm" name="id26 29281"></a>566 <a class="indexterm" name="id26 29288"></a>565 <a class="indexterm" name="id2636249"></a> 566 <a class="indexterm" name="id2636256"></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="id26 29321"></a>574 <a class="indexterm" name="id26 29328"></a>575 <a class="indexterm" name="id26 29335"></a>576 <a class="indexterm" name="id26 29342"></a>577 <a class="indexterm" name="id26 29348"></a>578 <a class="indexterm" name="id26 29355"></a>573 <a class="indexterm" name="id2636289"></a> 574 <a class="indexterm" name="id2636296"></a> 575 <a class="indexterm" name="id2636303"></a> 576 <a class="indexterm" name="id2636310"></a> 577 <a class="indexterm" name="id2636316"></a> 578 <a class="indexterm" name="id2636323"></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="id26 29399"></a>584 <a class="indexterm" name="id2636368"></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="id26 29418"></a>589 <a class="indexterm" name="id26 29425"></a>590 <a class="indexterm" name="id26 29432"></a>591 <a class="indexterm" name="id26 29439"></a>592 <a class="indexterm" name="id26 29445"></a>588 <a class="indexterm" name="id2636386"></a> 589 <a class="indexterm" name="id2636394"></a> 590 <a class="indexterm" name="id2636400"></a> 591 <a class="indexterm" name="id2636407"></a> 592 <a class="indexterm" name="id2636414"></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="id26 29508"></a>604 <a class="indexterm" name="id26 29515"></a>605 <a class="indexterm" name="id26 29521"></a>606 <a class="indexterm" name="id26 29528"></a>607 <a class="indexterm" name="id26 29535"></a>608 <a class="indexterm" name="id26 29541"></a>609 <a class="indexterm" name="id26 29548"></a>610 <a class="indexterm" name="id26 29554"></a>611 <a class="indexterm" name="id26 29561"></a>612 <a class="indexterm" name="id26 29568"></a>613 <a class="indexterm" name="id26 29575"></a>614 <a class="indexterm" name="id26 29582"></a>615 <a class="indexterm" name="id26 29588"></a>616 <a class="indexterm" name="id26 29595"></a>617 <a class="indexterm" name="id26 29602"></a>618 <a class="indexterm" name="id26 29609"></a>603 <a class="indexterm" name="id2636476"></a> 604 <a class="indexterm" name="id2636483"></a> 605 <a class="indexterm" name="id2636490"></a> 606 <a class="indexterm" name="id2636496"></a> 607 <a class="indexterm" name="id2636503"></a> 608 <a class="indexterm" name="id2636510"></a> 609 <a class="indexterm" name="id2636516"></a> 610 <a class="indexterm" name="id2636523"></a> 611 <a class="indexterm" name="id2636530"></a> 612 <a class="indexterm" name="id2636536"></a> 613 <a class="indexterm" name="id2636543"></a> 614 <a class="indexterm" name="id2636550"></a> 615 <a class="indexterm" name="id2636557"></a> 616 <a class="indexterm" name="id2636564"></a> 617 <a class="indexterm" name="id2636571"></a> 618 <a class="indexterm" name="id2636577"></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="id26 29622"></a>MIME Type Conversion Rules</h3></div></div></div><p>624 <a class="indexterm" name="id26 29630"></a>625 <a class="indexterm" name="id26 29636"></a>626 <a class="indexterm" name="id26 29643"></a>627 <a class="indexterm" name="id26 29650"></a>628 <a class="indexterm" name="id26 29657"></a>623 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636590"></a>MIME Type Conversion Rules</h3></div></div></div><p> 624 <a class="indexterm" name="id2636598"></a> 625 <a class="indexterm" name="id2636605"></a> 626 <a class="indexterm" name="id2636612"></a> 627 <a class="indexterm" name="id2636619"></a> 628 <a class="indexterm" name="id2636626"></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="id26 29689"></a>639 <a class="indexterm" name="id2636658"></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="id26 29717"></a>645 <a class="indexterm" name="id2636686"></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="id26 29730"></a>649 <a class="indexterm" name="id2636699"></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="id26 29744"></a>652 <a class="indexterm" name="id2636713"></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="id26 29758"></a>658 <a class="indexterm" name="id26 29765"></a>659 <a class="indexterm" name="id26 29772"></a>660 <a class="indexterm" name="id26 29779"></a>657 <a class="indexterm" name="id2636727"></a> 658 <a class="indexterm" name="id2636734"></a> 659 <a class="indexterm" name="id2636741"></a> 660 <a class="indexterm" name="id2636748"></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="id26 29794"></a>665 <a class="indexterm" name="id2636762"></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="id26 29829"></a>Filtering Overview</h3></div></div></div><p>670 <a class="indexterm" name="id26 29837"></a>669 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636798"></a>Filtering Overview</h3></div></div></div><p> 670 <a class="indexterm" name="id2636806"></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="id26 29870"></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="id2636838"></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="id26 29986"></a>Prefilters</h3></div></div></div><p>696 <a class="indexterm" name="id26 29994"></a>697 <a class="indexterm" name="id263 0001"></a>698 <a class="indexterm" name="id263 0008"></a>695 </p></dd></dl></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2636955"></a>Prefilters</h3></div></div></div><p> 696 <a class="indexterm" name="id2636963"></a> 697 <a class="indexterm" name="id2636970"></a> 698 <a class="indexterm" name="id2636977"></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="id263 0021"></a>704 <a class="indexterm" name="id263 0028"></a>705 <a class="indexterm" name="id263 0034"></a>706 <a class="indexterm" name="id263 0041"></a>707 <a class="indexterm" name="id263 0048"></a>708 <a class="indexterm" name="id263 0054"></a>709 <a class="indexterm" name="id263 0061"></a>710 <a class="indexterm" name="id263 0068"></a>711 <a class="indexterm" name="id263 0075"></a>712 <a class="indexterm" name="id263 0082"></a>703 <a class="indexterm" name="id2636990"></a> 704 <a class="indexterm" name="id2636997"></a> 705 <a class="indexterm" name="id2637004"></a> 706 <a class="indexterm" name="id2637010"></a> 707 <a class="indexterm" name="id2637017"></a> 708 <a class="indexterm" name="id2637023"></a> 709 <a class="indexterm" name="id2637030"></a> 710 <a class="indexterm" name="id2637037"></a> 711 <a class="indexterm" name="id2637044"></a> 712 <a class="indexterm" name="id2637051"></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="id263 0173"></a>pstops</h3></div></div></div><p>723 <a class="indexterm" name="id263 0181"></a>724 <a class="indexterm" name="id263 0188"></a>725 <a class="indexterm" name="id263 0195"></a>726 <a class="indexterm" name="id263 0202"></a>727 <a class="indexterm" name="id263 0209"></a>728 <a class="indexterm" name="id263 0216"></a>729 <a class="indexterm" name="id263 0223"></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="id2637143"></a>pstops</h3></div></div></div><p> 723 <a class="indexterm" name="id2637151"></a> 724 <a class="indexterm" name="id2637158"></a> 725 <a class="indexterm" name="id2637165"></a> 726 <a class="indexterm" name="id2637172"></a> 727 <a class="indexterm" name="id2637179"></a> 728 <a class="indexterm" name="id2637186"></a> 729 <a class="indexterm" name="id2637193"></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="id263 0341"></a>pstoraster</h3></div></div></div><p>746 <a class="indexterm" name="id263 0349"></a>747 <a class="indexterm" name="id263 0356"></a>748 <a class="indexterm" name="id263 0362"></a>745 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2637311"></a>pstoraster</h3></div></div></div><p> 746 <a class="indexterm" name="id2637319"></a> 747 <a class="indexterm" name="id2637326"></a> 748 <a class="indexterm" name="id2637332"></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="id263 0439"></a>757 <a class="indexterm" name="id263 0446"></a>758 <a class="indexterm" name="id263 0452"></a>759 <a class="indexterm" name="id263 0459"></a>756 <a class="indexterm" name="id2637408"></a> 757 <a class="indexterm" name="id2637415"></a> 758 <a class="indexterm" name="id2637422"></a> 759 <a class="indexterm" name="id2637429"></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="id263 0532"></a>770 <a class="indexterm" name="id263 0539"></a>771 <a class="indexterm" name="id263 0546"></a>772 <a class="indexterm" name="id263 0552"></a>769 <a class="indexterm" name="id2637501"></a> 770 <a class="indexterm" name="id2637508"></a> 771 <a class="indexterm" name="id2637515"></a> 772 <a class="indexterm" name="id2637522"></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="id263 0611"></a>imagetops and imagetoraster</h3></div></div></div><p>784 <a class="indexterm" name="id263 0619"></a>785 <a class="indexterm" name="id263 0626"></a>783 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2637580"></a>imagetops and imagetoraster</h3></div></div></div><p> 784 <a class="indexterm" name="id2637588"></a> 785 <a class="indexterm" name="id2637595"></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="id263 0695"></a>rasterto [printers specific]</h3></div></div></div><p>793 <a class="indexterm" name="id263 0704"></a>794 <a class="indexterm" name="id263 0710"></a>795 <a class="indexterm" name="id263 0717"></a>796 <a class="indexterm" name="id263 0724"></a>797 <a class="indexterm" name="id263 0731"></a>798 <a class="indexterm" name="id263 0738"></a>799 <a class="indexterm" name="id263 0745"></a>800 <a class="indexterm" name="id263 0752"></a>801 <a class="indexterm" name="id263 0759"></a>802 <a class="indexterm" name="id263 0766"></a>803 <a class="indexterm" name="id263 0772"></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="id2637665"></a>rasterto [printers specific]</h3></div></div></div><p> 793 <a class="indexterm" name="id2637673"></a> 794 <a class="indexterm" name="id2637680"></a> 795 <a class="indexterm" name="id2637687"></a> 796 <a class="indexterm" name="id2637694"></a> 797 <a class="indexterm" name="id2637701"></a> 798 <a class="indexterm" name="id2637708"></a> 799 <a class="indexterm" name="id2637714"></a> 800 <a class="indexterm" name="id2637721"></a> 801 <a class="indexterm" name="id2637728"></a> 802 <a class="indexterm" name="id2637735"></a> 803 <a class="indexterm" name="id2637742"></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="id263 0915"></a>CUPS Backends</h3></div></div></div><p>815 <a class="indexterm" name="id263 0923"></a>816 <a class="indexterm" name="id263 0930"></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="id2637884"></a>CUPS Backends</h3></div></div></div><p> 815 <a class="indexterm" name="id2637892"></a> 816 <a class="indexterm" name="id2637899"></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="id263 1210"></a>891 <a class="indexterm" name="id263 1217"></a>890 <a class="indexterm" name="id2638179"></a> 891 <a class="indexterm" name="id2638185"></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="id263 1254"></a>The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></h3></div></div></div><p>900 <a class="indexterm" name="id263 1266"></a>901 <a class="indexterm" name="id263 1273"></a>902 <a class="indexterm" name="id263 1280"></a>903 <a class="indexterm" name="id263 1287"></a>904 <a class="indexterm" name="id263 1294"></a>899 </pre></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638223"></a>The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></h3></div></div></div><p> 900 <a class="indexterm" name="id2638235"></a> 901 <a class="indexterm" name="id2638242"></a> 902 <a class="indexterm" name="id2638249"></a> 903 <a class="indexterm" name="id2638256"></a> 904 <a class="indexterm" name="id2638263"></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="id263 1360"></a>929 <a class="indexterm" name="id263 1367"></a>930 <a class="indexterm" name="id263 1374"></a>931 <a class="indexterm" name="id263 1381"></a>932 <a class="indexterm" name="id263 1388"></a>933 <a class="indexterm" name="id263 1395"></a>934 <a class="indexterm" name="id263 1402"></a>935 <a class="indexterm" name="id263 1408"></a>936 <a class="indexterm" name="id263 1415"></a>937 <a class="indexterm" name="id263 1422"></a>938 <a class="indexterm" name="id263 1429"></a>928 <a class="indexterm" name="id2638329"></a> 929 <a class="indexterm" name="id2638336"></a> 930 <a class="indexterm" name="id2638343"></a> 931 <a class="indexterm" name="id2638350"></a> 932 <a class="indexterm" name="id2638357"></a> 933 <a class="indexterm" name="id2638364"></a> 934 <a class="indexterm" name="id2638370"></a> 935 <a class="indexterm" name="id2638377"></a> 936 <a class="indexterm" name="id2638384"></a> 937 <a class="indexterm" name="id2638391"></a> 938 <a class="indexterm" name="id2638398"></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="id263 1489"></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="id2638458"></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="id263 1502"></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="id2638471"></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="id263 1534"></a>975 <a class="indexterm" name="id263 1540"></a>974 <a class="indexterm" name="id2638502"></a> 975 <a class="indexterm" name="id2638509"></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="id263 1571"></a>“<span class="quote">Raw</span>” Printing</h3></div></div></div><p>984 <a class="indexterm" name="id263 1581"></a>985 <a class="indexterm" name="id263 1587"></a>986 <a class="indexterm" name="id263 1594"></a>983 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638540"></a>“<span class="quote">Raw</span>” Printing</h3></div></div></div><p> 984 <a class="indexterm" name="id2638549"></a> 985 <a class="indexterm" name="id2638556"></a> 986 <a class="indexterm" name="id2638563"></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="id263 1679"></a>application/octet-stream Printing</h3></div></div></div><p>1005 <a class="indexterm" name="id263 1687"></a>1006 <a class="indexterm" name="id263 1694"></a>1004 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638648"></a>application/octet-stream Printing</h3></div></div></div><p> 1005 <a class="indexterm" name="id2638656"></a> 1006 <a class="indexterm" name="id2638663"></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="id263 1760"></a>1019 <a class="indexterm" name="id2638728"></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="id263 1781"></a>1023 <a class="indexterm" name="id2638750"></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="id263 1816"></a>1034 <a class="indexterm" name="id2638785"></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="id263 1883"></a>1046 <a class="indexterm" name="id263 1890"></a>1047 <a class="indexterm" name="id263 1897"></a>1048 <a class="indexterm" name="id263 1904"></a>1045 <a class="indexterm" name="id2638852"></a> 1046 <a class="indexterm" name="id2638859"></a> 1047 <a class="indexterm" name="id2638865"></a> 1048 <a class="indexterm" name="id2638872"></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="id263 1958"></a>PostScript Printer Descriptions for Non-PostScript Printers</h3></div></div></div><p>1061 <a class="indexterm" name="id263 1966"></a>1062 <a class="indexterm" name="id263 1973"></a>1063 <a class="indexterm" name="id263 1980"></a>1064 <a class="indexterm" name="id263 1987"></a>1065 <a class="indexterm" name="id263 1993"></a>1066 <a class="indexterm" name="id263 2000"></a>1060 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2638927"></a>PostScript Printer Descriptions for Non-PostScript Printers</h3></div></div></div><p> 1061 <a class="indexterm" name="id2638935"></a> 1062 <a class="indexterm" name="id2638942"></a> 1063 <a class="indexterm" name="id2638949"></a> 1064 <a class="indexterm" name="id2638956"></a> 1065 <a class="indexterm" name="id2638962"></a> 1066 <a class="indexterm" name="id2638969"></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="id263 2023"></a>1079 <a class="indexterm" name="id2638991"></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="id263 2241"></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="id263 2255"></a>1099 <a class="indexterm" name="id263 2262"></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="id2639210"></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="id2639224"></a> 1099 <a class="indexterm" name="id2639231"></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="id263 2276"></a>1102 <a class="indexterm" name="id2639245"></a> 1103 1103 First is the <em class="parameter"><code>pstoraster</code></em> step. It uses the special CUPS 1104 <a class="indexterm" name="id263 2290"></a>1104 <a class="indexterm" name="id2639259"></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="id263 2393" href="#ftn.id2632393" class="footnote">6</a>]</sup>1119 made by people from Linuxprinting.org.<sup>[<a name="id2639362" href="#ftn.id2639362" 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="id263 2442"></a>1128 <a class="indexterm" name="id263 2449"></a>1127 <a class="indexterm" name="id2639411"></a> 1128 <a class="indexterm" name="id2639418"></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="id263 2484"></a>1139 <a class="indexterm" name="id263 2491"></a>1140 <a class="indexterm" name="id263 2498"></a>1141 <a class="indexterm" name="id263 2505"></a>1142 <a class="indexterm" name="id263 2512"></a>1143 <a class="indexterm" name="id263 2519"></a>1138 <a class="indexterm" name="id2639453"></a> 1139 <a class="indexterm" name="id2639460"></a> 1140 <a class="indexterm" name="id2639467"></a> 1141 <a class="indexterm" name="id2639474"></a> 1142 <a class="indexterm" name="id2639481"></a> 1143 <a class="indexterm" name="id2639488"></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="id263 2578"></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="id2639547"></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="id263 2591"></a>1157 <a class="indexterm" name="id263 2598"></a>1158 <a class="indexterm" name="id263 2605"></a>1159 <a class="indexterm" name="id263 2612"></a>1156 <a class="indexterm" name="id2639560"></a> 1157 <a class="indexterm" name="id2639567"></a> 1158 <a class="indexterm" name="id2639574"></a> 1159 <a class="indexterm" name="id2639581"></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="id263 2722"></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="id263 2772"></a>1180 <a class="indexterm" name="id263 2779"></a>1181 <a class="indexterm" name="id263 2786"></a>1178 </p><a class="indexterm" name="id2639692"></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="id2639742"></a> 1180 <a class="indexterm" name="id2639749"></a> 1181 <a class="indexterm" name="id2639756"></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="id263 2826"></a>1192 <a class="indexterm" name="id263 2833"></a>1191 <a class="indexterm" name="id2639796"></a> 1192 <a class="indexterm" name="id2639802"></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="id263 2859"></a>1198 <a class="indexterm" name="id263 2866"></a>1197 <a class="indexterm" name="id2639828"></a> 1198 <a class="indexterm" name="id2639835"></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="id263 2921"></a>1210 <a class="indexterm" name="id2639890"></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 3006"></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="id2639975"></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="id263 3021"></a><a class="indexterm" name="id2633030"></a><ul type="disc"><li><p>1224 </p><div class="itemizedlist"><a class="indexterm" name="id2639989"></a><a class="indexterm" name="id2639998"></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="id26 33129"></a>Printing with Interface Scripts</h3></div></div></div><p>1253 <a class="indexterm" name="id26 33137"></a>1254 <a class="indexterm" name="id26 33144"></a>1252 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640098"></a>Printing with Interface Scripts</h3></div></div></div><p> 1253 <a class="indexterm" name="id2640106"></a> 1254 <a class="indexterm" name="id2640113"></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="id26 33224"></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="id2640193"></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="id26 33241"></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="id2640209"></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="id26 33250"></a>1285 <a class="indexterm" name="id26 33257"></a>1284 <a class="indexterm" name="id2640219"></a> 1285 <a class="indexterm" name="id2640226"></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="id26 33303"></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="id2640271"></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="id26 33375"></a>Driver Execution on the Server</h3></div></div></div><p>1303 <a class="indexterm" name="id26 33383"></a>1304 <a class="indexterm" name="id26 33390"></a>1305 <a class="indexterm" name="id26 33396"></a>1306 <a class="indexterm" name="id26 33403"></a>1307 <a class="indexterm" name="id26 33409"></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="id2640343"></a>Driver Execution on the Server</h3></div></div></div><p> 1303 <a class="indexterm" name="id2640351"></a> 1304 <a class="indexterm" name="id2640358"></a> 1305 <a class="indexterm" name="id2640364"></a> 1306 <a class="indexterm" name="id2640371"></a> 1307 <a class="indexterm" name="id2640377"></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="id26 33480"></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="id2640448"></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="id26 33498"></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="id2640466"></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="id26 33552"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2633564"></a><em class="parameter"><code>printcap = cups</code></em></td></tr></table><p>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 be1334 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2640520"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2640532"></a><em class="parameter"><code>printcap = cups</code></em></td></tr></table><p> 1335 When these parameters are specified, all manually set print directives (like <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a> or <a class="link" href="smb.conf.5.html#LPPAUSECOMMAND" target="_top">lppause command</a>) in <code class="filename">smb.conf</code> (as well as in Samba itself) will be 1336 1336 ignored. Instead, Samba will directly interface with CUPS through its application program interface (API), as 1337 1337 long as Samba has been compiled with CUPS library (libcups) support. If Samba has not been compiled with CUPS 1338 1338 support, and if no other print commands are set up, then printing will use the <span class="emphasis"><em>System V</em></span> 1339 1339 AT&T command set, with the -oraw option automatically passing through (if you want your own defined print 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 via1340 commands to work with a Samba server that has CUPS support compiled in, simply use <a class="link" href="smb.conf.5.html#CLASSICALPRINTING" target="_top">classicalprinting = sysv</a>). This is illustrated in <a class="link" href="CUPS-printing.html#13small" title="Figure 22.15. Printing via CUPS/Samba Server.">the Printing via 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="id26 33689"></a>Samba Receiving Job-Files and Passing Them to CUPS</h3></div></div></div><p>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 it1342 </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="id2640656"></a>Samba Receiving Job-Files and Passing Them to CUPS</h3></div></div></div><p> 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" target="_top">path = /var/spool/samba</a>, in the <em class="parameter"><code>[printers]</code></em> or <em class="parameter"><code>[printername]</code></em> section of <code class="filename">smb.conf</code>). Samba receives the job in its own spool space and passes it 1344 1344 into the spool directory of CUPS (the CUPS spool directory is set by the <em class="parameter"><code>RequestRoot</code></em> 1345 1345 directive in a line that defaults to <em class="parameter"><code>RequestRoot /var/spool/cups</code></em>). CUPS checks the … … 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="id26 33768"></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="id2640735"></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="id26 33785"></a>1359 <a class="indexterm" name="id26 33791"></a>1360 <a class="indexterm" name="id26 33798"></a>1358 <a class="indexterm" name="id2640752"></a> 1359 <a class="indexterm" name="id2640759"></a> 1360 <a class="indexterm" name="id2640765"></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="id26 33858"></a>PPDs for Non-PS Printers on UNIX</h3></div></div></div><p>1374 <a class="indexterm" name="id26 33866"></a>1373 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640826"></a>PPDs for Non-PS Printers on UNIX</h3></div></div></div><p> 1374 <a class="indexterm" name="id2640834"></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="id26 33902"></a>PPDs for Non-PS Printers on Windows</h3></div></div></div><p>1387 <a class="indexterm" name="id26 33910"></a>1386 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2640870"></a>PPDs for Non-PS Printers on Windows</h3></div></div></div><p> 1387 <a class="indexterm" name="id2640878"></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="id26 33970"></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="id2640938"></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="id26 33985"></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="id2640953"></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="id26 34023"></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="id2640991"></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="id26 34041"></a>CUPS: A “<span class="quote">Magical Stone</span>”?</h3></div></div></div><p>1423 <a class="indexterm" name="id26 34052"></a>1424 <a class="indexterm" name="id26 34059"></a>1422 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641009"></a>CUPS: A “<span class="quote">Magical Stone</span>”?</h3></div></div></div><p> 1423 <a class="indexterm" name="id2641020"></a> 1424 <a class="indexterm" name="id2641027"></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="id26 34084"></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="id2641052"></a>PostScript Drivers with No Major Problems, Even in Kernel 1434 1434 Mode</h3></div></div></div><p> 1435 <a class="indexterm" name="id26 34092"></a>1436 <a class="indexterm" name="id26 34099"></a>1437 <a class="indexterm" name="id26 34106"></a>1438 <a class="indexterm" name="id26 34113"></a>1439 <a class="indexterm" name="id26 34120"></a>1440 <a class="indexterm" name="id26 34127"></a>1435 <a class="indexterm" name="id2641060"></a> 1436 <a class="indexterm" name="id2641067"></a> 1437 <a class="indexterm" name="id2641074"></a> 1438 <a class="indexterm" name="id2641081"></a> 1439 <a class="indexterm" name="id2641088"></a> 1440 <a class="indexterm" name="id2641095"></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="id26 34171"></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="id2641139"></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="id26 34194"></a><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</h3></div></div></div><p>1458 <a class="indexterm" name="id26 34204"></a>1457 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641162"></a><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</h3></div></div></div><p> 1458 <a class="indexterm" name="id2641172"></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="id26 34292"></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="id2641260"></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="id26 34361"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634373"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2634384"></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="id2634405"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2634417"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2634428"></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="id2634444"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634456"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2634467"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634479"></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="id2634500"></a><em class="parameter"><code>comment = Printer Drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2634511"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2634523"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634535"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2634546"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634558"></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="id2634572"></a>CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</h3></div></div></div><p>1479 <a class="indexterm" name="id26 34583"></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="id2641329"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641341"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2641353"></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="id2641373"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2641385"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2641397"></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="id2641412"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641424"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2641436"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641447"></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="id2641468"></a><em class="parameter"><code>comment = Printer Drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2641480"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2641492"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641504"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2641515"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641527"></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="id2641541"></a>CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</h3></div></div></div><p> 1479 <a class="indexterm" name="id2641551"></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="id26 34629"></a>1493 <a class="indexterm" name="id26 34638"></a>1492 <a class="indexterm" name="id2641598"></a> 1493 <a class="indexterm" name="id2641607"></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="id26 34790"></a>1525 <a class="indexterm" name="id2641759"></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="id26 34811"></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="id2641780"></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="id26 34908"></a>1538 <a class="indexterm" name="id2641878"></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="id26 34930"></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="id2641899"></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="id26 34955"></a>ESP Print Pro PostScript Driver for Windows NT/200x/XP</h3></div></div></div><p>1550 <a class="indexterm" name="id26 34964"></a>1549 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641924"></a>ESP Print Pro PostScript Driver for Windows NT/200x/XP</h3></div></div></div><p> 1550 <a class="indexterm" name="id2641933"></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="id26 35017"></a>Caveats to Be Considered</h3></div></div></div><p>1561 <a class="indexterm" name="id26 35025"></a>1562 <a class="indexterm" name="id26 35032"></a>1563 <a class="indexterm" name="id26 35039"></a>1564 <a class="indexterm" name="id26 35046"></a>1560 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641987"></a>Caveats to Be Considered</h3></div></div></div><p> 1561 <a class="indexterm" name="id2641995"></a> 1562 <a class="indexterm" name="id2642001"></a> 1563 <a class="indexterm" name="id2642008"></a> 1564 <a class="indexterm" name="id2642015"></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="id26 35105"></a>1572 <a class="indexterm" name="id26 35112"></a>1571 <a class="indexterm" name="id2642074"></a> 1572 <a class="indexterm" name="id2642081"></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="id26 35187"></a>1588 <a class="indexterm" name="id26 35194"></a>1587 <a class="indexterm" name="id2642156"></a> 1588 <a class="indexterm" name="id2642163"></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="id26 35269"></a>1603 <a class="indexterm" name="id26 35279"></a>1602 <a class="indexterm" name="id2642239"></a> 1603 <a class="indexterm" name="id2642248"></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="id26 35317"></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="id2642286"></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="id26 35348"></a>1614 <a class="indexterm" name="id2642317"></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="id26 35386"></a>1620 regarded as the generic MIME-type <a class="indexterm" name="id2642355"></a> 1621 1621 <em class="parameter"><code>application/postscript</code></em>, but as the more special MIME type 1622 <a class="indexterm" name="id26 35400"></a>1622 <a class="indexterm" name="id2642369"></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="id26 35431"></a>1627 <a class="indexterm" name="id2642400"></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="id26 35458"></a>1632 <a class="indexterm" name="id2642427"></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="id26 35490"></a>1638 <a class="indexterm" name="id2642460"></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="id26 35535"></a>Run cupsaddsmb (Quiet Mode)</h3></div></div></div><p>1652 <a class="indexterm" name="id26 35543"></a>1653 <a class="indexterm" name="id26 35550"></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="id2642504"></a>Run cupsaddsmb (Quiet Mode)</h3></div></div></div><p> 1652 <a class="indexterm" name="id2642512"></a> 1653 <a class="indexterm" name="id2642519"></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> 1656 1656 to <em class="parameter"><code>[print$]</code></em>. There the files wait for convenient Windows client installations via 1657 1657 Point'n'Print. Before we can run the command successfully, we need to be sure that we can authenticate toward 1658 Samba. If you have a small network, you are probably using user-level security (<a class="link" href="smb.conf.5.html#SECURITY" >security = user</a>).1658 Samba. If you have a small network, you are probably using user-level security (<a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>). 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="id26 35608"></a>1662 <a class="indexterm" name="id26 35615"></a>1661 <a class="indexterm" name="id2642577"></a> 1662 <a class="indexterm" name="id2642584"></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="id26 35647"></a>1667 <a class="indexterm" name="id2642616"></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="id26 35675"></a>Run cupsaddsmb with Verbose Output</h3></div></div></div><p>1673 <a class="indexterm" name="id26 35683"></a>1672 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642644"></a>Run cupsaddsmb with Verbose Output</h3></div></div></div><p> 1673 <a class="indexterm" name="id2642653"></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="id26 35701"></a>1680 <a class="indexterm" name="id26 35710"></a>1679 <a class="indexterm" name="id2642670"></a> 1680 <a class="indexterm" name="id2642680"></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="id26 35867"></a>Understanding cupsaddsmb</h3></div></div></div><p>1750 <a class="indexterm" name="id26 35875"></a>1749 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2642836"></a>Understanding cupsaddsmb</h3></div></div></div><p> 1750 <a class="indexterm" name="id2642844"></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="id26 35900"></a>1753 <a class="indexterm" name="id2642869"></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="id26 35937"></a>1756 <a class="indexterm" name="id2642906"></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="id26 35958"></a>1759 <a class="indexterm" name="id2642927"></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="id26 36011"></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="id2642980"></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 … … 1788 1788 result was WERR_ACCESS_DENIED 1789 1789 </pre><p> 1790 it means that you might have set <a class="link" href="smb.conf.5.html#USECLIENTDRIVER" >use client driver = yes</a> for this printer.1790 it means that you might have set <a class="link" href="smb.conf.5.html#USECLIENTDRIVER" target="_top">use client driver = yes</a> for this printer. 1791 1791 Setting it to “<span class="quote">no</span>” will solve the problem. Refer to the <code class="filename">smb.conf</code> man page for explanation of 1792 1792 the <em class="parameter"><code>use client driver</code></em>. … … 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="id26 36133"></a>cupsaddsmb with a Samba PDC</h3></div></div></div><p>1798 <a class="indexterm" name="id26 36141"></a>1799 <a class="indexterm" name="id26 36148"></a>1797 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643102"></a>cupsaddsmb with a Samba PDC</h3></div></div></div><p> 1798 <a class="indexterm" name="id2643110"></a> 1799 <a class="indexterm" name="id2643117"></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="id26 36214"></a>cupsaddsmb Flowchart</h3></div></div></div><p>1810 <a class="indexterm" name="id26 36222"></a>1811 <a class="indexterm" name="id26 36229"></a>1809 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643183"></a>cupsaddsmb Flowchart</h3></div></div></div><p> 1810 <a class="indexterm" name="id2643191"></a> 1811 <a class="indexterm" name="id2643198"></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="id26 36295"></a>Installing the PostScript Driver on a Client</h3></div></div></div><p>1816 <a class="indexterm" name="id26 36303"></a>1817 <a class="indexterm" name="id26 36310"></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="id2643264"></a>Installing the PostScript Driver on a Client</h3></div></div></div><p> 1816 <a class="indexterm" name="id2643273"></a> 1817 <a class="indexterm" name="id2643280"></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="id26 36333"></a>1822 <a class="indexterm" name="id2643302"></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="id26 36403"></a>1834 <a class="indexterm" name="id26 36409"></a>1835 <a class="indexterm" name="id26 36416"></a>1833 <a class="indexterm" name="id2643372"></a> 1834 <a class="indexterm" name="id2643378"></a> 1835 <a class="indexterm" name="id2643385"></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="id26 36530"></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="id2643499"></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="id26 36569"></a>1870 <a class="indexterm" name="id2643538"></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="id26 36590"></a>1873 <a class="indexterm" name="id2643559"></a> 1874 1874 Run <code class="literal">rpcclient setdriver.</code></p></li></ol></div><p> 1875 <a class="indexterm" name="id26 36608"></a>1876 <a class="indexterm" name="id26 36618"></a>1877 <a class="indexterm" name="id26 36627"></a>1878 <a class="indexterm" name="id26 36636"></a>1879 <a class="indexterm" name="id26 36645"></a>1875 <a class="indexterm" name="id2643578"></a> 1876 <a class="indexterm" name="id2643587"></a> 1877 <a class="indexterm" name="id2643596"></a> 1878 <a class="indexterm" name="id2643605"></a> 1879 <a class="indexterm" name="id2643615"></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="id26 36704"></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="id2643673"></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="id26 36722"></a>1890 <a class="indexterm" name="id26 36729"></a>1891 <a class="indexterm" name="id26 36736"></a>1889 <a class="indexterm" name="id2643692"></a> 1890 <a class="indexterm" name="id2643698"></a> 1891 <a class="indexterm" name="id2643705"></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="id26 36814"></a>1915 <a class="indexterm" name="id26 36821"></a>1914 <a class="indexterm" name="id2643783"></a> 1915 <a class="indexterm" name="id2643790"></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="id26 36846"></a>1921 <a class="indexterm" name="id26 36853"></a>1920 <a class="indexterm" name="id2643816"></a> 1921 <a class="indexterm" name="id2643822"></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="id26 36876"></a>Understanding the rpcclient man Page</h3></div></div></div><p>1925 <a class="indexterm" name="id26 36884"></a>1924 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643845"></a>Understanding the rpcclient man Page</h3></div></div></div><p> 1925 <a class="indexterm" name="id2643853"></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="id26 36981"></a>Producing an Example by Querying a Windows Box</h3></div></div></div><p>1950 <a class="indexterm" name="id26 36989"></a>1951 <a class="indexterm" name="id26 36998"></a>1949 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643950"></a>Producing an Example by Querying a Windows Box</h3></div></div></div><p> 1950 <a class="indexterm" name="id2643958"></a> 1951 <a class="indexterm" name="id2643967"></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="id26 37049"></a>1959 <a class="indexterm" name="id2644018"></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="id26 37113"></a>Requirements for adddriver and setdriver to Succeed</h3></div></div></div><p>1991 <a class="indexterm" name="id26 37121"></a>1992 <a class="indexterm" name="id26 37130"></a>1993 <a class="indexterm" name="id26 37137"></a>1990 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2644082"></a>Requirements for adddriver and setdriver to Succeed</h3></div></div></div><p> 1991 <a class="indexterm" name="id2644090"></a> 1992 <a class="indexterm" name="id2644100"></a> 1993 <a class="indexterm" name="id2644106"></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 1996 1996 succeed. The two <code class="literal">rpcclient</code> subcommands (<code class="literal">adddriver</code> and 1997 1997 <code class="literal">setdriver</code>) need to encounter the following preconditions to complete successfully: 1998 </p><div class="itemizedlist"><ul type="disc"><li><p>You are connected as <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a> or root (this is1998 </p><div class="itemizedlist"><ul type="disc"><li><p>You are connected as <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> or root (this is 1999 1999 <span class="emphasis"><em>not</em></span> the “<span class="quote">Printer Operators</span>” group in NT, but the <span class="emphasis"><em>printer 2000 2000 admin</em></span> group as defined in the <em class="parameter"><code>[global]</code></em> section of <code class="filename">smb.conf</code>). … … 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="id26 37290"></a>2011 <a class="indexterm" name="id26 37300"></a>2010 <a class="indexterm" name="id2644260"></a> 2011 <a class="indexterm" name="id2644269"></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="id26 37337"></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="id2644307"></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="id26 37351"></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="id2644320"></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="id26 37408"></a>2031 <a class="indexterm" name="id2644377"></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="id26 37505"></a>2052 <a class="indexterm" name="id26 37515"></a>2051 <a class="indexterm" name="id2644475"></a> 2052 <a class="indexterm" name="id2644484"></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="id26 37703"></a>2108 <a class="indexterm" name="id2644672"></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="id26 37811"></a>2139 <a class="indexterm" name="id2644780"></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="id26 37866"></a>2155 <a class="indexterm" name="id2644835"></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="id26 37925"></a>2167 <a class="indexterm" name="id26 37934"></a>2168 <a class="indexterm" name="id26 37943"></a>2166 <a class="indexterm" name="id2644894"></a> 2167 <a class="indexterm" name="id2644903"></a> 2168 <a class="indexterm" name="id2644913"></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="id26 38021"></a>2208 <a class="indexterm" name="id2644990"></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="id26 38056"></a>2214 <a class="indexterm" name="id2645025"></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="id26 38174"></a>2237 <a class="indexterm" name="id2645144"></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="id26 38216"></a><pre class="screen">2242 </p></li><li><p class="title"><b>(Optional) Print a test page.</b></p><a class="indexterm" name="id2645185"></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="id26 38296"></a>Troubleshooting Revisited</h3></div></div></div><p>2253 <a class="indexterm" name="id26 38304"></a>2252 </pre></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2645265"></a>Troubleshooting Revisited</h3></div></div></div><p> 2253 <a class="indexterm" name="id2645273"></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="id26 38336"></a>2265 <a class="indexterm" name="id26 38343"></a>2264 <a class="indexterm" name="id2645305"></a> 2265 <a class="indexterm" name="id2645312"></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="id26 38372"></a>2271 <a class="indexterm" name="id2645341"></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="id26 38402"></a>2277 <a class="indexterm" name="id2645371"></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="id26 38439"></a>The Printing <code class="filename">*.tdb</code> Files</h2></div></div></div><p>2288 <a class="indexterm" name="id26 38453"></a>2289 <a class="indexterm" name="id26 38460"></a>2290 <a class="indexterm" name="id26 38469"></a>2291 <a class="indexterm" name="id26 38478"></a>2292 <a class="indexterm" name="id26 38487"></a>2293 <a class="indexterm" name="id26 38496"></a>2294 <a class="indexterm" name="id26 38505"></a>2295 <a class="indexterm" name="id26 38514"></a>2296 <a class="indexterm" name="id26 38523"></a>2297 <a class="indexterm" name="id26 38532"></a>2298 <a class="indexterm" name="id26 38541"></a>2299 <a class="indexterm" name="id26 38550"></a>2300 <a class="indexterm" name="id26 38559"></a>2287 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2645408"></a>The Printing <code class="filename">*.tdb</code> Files</h2></div></div></div><p> 2288 <a class="indexterm" name="id2645422"></a> 2289 <a class="indexterm" name="id2645429"></a> 2290 <a class="indexterm" name="id2645438"></a> 2291 <a class="indexterm" name="id2645447"></a> 2292 <a class="indexterm" name="id2645456"></a> 2293 <a class="indexterm" name="id2645465"></a> 2294 <a class="indexterm" name="id2645474"></a> 2295 <a class="indexterm" name="id2645483"></a> 2296 <a class="indexterm" name="id2645492"></a> 2297 <a class="indexterm" name="id2645501"></a> 2298 <a class="indexterm" name="id2645510"></a> 2299 <a class="indexterm" name="id2645519"></a> 2300 <a class="indexterm" name="id2645528"></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="id26 38642"></a>Trivial Database Files</h3></div></div></div><p>2308 <a class="indexterm" name="id26 38650"></a>2307 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2645611"></a>Trivial Database Files</h3></div></div></div><p> 2308 <a class="indexterm" name="id2645619"></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="id26 38709"></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="id2645679"></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="id26 38775"></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="id2645745"></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="id26 38826"></a>Using <code class="literal">tdbbackup</code></h3></div></div></div><p>2334 <a class="indexterm" name="id26 38838"></a>2335 <a class="indexterm" name="id26 38850"></a>2333 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2645796"></a>Using <code class="literal">tdbbackup</code></h3></div></div></div><p> 2334 <a class="indexterm" name="id2645808"></a> 2335 <a class="indexterm" name="id2645819"></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="id26 38946"></a>CUPS Print Drivers from Linuxprinting.org</h2></div></div></div><p>2363 <a class="indexterm" name="id26 38954"></a>2362 </pre></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2645915"></a>CUPS Print Drivers from Linuxprinting.org</h2></div></div></div><p> 2363 <a class="indexterm" name="id2645924"></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="id26 38963"></a>2365 <a class="indexterm" name="id2645933"></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="id26 39052"></a>2382 <a class="indexterm" name="id26 39059"></a>2383 <a class="indexterm" name="id26 39066"></a>2381 <a class="indexterm" name="id2646022"></a> 2382 <a class="indexterm" name="id2646029"></a> 2383 <a class="indexterm" name="id2646036"></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="id26 39121"></a>foomatic-rip and Foomatic Explained</h3></div></div></div><p>2393 <a class="indexterm" name="id26 39129"></a>2394 <a class="indexterm" name="id26 39136"></a>2392 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2646091"></a>foomatic-rip and Foomatic Explained</h3></div></div></div><p> 2393 <a class="indexterm" name="id2646099"></a> 2394 <a class="indexterm" name="id2646106"></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="id26 39190"></a>690 “<span class="quote">Perfect</span>” Printers</h4></div></div></div><p>2406 <a class="indexterm" name="id26 39202"></a>2405 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646160"></a>690 “<span class="quote">Perfect</span>” Printers</h4></div></div></div><p> 2406 <a class="indexterm" name="id2646172"></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="id26 39231"></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="id2646201"></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="id26 39269"></a>Foomatic's Strange Name</h4></div></div></div><p>2424 <a class="indexterm" name="id26 39277"></a>2423 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646239"></a>Foomatic's Strange Name</h4></div></div></div><p> 2424 <a class="indexterm" name="id2646247"></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="id26 39350"></a>cupsomatic, pdqomatic, lpdomatic, directomatic</h4></div></div></div><p>2443 <a class="indexterm" name="id26 39358"></a>2444 <a class="indexterm" name="id26 39365"></a>2445 <a class="indexterm" name="id26 39372"></a>2442 Ghostscript filters.</p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646320"></a>cupsomatic, pdqomatic, lpdomatic, directomatic</h4></div></div></div><p> 2443 <a class="indexterm" name="id2646328"></a> 2444 <a class="indexterm" name="id2646335"></a> 2445 <a class="indexterm" name="id2646342"></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="id26 39506"></a>The <span class="emphasis"><em>Grand Unification</em></span> Achieved</h4></div></div></div><p>2467 <a class="indexterm" name="id26 39517"></a>2466 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646476"></a>The <span class="emphasis"><em>Grand Unification</em></span> Achieved</h4></div></div></div><p> 2467 <a class="indexterm" name="id2646487"></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="id26 39553"></a>2477 <a class="indexterm" name="id26 39559"></a>2478 <a class="indexterm" name="id26 39566"></a>2476 <a class="indexterm" name="id2646523"></a> 2477 <a class="indexterm" name="id2646529"></a> 2478 <a class="indexterm" name="id2646536"></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="id26 39599"></a>2486 <a class="indexterm" name="id26 39606"></a>2487 <a class="indexterm" name="id26 39613"></a>2485 <a class="indexterm" name="id2646569"></a> 2486 <a class="indexterm" name="id2646576"></a> 2487 <a class="indexterm" name="id2646583"></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="id26 39634"></a>Driver Development Outside</h4></div></div></div><p>2496 <a class="indexterm" name="id26 39642"></a>2495 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646604"></a>Driver Development Outside</h4></div></div></div><p> 2496 <a class="indexterm" name="id2646612"></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="id26 39666"></a>2504 <a class="indexterm" name="id2646636"></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="id26 39691"></a>2510 <a class="indexterm" name="id2646661"></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="id26 39714"></a>2516 <a class="indexterm" name="id2646684"></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="id26 39738"></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="id2646708"></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="id26 39783"></a>2532 <a class="indexterm" name="id26 39790"></a>2533 <a class="indexterm" name="id26 39797"></a>2531 <a class="indexterm" name="id2646753"></a> 2532 <a class="indexterm" name="id2646760"></a> 2533 <a class="indexterm" name="id2646767"></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="id26 39821"></a>Foomatic Database-Generated PPDs</h4></div></div></div><p>2543 <a class="indexterm" name="id26 39830"></a>2544 <a class="indexterm" name="id26 39836"></a>2545 <a class="indexterm" name="id26 39843"></a>2546 <a class="indexterm" name="id26 39850"></a>2547 <a class="indexterm" name="id26 39857"></a>2548 <a class="indexterm" name="id26 39864"></a>2549 <a class="indexterm" name="id26 39871"></a>2550 <a class="indexterm" name="id26 39878"></a>2551 <a class="indexterm" name="id26 39885"></a>2542 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2646791"></a>Foomatic Database-Generated PPDs</h4></div></div></div><p> 2543 <a class="indexterm" name="id2646800"></a> 2544 <a class="indexterm" name="id2646806"></a> 2545 <a class="indexterm" name="id2646813"></a> 2546 <a class="indexterm" name="id2646820"></a> 2547 <a class="indexterm" name="id2646827"></a> 2548 <a class="indexterm" name="id2646834"></a> 2549 <a class="indexterm" name="id2646840"></a> 2550 <a class="indexterm" name="id2646847"></a> 2551 <a class="indexterm" name="id2646854"></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="id26 39948"></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="id2646918"></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="id264 0421"></a>Page Accounting with CUPS</h2></div></div></div><p>2660 <a class="indexterm" name="id264 0429"></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="id2647391"></a>Page Accounting with CUPS</h2></div></div></div><p> 2660 <a class="indexterm" name="id2647399"></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="id264 0456"></a>Setting Up Quotas</h3></div></div></div><p>2669 <a class="indexterm" name="id264 0464"></a>2668 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647427"></a>Setting Up Quotas</h3></div></div></div><p> 2669 <a class="indexterm" name="id2647434"></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="id264 0479"></a>2672 <a class="indexterm" name="id2647449"></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="id264 0510"></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="id2647481"></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="id264 0551"></a>Adobe and CUPS PostScript Drivers for Windows Clients</h3></div></div></div><p>2691 <a class="indexterm" name="id264 0560"></a>2692 <a class="indexterm" name="id264 0566"></a>2693 <a class="indexterm" name="id264 0573"></a>2694 <a class="indexterm" name="id264 0580"></a>2695 <a class="indexterm" name="id264 0587"></a>2690 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647521"></a>Adobe and CUPS PostScript Drivers for Windows Clients</h3></div></div></div><p> 2691 <a class="indexterm" name="id2647530"></a> 2692 <a class="indexterm" name="id2647537"></a> 2693 <a class="indexterm" name="id2647544"></a> 2694 <a class="indexterm" name="id2647550"></a> 2695 <a class="indexterm" name="id2647557"></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="id264 0647"></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="id2647617"></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="id264 0692"></a>The page_log File Syntax</h3></div></div></div><p>2712 <a class="indexterm" name="id264 0700"></a>2711 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647662"></a>The page_log File Syntax</h3></div></div></div><p> 2712 <a class="indexterm" name="id2647670"></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="id264 0836"></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="id2647807"></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="id264 0902"></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="id2647873"></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="id264 0942"></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="id2647913"></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="id264 0956"></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="id2647927"></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="id264 1173"></a>Autodeletion or Preservation of CUPS Spool Files</h2></div></div></div><p>2835 <a class="indexterm" name="id264 1181"></a>2836 <a class="indexterm" name="id264 1188"></a>2837 <a class="indexterm" name="id264 1195"></a>2834 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2648144"></a>Autodeletion or Preservation of CUPS Spool Files</h2></div></div></div><p> 2835 <a class="indexterm" name="id2648152"></a> 2836 <a class="indexterm" name="id2648159"></a> 2837 <a class="indexterm" name="id2648166"></a> 2838 2838 Samba print files pass through two spool directories. One is the incoming directory managed by Samba (set in 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. For2839 the <a class="link" href="smb.conf.5.html#PATH" target="_top">path = /var/spool/samba</a> directive in the <em class="parameter"><code>[printers]</code></em> section of <code class="filename">smb.conf</code>). The other is the spool directory of your UNIX print subsystem. For 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="id264 1249"></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="id2648220"></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="id264 1334"></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="id2648305"></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 2869 2869 on Linux by running <strong class="userinput"><code>ldd `which smbd'</code></strong>).</p></li><li><p>A Samba-<code class="filename">smb.conf</code> setting of 2870 <a class="link" href="smb.conf.5.html#PRINTING" >printing = cups</a>.</p></li><li><p>Another Samba <code class="filename">smb.conf</code> setting of2871 <a class="link" href="smb.conf.5.html#PRINTCAP" >printcap = cups</a>.</p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>2870 <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = cups</a>.</p></li><li><p>Another Samba <code class="filename">smb.conf</code> setting of 2871 <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = cups</a>.</p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 2872 2872 In this case, all other manually set printing-related commands (like 2873 <a class="link" href="smb.conf.5.html#PRINTCOMMAND" >print command</a>,2874 <a class="link" href="smb.conf.5.html#LPQCOMMAND" >lpq command</a>,2875 <a class="link" href="smb.conf.5.html#LPRMCOMMAND" >lprm command</a>,2876 <a class="link" href="smb.conf.5.html#LPPAUSECOMMAND" >lppause command</a>, and2877 <a class="link" href="smb.conf.5.html#LPRESUMECOMMAND" >lpresume command</a>) are ignored, and they should normally have no2873 <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a>, 2874 <a class="link" href="smb.conf.5.html#LPQCOMMAND" target="_top">lpq command</a>, 2875 <a class="link" href="smb.conf.5.html#LPRMCOMMAND" target="_top">lprm command</a>, 2876 <a class="link" href="smb.conf.5.html#LPPAUSECOMMAND" target="_top">lppause command</a>, and 2877 <a class="link" href="smb.conf.5.html#LPRESUMECOMMAND" target="_top">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="id264 1472"></a>Manual Configuration</h3></div></div></div><p>2880 If you want to do things manually, replace the <a class="link" href="smb.conf.5.html#PRINTING" >printing = cups</a>2881 by <a class="link" href="smb.conf.5.html#PRINTING" >printing = bsd</a>. Then your manually set commands may work2882 (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>2879 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2648444"></a>Manual Configuration</h3></div></div></div><p> 2880 If you want to do things manually, replace the <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = cups</a> 2881 by <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd</a>. Then your manually set commands may work 2882 (I haven't tested this), and a <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command = lp -d %P %s; rm %s</a> 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="id264 1520"></a>Printing from CUPS to Windows-Attached Printers</h2></div></div></div><p>2885 <a class="indexterm" name="id264 1529"></a>2886 <a class="indexterm" name="id264 1535"></a>2884 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2648491"></a>Printing from CUPS to Windows-Attached Printers</h2></div></div></div><p> 2885 <a class="indexterm" name="id2648500"></a> 2886 <a class="indexterm" name="id2648506"></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="id264 1665"></a>2922 <a class="indexterm" name="id264 1671"></a>2921 <a class="indexterm" name="id2648636"></a> 2922 <a class="indexterm" name="id2648643"></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="id264 1732"></a>2938 <a class="indexterm" name="id264 1739"></a>2939 <a class="indexterm" name="id264 1745"></a>2937 <a class="indexterm" name="id2648703"></a> 2938 <a class="indexterm" name="id2648710"></a> 2939 <a class="indexterm" name="id2648717"></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="id264 1816"></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="id2648787"></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="id264 1927"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641933"></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="id2648899"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2648904"></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 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>? Have2957 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" target="_top">security = user</a>? Have 2958 2958 you used <code class="literal">smbpasswd</code> to give root a Samba account? 2959 2959 You can do two things: open another terminal and execute … … 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="id264 2010"></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="id2648981"></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 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="id264 2048"></a>“<span class="quote">cupsaddsmb</span>” Errors</h3></div></div></div><p>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="id2649019"></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="id264 2122"></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="id2649093"></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="id264 2146"></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="id2649118"></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 you have <a class="link" href="smb.conf.5.html#MAPTOGUEST" >map to guest = bad user</a>), Windows Explorer will not accept an2985 you have <a class="link" href="smb.conf.5.html#MAPTOGUEST" target="_top">map to guest = bad user</a>), Windows Explorer will not accept an 2986 2986 attempt to connect again as a different user. There will not be any bytes transferred on the wire to Samba, 2987 2987 but still you'll see a stupid error message that makes you think Samba has denied access. Use … … 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="id264 2237"></a>Avoid Being Connected to the Samba Server as the Wrong User</h3></div></div></div><p>2999 <a class="indexterm" name="id264 2246"></a>2998 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649209"></a>Avoid Being Connected to the Samba Server as the Wrong User</h3></div></div></div><p> 2999 <a class="indexterm" name="id2649217"></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 printer admin. This is probably due to <a class="link" href="smb.conf.5.html#MAPTOGUEST" >map to guest = bad user</a>, which3001 printer admin. This is probably due to <a class="link" href="smb.conf.5.html#MAPTOGUEST" target="_top">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 <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="id264 2289"></a>Upgrading to CUPS Drivers from Adobe Drivers</h3></div></div></div><p>3003 <a class="link" href="smb.conf.5.html#MAPTOGUEST" target="_top">map to guest</a> if you want to prevent this. 3004 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649260"></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="id264 2326"></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="id2649298"></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="id264 2362"></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="id2649333"></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="id264 2397"></a>Windows 200x/XP Local Security Policies</h3></div></div></div><a class="indexterm" name="id2642403"></a><a class="indexterm" name="id2642410"></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="id264 2430"></a>Administrator Cannot Install Printers for All Local Users</h3></div></div></div><p>3020 <a class="indexterm" name="id264 2438"></a>3021 <a class="indexterm" name="id264 2445"></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="id2649368"></a>Windows 200x/XP Local Security Policies</h3></div></div></div><a class="indexterm" name="id2649374"></a><a class="indexterm" name="id2649381"></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="id2649401"></a>Administrator Cannot Install Printers for All Local Users</h3></div></div></div><p> 3020 <a class="indexterm" name="id2649410"></a> 3021 <a class="indexterm" name="id2649417"></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="id264 2471"></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="id264 2496"></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="id2649442"></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="id2649468"></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="id264 2543"></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="id2649514"></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 … … 3063 3063 “<span class="quote">C.1. to C.6.</span>”, will save any settings permanently and be the defaults for new users. If you want 3064 3064 all clients to get the same defaults, you need to conduct these steps <span class="emphasis"><em>as Administrator</em></span> 3065 (<a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a> in <code class="filename">smb.conf</code>) <span class="emphasis"><em>before</em></span> a client downloads the3065 (<a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> in <code class="filename">smb.conf</code>) <span class="emphasis"><em>before</em></span> a client downloads the 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="id264 2826"></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="id2649797"></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="id264 2881"></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="id2649853"></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="id264 2931"></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="id2649902"></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: 3084 <code class="filename">/var/spool/cups/</code> is set as <a class="link" href="smb.conf.5.html#PATH" >path</a>> in the <em class="parameter"><code>[printers]</code></em> section)? These <em class="parameter"><code>must</code></em> be different. Set <em class="parameter"><code>RequestRoot3085 /var/spool/cups/</code></em> in <code class="filename">cupsd.conf</code> and <a class="link" href="smb.conf.5.html#PATH" >path =3084 <code class="filename">/var/spool/cups/</code> is set as <a class="link" href="smb.conf.5.html#PATH" target="_top">path</a>> in the <em class="parameter"><code>[printers]</code></em> section)? These <em class="parameter"><code>must</code></em> be different. Set <em class="parameter"><code>RequestRoot 3085 /var/spool/cups/</code></em> in <code class="filename">cupsd.conf</code> and <a class="link" href="smb.conf.5.html#PATH" target="_top">path = 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="id26 43029"></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="id2650001"></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="id26 43049"></a>3093 <a class="indexterm" name="id26 43056"></a>3094 <a class="indexterm" name="id26 43063"></a>3092 <a class="indexterm" name="id2650021"></a> 3093 <a class="indexterm" name="id2650028"></a> 3094 <a class="indexterm" name="id2650035"></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="id26 43098"></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="id2650070"></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="id26 43152"></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="id2650124"></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.id263 2393" href="#id2632393" 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.id2639362" href="#id2639362" 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
r226 r231 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.7 3.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#id2571656">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2571667">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2571727">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572038">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572158">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572218">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572339">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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2578567">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2578579">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2578638">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2578950">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579071">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579131">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579252">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="id257 1656"></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="id2578567"></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="id257 1667"></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="id2578579"></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="id257 1727"></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="id2578638"></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="id257 1739"></a>28 <a class="indexterm" name="id257 1746"></a>29 <a class="indexterm" name="id257 1753"></a>30 <a class="indexterm" name="id257 1762"></a>31 <a class="indexterm" name="id257 1771"></a>27 <a class="indexterm" name="id2578650"></a> 28 <a class="indexterm" name="id2578657"></a> 29 <a class="indexterm" name="id2578664"></a> 30 <a class="indexterm" name="id2578673"></a> 31 <a class="indexterm" name="id2578682"></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="id257 1802"></a>39 <a class="indexterm" name="id257 1809"></a>40 <a class="indexterm" name="id257 1815"></a>41 <a class="indexterm" name="id257 1822"></a>38 <a class="indexterm" name="id2578714"></a> 39 <a class="indexterm" name="id2578720"></a> 40 <a class="indexterm" name="id2578727"></a> 41 <a class="indexterm" name="id2578733"></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="id257 1858"></a>49 <a class="indexterm" name="id257 1865"></a>50 <a class="indexterm" name="id257 1872"></a>51 <a class="indexterm" name="id257 1879"></a>52 <a class="indexterm" name="id257 1886"></a>48 <a class="indexterm" name="id2578770"></a> 49 <a class="indexterm" name="id2578777"></a> 50 <a class="indexterm" name="id2578784"></a> 51 <a class="indexterm" name="id2578790"></a> 52 <a class="indexterm" name="id2578797"></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="id257 1908"></a>63 <a class="indexterm" name="id257 1915"></a>64 <a class="indexterm" name="id257 1922"></a>65 <a class="indexterm" name="id257 1928"></a>62 <a class="indexterm" name="id2578820"></a> 63 <a class="indexterm" name="id2578827"></a> 64 <a class="indexterm" name="id2578833"></a> 65 <a class="indexterm" name="id2578840"></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="id257 1952"></a>72 <a class="indexterm" name="id257 1959"></a>73 <a class="indexterm" name="id257 1966"></a>74 <a class="indexterm" name="id257 1972"></a>71 <a class="indexterm" name="id2578864"></a> 72 <a class="indexterm" name="id2578870"></a> 73 <a class="indexterm" name="id2578877"></a> 74 <a class="indexterm" name="id2578884"></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 2008"></a>83 <a class="indexterm" name="id257 2015"></a>82 <a class="indexterm" name="id2578920"></a> 83 <a class="indexterm" name="id2578927"></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="id257 2038"></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="id2578950"></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="id257 2158"></a>Passdb Changes</h3></div></div></div><p>106 <a class="indexterm" name="id257 2166"></a>107 <a class="indexterm" name="id257 2173"></a>108 <a class="indexterm" name="id257 2179"></a>109 <a class="indexterm" name="id257 2186"></a>110 The <a class="link" href="smb.conf.5.html#PASSDBBACKEND" >passdb backend</a> parameter no long accepts multiple passdb backends in a105 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2579071"></a>Passdb Changes</h3></div></div></div><p> 106 <a class="indexterm" name="id2579079"></a> 107 <a class="indexterm" name="id2579085"></a> 108 <a class="indexterm" name="id2579092"></a> 109 <a class="indexterm" name="id2579099"></a> 110 The <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">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="id257 2218"></a>Group Mapping Changes in Samba-3.0.23</h3></div></div></div><p>115 <a class="indexterm" name="id257 2226"></a>116 <a class="indexterm" name="id257 2232"></a>117 <a class="indexterm" name="id257 2239"></a>118 <a class="indexterm" name="id257 2246"></a>119 <a class="indexterm" name="id257 2253"></a>120 <a class="indexterm" name="id257 2260"></a>121 <a class="indexterm" name="id257 2267"></a>122 <a class="indexterm" name="id257 2273"></a>123 <a class="indexterm" name="id257 2280"></a>124 <a class="indexterm" name="id257 2287"></a>125 <a class="indexterm" name="id257 2294"></a>114 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2579131"></a>Group Mapping Changes in Samba-3.0.23</h3></div></div></div><p> 115 <a class="indexterm" name="id2579139"></a> 116 <a class="indexterm" name="id2579146"></a> 117 <a class="indexterm" name="id2579153"></a> 118 <a class="indexterm" name="id2579159"></a> 119 <a class="indexterm" name="id2579166"></a> 120 <a class="indexterm" name="id2579173"></a> 121 <a class="indexterm" name="id2579180"></a> 122 <a class="indexterm" name="id2579187"></a> 123 <a class="indexterm" name="id2579193"></a> 124 <a class="indexterm" name="id2579200"></a> 125 <a class="indexterm" name="id2579207"></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="id257 2339"></a>LDAP Changes in Samba-3.0.23</h3></div></div></div><p>133 <a class="indexterm" name="id257 2347"></a>134 <a class="indexterm" name="id257 2354"></a>135 <a class="indexterm" name="id257 2360"></a>136 <a class="indexterm" name="id257 2367"></a>137 <a class="indexterm" name="id257 2374"></a>132 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2579252"></a>LDAP Changes in Samba-3.0.23</h3></div></div></div><p> 133 <a class="indexterm" name="id2579260"></a> 134 <a class="indexterm" name="id2579267"></a> 135 <a class="indexterm" name="id2579274"></a> 136 <a class="indexterm" name="id2579280"></a> 137 <a class="indexterm" name="id2579287"></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
r226 r231 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.7 3.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#id2568572">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2568632">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2568676">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570446">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2571418">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="id2568572"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id25 68580"></a>3 <a class="indexterm" name="id25 68587"></a>4 <a class="indexterm" name="id25 68594"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2575484">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2575545">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2575588">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577360">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2578330">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="id2575484"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2575492"></a> 3 <a class="indexterm" name="id2575499"></a> 4 <a class="indexterm" name="id2575506"></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="id25 68611"></a>11 <a class="indexterm" name="id25 68618"></a>10 <a class="indexterm" name="id2575524"></a> 11 <a class="indexterm" name="id2575531"></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="id25 68632"></a>Technical Details</h2></div></div></div><p>16 <a class="indexterm" name="id25 68640"></a>17 <a class="indexterm" name="id25 68647"></a>15 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2575545"></a>Technical Details</h2></div></div></div><p> 16 <a class="indexterm" name="id2575552"></a> 17 <a class="indexterm" name="id2575560"></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="id25 68676"></a>TCP/IP Configuration</h3></div></div></div><p>27 <a class="indexterm" name="id25 68684"></a>28 <a class="indexterm" name="id25 68691"></a>26 </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2575588"></a>TCP/IP Configuration</h3></div></div></div><p> 27 <a class="indexterm" name="id2575596"></a> 28 <a class="indexterm" name="id2575604"></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="id25 68706"></a>34 <a class="indexterm" name="id25 68712"></a>33 <a class="indexterm" name="id2575618"></a> 34 <a class="indexterm" name="id2575625"></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="id25 68727"></a>41 <a class="indexterm" name="id25 68734"></a>40 <a class="indexterm" name="id2575640"></a> 41 <a class="indexterm" name="id2575647"></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="id25 68751"></a>MS Windows XP Professional</h4></div></div></div><p>46 <a class="indexterm" name="id25 68759"></a>45 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2575664"></a>MS Windows XP Professional</h4></div></div></div><p> 46 <a class="indexterm" name="id2575672"></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="id25 68807"></a>54 <a class="indexterm" name="id2575720"></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="id25 68825"></a>58 <a class="indexterm" name="id25 68832"></a>59 <a class="indexterm" name="id25 68839"></a>57 <a class="indexterm" name="id2575738"></a> 58 <a class="indexterm" name="id2575745"></a> 59 <a class="indexterm" name="id2575752"></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="id25 68924"></a>66 <a class="indexterm" name="id25 68931"></a>65 <a class="indexterm" name="id2575838"></a> 66 <a class="indexterm" name="id2575845"></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="id25 68963"></a>72 <a class="indexterm" name="id25 68970"></a>71 <a class="indexterm" name="id2575876"></a> 72 <a class="indexterm" name="id2575883"></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="id25 69033"></a>78 <a class="indexterm" name="id25 69040"></a>79 <a class="indexterm" name="id25 69047"></a>80 <a class="indexterm" name="id25 69053"></a>77 <a class="indexterm" name="id2575946"></a> 78 <a class="indexterm" name="id2575953"></a> 79 <a class="indexterm" name="id2575960"></a> 80 <a class="indexterm" name="id2575966"></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="id25 69082"></a>87 <a class="indexterm" name="id25 69089"></a>88 <a class="indexterm" name="id25 69096"></a>86 <a class="indexterm" name="id2575995"></a> 87 <a class="indexterm" name="id2576002"></a> 88 <a class="indexterm" name="id2576009"></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="id25 69116"></a>93 <a class="indexterm" name="id25 69123"></a>94 <a class="indexterm" name="id25 69130"></a>95 <a class="indexterm" name="id25 69137"></a>92 <a class="indexterm" name="id2576030"></a> 93 <a class="indexterm" name="id2576037"></a> 94 <a class="indexterm" name="id2576044"></a> 95 <a class="indexterm" name="id2576051"></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="id25 69207"></a>104 <a class="indexterm" name="id25 69214"></a>105 <a class="indexterm" name="id25 69221"></a>103 <a class="indexterm" name="id2576121"></a> 104 <a class="indexterm" name="id2576128"></a> 105 <a class="indexterm" name="id2576135"></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="id25 69236"></a>109 <a class="indexterm" name="id25 69243"></a>108 <a class="indexterm" name="id2576150"></a> 109 <a class="indexterm" name="id2576157"></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="id25 69318"></a>116 <a class="indexterm" name="id25 69325"></a>115 <a class="indexterm" name="id2576231"></a> 116 <a class="indexterm" name="id2576238"></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="id25 69394"></a>MS Windows 2000</h4></div></div></div><p>123 <a class="indexterm" name="id25 69402"></a>124 <a class="indexterm" name="id25 69409"></a>122 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2576307"></a>MS Windows 2000</h4></div></div></div><p> 123 <a class="indexterm" name="id2576315"></a> 124 <a class="indexterm" name="id2576322"></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="id25 69457"></a>132 <a class="indexterm" name="id2576371"></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="id25 69538"></a>140 <a class="indexterm" name="id25 69545"></a>139 <a class="indexterm" name="id2576452"></a> 140 <a class="indexterm" name="id2576459"></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="id25 69580"></a>146 <a class="indexterm" name="id25 69587"></a>145 <a class="indexterm" name="id2576494"></a> 146 <a class="indexterm" name="id2576500"></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="id25 69646"></a>152 <a class="indexterm" name="id25 69653"></a>151 <a class="indexterm" name="id2576560"></a> 152 <a class="indexterm" name="id2576566"></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="id25 69673"></a>158 <a class="indexterm" name="id25 69680"></a>157 <a class="indexterm" name="id2576586"></a> 158 <a class="indexterm" name="id2576593"></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="id25 69756"></a>168 <a class="indexterm" name="id25 69762"></a>169 <a class="indexterm" name="id25 69769"></a>167 <a class="indexterm" name="id2576669"></a> 168 <a class="indexterm" name="id2576676"></a> 169 <a class="indexterm" name="id2576682"></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="id25 69784"></a>173 <a class="indexterm" name="id25 69791"></a>172 <a class="indexterm" name="id2576698"></a> 173 <a class="indexterm" name="id2576705"></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="id25 69863"></a>180 <a class="indexterm" name="id25 69870"></a>179 <a class="indexterm" name="id2576776"></a> 180 <a class="indexterm" name="id2576783"></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="id25 69941"></a>MS Windows Me</h4></div></div></div><p>187 <a class="indexterm" name="id25 69949"></a>188 <a class="indexterm" name="id25 69956"></a>189 <a class="indexterm" name="id25 69963"></a>186 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2576854"></a>MS Windows Me</h4></div></div></div><p> 187 <a class="indexterm" name="id2576862"></a> 188 <a class="indexterm" name="id2576869"></a> 189 <a class="indexterm" name="id2576876"></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="id25 69986"></a>195 <a class="indexterm" name="id25 69993"></a>194 <a class="indexterm" name="id2576899"></a> 195 <a class="indexterm" name="id2576906"></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="id257 0026"></a>199 <a class="indexterm" name="id2576938"></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="id257 0043"></a>202 <a class="indexterm" name="id2576956"></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="id257 0124"></a>209 <a class="indexterm" name="id257 0130"></a>210 <a class="indexterm" name="id257 0137"></a>208 <a class="indexterm" name="id2577036"></a> 209 <a class="indexterm" name="id2577043"></a> 210 <a class="indexterm" name="id2577050"></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="id257 0216"></a>219 <a class="indexterm" name="id257 0223"></a>220 <a class="indexterm" name="id257 0230"></a>218 <a class="indexterm" name="id2577130"></a> 219 <a class="indexterm" name="id2577137"></a> 220 <a class="indexterm" name="id2577143"></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="id257 0254"></a>226 <a class="indexterm" name="id257 0260"></a>225 <a class="indexterm" name="id2577167"></a> 226 <a class="indexterm" name="id2577173"></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="id257 0276"></a>229 <a class="indexterm" name="id2577189"></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="id257 0312"></a>237 <a class="indexterm" name="id257 0319"></a>236 <a class="indexterm" name="id2577226"></a> 237 <a class="indexterm" name="id2577232"></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="id257 0381"></a>243 <a class="indexterm" name="id257 0388"></a>242 <a class="indexterm" name="id2577294"></a> 243 <a class="indexterm" name="id2577301"></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="id257 0446"></a>Joining a Domain: Windows 2000/XP Professional</h3></div></div></div><p>249 <a class="indexterm" name="id257 0455"></a>250 <a class="indexterm" name="id257 0462"></a>251 <a class="indexterm" name="id257 0469"></a>252 <a class="indexterm" name="id257 0476"></a>248 </p></li></ol></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2577360"></a>Joining a Domain: Windows 2000/XP Professional</h3></div></div></div><p> 249 <a class="indexterm" name="id2577368"></a> 250 <a class="indexterm" name="id2577376"></a> 251 <a class="indexterm" name="id2577383"></a> 252 <a class="indexterm" name="id2577390"></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="id257 0530"></a>262 <a class="indexterm" name="id2577443"></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="id257 0595"></a>267 <a class="indexterm" name="id2577509"></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="id257 0637"></a>273 <a class="indexterm" name="id257 0644"></a>272 <a class="indexterm" name="id2577550"></a> 273 <a class="indexterm" name="id2577557"></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="id257 0776"></a>283 <a class="indexterm" name="id2577689"></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="id257 0848"></a>290 <a class="indexterm" name="id257 0855"></a>289 <a class="indexterm" name="id2577760"></a> 290 <a class="indexterm" name="id2577767"></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="id257 0874"></a>295 <a class="indexterm" name="id2577787"></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="id257 0951"></a>302 <a class="indexterm" name="id257 0958"></a>301 <a class="indexterm" name="id2577863"></a> 302 <a class="indexterm" name="id2577870"></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="id257 0974"></a>Domain Logon Configuration: Windows 9x/Me</h3></div></div></div><p>306 <a class="indexterm" name="id257 0982"></a>307 <a class="indexterm" name="id257 0989"></a>308 <a class="indexterm" name="id257 0996"></a>305 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2577886"></a>Domain Logon Configuration: Windows 9x/Me</h3></div></div></div><p> 306 <a class="indexterm" name="id2577895"></a> 307 <a class="indexterm" name="id2577902"></a> 308 <a class="indexterm" name="id2577908"></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="id257 1011"></a>313 <a class="indexterm" name="id257 1018"></a>314 <a class="indexterm" name="id257 1024"></a>312 <a class="indexterm" name="id2577923"></a> 313 <a class="indexterm" name="id2577930"></a> 314 <a class="indexterm" name="id2577937"></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="id257 1103"></a>324 <a class="indexterm" name="id257 1110"></a>323 <a class="indexterm" name="id2578016"></a> 324 <a class="indexterm" name="id2578023"></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="id257 1151"></a>330 <a class="indexterm" name="id257 1158"></a>329 <a class="indexterm" name="id2578063"></a> 330 <a class="indexterm" name="id2578070"></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="id257 1215"></a>336 <a class="indexterm" name="id257 1222"></a>335 <a class="indexterm" name="id2578127"></a> 336 <a class="indexterm" name="id2578134"></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="id257 1248"></a>341 <a class="indexterm" name="id257 1255"></a>342 <a class="indexterm" name="id257 1262"></a>340 <a class="indexterm" name="id2578160"></a> 341 <a class="indexterm" name="id2578167"></a> 342 <a class="indexterm" name="id2578174"></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="id257 1327"></a>348 <a class="indexterm" name="id257 1334"></a>349 <a class="indexterm" name="id257 1341"></a>350 <a class="indexterm" name="id257 1348"></a>347 <a class="indexterm" name="id2578239"></a> 348 <a class="indexterm" name="id2578246"></a> 349 <a class="indexterm" name="id2578253"></a> 350 <a class="indexterm" name="id2578260"></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="id257 1418"></a>Common Errors</h2></div></div></div><p>356 <a class="indexterm" name="id257 1426"></a>357 <a class="indexterm" name="id257 1433"></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="id2578330"></a>Common Errors</h2></div></div></div><p> 356 <a class="indexterm" name="id2578338"></a> 357 <a class="indexterm" name="id2578345"></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="id257 1480"></a>361 <a class="indexterm" name="id257 1488"></a>360 <a class="indexterm" name="id2578392"></a> 361 <a class="indexterm" name="id2578399"></a> 362 362 The most common reasons for which a Windows NT/200x/XP Professional client cannot join the Samba controlled domain are: 363 </p><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">smb.conf</code> does not have correct <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" >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>363 </p><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">smb.conf</code> does not have correct <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" target="_top">add machine script</a> settings.</p></li><li><p>“<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
r226 r231 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.7 3.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#id2685847">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2686026">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2686117">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="id2685847"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26 85855"></a>3 <a class="indexterm" name="id26 85865"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2692846">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2693025">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2693116">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="id2692846"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2692854"></a> 3 <a class="indexterm" name="id2692864"></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="id26 85892"></a>13 <a class="indexterm" name="id2692891"></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="id26 85909"></a>21 <a class="indexterm" name="id26 85918"></a>22 <a class="indexterm" name="id26 85927"></a>20 <a class="indexterm" name="id2692908"></a> 21 <a class="indexterm" name="id2692917"></a> 22 <a class="indexterm" name="id2692926"></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="id26 85950"></a>31 <a class="indexterm" name="id26 85956"></a>32 <a class="indexterm" name="id26 85963"></a>30 <a class="indexterm" name="id2692949"></a> 31 <a class="indexterm" name="id2692955"></a> 32 <a class="indexterm" name="id2692962"></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="id26 86026"></a>Example Configuration</h2></div></div></div><p>39 <a class="indexterm" name="id26 86034"></a>40 <a class="indexterm" name="id26 86041"></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="id2693025"></a>Example Configuration</h2></div></div></div><p> 39 <a class="indexterm" name="id2693033"></a> 40 <a class="indexterm" name="id2693040"></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="id26 86052"></a> The alternative to43 complexities of DNS, but alas, DNS won. <a class="indexterm" name="id2693051"></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="id26 86073"></a>49 <a class="indexterm" name="id26 86079"></a>48 <a class="indexterm" name="id2693072"></a> 49 <a class="indexterm" name="id2693078"></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="id26 86117"></a>Dynamic DNS</h3></div></div></div><p>70 <a class="indexterm" name="id26 86125"></a>69 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2693116"></a>Dynamic DNS</h3></div></div></div><p> 70 <a class="indexterm" name="id2693124"></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="id26 86140"></a>75 <a class="indexterm" name="id2693139"></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="id26 86303"></a>227 <a class="indexterm" name="id26 86310"></a>226 <a class="indexterm" name="id2693302"></a> 227 <a class="indexterm" name="id2693308"></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 … … 262 262 addresses between 192.168.1.60 and 192.168.1.254 are allocated for dynamic use. 263 263 </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch47.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Appendix.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="apa.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 47. Samba Support </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Appendix A. 264 <acronym class="acronym">GNU</acronym>General Public License version 3264 GNU General Public License version 3 265 265 </td></tr></table></div></body></html> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/FastStart.html
r226 r231 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.7 3.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#id2546591">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546615">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546695">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2546714">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2548634">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2549558">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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2554130">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554154">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554223">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2554242">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2555983">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2556821">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="id25 46591"></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="id2554130"></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="id25 46615"></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="id2554154"></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="id25 46695"></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="id2554223"></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="id25 46714"></a>Standalone Server</h3></div></div></div><p>64 <a class="indexterm" name="id25 46721"></a>63 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2554242"></a>Standalone Server</h3></div></div></div><p> 64 <a class="indexterm" name="id2554249"></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="id25 46755"></a>72 <a class="indexterm" name="id2554280"></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="id25 46802"></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="id2546940"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2546952"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2546964"></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="id2546985"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2546996"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2547008"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547019"></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="id2554325"></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="id2554450"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2554461"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2554471"></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="id2554490"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2554500"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2554511"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2554521"></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="id25 47169"></a>Anonymous Read-Write Document Server</h4></div></div></div><p>155 <a class="indexterm" name="id25 47177"></a>154 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2554657"></a>Anonymous Read-Write Document Server</h4></div></div></div><p> 155 <a class="indexterm" name="id2554666"></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="id25 47291"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2547302"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2547314"></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="id2547335"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2547346"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2547358"></a><em class="parameter"><code>force user = jackb</code></em></td></tr><tr><td><a class="indexterm" name="id2547370"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2547381"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2547393"></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="id2547406"></a>Anonymous Print Server</h4></div></div></div><p>173 <a class="indexterm" name="id25 47414"></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="id2554765"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2554775"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2554786"></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="id2554805"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2554815"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2554825"></a><em class="parameter"><code>force user = jackb</code></em></td></tr><tr><td><a class="indexterm" name="id2554836"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2554846"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2554857"></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="id2554869"></a>Anonymous Print Server</h4></div></div></div><p> 173 <a class="indexterm" name="id2554877"></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="id25 47498"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2547509"></a><em class="parameter"><code>netbios name = LUTHIEN</code></em></td></tr><tr><td><a class="indexterm" name="id2547521"></a><em class="parameter"><code>security = share</code></em></td></tr><tr><td><a class="indexterm" name="id2547533"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2547545"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547557"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2547569"></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="id2547589"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2547601"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2547613"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547624"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547636"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2547648"></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="id2554953"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2554964"></a><em class="parameter"><code>netbios name = LUTHIEN</code></em></td></tr><tr><td><a class="indexterm" name="id2554974"></a><em class="parameter"><code>security = share</code></em></td></tr><tr><td><a class="indexterm" name="id2554984"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2554995"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555005"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2555016"></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="id2555035"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2555046"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2555056"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555066"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555077"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555087"></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="id25 47763"></a>224 <a class="indexterm" name="id25 47773"></a>223 <a class="indexterm" name="id2555197"></a> 224 <a class="indexterm" name="id2555206"></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, 227 227 it is necessary to configure a raw printing device. It is also necessary to enable the raw mime 228 228 handler in the <code class="filename">/etc/mime.conv</code> and <code class="filename">/etc/mime.types</code> 229 files. Refer to <a class="link" href="CUPS-printing.html#cups-raw" title="Explicitly Enable “raw”Printing for application/octet-stream">“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="id25 47806"></a>Secure Read-Write File and Print Server</h4></div></div></div><p>229 files. Refer to <a class="link" href="CUPS-printing.html#cups-raw" title="Explicitly Enable 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="id2555234"></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> … … 247 247 encrypted passwords in a file called <code class="filename">/etc/samba/smbpasswd</code>. 248 248 The default <code class="filename">smb.conf</code> entry that makes this happen is 249 <a class="link" href="smb.conf.5.html#PASSDBBACKEND" >passdb backend = smbpasswd, guest</a>. Since this is the default,249 <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend = smbpasswd, guest</a>. Since this is the default, 250 250 it is not necessary to enter it into the configuration file. Note that the guest backend is 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="id25 47883"></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="id2547988"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2548000"></a><em class="parameter"><code>netbios name = OLORIN</code></em></td></tr><tr><td><a class="indexterm" name="id2548011"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2548023"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548035"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2548047"></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="id2548068"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2548080"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2548091"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2548103"></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="id2548123"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2548135"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2548146"></a><em class="parameter"><code>force user = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2548158"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2548170"></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="id2548190"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2548202"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2548214"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2548226"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2548237"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548249"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548260"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548272"></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="id25 47894"></a>253 </p><div class="procedure"><a name="id2555304"></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="id2555399"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2555409"></a><em class="parameter"><code>netbios name = OLORIN</code></em></td></tr><tr><td><a class="indexterm" name="id2555420"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2555430"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555440"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2555452"></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="id2555470"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2555481"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2555491"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2555502"></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="id2555520"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2555531"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2555541"></a><em class="parameter"><code>force user = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2555552"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2555562"></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="id2555581"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2555591"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2555602"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2555612"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2555622"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555633"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555643"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555654"></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="id2555315"></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="id25 48409"></a>294 <a class="indexterm" name="id25 48416"></a>295 <a class="indexterm" name="id25 48423"></a>296 <a class="indexterm" name="id25 48432"></a>293 <a class="indexterm" name="id2555774"></a> 294 <a class="indexterm" name="id2555780"></a> 295 <a class="indexterm" name="id2555786"></a> 296 <a class="indexterm" name="id2555795"></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="id25 48634"></a>Domain Member Server</h3></div></div></div><p>362 <a class="indexterm" name="id25 48642"></a>361 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2555983"></a>Domain Member Server</h3></div></div></div><p> 362 <a class="indexterm" name="id2555990"></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="id25 48705"></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="id2556052"></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="id25 48790"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2548802"></a><em class="parameter"><code>netbios name = VALINOR</code></em></td></tr><tr><td><a class="indexterm" name="id2548814"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2548825"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2548837"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548849"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2548861"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2548873"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2548884"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2548897"></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="id2548934"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2548945"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2548957"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2548968"></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="id2548989"></a><em class="parameter"><code>comment = Accounting Application Only</code></em></td></tr><tr><td><a class="indexterm" name="id2549001"></a><em class="parameter"><code>path = /export/spytfull</code></em></td></tr><tr><td><a class="indexterm" name="id2549013"></a><em class="parameter"><code>valid users = @Accounts</code></em></td></tr><tr><td><a class="indexterm" name="id2549024"></a><em class="parameter"><code>admin users = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2549036"></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="id2549057"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2549068"></a><em class="parameter"><code>path = /export/public</code></em></td></tr><tr><td><a class="indexterm" name="id2549080"></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="id2549100"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2549112"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2549124"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2549136"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2549147"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549159"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549171"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549182"></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="id2556126"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2556136"></a><em class="parameter"><code>netbios name = VALINOR</code></em></td></tr><tr><td><a class="indexterm" name="id2556147"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2556157"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2556168"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556178"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2556189"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2556200"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2556210"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556221"></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="id2556254"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2556265"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2556275"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2556286"></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="id2556304"></a><em class="parameter"><code>comment = Accounting Application Only</code></em></td></tr><tr><td><a class="indexterm" name="id2556316"></a><em class="parameter"><code>path = /export/spytfull</code></em></td></tr><tr><td><a class="indexterm" name="id2556326"></a><em class="parameter"><code>valid users = @Accounts</code></em></td></tr><tr><td><a class="indexterm" name="id2556336"></a><em class="parameter"><code>admin users = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2556347"></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="id2556366"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2556376"></a><em class="parameter"><code>path = /export/public</code></em></td></tr><tr><td><a class="indexterm" name="id2556386"></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="id2556405"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2556416"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2556426"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2556436"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2556447"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556457"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556468"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556478"></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="id25 49201"></a>405 <a class="indexterm" name="id2556495"></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="id25 49258"></a>418 <a class="indexterm" name="id25 49265"></a>419 <a class="indexterm" name="id25 49271"></a>420 <a class="indexterm" name="id25 49278"></a>421 <a class="indexterm" name="id25 49288"></a>422 <a class="indexterm" name="id25 49297"></a>417 <a class="indexterm" name="id2556547"></a> 418 <a class="indexterm" name="id2556553"></a> 419 <a class="indexterm" name="id2556559"></a> 420 <a class="indexterm" name="id2556566"></a> 421 <a class="indexterm" name="id2556574"></a> 422 <a class="indexterm" name="id2556582"></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="id25 49558"></a>Domain Controller</h3></div></div></div><p>484 <a class="indexterm" name="id25 49566"></a>483 </p></li></ol></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2556821"></a>Domain Controller</h3></div></div></div><p> 484 <a class="indexterm" name="id2556829"></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="id25 49639"></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="id2556901"></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="id25 49714"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2549726"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2549737"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2549749"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2549761"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m %u</code></em></td></tr><tr><td><a class="indexterm" name="id2549773"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r %u</code></em></td></tr><tr><td><a class="indexterm" name="id2549786"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd %g</code></em></td></tr><tr><td><a class="indexterm" name="id2549798"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel %g</code></em></td></tr><tr><td><a class="indexterm" name="id2549810"></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="id2549822"></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="id2549835"></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="id2549857"></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="id2549873"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2549885"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2549897"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2549908"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549920"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2549932"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549944"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2549955"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2549967"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2549979"></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="id2550017"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2550028"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2550040"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2550051"></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="id2550076"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2550088"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2550099"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2550111"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2550123"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2550134"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2550146"></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="id2550167"></a><em class="parameter"><code>comment = Printer Drivers Share</code></em></td></tr><tr><td><a class="indexterm" name="id2550178"></a><em class="parameter"><code>path = /var/lib/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2550190"></a><em class="parameter"><code>write list = maryo, root</code></em></td></tr><tr><td><a class="indexterm" name="id2550202"></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="id2550227"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2550239"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2550250"></a><em class="parameter"><code>admin users = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2550262"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2550274"></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="id2550303"></a><em class="parameter"><code>comment = Roaming Profile Share</code></em></td></tr><tr><td><a class="indexterm" name="id2550315"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2550327"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2550338"></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="id2556965"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2556975"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2556986"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2556996"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2557007"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m %u</code></em></td></tr><tr><td><a class="indexterm" name="id2557018"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r %u</code></em></td></tr><tr><td><a class="indexterm" name="id2557029"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd %g</code></em></td></tr><tr><td><a class="indexterm" name="id2557040"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel %g</code></em></td></tr><tr><td><a class="indexterm" name="id2557052"></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="id2557063"></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="id2557075"></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="id2557096"></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="id2557111"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2557122"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2557133"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2557143"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557154"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2557164"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557174"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557185"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2557195"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2557206"></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="id2557239"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2557249"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2557260"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2557270"></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="id2557293"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2557304"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2557314"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2557324"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2557335"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557345"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557356"></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="id2557374"></a><em class="parameter"><code>comment = Printer Drivers Share</code></em></td></tr><tr><td><a class="indexterm" name="id2557386"></a><em class="parameter"><code>path = /var/lib/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2557397"></a><em class="parameter"><code>write list = maryo, root</code></em></td></tr><tr><td><a class="indexterm" name="id2557407"></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="id2557430"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2557441"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2557452"></a><em class="parameter"><code>admin users = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2557462"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557473"></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="id2557500"></a><em class="parameter"><code>comment = Roaming Profile Share</code></em></td></tr><tr><td><a class="indexterm" name="id2557511"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2557522"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2557533"></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="id25 49682"></a>528 <a class="indexterm" name="id2556936"></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="id255 0428"></a>545 <a class="indexterm" name="id255 0437"></a>544 <a class="indexterm" name="id2557615"></a> 545 <a class="indexterm" name="id2557624"></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="id255 0522"></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="id2557704"></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="id255 0538"></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="id2557719"></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="id255 0783"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2550795"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2550806"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://localhost</code></em></td></tr><tr><td><a class="indexterm" name="id2550819"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2550831"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2550842"></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="id2550855"></a><em class="parameter"><code>delete user script = /usr/local/sbin/smbldap-userdel %u</code></em></td></tr><tr><td><a class="indexterm" name="id2550867"></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="id2550880"></a><em class="parameter"><code>delete group script = /usr/local/sbin/smbldap-groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2550892"></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="id2550905"></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="id2550918"></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="id2550931"></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="id2550943"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2550955"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2550967"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2550979"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2550990"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551002"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2551014"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551026"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551037"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2551049"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551061"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551073"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551085"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551097"></a><em class="parameter"><code>ldap admin dn = cn=Manager</code></em></td></tr><tr><td><a class="indexterm" name="id2551109"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2551121"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551133"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2551144"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2551156"></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="id2557946"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2557956"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2557966"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://localhost</code></em></td></tr><tr><td><a class="indexterm" name="id2557978"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2557989"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2557999"></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="id2558010"></a><em class="parameter"><code>delete user script = /usr/local/sbin/smbldap-userdel %u</code></em></td></tr><tr><td><a class="indexterm" name="id2558022"></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="id2558033"></a><em class="parameter"><code>delete group script = /usr/local/sbin/smbldap-groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2558045"></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="id2558057"></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="id2558069"></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="id2558081"></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="id2558092"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2558104"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2558115"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2558125"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2558135"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558146"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2558156"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558167"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558177"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2558188"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558199"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558210"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558221"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558232"></a><em class="parameter"><code>ldap admin dn = cn=Manager</code></em></td></tr><tr><td><a class="indexterm" name="id2558243"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2558253"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558264"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2558274"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2558284"></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="id255 0612"></a>596 <a class="indexterm" name="id2557788"></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="id255 0659"></a>632 <a class="indexterm" name="id2557832"></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="id255 1211"></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="id2558335"></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="id255 1290"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2551302"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2551314"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://frodo.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2551326"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2551338"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2551350"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2551362"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2551374"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2551385"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2551397"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551409"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2551420"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551432"></a><em class="parameter"><code>domain master = No</code></em></td></tr><tr><td><a class="indexterm" name="id2551444"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2551456"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551468"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551480"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551492"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2551504"></a><em class="parameter"><code>ldap admin dn = cn=Manager</code></em></td></tr><tr><td><a class="indexterm" name="id2551516"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2551527"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2551539"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2551551"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2551563"></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="id2558406"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2558417"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2558427"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://frodo.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2558439"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2558449"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2558459"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2558470"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2558482"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2558492"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2558502"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558513"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2558523"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558534"></a><em class="parameter"><code>domain master = No</code></em></td></tr><tr><td><a class="indexterm" name="id2558544"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2558555"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558566"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558577"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558588"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558599"></a><em class="parameter"><code>ldap admin dn = cn=Manager</code></em></td></tr><tr><td><a class="indexterm" name="id2558610"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2558620"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558630"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2558641"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2558651"></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
r226 r231 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.7 3.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#id2612737">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613087">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613123">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613220">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613305">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613514">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#id2613854">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614050">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614200">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614212">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614258">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id261 2517"></a>3 <a class="indexterm" name="id261 2524"></a>4 <a class="indexterm" name="id261 2530"></a>5 <a class="indexterm" name="id261 2537"></a>6 <a class="indexterm" name="id261 2544"></a>7 <a class="indexterm" name="id261 2551"></a>8 <a class="indexterm" name="id261 2558"></a>9 <a class="indexterm" name="id261 2565"></a>10 <a class="indexterm" name="id261 2572"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Szczesniak</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><span class="contrib">drawing</span> <div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2619694">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620044">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620080">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620177">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620262">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620471">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#id2620820">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621016">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621165">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621178">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621224">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2619474"></a> 3 <a class="indexterm" name="id2619481"></a> 4 <a class="indexterm" name="id2619488"></a> 5 <a class="indexterm" name="id2619495"></a> 6 <a class="indexterm" name="id2619502"></a> 7 <a class="indexterm" name="id2619509"></a> 8 <a class="indexterm" name="id2619516"></a> 9 <a class="indexterm" name="id2619522"></a> 10 <a class="indexterm" name="id2619529"></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="id261 2589"></a>19 <a class="indexterm" name="id261 2596"></a>20 <a class="indexterm" name="id261 2603"></a>21 <a class="indexterm" name="id261 2610"></a>22 <a class="indexterm" name="id261 2617"></a>18 <a class="indexterm" name="id2619547"></a> 19 <a class="indexterm" name="id2619554"></a> 20 <a class="indexterm" name="id2619560"></a> 21 <a class="indexterm" name="id2619567"></a> 22 <a class="indexterm" name="id2619574"></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="id261 2651"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2612662"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table><p>28 <a class="indexterm" name="id261 2674"></a>29 <a class="indexterm" name="id261 2681"></a>30 <a class="indexterm" name="id261 2688"></a>31 <a class="indexterm" name="id261 2695"></a>27 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2619608"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2619620"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table><p> 28 <a class="indexterm" name="id2619632"></a> 29 <a class="indexterm" name="id2619638"></a> 30 <a class="indexterm" name="id2619645"></a> 31 <a class="indexterm" name="id2619652"></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="id261 2713"></a>39 <a class="indexterm" name="id261 2720"></a>40 <a class="indexterm" name="id261 2727"></a>38 <a class="indexterm" name="id2619670"></a> 39 <a class="indexterm" name="id2619677"></a> 40 <a class="indexterm" name="id2619684"></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="id261 2737"></a>Features and Benefits</h2></div></div></div><p>44 <a class="indexterm" name="id261 2745"></a>45 <a class="indexterm" name="id261 2751"></a>43 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2619694"></a>Features and Benefits</h2></div></div></div><p> 44 <a class="indexterm" name="id2619702"></a> 45 <a class="indexterm" name="id2619709"></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="id261 2765"></a>50 <a class="indexterm" name="id261 2772"></a>51 <a class="indexterm" name="id261 2779"></a>52 <a class="indexterm" name="id261 2785"></a>53 <a class="indexterm" name="id261 2792"></a>49 <a class="indexterm" name="id2619722"></a> 50 <a class="indexterm" name="id2619729"></a> 51 <a class="indexterm" name="id2619736"></a> 52 <a class="indexterm" name="id2619743"></a> 53 <a class="indexterm" name="id2619750"></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="id261 2809"></a>Trust Relationship Background</h2></div></div></div><p>60 <a class="indexterm" name="id261 2817"></a>61 <a class="indexterm" name="id261 2824"></a>62 <a class="indexterm" name="id261 2831"></a>63 <a class="indexterm" name="id261 2838"></a>64 <a class="indexterm" name="id261 2845"></a>65 <a class="indexterm" name="id261 2851"></a>59 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2619766"></a>Trust Relationship Background</h2></div></div></div><p> 60 <a class="indexterm" name="id2619774"></a> 61 <a class="indexterm" name="id2619781"></a> 62 <a class="indexterm" name="id2619788"></a> 63 <a class="indexterm" name="id2619795"></a> 64 <a class="indexterm" name="id2619802"></a> 65 <a class="indexterm" name="id2619809"></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="id261 2868"></a>73 <a class="indexterm" name="id261 2875"></a>74 <a class="indexterm" name="id261 2882"></a>75 <a class="indexterm" name="id261 2888"></a>76 <a class="indexterm" name="id261 2895"></a>72 <a class="indexterm" name="id2619826"></a> 73 <a class="indexterm" name="id2619832"></a> 74 <a class="indexterm" name="id2619839"></a> 75 <a class="indexterm" name="id2619846"></a> 76 <a class="indexterm" name="id2619853"></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="id261 2913"></a>84 <a class="indexterm" name="id261 2920"></a>85 <a class="indexterm" name="id261 2926"></a>86 <a class="indexterm" name="id261 2933"></a>87 <a class="indexterm" name="id261 2940"></a>88 <a class="indexterm" name="id261 2947"></a>89 <a class="indexterm" name="id261 2954"></a>83 <a class="indexterm" name="id2619870"></a> 84 <a class="indexterm" name="id2619877"></a> 85 <a class="indexterm" name="id2619884"></a> 86 <a class="indexterm" name="id2619891"></a> 87 <a class="indexterm" name="id2619897"></a> 88 <a class="indexterm" name="id2619904"></a> 89 <a class="indexterm" name="id2619911"></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="id261 2984"></a>101 <a class="indexterm" name="id261 2991"></a>102 <a class="indexterm" name="id261 2998"></a>103 <a class="indexterm" name="id261 3005"></a>104 <a class="indexterm" name="id261 3012"></a>100 <a class="indexterm" name="id2619941"></a> 101 <a class="indexterm" name="id2619948"></a> 102 <a class="indexterm" name="id2619955"></a> 103 <a class="indexterm" name="id2619962"></a> 104 <a class="indexterm" name="id2619969"></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="id261 3028"></a>111 <a class="indexterm" name="id261 3035"></a>112 <a class="indexterm" name="id261 3042"></a>113 <a class="indexterm" name="id26 13048"></a>114 <a class="indexterm" name="id26 13055"></a>115 <a class="indexterm" name="id26 13062"></a>116 <a class="indexterm" name="id26 13069"></a>110 <a class="indexterm" name="id2619985"></a> 111 <a class="indexterm" name="id2619992"></a> 112 <a class="indexterm" name="id2619999"></a> 113 <a class="indexterm" name="id2620006"></a> 114 <a class="indexterm" name="id2620013"></a> 115 <a class="indexterm" name="id2620020"></a> 116 <a class="indexterm" name="id2620027"></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="id26 13087"></a>Native MS Windows NT4 Trusts Configuration</h2></div></div></div><p>123 <a class="indexterm" name="id26 13094"></a>124 <a class="indexterm" name="id26 13104"></a>125 <a class="indexterm" name="id26 13110"></a>122 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2620044"></a>Native MS Windows NT4 Trusts Configuration</h2></div></div></div><p> 123 <a class="indexterm" name="id2620052"></a> 124 <a class="indexterm" name="id2620061"></a> 125 <a class="indexterm" name="id2620068"></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="id26 13123"></a>Creating an NT4 Domain Trust</h3></div></div></div><p>130 <a class="indexterm" name="id26 13131"></a>131 <a class="indexterm" name="id26 13138"></a>132 <a class="indexterm" name="id26 13145"></a>133 <a class="indexterm" name="id26 13152"></a>134 <a class="indexterm" name="id26 13159"></a>129 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2620080"></a>Creating an NT4 Domain Trust</h3></div></div></div><p> 130 <a class="indexterm" name="id2620088"></a> 131 <a class="indexterm" name="id2620095"></a> 132 <a class="indexterm" name="id2620102"></a> 133 <a class="indexterm" name="id2620110"></a> 134 <a class="indexterm" name="id2620116"></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="id26 13220"></a>Completing an NT4 Domain Trust</h3></div></div></div><p>146 <a class="indexterm" name="id26 13228"></a>147 <a class="indexterm" name="id26 13235"></a>148 <a class="indexterm" name="id26 13242"></a>149 <a class="indexterm" name="id26 13249"></a>150 <a class="indexterm" name="id26 13256"></a>151 <a class="indexterm" name="id26 13263"></a>145 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2620177"></a>Completing an NT4 Domain Trust</h3></div></div></div><p> 146 <a class="indexterm" name="id2620185"></a> 147 <a class="indexterm" name="id2620192"></a> 148 <a class="indexterm" name="id2620199"></a> 149 <a class="indexterm" name="id2620206"></a> 150 <a class="indexterm" name="id2620213"></a> 151 <a class="indexterm" name="id2620220"></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="id26 13305"></a>Interdomain Trust Facilities</h3></div></div></div><p>159 <a class="indexterm" name="id26 13313"></a>160 <a class="indexterm" name="id26 13320"></a>161 <a class="indexterm" name="id26 13327"></a>162 <a class="indexterm" name="id26 13334"></a>163 <a class="indexterm" name="id26 13341"></a>164 <a class="indexterm" name="id26 13348"></a>158 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2620262"></a>Interdomain Trust Facilities</h3></div></div></div><p> 159 <a class="indexterm" name="id2620270"></a> 160 <a class="indexterm" name="id2620277"></a> 161 <a class="indexterm" name="id2620284"></a> 162 <a class="indexterm" name="id2620291"></a> 163 <a class="indexterm" name="id2620298"></a> 164 <a class="indexterm" name="id2620305"></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="id26 13514"></a>Configuring Samba NT-Style Domain Trusts</h2></div></div></div><p>205 <a class="indexterm" name="id26 13522"></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="id2620471"></a>Configuring Samba NT-Style Domain Trusts</h2></div></div></div><p> 205 <a class="indexterm" name="id2620480"></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="id26 13537"></a>211 <a class="indexterm" name="id26 13544"></a>212 <a class="indexterm" name="id26 13551"></a>213 <a class="indexterm" name="id26 13558"></a>210 <a class="indexterm" name="id2620495"></a> 211 <a class="indexterm" name="id2620502"></a> 212 <a class="indexterm" name="id2620508"></a> 213 <a class="indexterm" name="id2620515"></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="id26 13585"></a>220 <a class="indexterm" name="id26 13592"></a>221 <a class="indexterm" name="id26 13599"></a>222 <a class="indexterm" name="id26 13606"></a>223 <a class="indexterm" name="id26 13612"></a>219 <a class="indexterm" name="id2620543"></a> 220 <a class="indexterm" name="id2620550"></a> 221 <a class="indexterm" name="id2620556"></a> 222 <a class="indexterm" name="id2620563"></a> 223 <a class="indexterm" name="id2620570"></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="id26 13681"></a>243 <a class="indexterm" name="id26 13688"></a>244 <a class="indexterm" name="id26 13695"></a>245 <a class="indexterm" name="id26 13702"></a>242 <a class="indexterm" name="id2620640"></a> 243 <a class="indexterm" name="id2620646"></a> 244 <a class="indexterm" name="id2620653"></a> 245 <a class="indexterm" name="id2620660"></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="id26 13726"></a>252 <a class="indexterm" name="id26 13732"></a>253 <a class="indexterm" name="id26 13739"></a>254 <a class="indexterm" name="id26 13746"></a>251 <a class="indexterm" name="id2620684"></a> 252 <a class="indexterm" name="id2620691"></a> 253 <a class="indexterm" name="id2620698"></a> 254 <a class="indexterm" name="id2620705"></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="id26 13769"></a>263 <a class="indexterm" name="id26 13776"></a>264 <a class="indexterm" name="id26 13783"></a>265 <a class="indexterm" name="id26 13790"></a>266 <a class="indexterm" name="id26 13797"></a>262 <a class="indexterm" name="id2620734"></a> 263 <a class="indexterm" name="id2620741"></a> 264 <a class="indexterm" name="id2620748"></a> 265 <a class="indexterm" name="id2620755"></a> 266 <a class="indexterm" name="id2620762"></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="id26 13854"></a>Samba as the Trusting Domain</h3></div></div></div><p>274 <a class="indexterm" name="id26 13862"></a>275 <a class="indexterm" name="id26 13869"></a>273 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2620820"></a>Samba as the Trusting Domain</h3></div></div></div><p> 274 <a class="indexterm" name="id2620828"></a> 275 <a class="indexterm" name="id2620835"></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="id26 13887"></a>282 <a class="indexterm" name="id26 13894"></a>283 <a class="indexterm" name="id26 13900"></a>281 <a class="indexterm" name="id2620852"></a> 282 <a class="indexterm" name="id2620859"></a> 283 <a class="indexterm" name="id2620866"></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="id26 13943"></a>291 <a class="indexterm" name="id26 13950"></a>290 <a class="indexterm" name="id2620909"></a> 291 <a class="indexterm" name="id2620916"></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="id26 13965"></a>296 <a class="indexterm" name="id2620931"></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="id26 13993"></a>301 <a class="indexterm" name="id26 14000"></a>302 <a class="indexterm" name="id26 14007"></a>300 <a class="indexterm" name="id2620959"></a> 301 <a class="indexterm" name="id2620966"></a> 302 <a class="indexterm" name="id2620973"></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="id26 14050"></a>NT4-Style Domain Trusts with Windows 2000</h2></div></div></div><p>315 <a class="indexterm" name="id26 14059"></a>316 <a class="indexterm" name="id26 14066"></a>317 <a class="indexterm" name="id26 14072"></a>318 <a class="indexterm" name="id26 14079"></a>314 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2621016"></a>NT4-Style Domain Trusts with Windows 2000</h2></div></div></div><p> 315 <a class="indexterm" name="id2621024"></a> 316 <a class="indexterm" name="id2621031"></a> 317 <a class="indexterm" name="id2621038"></a> 318 <a class="indexterm" name="id2621045"></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="id26 14101"></a>325 <a class="indexterm" name="id26 14108"></a>326 <a class="indexterm" name="id26 14114"></a>327 <a class="indexterm" name="id26 14121"></a>324 <a class="indexterm" name="id2621066"></a> 325 <a class="indexterm" name="id2621073"></a> 326 <a class="indexterm" name="id2621080"></a> 327 <a class="indexterm" name="id2621087"></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="id26 14200"></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="id2621165"></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="id26 14212"></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="id2621178"></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="id26 14258"></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="id2621224"></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
r226 r231 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.7 3.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#id2543653">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2494756">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2543950">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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2551378">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2498886">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2551674">Book Structure and Layout</a></span></dt></dl></div><p>“<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="id25 43653"></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="id2551378"></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="id249 4756"></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="id2498886"></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="id25 43950"></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="id2551674"></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
r226 r231 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.7 3.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#id2672049">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2672084">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673028">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2673264">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2673350">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673583">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id267 2033"></a>3 <a class="indexterm" name="id267 2039"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2679040">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2679075">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680020">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2680256">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2680342">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680575">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2679023"></a> 3 <a class="indexterm" name="id2679030"></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="id267 2049"></a>Planning and Getting Started</h2></div></div></div><p>7 <a class="indexterm" name="id267 2058"></a>6 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2679040"></a>Planning and Getting Started</h2></div></div></div><p> 7 <a class="indexterm" name="id2679048"></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="id267 2072"></a>12 <a class="indexterm" name="id2679063"></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="id267 2084"></a>Objectives</h3></div></div></div><p>17 <a class="indexterm" name="id267 2092"></a>16 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2679075"></a>Objectives</h3></div></div></div><p> 17 <a class="indexterm" name="id2679083"></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="id267 2110"></a>24 <a class="indexterm" name="id2679100"></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="id267 2126"></a><a class="indexterm" name="id2672132"></a><a class="indexterm" name="id2672139"></a><a class="indexterm" name="id2672146"></a><a class="indexterm" name="id2672153"></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="id267 2196"></a>30 <a class="indexterm" name="id267 2203"></a>31 <a class="indexterm" name="id267 2210"></a>32 <a class="indexterm" name="id267 2217"></a>33 <a class="indexterm" name="id267 2223"></a>34 <a class="indexterm" name="id267 2230"></a>28 </p><a class="indexterm" name="id2679116"></a><a class="indexterm" name="id2679123"></a><a class="indexterm" name="id2679130"></a><a class="indexterm" name="id2679137"></a><a class="indexterm" name="id2679144"></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="id2679187"></a> 30 <a class="indexterm" name="id2679194"></a> 31 <a class="indexterm" name="id2679201"></a> 32 <a class="indexterm" name="id2679207"></a> 33 <a class="indexterm" name="id2679214"></a> 34 <a class="indexterm" name="id2679221"></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="id267 2249"></a><a class="indexterm" name="id2672256"></a><a class="indexterm" name="id2672263"></a><a class="indexterm" name="id2672270"></a><a class="indexterm" name="id2672277"></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="id2679240"></a><a class="indexterm" name="id2679247"></a><a class="indexterm" name="id2679254"></a><a class="indexterm" name="id2679261"></a><a class="indexterm" name="id2679268"></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="id267 2317"></a><a class="indexterm" name="id2672324"></a><a class="indexterm" name="id2672331"></a><a class="indexterm" name="id2672338"></a><a class="indexterm" name="id2672345"></a><a class="indexterm" name="id2672352"></a><a class="indexterm" name="id2672359"></a><a class="indexterm" name="id2672366"></a><a class="indexterm" name="id2672372"></a><a class="indexterm" name="id2672379"></a><a class="indexterm" name="id2672386"></a><a class="indexterm" name="id2672393"></a><a class="indexterm" name="id2672400"></a><a class="indexterm" name="id2672407"></a><a class="indexterm" name="id2672414"></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="id267 2480"></a>45 </p><a class="indexterm" name="id2679308"></a><a class="indexterm" name="id2679315"></a><a class="indexterm" name="id2679322"></a><a class="indexterm" name="id2679329"></a><a class="indexterm" name="id2679336"></a><a class="indexterm" name="id2679343"></a><a class="indexterm" name="id2679350"></a><a class="indexterm" name="id2679356"></a><a class="indexterm" name="id2679363"></a><a class="indexterm" name="id2679370"></a><a class="indexterm" name="id2679377"></a><a class="indexterm" name="id2679384"></a><a class="indexterm" name="id2679391"></a><a class="indexterm" name="id2679398"></a><a class="indexterm" name="id2679405"></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="id2679471"></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="id267 2494"></a>Domain Layout</h4></div></div></div><p>52 <a class="indexterm" name="id267 2502"></a>53 <a class="indexterm" name="id267 2509"></a>54 <a class="indexterm" name="id267 2516"></a>55 <a class="indexterm" name="id267 2523"></a>56 <a class="indexterm" name="id267 2530"></a>57 <a class="indexterm" name="id267 2537"></a>58 <a class="indexterm" name="id267 2544"></a>59 <a class="indexterm" name="id267 2550"></a>60 <a class="indexterm" name="id267 2557"></a>61 <a class="indexterm" name="id267 2564"></a>62 <a class="indexterm" name="id267 2571"></a>63 <a class="indexterm" name="id267 2578"></a>64 <a class="indexterm" name="id267 2585"></a>65 <a class="indexterm" name="id267 2592"></a>66 <a class="indexterm" name="id267 2599"></a>67 <a class="indexterm" name="id267 2606"></a>51 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2679485"></a>Domain Layout</h4></div></div></div><p> 52 <a class="indexterm" name="id2679492"></a> 53 <a class="indexterm" name="id2679499"></a> 54 <a class="indexterm" name="id2679506"></a> 55 <a class="indexterm" name="id2679514"></a> 56 <a class="indexterm" name="id2679520"></a> 57 <a class="indexterm" name="id2679527"></a> 58 <a class="indexterm" name="id2679534"></a> 59 <a class="indexterm" name="id2679541"></a> 60 <a class="indexterm" name="id2679548"></a> 61 <a class="indexterm" name="id2679555"></a> 62 <a class="indexterm" name="id2679561"></a> 63 <a class="indexterm" name="id2679568"></a> 64 <a class="indexterm" name="id2679576"></a> 65 <a class="indexterm" name="id2679582"></a> 66 <a class="indexterm" name="id2679589"></a> 67 <a class="indexterm" name="id2679596"></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="id267 2629"></a>77 <a class="indexterm" name="id2679619"></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="id267 2642"></a>82 <a class="indexterm" name="id267 2649"></a>83 <a class="indexterm" name="id267 2656"></a>84 <a class="indexterm" name="id267 2663"></a>85 <a class="indexterm" name="id267 2670"></a>86 <a class="indexterm" name="id267 2676"></a>81 <a class="indexterm" name="id2679633"></a> 82 <a class="indexterm" name="id2679640"></a> 83 <a class="indexterm" name="id2679647"></a> 84 <a class="indexterm" name="id2679654"></a> 85 <a class="indexterm" name="id2679660"></a> 86 <a class="indexterm" name="id2679667"></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="id267 2695"></a>Server Share and Directory Layout</h4></div></div></div><p>94 <a class="indexterm" name="id267 2703"></a>95 <a class="indexterm" name="id267 2710"></a>93 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2679686"></a>Server Share and Directory Layout</h4></div></div></div><p> 94 <a class="indexterm" name="id2679694"></a> 95 <a class="indexterm" name="id2679701"></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="id267 2726"></a>102 <a class="indexterm" name="id267 2733"></a>103 <a class="indexterm" name="id267 2739"></a>104 <a class="indexterm" name="id267 2746"></a>105 <a class="indexterm" name="id267 2753"></a>106 <a class="indexterm" name="id267 2760"></a>101 <a class="indexterm" name="id2679717"></a> 102 <a class="indexterm" name="id2679723"></a> 103 <a class="indexterm" name="id2679730"></a> 104 <a class="indexterm" name="id2679737"></a> 105 <a class="indexterm" name="id2679744"></a> 106 <a class="indexterm" name="id2679751"></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="id267 2790"></a>115 <a class="indexterm" name="id267 2797"></a>116 <a class="indexterm" name="id267 2804"></a>114 <a class="indexterm" name="id2679780"></a> 115 <a class="indexterm" name="id2679787"></a> 116 <a class="indexterm" name="id2679794"></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="id267 2822"></a>122 <a class="indexterm" name="id267 2829"></a>123 <a class="indexterm" name="id267 2836"></a>124 <a class="indexterm" name="id267 2843"></a>125 <a class="indexterm" name="id267 2850"></a>121 <a class="indexterm" name="id2679812"></a> 122 <a class="indexterm" name="id2679819"></a> 123 <a class="indexterm" name="id2679826"></a> 124 <a class="indexterm" name="id2679833"></a> 125 <a class="indexterm" name="id2679840"></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="id267 2869"></a>Logon Scripts</h4></div></div></div><p>135 <a class="indexterm" name="id267 2877"></a>134 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2679860"></a>Logon Scripts</h4></div></div></div><p> 135 <a class="indexterm" name="id2679868"></a> 136 136 Logon scripts can help to ensure that all users gain the share and printer connections they need. 137 137 </p><p> … … 139 139 rights and privileges granted to the user. The preferred controls should be effected through 140 140 group membership so group information can be used to create a custom logon script using 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 </p><p> 143 <a class="indexterm" name="id267 2916"></a>141 the <a class="link" href="smb.conf.5.html#ROOTPREEXEC" target="_top">root preexec</a> parameters to the <em class="parameter"><code>NETLOGON</code></em> share. 142 </p><p> 143 <a class="indexterm" name="id2679907"></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="id267 2936"></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="id2679927"></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="id267 2949"></a>153 <a class="indexterm" name="id267 2956"></a>152 <a class="indexterm" name="id2679940"></a> 153 <a class="indexterm" name="id2679947"></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="id267 2980"></a>User and Group Accounts</h4></div></div></div><p>158 <a class="indexterm" name="id267 2988"></a>159 <a class="indexterm" name="id267 2995"></a>160 <a class="indexterm" name="id267 3002"></a>161 <a class="indexterm" name="id26 73009"></a>157 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2679971"></a>User and Group Accounts</h4></div></div></div><p> 158 <a class="indexterm" name="id2679979"></a> 159 <a class="indexterm" name="id2679986"></a> 160 <a class="indexterm" name="id2679993"></a> 161 <a class="indexterm" name="id2680000"></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="id26 73028"></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="id2680020"></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="id26 73050"></a>173 <a class="indexterm" name="id26 73057"></a>174 <a class="indexterm" name="id26 73064"></a>172 <a class="indexterm" name="id2680041"></a> 173 <a class="indexterm" name="id2680048"></a> 174 <a class="indexterm" name="id2680055"></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="id26 73086"></a><p class="title"><b>Procedure 36.1. The Account Migration Process</b></p><a class="indexterm" name="id2673175"></a><ol type="1"><li><p>178 <a class="indexterm" name="id26 73098"></a>177 </p></li></ul></div><div class="procedure"><a name="id2680078"></a><p class="title"><b>Procedure 36.1. The Account Migration Process</b></p><a class="indexterm" name="id2680166"></a><ol type="1"><li><p> 178 <a class="indexterm" name="id2680090"></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="id26 73117"></a>182 <a class="indexterm" name="id2680108"></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="id26 73150"></a>186 <a class="indexterm" name="id2680142"></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="id26 73202"></a>191 <a class="indexterm" name="id26 73211"></a>190 <a class="indexterm" name="id2680194"></a> 191 <a class="indexterm" name="id2680202"></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="id26 73264"></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="id2680256"></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="id26 73350"></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="id2680342"></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="id26 73583"></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="id2680575"></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="id26 73657"></a><a class="indexterm" name="id2673663"></a><a class="indexterm" name="id2673670"></a><a class="indexterm" name="id2673677"></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="id26 73725"></a>245 <a class="indexterm" name="id26 73732"></a>243 </p><a class="indexterm" name="id2680649"></a><a class="indexterm" name="id2680655"></a><a class="indexterm" name="id2680662"></a><a class="indexterm" name="id2680669"></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="id2680717"></a> 245 <a class="indexterm" name="id2680724"></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="id26 73747"></a>250 <a class="indexterm" name="id26 73754"></a>251 <a class="indexterm" name="id26 73761"></a>249 <a class="indexterm" name="id2680739"></a> 250 <a class="indexterm" name="id2680746"></a> 251 <a class="indexterm" name="id2680753"></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="id26 73792"></a>254 <a class="indexterm" name="id26 73799"></a>253 <a class="indexterm" name="id2680784"></a> 254 <a class="indexterm" name="id2680791"></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="id26 73838"></a>260 <a class="indexterm" name="id2680830"></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="id26 73955"></a>277 <a class="indexterm" name="id2680947"></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
r226 r231 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.7 3.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#id2592053">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592347">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592429">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2592587">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#id2593951">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#id2594163">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594211">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594279">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2594708">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2594723">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595092">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2595326">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2595554">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2595599">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595787">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595818">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596440">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2596697">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596716">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596782">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596897">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596915">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2596959">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596994">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="id259 1914"></a>3 <a class="indexterm" name="id259 1921"></a>4 <a class="indexterm" name="id259 1928"></a>5 <a class="indexterm" name="id259 1935"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Lendecke</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">SuSE</span> <span class="surname">Deschner</span></h3><div class="affiliation"><span class="orgname">SuSE<br></span><div class="address"><p><code class="email"><<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#id2598978">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599273">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599354">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2599512">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#id2600875">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#id2601086">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601134">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601203">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2601631">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2601646">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602015">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2602249">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2602477">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2602523">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602710">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602741">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603364">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2603620">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603639">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603705">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603820">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603838">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2603882">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603917">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="id2598840"></a> 3 <a class="indexterm" name="id2598846"></a> 4 <a class="indexterm" name="id2598853"></a> 5 <a class="indexterm" name="id2598860"></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="id259 1961"></a>11 <a class="indexterm" name="id259 1967"></a>12 <a class="indexterm" name="id259 1975"></a>13 <a class="indexterm" name="id259 1982"></a>10 <a class="indexterm" name="id2598886"></a> 11 <a class="indexterm" name="id2598893"></a> 12 <a class="indexterm" name="id2598900"></a> 13 <a class="indexterm" name="id2598907"></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="id259 2053"></a>Overview</h2></div></div></div><p>26 <a class="indexterm" name="id259 2061"></a>27 <a class="indexterm" name="id259 2068"></a>28 <a class="indexterm" name="id259 2074"></a>29 <a class="indexterm" name="id259 2081"></a>30 <a class="indexterm" name="id259 2088"></a>31 <a class="indexterm" name="id259 2094"></a>25 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2598978"></a>Overview</h2></div></div></div><p> 26 <a class="indexterm" name="id2598986"></a> 27 <a class="indexterm" name="id2598993"></a> 28 <a class="indexterm" name="id2599000"></a> 29 <a class="indexterm" name="id2599006"></a> 30 <a class="indexterm" name="id2599013"></a> 31 <a class="indexterm" name="id2599020"></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="id259 2112"></a>39 <a class="indexterm" name="id259 2119"></a>40 <a class="indexterm" name="id259 2126"></a>41 <a class="indexterm" name="id259 2132"></a>42 <a class="indexterm" name="id259 2139"></a>43 <a class="indexterm" name="id259 2146"></a>44 <a class="indexterm" name="id259 2152"></a>45 <a class="indexterm" name="id259 2159"></a>38 <a class="indexterm" name="id2599037"></a> 39 <a class="indexterm" name="id2599044"></a> 40 <a class="indexterm" name="id2599051"></a> 41 <a class="indexterm" name="id2599058"></a> 42 <a class="indexterm" name="id2599065"></a> 43 <a class="indexterm" name="id2599071"></a> 44 <a class="indexterm" name="id2599078"></a> 45 <a class="indexterm" name="id2599085"></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="id259 2184"></a>54 <a class="indexterm" name="id259 2191"></a>55 <a class="indexterm" name="id259 2197"></a>56 <a class="indexterm" name="id259 2204"></a>57 <a class="indexterm" name="id259 2211"></a>58 <a class="indexterm" name="id259 2218"></a>59 <a class="indexterm" name="id259 2225"></a>53 <a class="indexterm" name="id2599110"></a> 54 <a class="indexterm" name="id2599116"></a> 55 <a class="indexterm" name="id2599123"></a> 56 <a class="indexterm" name="id2599129"></a> 57 <a class="indexterm" name="id2599136"></a> 58 <a class="indexterm" name="id2599143"></a> 59 <a class="indexterm" name="id2599150"></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="id259 2245"></a>65 <a class="indexterm" name="id259 2252"></a>66 <a class="indexterm" name="id259 2258"></a>67 <a class="indexterm" name="id259 2265"></a>68 <a class="indexterm" name="id259 2272"></a>69 <a class="indexterm" name="id259 2279"></a>70 <a class="indexterm" name="id259 2286"></a>71 <a class="indexterm" name="id259 2293"></a>72 <a class="indexterm" name="id259 2300"></a>64 <a class="indexterm" name="id2599170"></a> 65 <a class="indexterm" name="id2599177"></a> 66 <a class="indexterm" name="id2599184"></a> 67 <a class="indexterm" name="id2599191"></a> 68 <a class="indexterm" name="id2599198"></a> 69 <a class="indexterm" name="id2599204"></a> 70 <a class="indexterm" name="id2599211"></a> 71 <a class="indexterm" name="id2599218"></a> 72 <a class="indexterm" name="id2599225"></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="id259 2320"></a>78 <a class="indexterm" name="id259 2327"></a>77 <a class="indexterm" name="id2599246"></a> 78 <a class="indexterm" name="id2599252"></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="id259 2347"></a>Administrative Tasks and Methods</h2></div></div></div><p>84 <a class="indexterm" name="id259 2355"></a>85 <a class="indexterm" name="id259 2362"></a>86 <a class="indexterm" name="id259 2368"></a>87 <a class="indexterm" name="id259 2378"></a>83 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2599273"></a>Administrative Tasks and Methods</h2></div></div></div><p> 84 <a class="indexterm" name="id2599281"></a> 85 <a class="indexterm" name="id2599287"></a> 86 <a class="indexterm" name="id2599294"></a> 87 <a class="indexterm" name="id2599303"></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="id259 2429"></a>UNIX and Windows Group Management</h2></div></div></div><p>98 <a class="indexterm" name="id259 2437"></a>99 <a class="indexterm" name="id259 2444"></a>100 <a class="indexterm" name="id259 2452"></a>101 <a class="indexterm" name="id259 2461"></a>102 <a class="indexterm" name="id259 2470"></a>97 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2599354"></a>UNIX and Windows Group Management</h2></div></div></div><p> 98 <a class="indexterm" name="id2599362"></a> 99 <a class="indexterm" name="id2599369"></a> 100 <a class="indexterm" name="id2599378"></a> 101 <a class="indexterm" name="id2599386"></a> 102 <a class="indexterm" name="id2599395"></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="id259 2503"></a>110 <a class="indexterm" name="id259 2510"></a>111 <a class="indexterm" name="id259 2517"></a>109 <a class="indexterm" name="id2599428"></a> 110 <a class="indexterm" name="id2599435"></a> 111 <a class="indexterm" name="id2599442"></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="id259 2536"></a>117 <a class="indexterm" name="id259 2543"></a>118 <a class="indexterm" name="id259 2552"></a>119 <a class="indexterm" name="id259 2562"></a>116 <a class="indexterm" name="id2599461"></a> 117 <a class="indexterm" name="id2599468"></a> 118 <a class="indexterm" name="id2599477"></a> 119 <a class="indexterm" name="id2599486"></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="id259 2587"></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="id2599512"></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="id259 2630"></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="id2599554"></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="id259 2640"></a>150 <a class="indexterm" name="id259 2651"></a>149 <a class="indexterm" name="id2599564"></a> 150 <a class="indexterm" name="id2599575"></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="id259 2687"></a>166 <a class="indexterm" name="id2599611"></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="id259 2730"></a>187 <a class="indexterm" name="id259 2736"></a>188 <a class="indexterm" name="id259 2743"></a>186 <a class="indexterm" name="id2599654"></a> 187 <a class="indexterm" name="id2599661"></a> 188 <a class="indexterm" name="id2599668"></a> 189 189 The following demonstrates that the POSIX (UNIX/Linux system account) group has been created by calling 190 the <a class="link" href="smb.conf.5.html#ADDGROUPSCRIPT" >add group script = /opt/IDEALX/sbin/smbldap-groupadd -p "%g"</a> interface190 the <a class="link" href="smb.conf.5.html#ADDGROUPSCRIPT" target="_top">add group script = /opt/IDEALX/sbin/smbldap-groupadd -p "%g"</a> interface 191 191 script: 192 192 </p><pre class="screen"> … … 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="id259 2790"></a>208 <a class="indexterm" name="id2599714"></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="id259 2831"></a>Mapping Windows Groups to UNIX Groups</h4></div></div></div><p>222 <a class="indexterm" name="id259 2839"></a>223 <a class="indexterm" name="id259 2846"></a>224 <a class="indexterm" name="id259 2852"></a>225 <a class="indexterm" name="id259 2859"></a>221 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2599756"></a>Mapping Windows Groups to UNIX Groups</h4></div></div></div><p> 222 <a class="indexterm" name="id2599763"></a> 223 <a class="indexterm" name="id2599770"></a> 224 <a class="indexterm" name="id2599777"></a> 225 <a class="indexterm" name="id2599784"></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="id259 2874"></a>231 <a class="indexterm" name="id259 2880"></a>232 <a class="indexterm" name="id259 2887"></a>233 <a class="indexterm" name="id259 2894"></a>230 <a class="indexterm" name="id2599798"></a> 231 <a class="indexterm" name="id2599805"></a> 232 <a class="indexterm" name="id2599812"></a> 233 <a class="indexterm" name="id2599818"></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="id259 2919"></a>242 <a class="indexterm" name="id259 2926"></a>243 <a class="indexterm" name="id259 2933"></a>244 <a class="indexterm" name="id259 2940"></a>245 <a class="indexterm" name="id259 2947"></a>246 <a class="indexterm" name="id259 2954"></a>247 <a class="indexterm" name="id259 2961"></a>241 <a class="indexterm" name="id2599844"></a> 242 <a class="indexterm" name="id2599851"></a> 243 <a class="indexterm" name="id2599858"></a> 244 <a class="indexterm" name="id2599865"></a> 245 <a class="indexterm" name="id2599872"></a> 246 <a class="indexterm" name="id2599878"></a> 247 <a class="indexterm" name="id2599885"></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="id259 2984"></a>255 <a class="indexterm" name="id259 2995"></a>256 <a class="indexterm" name="id259 3006"></a>254 <a class="indexterm" name="id2599909"></a> 255 <a class="indexterm" name="id2599920"></a> 256 <a class="indexterm" name="id2599931"></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="id2 593139"></a>Deleting a Group Account</h4></div></div></div><p>294 <a class="indexterm" name="id2 593147"></a>293 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2600064"></a>Deleting a Group Account</h4></div></div></div><p> 294 <a class="indexterm" name="id2600072"></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="id2 593179"></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="id2600104"></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="id2 593207"></a>309 <a class="indexterm" name="id2600132"></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="id2 593339"></a>352 <a class="indexterm" name="id2600263"></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="id2 593381"></a>362 <a class="indexterm" name="id2600305"></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="id2 593478"></a>386 <a class="indexterm" name="id2600402"></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="id2 593658"></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="id2600583"></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="id2 593672"></a>447 <a class="indexterm" name="id2600596"></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="id2 593704"></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="id2600628"></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="id2 593860"></a><em class="parameter"><code>comment = Netlogon Share</code></em></td></tr><tr><td><a class="indexterm" name="id2593872"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2593884"></a><em class="parameter"><code>root preexec = /etc/samba/scripts/autopoweruser.sh %U %m</code></em></td></tr><tr><td><a class="indexterm" name="id2593896"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2593907"></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="id2600784"></a><em class="parameter"><code>comment = Netlogon Share</code></em></td></tr><tr><td><a class="indexterm" name="id2600796"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2600807"></a><em class="parameter"><code>root preexec = /etc/samba/scripts/autopoweruser.sh %U %m</code></em></td></tr><tr><td><a class="indexterm" name="id2600819"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2600831"></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="id2 593736"></a>466 <a class="indexterm" name="id2 593747"></a>467 <a class="indexterm" name="id2 593754"></a>465 <a class="indexterm" name="id2600660"></a> 466 <a class="indexterm" name="id2600671"></a> 467 <a class="indexterm" name="id2600678"></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="id2 593951"></a>UNIX and Windows User Management</h2></div></div></div><p>488 <a class="indexterm" name="id2 593959"></a>489 <a class="indexterm" name="id2 593966"></a>490 <a class="indexterm" name="id2 593973"></a>491 <a class="indexterm" name="id2 593979"></a>492 <a class="indexterm" name="id2 593986"></a>493 <a class="indexterm" name="id2 593993"></a>494 <a class="indexterm" name="id2 594000"></a>495 <a class="indexterm" name="id2 594007"></a>487 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2600875"></a>UNIX and Windows User Management</h2></div></div></div><p> 488 <a class="indexterm" name="id2600883"></a> 489 <a class="indexterm" name="id2600889"></a> 490 <a class="indexterm" name="id2600896"></a> 491 <a class="indexterm" name="id2600903"></a> 492 <a class="indexterm" name="id2600910"></a> 493 <a class="indexterm" name="id2600917"></a> 494 <a class="indexterm" name="id2600924"></a> 495 <a class="indexterm" name="id2600931"></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 … … 500 500 particular user will be allocated by <code class="literal">winbindd</code>. 501 501 </p><p> 502 Although this is not the appropriate place to discuss the <a class="link" href="smb.conf.5.html#USERNAMEMAP" >username map</a> facility,502 Although this is not the appropriate place to discuss the <a class="link" href="smb.conf.5.html#USERNAMEMAP" target="_top">username map</a> facility, 503 503 this interface is an important method of mapping a Windows user account to a UNIX account that has a 504 504 different name. Refer to the man page for the <code class="filename">smb.conf</code> file for more information regarding this … … 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="id2 594105"></a>520 <a class="indexterm" name="id2 594116"></a>519 <a class="indexterm" name="id2601028"></a> 520 <a class="indexterm" name="id2601039"></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="id2 594163"></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="id2601086"></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="id2 594185"></a>537 <a class="indexterm" name="id2601109"></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="id2 594211"></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="id2601134"></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="id2 594234"></a>548 <a class="indexterm" name="id2601158"></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="id2 594263"></a>oldusername newusername561 <a class="indexterm" name="id2601187"></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="id2 594279"></a>User Mapping</h3></div></div></div><p>566 <a class="indexterm" name="id2 594287"></a>567 <a class="indexterm" name="id2 594294"></a>568 <a class="indexterm" name="id2 594301"></a>565 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2601203"></a>User Mapping</h3></div></div></div><p> 566 <a class="indexterm" name="id2601211"></a> 567 <a class="indexterm" name="id2601218"></a> 568 <a class="indexterm" name="id2601224"></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="id2 594363"></a>Administering User Rights and Privileges</h2></div></div></div><p>585 <a class="indexterm" name="id2 594371"></a>586 <a class="indexterm" name="id2 594378"></a>587 <a class="indexterm" name="id2 594385"></a>588 <a class="indexterm" name="id2 594392"></a>589 <a class="indexterm" name="id2 594399"></a>584 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2601286"></a>Administering User Rights and Privileges</h2></div></div></div><p> 585 <a class="indexterm" name="id2601294"></a> 586 <a class="indexterm" name="id2601301"></a> 587 <a class="indexterm" name="id2601308"></a> 588 <a class="indexterm" name="id2601315"></a> 589 <a class="indexterm" name="id2601322"></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="id2 594418"></a>596 <a class="indexterm" name="id2 594425"></a>597 <a class="indexterm" name="id2 594432"></a>598 <a class="indexterm" name="id2 594439"></a>599 <a class="indexterm" name="id2 594446"></a>595 <a class="indexterm" name="id2601342"></a> 596 <a class="indexterm" name="id2601349"></a> 597 <a class="indexterm" name="id2601356"></a> 598 <a class="indexterm" name="id2601363"></a> 599 <a class="indexterm" name="id2601370"></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="id2 594520"></a>636 <a class="indexterm" name="id2 594527"></a>637 <a class="indexterm" name="id2 594534"></a>638 <a class="indexterm" name="id2 594541"></a>639 <a class="indexterm" name="id2 594548"></a>640 <a class="indexterm" name="id2 594555"></a>641 <a class="indexterm" name="id2 594562"></a>642 <a class="indexterm" name="id2 594569"></a>643 <a class="indexterm" name="id2 594576"></a>635 <a class="indexterm" name="id2601443"></a> 636 <a class="indexterm" name="id2601450"></a> 637 <a class="indexterm" name="id2601458"></a> 638 <a class="indexterm" name="id2601464"></a> 639 <a class="indexterm" name="id2601472"></a> 640 <a class="indexterm" name="id2601479"></a> 641 <a class="indexterm" name="id2601486"></a> 642 <a class="indexterm" name="id2601492"></a> 643 <a class="indexterm" name="id2601500"></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="id2 594622"></a>662 <a class="indexterm" name="id2601546"></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="id2 594673"></a>681 <a class="indexterm" name="id2601597"></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="id2 594708"></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="id2601631"></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="id2 594723"></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="id2601646"></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="id2 594750"></a>725 <a class="indexterm" name="id2601674"></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="id2 594787"></a>738 <a class="indexterm" name="id2601711"></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="id2 594833"></a>753 <a class="indexterm" name="id2601756"></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="id2 594877"></a>768 <a class="indexterm" name="id2601800"></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="id2 594917"></a>776 <a class="indexterm" name="id2601841"></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="id2 594953"></a>784 <a class="indexterm" name="id2601877"></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="id2 594993"></a>795 <a class="indexterm" name="id2601916"></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="id2 595025"></a>805 <a class="indexterm" name="id2601949"></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="id2 595053"></a>812 <a class="indexterm" name="id2601977"></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="id2 595092"></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="id2602015"></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="id2 595107"></a>824 <a class="indexterm" name="id2602031"></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="id2 595141"></a>840 <a class="indexterm" name="id2602065"></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="id2 595192"></a>853 <a class="indexterm" name="id2602115"></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="id2 595236"></a>879 <a class="indexterm" name="id2602160"></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="id2 595284"></a>900 <a class="indexterm" name="id2602207"></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="id2 595326"></a>Managing Security Identifiers (SIDS)</h2></div></div></div><p>911 <a class="indexterm" name="id2 595334"></a>912 <a class="indexterm" name="id2 595341"></a>913 <a class="indexterm" name="id2 595347"></a>914 <a class="indexterm" name="id2 595354"></a>915 <a class="indexterm" name="id2 595361"></a>910 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2602249"></a>Managing Security Identifiers (SIDS)</h2></div></div></div><p> 911 <a class="indexterm" name="id2602257"></a> 912 <a class="indexterm" name="id2602264"></a> 913 <a class="indexterm" name="id2602271"></a> 914 <a class="indexterm" name="id2602278"></a> 915 <a class="indexterm" name="id2602285"></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="id2 595384"></a>922 <a class="indexterm" name="id2 595391"></a>923 <a class="indexterm" name="id2 595398"></a>924 <a class="indexterm" name="id2 595404"></a>921 <a class="indexterm" name="id2602307"></a> 922 <a class="indexterm" name="id2602314"></a> 923 <a class="indexterm" name="id2602321"></a> 924 <a class="indexterm" name="id2602328"></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="id2 595430"></a>932 <a class="indexterm" name="id2602353"></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="id2 595492"></a>948 <a class="indexterm" name="id2602416"></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="id2 595524"></a>959 <a class="indexterm" name="id2602448"></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="id2 595554"></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="id2602477"></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="id2 595599"></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="id2602523"></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 975 975 that the addition and deletion of shares using this tool depends on the availability of a suitable 976 976 interface script. The interface scripts Sambas <code class="literal">smbd</code> uses are called 977 <a class="link" href="smb.conf.5.html#ADDSHARECOMMAND" >add share command</a>, <a class="link" href="smb.conf.5.html#DELETESHARECOMMAND">delete share command</a> and978 <a class="link" href="smb.conf.5.html#CHANGESHARECOMMAND" >change share command</a> A set of example scripts are provided in the Samba source977 <a class="link" href="smb.conf.5.html#ADDSHARECOMMAND" target="_top">add share command</a>, <a class="link" href="smb.conf.5.html#DELETESHARECOMMAND" target="_top">delete share command</a> and 978 <a class="link" href="smb.conf.5.html#CHANGESHARECOMMAND" target="_top">change share command</a> A set of example scripts are provided in the Samba source 979 979 code tarball in the directory <code class="filename">~samba/examples/scripts</code>. 980 980 </p><p> … … 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="id2 595695"></a>985 <a class="indexterm" name="id2602618"></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="id2 595747"></a>1006 <a class="indexterm" name="id2602670"></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="id2 595787"></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="id2602710"></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="id2 595818"></a>Share, Directory, and File Migration</h3></div></div></div><p>1030 <a class="indexterm" name="id2 595825"></a>1029 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2602741"></a>Share, Directory, and File Migration</h3></div></div></div><p> 1030 <a class="indexterm" name="id2602748"></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="id2 595928"></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="id2602851"></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="id2 596041"></a>1094 <a class="indexterm" name="id2602964"></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="id2 596096"></a>1107 <a class="indexterm" name="id2603019"></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="id2 596124"></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="id2603047"></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 … … 1157 1157 the possibility of files that are owned only by a group. Group-alone file ownership is not possible under 1158 1158 UNIX/Linux. Errors in migrating group-owned files can be avoided by using the <code class="filename">smb.conf</code> file 1159 <a class="link" href="smb.conf.5.html#FORCEUNKNOWNACLUSER" >force unknown acl user = yes</a> parameter. This facility will1159 <a class="link" href="smb.conf.5.html#FORCEUNKNOWNACLUSER" target="_top">force unknown acl user = yes</a> parameter. This facility will 1160 1160 automatically convert group-owned files into correctly user-owned files on the Samba server. 1161 1161 </p><p> 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="id2 596299"></a>1164 <a class="indexterm" name="id2603222"></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="id2 596339"></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="id2603262"></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="id2 596350"></a>1177 <a class="indexterm" name="id2603274"></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="id2 596381"></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="id2603305"></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="id2 596406"></a>1192 <a class="indexterm" name="id2603330"></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="id2 596440"></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="id2603364"></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 … … 1220 1220 to the operating system in order to create the underlying printers. The call-out is implemented 1221 1221 by way of an interface script that can be specified by the <code class="filename">smb.conf</code> file parameter 1222 <a class="link" href="smb.conf.5.html#" ></a>. This script is essential to the migration process.1222 <a class="link" href="smb.conf.5.html#" target="_top"></a>. This script is essential to the migration process. 1223 1223 A suitable example script may be obtained from the <code class="filename">$SAMBA_SOURCES/examples/scripts</code> 1224 1224 directory. Take note that this script must be customized to suit the operating system environment … … 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="id2 596581"></a>1234 <a class="indexterm" name="id2603504"></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="id2 596602"></a>1240 <a class="indexterm" name="id2603525"></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="id2 596621"></a>1245 <a class="indexterm" name="id2603544"></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="id2 596641"></a>1250 <a class="indexterm" name="id2603564"></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="id2 596663"></a>1256 <a class="indexterm" name="id2603586"></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="id2 596697"></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="id2603620"></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="id2 596716"></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="id2603639"></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="id2 596732"></a>1273 <a class="indexterm" name="id2603655"></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="id2 596782"></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="id2603705"></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="id2 596800"></a>1292 <a class="indexterm" name="id2603723"></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="id2 596826"></a>1300 <a class="indexterm" name="id2603749"></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="id2 596851"></a>1307 <a class="indexterm" name="id2603774"></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="id2 596876"></a>1313 <a class="indexterm" name="id2603799"></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="id2 596897"></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="id2603820"></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="id2 596915"></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="id2603838"></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="id2 596959"></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="id2603882"></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="id2 596994"></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="id2603917"></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"> 1343 net idmap restore <full_path_and_tdb_filename> < dumpfile.txt1343 net idmap restore idmap_dump.txt 1344 1344 </pre><p> 1345 1345 Where the Samba run-time tdb files are stored in the <code class="filename">/var/lib/samba</code> directory … … 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="id2 597046"></a>1353 <a class="indexterm" name="id2603967"></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="id2 597082"></a>1366 <a class="indexterm" name="id2604003"></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="id2 597113"></a>1374 <a class="indexterm" name="id2604034"></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="id2 597138"></a>1380 <a class="indexterm" name="id2604059"></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="id2 597164"></a>1386 <a class="indexterm" name="id2604085"></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
r226 r231 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.7 3.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#id2572601">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2572785">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#id2573222">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2573858">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#id2574416">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#id2575350">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#id2575951">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576191">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576213">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576399">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576539">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577224">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577508">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577660">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577863">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577950">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578147">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579412">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579438">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579511">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579559">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579806">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id257 2512"></a>3 <a class="indexterm" name="id257 2519"></a>4 <a class="indexterm" name="id257 2526"></a>5 <a class="indexterm" name="id257 2533"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Sutinen Consulting, Inc.</span> <span class="surname">Johnson</span></h3><div class="affiliation"><span class="orgname">Sutinen Consulting, Inc.<br></span><div class="address"><p><code class="email"><<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#id2579515">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579698">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#id2580138">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580775">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#id2581334">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#id2582267">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#id2582868">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583108">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583129">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583315">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583455">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584141">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584425">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584578">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584781">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584868">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585064">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2586329">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586355">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586428">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586476">I Get an "Unable to browse the network" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586723">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2579425"></a> 3 <a class="indexterm" name="id2579432"></a> 4 <a class="indexterm" name="id2579439"></a> 5 <a class="indexterm" name="id2579446"></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="id257 2550"></a>11 <a class="indexterm" name="id2579463"></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="id257 2567"></a>18 <a class="indexterm" name="id257 2574"></a>19 <a class="indexterm" name="id257 2581"></a>20 <a class="indexterm" name="id257 2587"></a>17 <a class="indexterm" name="id2579480"></a> 18 <a class="indexterm" name="id2579487"></a> 19 <a class="indexterm" name="id2579494"></a> 20 <a class="indexterm" name="id2579500"></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="id257 2601"></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="id2579515"></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="id257 2620"></a>32 <a class="indexterm" name="id257 2627"></a>33 <a class="indexterm" name="id257 2634"></a>31 <a class="indexterm" name="id2579534"></a> 32 <a class="indexterm" name="id2579540"></a> 33 <a class="indexterm" name="id2579547"></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="id257 2664"></a>47 <a class="indexterm" name="id257 2674"></a>48 <a class="indexterm" name="id257 2680"></a>49 <a class="indexterm" name="id257 2687"></a>50 <a class="indexterm" name="id257 2694"></a>46 <a class="indexterm" name="id2579577"></a> 47 <a class="indexterm" name="id2579587"></a> 48 <a class="indexterm" name="id2579593"></a> 49 <a class="indexterm" name="id2579600"></a> 50 <a class="indexterm" name="id2579607"></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="id257 2711"></a>58 <a class="indexterm" name="id257 2718"></a>57 <a class="indexterm" name="id2579624"></a> 58 <a class="indexterm" name="id2579631"></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="id257 2732"></a>64 <a class="indexterm" name="id257 2739"></a>65 <a class="indexterm" name="id257 2746"></a>63 <a class="indexterm" name="id2579645"></a> 64 <a class="indexterm" name="id2579652"></a> 65 <a class="indexterm" name="id2579659"></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="id257 2760"></a>71 <a class="indexterm" name="id257 2767"></a>72 <a class="indexterm" name="id257 2774"></a>70 <a class="indexterm" name="id2579673"></a> 71 <a class="indexterm" name="id2579680"></a> 72 <a class="indexterm" name="id2579687"></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="id257 2785"></a>What Is Browsing?</h2></div></div></div><p>76 <a class="indexterm" name="id257 2793"></a>77 <a class="indexterm" name="id257 2800"></a>78 <a class="indexterm" name="id257 2807"></a>79 <a class="indexterm" name="id257 2814"></a>75 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2579698"></a>What Is Browsing?</h2></div></div></div><p> 76 <a class="indexterm" name="id2579706"></a> 77 <a class="indexterm" name="id2579713"></a> 78 <a class="indexterm" name="id2579720"></a> 79 <a class="indexterm" name="id2579727"></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="id257 2870"></a>88 <a class="indexterm" name="id257 2877"></a>89 <a class="indexterm" name="id257 2884"></a>87 <a class="indexterm" name="id2579783"></a> 88 <a class="indexterm" name="id2579790"></a> 89 <a class="indexterm" name="id2579797"></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: 92 92 </p><p> 93 93 Browsing options: 94 </p><div class="itemizedlist"><ul type="disc"><li><a class="link" href="smb.conf.5.html#OSLEVEL" >os level</a></li><li><a class="link" href="smb.conf.5.html#LMANNOUNCE">lm announce</a></li><li><a class="link" href="smb.conf.5.html#LMINTERVAL">lm interval</a></li><li><a class="link" href="smb.conf.5.html#PREFERREDMASTER">preferred master</a>(*)</li><li><a class="link" href="smb.conf.5.html#LOCALMASTER">local master</a>(*)</li><li><a class="link" href="smb.conf.5.html#DOMAINMASTER">domain master</a>(*)</li><li><a class="link" href="smb.conf.5.html#BROWSELIST">browse list</a></li><li><a class="link" href="smb.conf.5.html#ENHANCEDBROWSING">enhanced browsing</a></li></ul></div><p>94 </p><div class="itemizedlist"><ul type="disc"><li><a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level</a></li><li><a class="link" href="smb.conf.5.html#LMANNOUNCE" target="_top">lm announce</a></li><li><a class="link" href="smb.conf.5.html#LMINTERVAL" target="_top">lm interval</a></li><li><a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a>(*)</li><li><a class="link" href="smb.conf.5.html#LOCALMASTER" target="_top">local master</a>(*)</li><li><a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master</a>(*)</li><li><a class="link" href="smb.conf.5.html#BROWSELIST" target="_top">browse list</a></li><li><a class="link" href="smb.conf.5.html#ENHANCEDBROWSING" target="_top">enhanced browsing</a></li></ul></div><p> 95 95 Name Resolution Method: 96 </p><div class="itemizedlist"><ul type="disc"><li><a class="link" href="smb.conf.5.html#NAMERESOLVEORDER" >name resolve order</a>(*)</li></ul></div><p>96 </p><div class="itemizedlist"><ul type="disc"><li><a class="link" href="smb.conf.5.html#NAMERESOLVEORDER" target="_top">name resolve order</a>(*)</li></ul></div><p> 97 97 WINS options: 98 </p><div class="itemizedlist"><ul type="disc"><li><a class="link" href="smb.conf.5.html#DNSPROXY" >dns proxy</a></li><li><a class="link" href="smb.conf.5.html#WINSPROXY">wins proxy</a></li><li><a class="link" href="smb.conf.5.html#WINSSERVER">wins server</a>(*)</li><li><a class="link" href="smb.conf.5.html#WINSSUPPORT">wins support</a>(*)</li><li><a class="link" href="smb.conf.5.html#WINSHOOK">wins hook</a></li></ul></div><p>98 </p><div class="itemizedlist"><ul type="disc"><li><a class="link" href="smb.conf.5.html#DNSPROXY" target="_top">dns proxy</a></li><li><a class="link" href="smb.conf.5.html#WINSPROXY" target="_top">wins proxy</a></li><li><a class="link" href="smb.conf.5.html#WINSSERVER" target="_top">wins server</a>(*)</li><li><a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support</a>(*)</li><li><a class="link" href="smb.conf.5.html#WINSHOOK" target="_top">wins hook</a></li></ul></div><p> 99 99 Those marked with an (*) are the only options that commonly may need to be modified. Even if none of these 100 100 parameters is set, <code class="filename">nmbd</code> will still do its job. 101 101 </p><p> 102 <a class="indexterm" name="id25 73119"></a>103 <a class="indexterm" name="id25 73126"></a>104 <a class="indexterm" name="id25 73133"></a>105 <a class="indexterm" name="id25 73140"></a>106 <a class="indexterm" name="id25 73147"></a>102 <a class="indexterm" name="id2580036"></a> 103 <a class="indexterm" name="id2580043"></a> 104 <a class="indexterm" name="id2580050"></a> 105 <a class="indexterm" name="id2580057"></a> 106 <a class="indexterm" name="id2580063"></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="id25 73189"></a>113 <a class="indexterm" name="id25 73196"></a>114 <a class="indexterm" name="id25 73203"></a>115 <a class="indexterm" name="id25 73210"></a>112 <a class="indexterm" name="id2580106"></a> 113 <a class="indexterm" name="id2580113"></a> 114 <a class="indexterm" name="id2580120"></a> 115 <a class="indexterm" name="id2580126"></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="id25 73222"></a>NetBIOS over TCP/IP</h3></div></div></div><p>120 <a class="indexterm" name="id25 73230"></a>121 <a class="indexterm" name="id25 73236"></a>122 <a class="indexterm" name="id25 73243"></a>123 <a class="indexterm" name="id25 73250"></a>119 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2580138"></a>NetBIOS over TCP/IP</h3></div></div></div><p> 120 <a class="indexterm" name="id2580146"></a> 121 <a class="indexterm" name="id2580153"></a> 122 <a class="indexterm" name="id2580160"></a> 123 <a class="indexterm" name="id2580167"></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="id25 73265"></a>129 Normally, only unicast UDP messaging can be forwarded by routers. The <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" >remote announce</a>128 <a class="indexterm" name="id2580181"></a> 129 Normally, only unicast UDP messaging can be forwarded by routers. The <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> 130 130 parameter to smb.conf helps to project browse announcements to remote network segments via unicast UDP. 131 Similarly, the <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" >remote browse sync</a> parameter of <code class="filename">smb.conf</code> implements browse list131 Similarly, the <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameter of <code class="filename">smb.conf</code> implements browse list 132 132 collation using unicast UDP. 133 133 </p><p> 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="id25 73313"></a><a class="indexterm" name="id2573320"></a><a class="indexterm" name="id2573327"></a><a class="indexterm" name="id2573333"></a><a class="indexterm" name="id2573340"></a><a class="indexterm" name="id2573347"></a><a class="indexterm" name="id2573354"></a><a class="indexterm" name="id2573361"></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="id2580230"></a><a class="indexterm" name="id2580237"></a><a class="indexterm" name="id2580244"></a><a class="indexterm" name="id2580251"></a><a class="indexterm" name="id2580257"></a><a class="indexterm" name="id2580264"></a><a class="indexterm" name="id2580271"></a><a class="indexterm" name="id2580278"></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="id25 73410"></a>144 <a class="indexterm" name="id25 73416"></a>145 <a class="indexterm" name="id25 73423"></a>146 <a class="indexterm" name="id25 73430"></a>147 <a class="indexterm" name="id25 73437"></a>148 <a class="indexterm" name="id25 73444"></a>143 <a class="indexterm" name="id2580327"></a> 144 <a class="indexterm" name="id2580334"></a> 145 <a class="indexterm" name="id2580340"></a> 146 <a class="indexterm" name="id2580347"></a> 147 <a class="indexterm" name="id2580354"></a> 148 <a class="indexterm" name="id2580361"></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="id25 73459"></a>154 <a class="indexterm" name="id25 73468"></a>155 <a class="indexterm" name="id25 73476"></a>156 <a class="indexterm" name="id25 73482"></a>157 <a class="indexterm" name="id25 73489"></a>158 <a class="indexterm" name="id25 73496"></a>159 <a class="indexterm" name="id25 73503"></a>153 <a class="indexterm" name="id2580376"></a> 154 <a class="indexterm" name="id2580386"></a> 155 <a class="indexterm" name="id2580393"></a> 156 <a class="indexterm" name="id2580399"></a> 157 <a class="indexterm" name="id2580406"></a> 158 <a class="indexterm" name="id2580413"></a> 159 <a class="indexterm" name="id2580420"></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. 162 162 If each network segment is configured with its own Samba WINS server, then the only way to get cross-segment 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 </p><p> 165 <a class="indexterm" name="id25 73554"></a>163 browsing to work is by using the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> and the <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameters to your <code class="filename">smb.conf</code> file. 164 </p><p> 165 <a class="indexterm" name="id2580471"></a> 166 166 If only one WINS server is used for an entire multisegment network, then 167 the use of the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" >remote announce</a> and the168 <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" >remote browse sync</a> parameters should not be necessary.169 </p><p> 170 <a class="indexterm" name="id25 73589"></a>167 the use of the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> and the 168 <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameters should not be necessary. 169 </p><p> 170 <a class="indexterm" name="id2580506"></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="id25 73608"></a>177 <a class="indexterm" name="id25 73614"></a>178 <a class="indexterm" name="id25 73621"></a>179 <a class="indexterm" name="id25 73628"></a>180 <a class="indexterm" name="id25 73635"></a>181 <a class="indexterm" name="id25 73642"></a>182 <a class="indexterm" name="id25 73648"></a>183 <a class="indexterm" name="id25 73655"></a>176 <a class="indexterm" name="id2580525"></a> 177 <a class="indexterm" name="id2580532"></a> 178 <a class="indexterm" name="id2580538"></a> 179 <a class="indexterm" name="id2580545"></a> 180 <a class="indexterm" name="id2580552"></a> 181 <a class="indexterm" name="id2580559"></a> 182 <a class="indexterm" name="id2580566"></a> 183 <a class="indexterm" name="id2580572"></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 186 186 sites have used multiple Samba WINS servers for redundancy (one server per subnet) and then used 187 <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" >remote browse sync</a> and <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE">remote announce</a> to effect browse list187 <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> and <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> to effect browse list 188 188 collation across all segments. Note that this means clients will only resolve local names and must be 189 189 configured to use DNS to resolve names on other subnets in order to resolve the IP addresses of the servers … … 195 195 clients are designed to use WINS. 196 196 </p><p> 197 <a class="indexterm" name="id25 73717"></a>198 <a class="indexterm" name="id25 73724"></a>199 <a class="indexterm" name="id25 73730"></a>197 <a class="indexterm" name="id2580634"></a> 198 <a class="indexterm" name="id2580641"></a> 199 <a class="indexterm" name="id2580648"></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="id25 73746"></a>205 <a class="indexterm" name="id2580663"></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="id25 73813"></a>221 <a class="indexterm" name="id25 73820"></a>222 <a class="indexterm" name="id25 73826"></a>223 <a class="indexterm" name="id25 73833"></a>220 <a class="indexterm" name="id2580730"></a> 221 <a class="indexterm" name="id2580737"></a> 222 <a class="indexterm" name="id2580744"></a> 223 <a class="indexterm" name="id2580751"></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="id25 73858"></a>TCP/IP without NetBIOS</h3></div></div></div><p>231 <a class="indexterm" name="id25 73865"></a>232 <a class="indexterm" name="id25 73872"></a>233 <a class="indexterm" name="id25 73879"></a>230 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2580775"></a>TCP/IP without NetBIOS</h3></div></div></div><p> 231 <a class="indexterm" name="id2580782"></a> 232 <a class="indexterm" name="id2580789"></a> 233 <a class="indexterm" name="id2580796"></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="id25 73901"></a>241 <a class="indexterm" name="id25 73907"></a>242 <a class="indexterm" name="id25 73914"></a>243 <a class="indexterm" name="id25 73921"></a>240 <a class="indexterm" name="id2580818"></a> 241 <a class="indexterm" name="id2580824"></a> 242 <a class="indexterm" name="id2580831"></a> 243 <a class="indexterm" name="id2580838"></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="id25 73942"></a>248 <a class="indexterm" name="id25 73949"></a>249 <a class="indexterm" name="id25 73955"></a>247 <a class="indexterm" name="id2580859"></a> 248 <a class="indexterm" name="id2580866"></a> 249 <a class="indexterm" name="id2580872"></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="id25 73970"></a>255 <a class="indexterm" name="id25 73977"></a>256 <a class="indexterm" name="id25 73984"></a>257 <a class="indexterm" name="id25 73991"></a>258 <a class="indexterm" name="id25 73998"></a>259 <a class="indexterm" name="id25 74004"></a>254 <a class="indexterm" name="id2580887"></a> 255 <a class="indexterm" name="id2580894"></a> 256 <a class="indexterm" name="id2580901"></a> 257 <a class="indexterm" name="id2580908"></a> 258 <a class="indexterm" name="id2580915"></a> 259 <a class="indexterm" name="id2580922"></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="id25 74040"></a>269 <a class="indexterm" name="id25 74048"></a>270 <a class="indexterm" name="id25 74055"></a>271 <a class="indexterm" name="id25 74062"></a>272 <a class="indexterm" name="id25 74068"></a>268 <a class="indexterm" name="id2580957"></a> 269 <a class="indexterm" name="id2580966"></a> 270 <a class="indexterm" name="id2580972"></a> 271 <a class="indexterm" name="id2580979"></a> 272 <a class="indexterm" name="id2580986"></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="id25 74090"></a>281 <a class="indexterm" name="id25 74097"></a>282 <a class="indexterm" name="id25 74103"></a>280 <a class="indexterm" name="id2581007"></a> 281 <a class="indexterm" name="id2581014"></a> 282 <a class="indexterm" name="id2581021"></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="id25 74416"></a>How Browsing Functions</h2></div></div></div><p>374 <a class="indexterm" name="id25 74424"></a>375 <a class="indexterm" name="id25 74432"></a>376 <a class="indexterm" name="id25 74438"></a>377 <a class="indexterm" name="id25 74445"></a>378 <a class="indexterm" name="id25 74452"></a>373 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2581334"></a>How Browsing Functions</h2></div></div></div><p> 374 <a class="indexterm" name="id2581342"></a> 375 <a class="indexterm" name="id2581349"></a> 376 <a class="indexterm" name="id2581356"></a> 377 <a class="indexterm" name="id2581362"></a> 378 <a class="indexterm" name="id2581369"></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="id25 74468"></a>385 <a class="indexterm" name="id25 74475"></a>386 <a class="indexterm" name="id25 74482"></a>384 <a class="indexterm" name="id2581386"></a> 385 <a class="indexterm" name="id2581392"></a> 386 <a class="indexterm" name="id2581399"></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 389 389 addresses. In such situations, Samba provides a means by which the Samba server name may be forcibly injected 390 into the browse list of a remote MS Windows network (using the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" >remote announce</a>390 into the browse list of a remote MS Windows network (using the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> 391 391 parameter). 392 392 </p><p> 393 <a class="indexterm" name="id25 74512"></a>394 <a class="indexterm" name="id25 74518"></a>395 <a class="indexterm" name="id25 74525"></a>393 <a class="indexterm" name="id2581429"></a> 394 <a class="indexterm" name="id2581435"></a> 395 <a class="indexterm" name="id2581442"></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="id25 74538"></a>400 <a class="indexterm" name="id25 74544"></a>401 <a class="indexterm" name="id25 74554"></a>402 <a class="indexterm" name="id25 74560"></a>403 <a class="indexterm" name="id25 74567"></a>404 <a class="indexterm" name="id25 74574"></a>405 <a class="indexterm" name="id25 74581"></a>406 <a class="indexterm" name="id25 74587"></a>399 <a class="indexterm" name="id2581455"></a> 400 <a class="indexterm" name="id2581462"></a> 401 <a class="indexterm" name="id2581471"></a> 402 <a class="indexterm" name="id2581478"></a> 403 <a class="indexterm" name="id2581484"></a> 404 <a class="indexterm" name="id2581491"></a> 405 <a class="indexterm" name="id2581498"></a> 406 <a class="indexterm" name="id2581505"></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="id25 74611"></a>417 <a class="indexterm" name="id25 74618"></a>418 <a class="indexterm" name="id25 74624"></a>419 <a class="indexterm" name="id25 74631"></a>420 <a class="indexterm" name="id25 74638"></a>421 <a class="indexterm" name="id25 74645"></a>422 <a class="indexterm" name="id25 74652"></a>423 <a class="indexterm" name="id25 74659"></a>416 <a class="indexterm" name="id2581528"></a> 417 <a class="indexterm" name="id2581535"></a> 418 <a class="indexterm" name="id2581542"></a> 419 <a class="indexterm" name="id2581548"></a> 420 <a class="indexterm" name="id2581555"></a> 421 <a class="indexterm" name="id2581562"></a> 422 <a class="indexterm" name="id2581569"></a> 423 <a class="indexterm" name="id2581576"></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="id25 74695"></a>431 <a class="indexterm" name="id2581612"></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="id25 74708"></a>435 <a class="indexterm" name="id2581625"></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="id25 74721"></a>440 <a class="indexterm" name="id25 74728"></a>441 <a class="indexterm" name="id25 74735"></a>442 <a class="indexterm" name="id25 74742"></a>443 <a class="indexterm" name="id25 74749"></a>444 <a class="indexterm" name="id25 74755"></a>439 <a class="indexterm" name="id2581638"></a> 440 <a class="indexterm" name="id2581645"></a> 441 <a class="indexterm" name="id2581652"></a> 442 <a class="indexterm" name="id2581659"></a> 443 <a class="indexterm" name="id2581666"></a> 444 <a class="indexterm" name="id2581672"></a> 445 445 Samba supports a feature that allows forced synchronization of browse lists across routed networks using the 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 the446 <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameter in the <code class="filename">smb.conf</code> file. This causes Samba to contact the 447 447 LMB on a remote network and to request browse list synchronization. This effectively bridges two networks that 448 448 are separated by routers. The two remote networks may use either broadcast-based name resolution or WINS-based 449 name resolution, but it should be noted that the <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" >remote browse sync</a> parameter provides449 name resolution, but it should be noted that the <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameter provides 450 450 browse list synchronization and that is distinct from name-to-address resolution. In other words, 451 451 for cross-subnet browsing to function correctly, it is essential that a name-to-address resolution mechanism 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="id25 74824"></a>455 <a class="indexterm" name="id25 74831"></a>456 <a class="indexterm" name="id25 74838"></a>457 <a class="indexterm" name="id25 74844"></a>458 <a class="indexterm" name="id25 74851"></a>459 <a class="indexterm" name="id25 74858"></a>454 <a class="indexterm" name="id2581742"></a> 455 <a class="indexterm" name="id2581748"></a> 456 <a class="indexterm" name="id2581755"></a> 457 <a class="indexterm" name="id2581761"></a> 458 <a class="indexterm" name="id2581768"></a> 459 <a class="indexterm" name="id2581775"></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="id25 74878"></a>467 <a class="indexterm" name="id2581795"></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="id25 74908"></a><em class="parameter"><code>domain master = yes</code></em></td></tr></table><p>473 </p><p> 474 <a class="indexterm" name="id25 74923"></a>475 <a class="indexterm" name="id25 74929"></a>472 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2581825"></a><em class="parameter"><code>domain master = yes</code></em></td></tr></table><p> 473 </p><p> 474 <a class="indexterm" name="id2581840"></a> 475 <a class="indexterm" name="id2581846"></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="id25 74984"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2574996"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575007"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575019"></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="id25 75034"></a>480 <a class="indexterm" name="id25 75040"></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="id2581901"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581913"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581924"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581936"></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="id2581951"></a> 480 <a class="indexterm" name="id2581958"></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="id25 75052"></a>484 <a class="indexterm" name="id25 75058"></a>485 <a class="indexterm" name="id25 75065"></a>483 <a class="indexterm" name="id2581969"></a> 484 <a class="indexterm" name="id2581976"></a> 485 <a class="indexterm" name="id2581982"></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="id25 75123"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575134"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575146"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575158"></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="id25 75173"></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="id2582040"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582052"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2582063"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2582075"></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="id2582090"></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="id25 75185"></a>497 <a class="indexterm" name="id25 75191"></a>498 The <a class="link" href="smb.conf.5.html#LOCALMASTER" >local master</a> parameter allows Samba to act as a499 LMB. The <a class="link" href="smb.conf.5.html#PREFERREDMASTER" >preferred master</a> causes <code class="literal">nmbd</code>500 to force a browser election on startup and the <a class="link" href="smb.conf.5.html#OSLEVEL" >os level</a>496 <a class="indexterm" name="id2582102"></a> 497 <a class="indexterm" name="id2582109"></a> 498 The <a class="link" href="smb.conf.5.html#LOCALMASTER" target="_top">local master</a> parameter allows Samba to act as a 499 LMB. The <a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a> causes <code class="literal">nmbd</code> 500 to force a browser election on startup and the <a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level</a> 501 501 parameter sets Samba high enough so it should win any browser elections. 502 502 </p><p> 503 <a class="indexterm" name="id25 75245"></a>503 <a class="indexterm" name="id2582162"></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="id25 75300"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575312"></a><em class="parameter"><code>local master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575323"></a><em class="parameter"><code>preferred master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575335"></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="id25 75350"></a>Domain Browsing Configuration</h3></div></div></div><p>510 <a class="indexterm" name="id25 75358"></a>511 <a class="indexterm" name="id25 75365"></a>512 <a class="indexterm" name="id25 75371"></a>513 <a class="indexterm" name="id25 75378"></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="id2582217"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582229"></a><em class="parameter"><code>local master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582241"></a><em class="parameter"><code>preferred master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582252"></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="id2582267"></a>Domain Browsing Configuration</h3></div></div></div><p> 510 <a class="indexterm" name="id2582275"></a> 511 <a class="indexterm" name="id2582282"></a> 512 <a class="indexterm" name="id2582288"></a> 513 <a class="indexterm" name="id2582295"></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="id25 75397"></a>519 <a class="indexterm" name="id2582314"></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="id25 75453"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2575465"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575476"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575488"></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="id25 75503"></a>525 <a class="indexterm" name="id25 75510"></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="id2582370"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582382"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2582394"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2582405"></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="id2582420"></a> 525 <a class="indexterm" name="id2582427"></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 <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 machines527 <a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level</a> parameter to lower levels. By doing this you can tune the order of machines 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="id25 75545"></a>531 <a class="indexterm" name="id25 75551"></a>532 <a class="indexterm" name="id25 75558"></a>530 <a class="indexterm" name="id2582462"></a> 531 <a class="indexterm" name="id2582468"></a> 532 <a class="indexterm" name="id2582475"></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 … … 536 536 in <a class="link" href="NetworkBrowsing.html#xremmb" title="Example 10.5. smb.conf for Not Being a master browser"><code class="filename">smb.conf</code> for Not Being a master browser</a> 537 537 </p><p> 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">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" target="_top">domain master = no</a><a class="link" href="smb.conf.5.html#LOCALMASTER" target="_top">local master = no</a><a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master = no</a><a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level = 0</a></div></div><p><br class="example-break"> 539 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="id25 75676"></a>541 <a class="indexterm" name="id25 75683"></a>542 <a class="indexterm" name="id25 75689"></a>543 <a class="indexterm" name="id25 75696"></a>544 <a class="indexterm" name="id25 75703"></a>545 <a class="indexterm" name="id25 75710"></a>546 <a class="indexterm" name="id25 75717"></a>540 <a class="indexterm" name="id2582593"></a> 541 <a class="indexterm" name="id2582599"></a> 542 <a class="indexterm" name="id2582606"></a> 543 <a class="indexterm" name="id2582613"></a> 544 <a class="indexterm" name="id2582620"></a> 545 <a class="indexterm" name="id2582626"></a> 546 <a class="indexterm" name="id2582633"></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 … … 550 550 client. 551 551 </p><p> 552 If you want Samba to win elections, set the <a class="link" href="smb.conf.5.html#OSLEVEL" >os level</a> global option in <code class="filename">smb.conf</code> to a552 If you want Samba to win elections, set the <a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level</a> global option in <code class="filename">smb.conf</code> to a 553 553 higher number. It defaults to 20. Using 34 would make it win all elections over every other system (except 554 554 other Samba systems). 555 555 </p><p> 556 An <a class="link" href="smb.conf.5.html#OSLEVEL" >os level</a> of two would make it beat Windows for Workgroups and Windows 9x/Me, but556 An <a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level</a> of two would make it beat Windows for Workgroups and Windows 9x/Me, but 557 557 not MS Windows NT/200x Server. An MS Windows NT/200x Server domain controller uses level 32. The maximum os 558 558 level is 255. 559 559 </p><p> 560 <a class="indexterm" name="id25 75774"></a>561 <a class="indexterm" name="id25 75780"></a>562 <a class="indexterm" name="id25 75787"></a>563 <a class="indexterm" name="id25 75794"></a>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> global560 <a class="indexterm" name="id2582690"></a> 561 <a class="indexterm" name="id2582697"></a> 562 <a class="indexterm" name="id2582704"></a> 563 <a class="indexterm" name="id2582711"></a> 564 If you want Samba to force an election on startup, set the <a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a> global 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 566 566 potential master browsers that are not preferred master browsers. Use this parameter with care, because if 567 567 you have two hosts (whether they are Windows 9x/Me or NT/200x/XP or Samba) on the same local subnet both set 568 with <a class="link" href="smb.conf.5.html#PREFERREDMASTER" >preferred master</a> to <code class="constant">yes</code>, then periodically and continually568 with <a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a> to <code class="constant">yes</code>, then periodically and continually 569 569 they will force an election in order to become the LMB. 570 570 </p><p> 571 <a class="indexterm" name="id25 75848"></a>572 <a class="indexterm" name="id25 75854"></a>573 <a class="indexterm" name="id25 75861"></a>574 <a class="indexterm" name="id25 75867"></a>575 <a class="indexterm" name="id25 75874"></a>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 of571 <a class="indexterm" name="id2582764"></a> 572 <a class="indexterm" name="id2582770"></a> 573 <a class="indexterm" name="id2582777"></a> 574 <a class="indexterm" name="id2582784"></a> 575 <a class="indexterm" name="id2582790"></a> 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" target="_top">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="id25 75906"></a>580 <a class="indexterm" name="id25 75912"></a>581 <a class="indexterm" name="id25 75919"></a>582 <a class="indexterm" name="id25 75926"></a>583 <a class="indexterm" name="id25 75933"></a>579 <a class="indexterm" name="id2582823"></a> 580 <a class="indexterm" name="id2582829"></a> 581 <a class="indexterm" name="id2582836"></a> 582 <a class="indexterm" name="id2582842"></a> 583 <a class="indexterm" name="id2582849"></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="id25 75951"></a>Making Samba the Domain Master</h3></div></div></div><p>590 <a class="indexterm" name="id25 75958"></a>591 <a class="indexterm" name="id25 75965"></a>592 <a class="indexterm" name="id25 75972"></a>593 <a class="indexterm" name="id25 75979"></a>589 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2582868"></a>Making Samba the Domain Master</h3></div></div></div><p> 590 <a class="indexterm" name="id2582875"></a> 591 <a class="indexterm" name="id2582882"></a> 592 <a class="indexterm" name="id2582888"></a> 593 <a class="indexterm" name="id2582895"></a> 594 594 The domain master browser is responsible for collating the browse lists of multiple subnets so browsing can 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 </p><p> 597 <a class="indexterm" name="id25 76011"></a>598 <a class="indexterm" name="id25 76018"></a>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" target="_top">domain master = yes</a> in <code class="filename">smb.conf</code>. By default it will not be a domain master browser. 596 </p><p> 597 <a class="indexterm" name="id2582928"></a> 598 <a class="indexterm" name="id2582934"></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="id25 76040"></a>607 <a class="indexterm" name="id25 76047"></a>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> high609 enough to make sure it wins elections, and set <a class="link" href="smb.conf.5.html#PREFERREDMASTER" >preferred master</a> to606 <a class="indexterm" name="id2582957"></a> 607 <a class="indexterm" name="id2582964"></a> 608 If you want Samba to be the domain master, you should also set the <a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level</a> high 609 enough to make sure it wins elections, and set <a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">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="id25 76086"></a>613 <a class="indexterm" name="id25 76093"></a>612 <a class="indexterm" name="id2583003"></a> 613 <a class="indexterm" name="id2583009"></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="id25 76115"></a>618 <a class="indexterm" name="id25 76122"></a>617 <a class="indexterm" name="id2583032"></a> 618 <a class="indexterm" name="id2583038"></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="id25 76136"></a>621 <a class="indexterm" name="id2583053"></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="id25 76152"></a>625 <a class="indexterm" name="id2583069"></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="id25 76191"></a>Note about Broadcast Addresses</h3></div></div></div><p>635 <a class="indexterm" name="id25 76199"></a>634 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2583108"></a>Note about Broadcast Addresses</h3></div></div></div><p> 635 <a class="indexterm" name="id2583116"></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="id25 76213"></a>Multiple Interfaces</h3></div></div></div><p>640 <a class="indexterm" name="id25 76220"></a>639 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2583129"></a>Multiple Interfaces</h3></div></div></div><p> 640 <a class="indexterm" name="id2583137"></a> 641 641 Samba supports machines with multiple network interfaces. If you have multiple interfaces, you will 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, the642 need to use the <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a> option in <code class="filename">smb.conf</code> to configure them. For example, the 643 643 machine you are working with has 4 network interfaces; <code class="literal">eth0</code>, <code class="literal">eth1</code>, 644 644 <code class="literal">eth2</code>, <code class="literal">eth3</code> and only interfaces <code class="literal">eth1</code> and 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="id25 76297"></a><em class="parameter"><code>interfaces = eth1, eth4</code></em></td></tr><tr><td><a class="indexterm" name="id2576308"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr></table><p>648 <a class="indexterm" name="id25 76320"></a>649 <a class="indexterm" name="id25 76327"></a>650 <a class="indexterm" name="id25 76334"></a>651 <a class="indexterm" name="id25 76341"></a>652 <a class="indexterm" name="id25 76348"></a>653 <a class="indexterm" name="id25 76354"></a>654 <a class="indexterm" name="id25 76361"></a>655 The <a class="link" href="smb.conf.5.html#BINDINTERFACESONLY" >bind interfaces only = Yes</a> is necessary to exclude TCP/IP session647 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2583214"></a><em class="parameter"><code>interfaces = eth1, eth4</code></em></td></tr><tr><td><a class="indexterm" name="id2583225"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr></table><p> 648 <a class="indexterm" name="id2583237"></a> 649 <a class="indexterm" name="id2583244"></a> 650 <a class="indexterm" name="id2583251"></a> 651 <a class="indexterm" name="id2583258"></a> 652 <a class="indexterm" name="id2583265"></a> 653 <a class="indexterm" name="id2583271"></a> 654 <a class="indexterm" name="id2583278"></a> 655 The <a class="link" href="smb.conf.5.html#BINDINTERFACESONLY" target="_top">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 657 657 <code class="literal">nmbd</code> will listen for incoming UDP port 137 packets on the unlisted interfaces, but it will … … 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="id25 76399"></a>Use of the Remote Announce Parameter</h3></div></div></div><p>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 all663 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="id25 76444"></a><em class="parameter"><code>remote announce = 192.168.12.23 [172.16.21.255] ...</code></em></td></tr></table><p>661 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2583315"></a>Use of the Remote Announce Parameter</h3></div></div></div><p> 662 The <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> parameter of <code class="filename">smb.conf</code> can be used to forcibly ensure that all 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" target="_top">remote announce</a> parameter is: 664 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2583360"></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="id25 76464"></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="id2583381"></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="id25 76492"></a>671 <a class="indexterm" name="id25 76502"></a>670 <a class="indexterm" name="id2583409"></a> 671 <a class="indexterm" name="id2583418"></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="id25 76539"></a>Use of the Remote Browse Sync Parameter</h3></div></div></div><p>682 <a class="indexterm" name="id25 76546"></a>683 <a class="indexterm" name="id25 76553"></a>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 that681 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2583455"></a>Use of the Remote Browse Sync Parameter</h3></div></div></div><p> 682 <a class="indexterm" name="id2583463"></a> 683 <a class="indexterm" name="id2583469"></a> 684 The <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameter of <code class="filename">smb.conf</code> is used to announce to another LMB that 685 685 it must synchronize its NetBIOS name list with our Samba LMB. This works only if the Samba server that has 686 686 this option is simultaneously the LMB on its network segment. 687 687 </p><p> 688 The syntax of the <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" >remote browse sync</a> parameter is:688 The syntax of the <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameter is: 689 689 690 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id25 76602"></a></td></tr></table><p>691 <a class="indexterm" name="id25 76609"></a>692 <a class="indexterm" name="id25 76616"></a>690 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2583519"></a></td></tr></table><p> 691 <a class="indexterm" name="id2583526"></a> 692 <a class="indexterm" name="id2583532"></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="id25 76632"></a>WINS: The Windows Internetworking Name Server</h2></div></div></div><p>696 <a class="indexterm" name="id25 76640"></a>697 <a class="indexterm" name="id25 76647"></a>698 <a class="indexterm" name="id25 76654"></a>695 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2583548"></a>WINS: The Windows Internetworking Name Server</h2></div></div></div><p> 696 <a class="indexterm" name="id2583557"></a> 697 <a class="indexterm" name="id2583563"></a> 698 <a class="indexterm" name="id2583570"></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="id25 76672"></a>708 <a class="indexterm" name="id25 76679"></a>707 <a class="indexterm" name="id2583588"></a> 708 <a class="indexterm" name="id2583595"></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="id25 76694"></a>716 <a class="indexterm" name="id25 76701"></a>717 <a class="indexterm" name="id25 76708"></a>718 <a class="indexterm" name="id25 76715"></a>715 <a class="indexterm" name="id2583611"></a> 716 <a class="indexterm" name="id2583618"></a> 717 <a class="indexterm" name="id2583624"></a> 718 <a class="indexterm" name="id2583631"></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="id25 76739"></a>729 <a class="indexterm" name="id25 76746"></a>730 <a class="indexterm" name="id25 76753"></a>731 <a class="indexterm" name="id25 76759"></a>732 <a class="indexterm" name="id25 76766"></a>728 <a class="indexterm" name="id2583656"></a> 729 <a class="indexterm" name="id2583663"></a> 730 <a class="indexterm" name="id2583669"></a> 731 <a class="indexterm" name="id2583676"></a> 732 <a class="indexterm" name="id2583683"></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="id25 76783"></a>740 <a class="indexterm" name="id25 76790"></a>741 <a class="indexterm" name="id25 76797"></a>742 <a class="indexterm" name="id25 76804"></a>739 <a class="indexterm" name="id2583700"></a> 740 <a class="indexterm" name="id2583707"></a> 741 <a class="indexterm" name="id2583714"></a> 742 <a class="indexterm" name="id2583721"></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 … … 750 750 </p><p> 751 751 To configure Samba as a WINS server, just add 752 <a class="link" href="smb.conf.5.html#WINSSUPPORT" >wins support = yes</a> to the <code class="filename">smb.conf</code>752 <a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support = yes</a> to the <code class="filename">smb.conf</code> 753 753 file [global] section. 754 754 </p><p> 755 To configure Samba to register with a WINS server, just add <a class="link" href="smb.conf.5.html#WINSSERVER" >wins server = 10.0.0.18</a> to your <code class="filename">smb.conf</code> file <em class="parameter"><code>[global]</code></em> section.755 To configure Samba to register with a WINS server, just add <a class="link" href="smb.conf.5.html#WINSSERVER" target="_top">wins server = 10.0.0.18</a> to your <code class="filename">smb.conf</code> file <em class="parameter"><code>[global]</code></em> section. 756 756 </p><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Important</h3><p> 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>757 Never use <a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support = yes</a> together with <a class="link" href="smb.conf.5.html#WINSSERVER" target="_top">wins server = 10.0.0.18</a> particularly not using its own IP address. Specifying both will cause <span class="application">nmbd</span> 758 758 to refuse to start! 759 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id25 76903"></a>WINS Server Configuration</h3></div></div></div><p>760 <a class="indexterm" name="id25 76911"></a>759 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2583820"></a>WINS Server Configuration</h3></div></div></div><p> 760 <a class="indexterm" name="id2583828"></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="id25 76942"></a><em class="parameter"><code>wins support = yes</code></em></td></tr></table><p>767 </p><p> 768 <a class="indexterm" name="id25 76957"></a>766 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2583859"></a><em class="parameter"><code>wins support = yes</code></em></td></tr></table><p> 767 </p><p> 768 <a class="indexterm" name="id2583874"></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 … … 772 772 least set the parameter to “<span class="quote">no</span>” on all these machines. 773 773 </p><p> 774 Machines configured with <a class="link" href="smb.conf.5.html#WINSSUPPORT" >wins support = yes</a> will keep a list of774 Machines configured with <a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support = yes</a> will keep a list of 775 775 all NetBIOS names registered with them, acting as a DNS for NetBIOS names. 776 776 </p><p> 777 <a class="indexterm" name="id25 76991"></a>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 </p><p> 780 <a class="indexterm" name="id25 77015"></a>781 <a class="indexterm" name="id25 77024"></a>782 <a class="indexterm" name="id25 77030"></a>783 <a class="indexterm" name="id25 77037"></a>784 <a class="indexterm" name="id25 77044"></a>777 <a class="indexterm" name="id2583908"></a> 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" target="_top">wins support = yes</a> option on more than one Samba server on a network. 779 </p><p> 780 <a class="indexterm" name="id2583932"></a> 781 <a class="indexterm" name="id2583940"></a> 782 <a class="indexterm" name="id2583947"></a> 783 <a class="indexterm" name="id2583954"></a> 784 <a class="indexterm" name="id2583961"></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 … … 788 788 protocols, Samba cannot currently participate in these replications. It is possible that a Samba-to-Samba WINS 789 789 replication protocol may be defined in the future, in which case more than one Samba machine could be set up 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 </p><p> 792 <a class="indexterm" name="id25 77077"></a>793 <a class="indexterm" name="id25 77083"></a>790 as a WINS server. Currently only one Samba server should have the <a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support = yes</a> parameter set. 791 </p><p> 792 <a class="indexterm" name="id2583993"></a> 793 <a class="indexterm" name="id2584000"></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="id25 77127"></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="id2584044"></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. … … 803 803 This line must not be set in the <code class="filename">smb.conf</code> file of the Samba 804 804 server acting as the WINS server itself. If you set both the 805 <a class="link" href="smb.conf.5.html#WINSSUPPORT" >wins support = yes</a> option and the806 <a class="link" href="smb.conf.5.html#WINSSERVER" >wins server = <name></a> option then805 <a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support = yes</a> option and the 806 <a class="link" href="smb.conf.5.html#WINSSERVER" target="_top">wins server = <name></a> option then 807 807 <code class="literal">nmbd</code> will fail to start. 808 808 </p><p> 809 <a class="indexterm" name="id25 77188"></a>810 <a class="indexterm" name="id25 77195"></a>811 <a class="indexterm" name="id25 77202"></a>812 <a class="indexterm" name="id25 77209"></a>809 <a class="indexterm" name="id2584105"></a> 810 <a class="indexterm" name="id2584112"></a> 811 <a class="indexterm" name="id2584119"></a> 812 <a class="indexterm" name="id2584126"></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="id25 77224"></a>WINS Replication</h3></div></div></div><p>819 <a class="indexterm" name="id25 77232"></a>820 <a class="indexterm" name="id25 77241"></a>818 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2584141"></a>WINS Replication</h3></div></div></div><p> 819 <a class="indexterm" name="id2584149"></a> 820 <a class="indexterm" name="id2584158"></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="id25 77277"></a>Static WINS Entries</h3></div></div></div><p>829 <a class="indexterm" name="id25 77285"></a>830 <a class="indexterm" name="id25 77292"></a>831 <a class="indexterm" name="id25 77299"></a>832 <a class="indexterm" name="id25 77306"></a>828 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2584194"></a>Static WINS Entries</h3></div></div></div><p> 829 <a class="indexterm" name="id2584202"></a> 830 <a class="indexterm" name="id2584208"></a> 831 <a class="indexterm" name="id2584215"></a> 832 <a class="indexterm" name="id2584222"></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="id25 77351"></a>841 <a class="indexterm" name="id25 77358"></a>840 <a class="indexterm" name="id2584268"></a> 841 <a class="indexterm" name="id2584275"></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="id25 77430"></a>860 <a class="indexterm" name="id25 77437"></a>861 <a class="indexterm" name="id25 77444"></a>862 <a class="indexterm" name="id25 77451"></a>863 <a class="indexterm" name="id25 77458"></a>864 <a class="indexterm" name="id25 77465"></a>865 <a class="indexterm" name="id25 77472"></a>859 <a class="indexterm" name="id2584347"></a> 860 <a class="indexterm" name="id2584354"></a> 861 <a class="indexterm" name="id2584361"></a> 862 <a class="indexterm" name="id2584368"></a> 863 <a class="indexterm" name="id2584375"></a> 864 <a class="indexterm" name="id2584382"></a> 865 <a class="indexterm" name="id2584389"></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="id25 77496"></a>872 <a class="indexterm" name="id2584413"></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="id25 77508"></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="id2584425"></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="id25 77519"></a>Windows Networking Protocols</h3></div></div></div><p>879 <a class="indexterm" name="id25 77527"></a>880 <a class="indexterm" name="id25 77534"></a>878 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2584436"></a>Windows Networking Protocols</h3></div></div></div><p> 879 <a class="indexterm" name="id2584444"></a> 880 <a class="indexterm" name="id2584451"></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="id25 77552"></a>887 <a class="indexterm" name="id25 77559"></a>886 <a class="indexterm" name="id2584469"></a> 887 <a class="indexterm" name="id2584476"></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="id25 77574"></a>895 <a class="indexterm" name="id25 77581"></a>896 <a class="indexterm" name="id25 77588"></a>897 <a class="indexterm" name="id25 77594"></a>898 <a class="indexterm" name="id25 77601"></a>899 <a class="indexterm" name="id25 77608"></a>894 <a class="indexterm" name="id2584491"></a> 895 <a class="indexterm" name="id2584498"></a> 896 <a class="indexterm" name="id2584505"></a> 897 <a class="indexterm" name="id2584512"></a> 898 <a class="indexterm" name="id2584518"></a> 899 <a class="indexterm" name="id2584525"></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="id25 77632"></a>908 <a class="indexterm" name="id25 77639"></a>907 <a class="indexterm" name="id2584550"></a> 908 <a class="indexterm" name="id2584556"></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="id25 77660"></a>Name Resolution Order</h3></div></div></div><p>917 <a class="indexterm" name="id25 77668"></a>918 <a class="indexterm" name="id25 77675"></a>916 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2584578"></a>Name Resolution Order</h3></div></div></div><p> 917 <a class="indexterm" name="id2584586"></a> 918 <a class="indexterm" name="id2584592"></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="id25 77744"></a>926 <a class="indexterm" name="id25 77750"></a>925 <a class="indexterm" name="id2584661"></a> 926 <a class="indexterm" name="id2584668"></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="id25 77777"></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="id2584695"></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="id25 77798"></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="id2584716"></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="id25 77817"></a><em class="parameter"><code>name resolve order = host lmhost wins bcast</code></em></td></tr></table><p>935 <a class="indexterm" name="id25 77829"></a>934 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2584734"></a><em class="parameter"><code>name resolve order = host lmhost wins bcast</code></em></td></tr></table><p> 935 <a class="indexterm" name="id2584746"></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="id25 77863"></a>Technical Overview of Browsing</h2></div></div></div><p>940 <a class="indexterm" name="id25 77871"></a>939 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2584781"></a>Technical Overview of Browsing</h2></div></div></div><p> 940 <a class="indexterm" name="id2584789"></a> 941 941 SMB networking provides a mechanism by which clients can access a list 942 of machines in a network called <a class="link" href="smb.conf.5.html#BROWSELIST" >browse list</a>. This list942 of machines in a network called <a class="link" href="smb.conf.5.html#BROWSELIST" target="_top">browse list</a>. This list 943 943 contains machines that are ready to offer file and/or print services 944 944 to other machines within the network. It therefore does not include … … 948 948 document. 949 949 </p><p> 950 <a class="indexterm" name="id25 77901"></a>951 <a class="indexterm" name="id25 77907"></a>952 <a class="indexterm" name="id25 77914"></a>950 <a class="indexterm" name="id2584818"></a> 951 <a class="indexterm" name="id2584825"></a> 952 <a class="indexterm" name="id2584832"></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="id25 77931"></a>960 <a class="indexterm" name="id25 77937"></a>959 <a class="indexterm" name="id2584848"></a> 960 <a class="indexterm" name="id2584855"></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="id25 77950"></a>Browsing Support in Samba</h3></div></div></div><p>966 <a class="indexterm" name="id25 77958"></a>967 <a class="indexterm" name="id25 77965"></a>968 <a class="indexterm" name="id25 77971"></a>969 <a class="indexterm" name="id25 77978"></a>965 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2584868"></a>Browsing Support in Samba</h3></div></div></div><p> 966 <a class="indexterm" name="id2584876"></a> 967 <a class="indexterm" name="id2584882"></a> 968 <a class="indexterm" name="id2584889"></a> 969 <a class="indexterm" name="id2584896"></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="id25 78003"></a>976 <a class="indexterm" name="id25 78010"></a>977 <a class="indexterm" name="id25 78016"></a>975 <a class="indexterm" name="id2584920"></a> 976 <a class="indexterm" name="id2584927"></a> 977 <a class="indexterm" name="id2584934"></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="id25 78031"></a>984 <a class="indexterm" name="id2584949"></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="id25 78047"></a>991 <a class="indexterm" name="id25 78054"></a>990 <a class="indexterm" name="id2584965"></a> 991 <a class="indexterm" name="id2584972"></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="id25 78077"></a>1000 <a class="indexterm" name="id2584995"></a> 1001 1001 To get browsing to work, you need to run <code class="literal">nmbd</code> as usual, but must 1002 use the <a class="link" href="smb.conf.5.html#WORKGROUP" >workgroup</a> option in <code class="filename">smb.conf</code>1002 use the <a class="link" href="smb.conf.5.html#WORKGROUP" target="_top">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="id25 78113"></a>1005 <a class="indexterm" name="id2585030"></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 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="id25 78147"></a>Problem Resolution</h3></div></div></div><p>1010 <a class="indexterm" name="id25 78155"></a>1011 <a class="indexterm" name="id25 78162"></a>1008 Internet, for example. See <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> in the <code class="filename">smb.conf</code> man page. 1009 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2585064"></a>Problem Resolution</h3></div></div></div><p> 1010 <a class="indexterm" name="id2585072"></a> 1011 <a class="indexterm" name="id2585079"></a> 1012 1012 If something does not work, the <code class="filename">log.nmbd</code> file will help 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 finding1013 to track down the problem. Try a <a class="link" href="smb.conf.5.html#LOGLEVEL" target="_top">log level</a> of 2 or 3 for finding 1014 1014 problems. Also note that the current browse list usually gets stored 1015 1015 in text form in a file called <code class="filename">browse.dat</code>. 1016 1016 </p><p> 1017 <a class="indexterm" name="id25 78197"></a>1018 <a class="indexterm" name="id25 78204"></a>1017 <a class="indexterm" name="id2585115"></a> 1018 <a class="indexterm" name="id2585122"></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="id25 78234"></a>1024 <a class="indexterm" name="id25 78241"></a>1023 <a class="indexterm" name="id2585152"></a> 1024 <a class="indexterm" name="id2585159"></a> 1025 1025 Some people find browsing fails because they do not have the global 1026 <a class="link" href="smb.conf.5.html#GUESTACCOUNT" >guest account</a> set to a valid account. Remember that the1026 <a class="link" href="smb.conf.5.html#GUESTACCOUNT" target="_top">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="id25 78269"></a>1030 <a class="indexterm" name="id25 78275"></a>1031 <a class="indexterm" name="id25 78282"></a>1032 <a class="indexterm" name="id25 78289"></a>1033 <a class="indexterm" name="id25 78296"></a>1029 <a class="indexterm" name="id2585186"></a> 1030 <a class="indexterm" name="id2585192"></a> 1031 <a class="indexterm" name="id2585199"></a> 1032 <a class="indexterm" name="id2585206"></a> 1033 <a class="indexterm" name="id2585213"></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="id25 78333"></a>1042 <a class="indexterm" name="id25 78340"></a>1043 <a class="indexterm" name="id25 78346"></a>1044 <a class="indexterm" name="id25 78353"></a>1041 <a class="indexterm" name="id2585250"></a> 1042 <a class="indexterm" name="id2585257"></a> 1043 <a class="indexterm" name="id2585264"></a> 1044 <a class="indexterm" name="id2585270"></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="id25 78370"></a>1052 <a class="indexterm" name="id2585287"></a> 1053 1053 The other big problem people have is that their broadcast address, 1054 netmask, or IP address is wrong (specified with the <a class="link" href="smb.conf.5.html#INTERFACES" >interfaces</a> option1054 netmask, or IP address is wrong (specified with the <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">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="id25 78398"></a>Cross-Subnet Browsing</h3></div></div></div><p>1057 <a class="indexterm" name="id25 78406"></a>1058 <a class="indexterm" name="id25 78415"></a>1056 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2585316"></a>Cross-Subnet Browsing</h3></div></div></div><p> 1057 <a class="indexterm" name="id2585324"></a> 1058 <a class="indexterm" name="id2585333"></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="id25 78429"></a>1063 <a class="indexterm" name="id25 78436"></a>1064 <a class="indexterm" name="id25 78443"></a>1065 <a class="indexterm" name="id25 78450"></a>1066 <a class="indexterm" name="id25 78456"></a>1067 <a class="indexterm" name="id25 78463"></a>1062 <a class="indexterm" name="id2585347"></a> 1063 <a class="indexterm" name="id2585354"></a> 1064 <a class="indexterm" name="id2585360"></a> 1065 <a class="indexterm" name="id2585367"></a> 1066 <a class="indexterm" name="id2585374"></a> 1067 <a class="indexterm" name="id2585381"></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="id25 78500"></a>1080 <a class="indexterm" name="id25 78507"></a>1081 <a class="indexterm" name="id25 78514"></a>1082 <a class="indexterm" name="id25 78521"></a>1079 <a class="indexterm" name="id2585418"></a> 1080 <a class="indexterm" name="id2585425"></a> 1081 <a class="indexterm" name="id2585432"></a> 1082 <a class="indexterm" name="id2585438"></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="id25 78543"></a>1089 <a class="indexterm" name="id25 78550"></a>1090 <a class="indexterm" name="id25 78557"></a>1088 <a class="indexterm" name="id2585461"></a> 1089 <a class="indexterm" name="id2585468"></a> 1090 <a class="indexterm" name="id2585474"></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="id25 78569"></a>Behavior of Cross-Subnet Browsing</h4></div></div></div><p>1095 <a class="indexterm" name="id25 78577"></a>1096 <a class="indexterm" name="id25 78584"></a>1094 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2585487"></a>Behavior of Cross-Subnet Browsing</h4></div></div></div><p> 1095 <a class="indexterm" name="id2585495"></a> 1096 <a class="indexterm" name="id2585502"></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="id25 78652"></a>1104 <a class="indexterm" name="id25 78659"></a>1105 <a class="indexterm" name="id25 78665"></a>1103 <a class="indexterm" name="id2585569"></a> 1104 <a class="indexterm" name="id2585576"></a> 1105 <a class="indexterm" name="id2585583"></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="id25 78684"></a>1114 <a class="indexterm" name="id25 78691"></a>1115 <a class="indexterm" name="id25 78698"></a>1113 <a class="indexterm" name="id2585602"></a> 1114 <a class="indexterm" name="id2585609"></a> 1115 <a class="indexterm" name="id2585615"></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="id25 78713"></a>1124 <a class="indexterm" name="id25 78720"></a>1123 <a class="indexterm" name="id2585631"></a> 1124 <a class="indexterm" name="id2585637"></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="id25 78737"></a>1132 <a class="indexterm" name="id25 78744"></a>1133 <a class="indexterm" name="id25 78751"></a>1134 <a class="indexterm" name="id25 78758"></a>1135 <a class="indexterm" name="id25 78764"></a>1131 <a class="indexterm" name="id2585655"></a> 1132 <a class="indexterm" name="id2585661"></a> 1133 <a class="indexterm" name="id2585668"></a> 1134 <a class="indexterm" name="id2585675"></a> 1135 <a class="indexterm" name="id2585682"></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="id25 78796"></a>1146 <a class="indexterm" name="id2585713"></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="id25 78890"></a>1156 <a class="indexterm" name="id25 78897"></a>1157 <a class="indexterm" name="id25 78903"></a>1158 <a class="indexterm" name="id25 78910"></a>1155 <a class="indexterm" name="id2585808"></a> 1156 <a class="indexterm" name="id2585814"></a> 1157 <a class="indexterm" name="id2585821"></a> 1158 <a class="indexterm" name="id2585828"></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="id25 78936"></a>1165 <a class="indexterm" name="id25 78943"></a>1166 <a class="indexterm" name="id25 78950"></a>1167 <a class="indexterm" name="id25 78956"></a>1164 <a class="indexterm" name="id2585853"></a> 1165 <a class="indexterm" name="id2585860"></a> 1166 <a class="indexterm" name="id2585867"></a> 1167 <a class="indexterm" name="id2585874"></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="id25 79071"></a>1180 <a class="indexterm" name="id2585988"></a> 1181 1181 Servers with an (*) after them are non-authoritative names. 1182 1182 </p><p> 1183 <a class="indexterm" name="id25 79082"></a>1183 <a class="indexterm" name="id2586000"></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="id25 79096"></a>1187 <a class="indexterm" name="id2586013"></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="id25 79213"></a>1202 <a class="indexterm" name="id25 79219"></a>1203 <a class="indexterm" name="id25 79226"></a>1201 <a class="indexterm" name="id2586130"></a> 1202 <a class="indexterm" name="id2586136"></a> 1203 <a class="indexterm" name="id2586143"></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="id25 79356"></a>1224 <a class="indexterm" name="id2586273"></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="id25 79381"></a>1233 <a class="indexterm" name="id25 79387"></a>1234 <a class="indexterm" name="id25 79394"></a>1232 <a class="indexterm" name="id2586298"></a> 1233 <a class="indexterm" name="id2586304"></a> 1234 <a class="indexterm" name="id2586312"></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="id25 79412"></a>Common Errors</h2></div></div></div><p>1240 <a class="indexterm" name="id25 79420"></a>1241 <a class="indexterm" name="id25 79427"></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="id2586329"></a>Common Errors</h2></div></div></div><p> 1240 <a class="indexterm" name="id2586337"></a> 1241 <a class="indexterm" name="id2586344"></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="id25 79438"></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="id2586355"></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="id25 79451"></a>1249 <a class="indexterm" name="id25 79458"></a>1250 <a class="indexterm" name="id25 79465"></a>1251 <a class="indexterm" name="id25 79472"></a>1248 <a class="indexterm" name="id2586368"></a> 1249 <a class="indexterm" name="id2586375"></a> 1250 <a class="indexterm" name="id2586382"></a> 1251 <a class="indexterm" name="id2586389"></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="id25 79511"></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="id2586428"></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="id2579559"></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="id25 79571"></a>1265 </p><p>Also see <a class="link" href="smb.conf.5.html#GUESTACCOUNT" target="_top">guest account</a> in the <code class="filename">smb.conf</code> man page.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2586476"></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="id2586488"></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="id25 79606"></a>Browsing of Shares and Directories is Very Slow</h3></div></div></div><p>“<span class="quote">1271 <a class="indexterm" name="id25 79616"></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="id2586523"></a>Browsing of Shares and Directories is Very Slow</h3></div></div></div><p>“<span class="quote"> 1271 <a class="indexterm" name="id2586533"></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="id25 79635"></a>1278 <a class="indexterm" name="id2586552"></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="id25 79666"></a>1285 <a class="indexterm" name="id25 79673"></a>1286 <a class="indexterm" name="id25 79680"></a>1287 <a class="indexterm" name="id25 79687"></a>1288 <a class="indexterm" name="id25 79694"></a>1284 <a class="indexterm" name="id2586583"></a> 1285 <a class="indexterm" name="id2586590"></a> 1286 <a class="indexterm" name="id2586597"></a> 1287 <a class="indexterm" name="id2586604"></a> 1288 <a class="indexterm" name="id2586611"></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="id25 79719"></a>1295 <a class="indexterm" name="id2586636"></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="id25 79745"></a>1301 <a class="indexterm" name="id25 79751"></a>1300 <a class="indexterm" name="id2586661"></a> 1301 <a class="indexterm" name="id2586668"></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="id25 79778"></a>1310 <a class="indexterm" name="id25 79785"></a>1309 <a class="indexterm" name="id2586695"></a> 1310 <a class="indexterm" name="id2586702"></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="id25 79806"></a>Invalid Cached Share References Affects Network Browsing</h3></div></div></div><p>1315 <a class="indexterm" name="id25 79815"></a>1316 <a class="indexterm" name="id25 79822"></a>1314 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2586723"></a>Invalid Cached Share References Affects Network Browsing</h3></div></div></div><p> 1315 <a class="indexterm" name="id2586732"></a> 1316 <a class="indexterm" name="id2586739"></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="id25 79895"></a>1334 <a class="indexterm" name="id2586812"></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
r226 r231 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.7 3.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#id2682672">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2682756">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2682762">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682881">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682938">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683031">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683036">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683120">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683146">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683204">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683235">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#id2683293">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683362">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683382">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2683579">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="id2682672"></a>Macintosh Clients</h2></div></div></div><p>2 <a class="indexterm" name="id268 2680"></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.74.0"><link rel="home" 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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Shearer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">IBM</span> <span class="surname">McDonough</span></h3><span class="contrib">OS/2</span> <div class="affiliation"><span class="orgname">IBM<br></span><div class="address"><p><code class="email"><<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#id2689667">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2689751">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2689757">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689877">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689933">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690026">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690032">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690115">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690141">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690200">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690231">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#id2690288">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690358">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690378">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2690575">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="id2689667"></a>Macintosh Clients</h2></div></div></div><p> 2 <a class="indexterm" name="id2689675"></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="id268 2707"></a>8 <a class="indexterm" name="id268 2714"></a>7 <a class="indexterm" name="id2689702"></a> 8 <a class="indexterm" name="id2689709"></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="id268 2756"></a>OS2 Client</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682762"></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="id2689751"></a>OS2 Client</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2689757"></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="id268 2881"></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="id2689877"></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="id268 2938"></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="id2689933"></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 43 43 and not copy an installed driver from an OS/2 system.</p><p>Install the NT driver first for that printer. Then, add to your <code class="filename">smb.conf</code> a parameter, 44 <a class="link" href="smb.conf.5.html#OS2DRIVERMAP" >os2 driver map</a>.44 <a class="link" href="smb.conf.5.html#OS2DRIVERMAP" target="_top">os2 driver map</a>. 45 45 Next, in the file specified by <em class="replaceable"><code>filename</code></em>, map the 46 46 name of the NT driver name to the OS/2 driver name as follows:</p><p><em class="parameter"><code><em class="replaceable"><code>nt driver name</code></em> = <em class="replaceable"><code>os2 driver name</code></em>.<em class="replaceable"><code>device name</code></em></code></em>, e.g.,</p><p><em class="parameter"><code> … … 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="id26 83031"></a>Windows for Workgroups</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2683036"></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="id2690026"></a>Windows for Workgroups</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690032"></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="id26 83120"></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="id2690115"></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="id26 83146"></a>Configuring Windows for Workgroups Password Handling</h3></div></div></div><p>74 <a class="indexterm" name="id26 83154"></a>73 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690141"></a>Configuring Windows for Workgroups Password Handling</h3></div></div></div><p> 74 <a class="indexterm" name="id2690150"></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 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="id26 83204"></a>Password Case Sensitivity</h3></div></div></div><p>Windows for Workgroups uppercases the password before sending it to the server.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" target="_top">security = user</a>. 79 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690200"></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 <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" >password level</a> to specify what characters82 Samba should try to uppercase when checking.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26 83235"></a>Use TCP/IP as Default Protocol</h3></div></div></div><p>To support print queue reporting, you may find81 <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" target="_top">password level</a> to specify what characters 82 Samba should try to uppercase when checking.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690231"></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="id26 83293"></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="id2690288"></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="id26 83362"></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="id2690358"></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="id26 83382"></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="id2690378"></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 … … 123 123 In order to serve profiles successfully to Windows 2000 SP2 124 124 clients (when not operating as a PDC), Samba must have 125 <a class="link" href="smb.conf.5.html#NTACLSUPPORT" >nt acl support = no</a>125 <a class="link" href="smb.conf.5.html#NTACLSUPPORT" target="_top">nt acl support = no</a> 126 126 added to the file share that houses the roaming profiles. 127 127 If this is not done, then the Windows 2000 SP2 client will … … 130 130 DOMAIN.user.002, and so on). See the <code class="filename">smb.conf</code> man page 131 131 for more details on this option. Also note that the 132 <a class="link" href="smb.conf.5.html#NTACLSUPPORT" >nt acl support</a> parameter was formally a global parameter in132 <a class="link" href="smb.conf.5.html#NTACLSUPPORT" target="_top">nt acl support</a> parameter was formally a global parameter in 133 133 releases prior to Samba 2.2.2. 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="id26 83474"></a><em class="parameter"><code>path = /export/profile</code></em></td></tr><tr><td><a class="indexterm" name="id2683485"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2683497"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr><tr><td><a class="indexterm" name="id2683508"></a><em class="parameter"><code>nt acl support = no</code></em></td></tr><tr><td><a class="indexterm" name="id2683520"></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="id2690469"></a><em class="parameter"><code>path = /export/profile</code></em></td></tr><tr><td><a class="indexterm" name="id2690481"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2690492"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr><tr><td><a class="indexterm" name="id2690504"></a><em class="parameter"><code>nt acl support = no</code></em></td></tr><tr><td><a class="indexterm" name="id2690516"></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 … … 142 142 <span class="errorname">access denied</span> message. 143 143 </p><p> 144 When the <a class="link" href="smb.conf.5.html#NTACLSUPPORT" >nt acl support</a> parameter is disabled, Samba will send144 When the <a class="link" href="smb.conf.5.html#NTACLSUPPORT" target="_top">nt acl support</a> parameter is disabled, Samba will send 145 145 the Windows 200x client a response to the QuerySecurityDescriptor trans2 call, which causes the client 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="id26 83579"></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="id2690575"></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
r226 r231 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.7 3.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#id2651782">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2652077">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652214">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652435">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2652884">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653111">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653123">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653205">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653246">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2653311">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653468">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653480">Policy Does Not Work</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id265 1768"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2658759">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2659054">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659191">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659412">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2659861">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660088">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660101">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660183">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660223">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2660288">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660446">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660457">Policy Does Not Work</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2658745"></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="id265 1782"></a>Features and Benefits</h2></div></div></div><p>9 <a class="indexterm" name="id265 1790"></a>10 <a class="indexterm" name="id265 1797"></a>11 <a class="indexterm" name="id265 1804"></a>8 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658759"></a>Features and Benefits</h2></div></div></div><p> 9 <a class="indexterm" name="id2658767"></a> 10 <a class="indexterm" name="id2658774"></a> 11 <a class="indexterm" name="id2658781"></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="id265 1823"></a>18 <a class="indexterm" name="id265 1830"></a>19 <a class="indexterm" name="id265 1839"></a>20 <a class="indexterm" name="id265 1846"></a>21 <a class="indexterm" name="id265 1852"></a>17 <a class="indexterm" name="id2658800"></a> 18 <a class="indexterm" name="id2658807"></a> 19 <a class="indexterm" name="id2658816"></a> 20 <a class="indexterm" name="id2658823"></a> 21 <a class="indexterm" name="id2658829"></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="id265 1874"></a>30 <a class="indexterm" name="id2658851"></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="id265 1888"></a>Creating and Managing System Policies</h2></div></div></div><p>36 <a class="indexterm" name="id265 1896"></a>37 <a class="indexterm" name="id265 1903"></a>38 <a class="indexterm" name="id265 1910"></a>39 <a class="indexterm" name="id265 1916"></a>35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658865"></a>Creating and Managing System Policies</h2></div></div></div><p> 36 <a class="indexterm" name="id2658873"></a> 37 <a class="indexterm" name="id2658880"></a> 38 <a class="indexterm" name="id2658887"></a> 39 <a class="indexterm" name="id2658894"></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="id265 1934"></a>48 <a class="indexterm" name="id265 1941"></a>49 <a class="indexterm" name="id265 1948"></a>47 <a class="indexterm" name="id2658911"></a> 48 <a class="indexterm" name="id2658918"></a> 49 <a class="indexterm" name="id2658925"></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="id265 1976"></a>57 <a class="indexterm" name="id2658954"></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 2005"></a>62 <a class="indexterm" name="id2658982"></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="id265 2023"></a>71 <a class="indexterm" name="id265 2030"></a>72 <a class="indexterm" name="id265 2037"></a>73 <a class="indexterm" name="id265 2044"></a>70 <a class="indexterm" name="id2659000"></a> 71 <a class="indexterm" name="id2659007"></a> 72 <a class="indexterm" name="id2659014"></a> 73 <a class="indexterm" name="id2659021"></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="id265 2077"></a>Windows 9x/ME Policies</h3></div></div></div><p>84 <a class="indexterm" name="id265 2085"></a>85 <a class="indexterm" name="id265 2091"></a>83 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2659054"></a>Windows 9x/ME Policies</h3></div></div></div><p> 84 <a class="indexterm" name="id2659062"></a> 85 <a class="indexterm" name="id2659068"></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="id265 2118"></a>92 <a class="indexterm" name="id265 2125"></a>91 <a class="indexterm" name="id2659095"></a> 92 <a class="indexterm" name="id2659102"></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="id265 2164"></a>102 <a class="indexterm" name="id2659141"></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="id265 2179"></a>109 <a class="indexterm" name="id265 2186"></a>108 <a class="indexterm" name="id2659156"></a> 109 <a class="indexterm" name="id2659163"></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="id265 2214"></a>Windows NT4-Style Policy Files</h3></div></div></div><p>117 <a class="indexterm" name="id265 2222"></a>118 <a class="indexterm" name="id265 2229"></a>119 <a class="indexterm" name="id265 2235"></a>120 <a class="indexterm" name="id265 2242"></a>116 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2659191"></a>Windows NT4-Style Policy Files</h3></div></div></div><p> 117 <a class="indexterm" name="id2659199"></a> 118 <a class="indexterm" name="id2659206"></a> 119 <a class="indexterm" name="id2659212"></a> 120 <a class="indexterm" name="id2659219"></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="id265 2272"></a>130 <a class="indexterm" name="id265 2279"></a>131 <a class="indexterm" name="id265 2286"></a>132 <a class="indexterm" name="id265 2293"></a>129 <a class="indexterm" name="id2659249"></a> 130 <a class="indexterm" name="id2659256"></a> 131 <a class="indexterm" name="id2659263"></a> 132 <a class="indexterm" name="id2659270"></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="id265 2339"></a>139 <a class="indexterm" name="id265 2346"></a>140 <a class="indexterm" name="id265 2352"></a>141 <a class="indexterm" name="id265 2359"></a>138 <a class="indexterm" name="id2659316"></a> 139 <a class="indexterm" name="id2659323"></a> 140 <a class="indexterm" name="id2659330"></a> 141 <a class="indexterm" name="id2659336"></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="id265 2396"></a>Registry Spoiling</h4></div></div></div><p>150 <a class="indexterm" name="id265 2404"></a>151 <a class="indexterm" name="id265 2410"></a>149 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2659373"></a>Registry Spoiling</h4></div></div></div><p> 150 <a class="indexterm" name="id2659381"></a> 151 <a class="indexterm" name="id2659388"></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="id265 2435"></a>MS Windows 200x/XP Professional Policies</h3></div></div></div><p>159 <a class="indexterm" name="id265 2443"></a>158 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2659412"></a>MS Windows 200x/XP Professional Policies</h3></div></div></div><p> 159 <a class="indexterm" name="id2659420"></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="id265 2466"></a>169 <a class="indexterm" name="id265 2472"></a>168 <a class="indexterm" name="id2659443"></a> 169 <a class="indexterm" name="id2659449"></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="id265 2501"></a>179 <a class="indexterm" name="id265 2508"></a>180 <a class="indexterm" name="id265 2515"></a>178 <a class="indexterm" name="id2659478"></a> 179 <a class="indexterm" name="id2659485"></a> 180 <a class="indexterm" name="id2659492"></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="id265 2545"></a>188 <a class="indexterm" name="id265 2551"></a>189 <a class="indexterm" name="id265 2558"></a>190 <a class="indexterm" name="id265 2565"></a>191 <a class="indexterm" name="id265 2572"></a>192 <a class="indexterm" name="id265 2578"></a>193 <a class="indexterm" name="id265 2588"></a>194 <a class="indexterm" name="id265 2597"></a>187 <a class="indexterm" name="id2659522"></a> 188 <a class="indexterm" name="id2659528"></a> 189 <a class="indexterm" name="id2659535"></a> 190 <a class="indexterm" name="id2659542"></a> 191 <a class="indexterm" name="id2659549"></a> 192 <a class="indexterm" name="id2659556"></a> 193 <a class="indexterm" name="id2659565"></a> 194 <a class="indexterm" name="id2659575"></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="id265 2617"></a>202 <a class="indexterm" name="id2659594"></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="id265 2638"></a>Administration of Windows 200x/XP Policies</h4></div></div></div><p>211 <a class="indexterm" name="id265 2646"></a>212 <a class="indexterm" name="id265 2653"></a>213 <a class="indexterm" name="id265 2660"></a>214 <a class="indexterm" name="id265 2667"></a>215 <a class="indexterm" name="id265 2673"></a>210 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2659616"></a>Administration of Windows 200x/XP Policies</h4></div></div></div><p> 211 <a class="indexterm" name="id2659624"></a> 212 <a class="indexterm" name="id2659630"></a> 213 <a class="indexterm" name="id2659637"></a> 214 <a class="indexterm" name="id2659644"></a> 215 <a class="indexterm" name="id2659651"></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="id265 2738"></a>222 <a class="indexterm" name="id2659715"></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="id265 2803"></a>241 <a class="indexterm" name="id265 2810"></a>242 <a class="indexterm" name="id265 2817"></a>240 <a class="indexterm" name="id2659781"></a> 241 <a class="indexterm" name="id2659787"></a> 242 <a class="indexterm" name="id2659794"></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="id265 2843"></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="id2659821"></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="id265 2884"></a>Managing Account/User Policies</h2></div></div></div><p>260 <a class="indexterm" name="id265 2892"></a>261 <a class="indexterm" name="id265 2899"></a>262 <a class="indexterm" name="id265 2906"></a>259 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2659861"></a>Managing Account/User Policies</h2></div></div></div><p> 260 <a class="indexterm" name="id2659870"></a> 261 <a class="indexterm" name="id2659876"></a> 262 <a class="indexterm" name="id2659883"></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="id265 2921"></a>267 <a class="indexterm" name="id2659898"></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="id265 2947"></a>276 <a class="indexterm" name="id265 2954"></a>275 <a class="indexterm" name="id2659924"></a> 276 <a class="indexterm" name="id2659931"></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="id265 2974"></a>282 <a class="indexterm" name="id265 2981"></a>283 <a class="indexterm" name="id265 2988"></a>284 <a class="indexterm" name="id265 2995"></a>281 <a class="indexterm" name="id2659952"></a> 282 <a class="indexterm" name="id2659959"></a> 283 <a class="indexterm" name="id2659965"></a> 284 <a class="indexterm" name="id2659972"></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="id265 3021"></a>291 <a class="indexterm" name="id26 53028"></a>290 <a class="indexterm" name="id2659998"></a> 291 <a class="indexterm" name="id2660005"></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="id26 53044"></a>297 <a class="indexterm" name="id2660021"></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="id26 53081"></a>301 <a class="indexterm" name="id26 53088"></a>300 <a class="indexterm" name="id2660058"></a> 301 <a class="indexterm" name="id2660065"></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="id26 53111"></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="id2660088"></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="id26 53123"></a>Samba Editreg Toolset</h3></div></div></div><p>312 <a class="indexterm" name="id26 53131"></a>313 <a class="indexterm" name="id26 53138"></a>314 <a class="indexterm" name="id26 53145"></a>311 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660101"></a>Samba Editreg Toolset</h3></div></div></div><p> 312 <a class="indexterm" name="id2660109"></a> 313 <a class="indexterm" name="id2660116"></a> 314 <a class="indexterm" name="id2660122"></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="id26 53205"></a>Windows NT4/200x</h3></div></div></div><p>324 <a class="indexterm" name="id26 53213"></a>325 <a class="indexterm" name="id26 53220"></a>326 <a class="indexterm" name="id26 53227"></a>323 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660183"></a>Windows NT4/200x</h3></div></div></div><p> 324 <a class="indexterm" name="id2660191"></a> 325 <a class="indexterm" name="id2660198"></a> 326 <a class="indexterm" name="id2660205"></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="id26 53246"></a>Samba PDC</h3></div></div></div><p>332 <a class="indexterm" name="id26 53254"></a>333 <a class="indexterm" name="id26 53260"></a>334 <a class="indexterm" name="id26 53267"></a>335 <a class="indexterm" name="id26 53274"></a>331 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2660223"></a>Samba PDC</h3></div></div></div><p> 332 <a class="indexterm" name="id2660231"></a> 333 <a class="indexterm" name="id2660238"></a> 334 <a class="indexterm" name="id2660245"></a> 335 <a class="indexterm" name="id2660251"></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="id26 53311"></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="id2660288"></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="id26 53333"></a>344 <a class="indexterm" name="id26 53342"></a>343 <a class="indexterm" name="id2660310"></a> 344 <a class="indexterm" name="id2660319"></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="id26 53359"></a>349 <a class="indexterm" name="id26 53365"></a>348 <a class="indexterm" name="id2660336"></a> 349 <a class="indexterm" name="id2660343"></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="id26 53468"></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="id2660446"></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="id26 53480"></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="id2660457"></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
r226 r231 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.7 3.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#id2682101">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682205">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682244">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682386">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682429">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682491">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2682496">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="id268 2083"></a>3 <a class="indexterm" name="id268 2090"></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.74.0"><link rel="home" 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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2689096">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689200">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689239">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689381">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689424">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689486">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2689491">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="id2689078"></a> 3 <a class="indexterm" name="id2689085"></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="id268 2101"></a>HPUX</h2></div></div></div><p>7 <a class="indexterm" name="id268 2109"></a>8 <a class="indexterm" name="id268 2116"></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="id2689096"></a>HPUX</h2></div></div></div><p> 7 <a class="indexterm" name="id2689104"></a> 8 <a class="indexterm" name="id2689111"></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="id268 2187"></a>27 <a class="indexterm" name="id268 2193"></a>26 <a class="indexterm" name="id2689182"></a> 27 <a class="indexterm" name="id2689188"></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="id268 2205"></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="id2689200"></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="id268 2244"></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="id2689239"></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="id268 2386"></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="id2689381"></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="id268 2411"></a>110 <a class="indexterm" name="id2689406"></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="id268 2429"></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="id2689424"></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="id268 2491"></a>Solaris</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682496"></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="id2689486"></a>Solaris</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2689491"></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
r226 r231 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.7 3.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#id2653565">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2653614">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2653668">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2654273">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655618">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655652">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655750">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2656102">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656242">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656320">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2656351">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2656502">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657065">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2657570">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2657580">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657642">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657813">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657977">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="id2653565"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26 53573"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2660542">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2660592">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2660646">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2661251">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662596">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662629">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662728">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2663080">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663220">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663298">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2663329">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2663480">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664042">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2664547">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2664558">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664620">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664791">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664955">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="id2660542"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2660550"></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="id26 53585"></a>6 <a class="indexterm" name="id2660562"></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="id26 53599"></a>11 <a class="indexterm" name="id2660576"></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="id26 53614"></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="id2660592"></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="id26 53636"></a>23 <a class="indexterm" name="id2660613"></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="id26 53651"></a>30 <a class="indexterm" name="id26 53658"></a>29 <a class="indexterm" name="id2660628"></a> 30 <a class="indexterm" name="id2660635"></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="id26 53668"></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="id2660646"></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="id26 53679"></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="id2660656"></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="id26 53701"></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="id2660679"></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="id26 53722"></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="id2660700"></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="id26 53793"></a>49 <a class="indexterm" name="id26 53800"></a>48 <a class="indexterm" name="id2660771"></a> 49 <a class="indexterm" name="id2660778"></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="id26 53818"></a>Windows 9x/Me User Profiles</h4></div></div></div><p>53 <a class="indexterm" name="id26 53826"></a>54 <a class="indexterm" name="id26 53833"></a>55 To support Windows 9x/Me clients, you must use the <a class="link" href="smb.conf.5.html#LOGONHOME" >logon home</a>52 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2660796"></a>Windows 9x/Me User Profiles</h4></div></div></div><p> 53 <a class="indexterm" name="id2660804"></a> 54 <a class="indexterm" name="id2660811"></a> 55 To support Windows 9x/Me clients, you must use the <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">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="id26 53868"></a>60 <a class="indexterm" name="id26 53875"></a>61 <a class="indexterm" name="id26 53882"></a>59 <a class="indexterm" name="id2660846"></a> 60 <a class="indexterm" name="id2660853"></a> 61 <a class="indexterm" name="id2660860"></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="id26 53916"></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="id2660893"></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="id26 53939"></a>69 <a class="indexterm" name="id2660917"></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 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="id26 53976"></a>Mixed Windows Windows 9x/Me and NT4/200x User Profiles</h4></div></div></div><p>73 specified <code class="filename">\\%L\%U</code> for <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a>. 74 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2660954"></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 <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="id26 54015"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2654027"></a><em class="parameter"><code>logon path = \\%L\profiles\%U</code></em></td></tr></table><p>78 <a class="indexterm" name="id26 54041"></a>76 <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a> and <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a> parameters. For example, 77 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2660993"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2661005"></a><em class="parameter"><code>logon path = \\%L\profiles\%U</code></em></td></tr></table><p> 78 <a class="indexterm" name="id2661019"></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="id26 54053"></a>Disabling Roaming Profile Support</h4></div></div></div><p>82 <a class="indexterm" name="id26 54061"></a>81 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2661031"></a>Disabling Roaming Profile Support</h4></div></div></div><p> 82 <a class="indexterm" name="id2661039"></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="id26 54080"></a>86 <a class="indexterm" name="id2661058"></a> 87 87 There are three ways of doing this: 88 </p><a class="indexterm" name="id26 54088"></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="id2661066"></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 <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>90 <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home = </a> and <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path = </a> 91 91 </p><p> 92 92 The arguments to these parameters must be left blank. It is necessary to include the <code class="constant">=</code> sign 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="id26 54159"></a>96 <a class="indexterm" name="id26 54165"></a>95 <a class="indexterm" name="id2661136"></a> 96 <a class="indexterm" name="id2661143"></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="id26 54258"></a>119 <a class="indexterm" name="id2661236"></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="id26 54273"></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="id2654280"></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="id2661251"></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="id2661258"></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 126 126 <code class="filename">Nethood</code>. These directories and their contents will be merged with the local versions 127 127 stored in <code class="filename">c:\windows\profiles\username</code> on subsequent logins, taking the most recent from 128 each. You will need to use the <em class="parameter"><code>[global]</code></em> options <a class="link" href="smb.conf.5.html#PRESERVECASE" >preserve case = yes</a>, <a class="link" href="smb.conf.5.html#SHORTPRESERVECASE">short preserve case = yes</a>, and <a class="link" href="smb.conf.5.html#CASESENSITIVE">case sensitive = no</a> in order to maintain capital letters in shortcuts in any of the128 each. You will need to use the <em class="parameter"><code>[global]</code></em> options <a class="link" href="smb.conf.5.html#PRESERVECASE" target="_top">preserve case = yes</a>, <a class="link" href="smb.conf.5.html#SHORTPRESERVECASE" target="_top">short preserve case = yes</a>, and <a class="link" href="smb.conf.5.html#CASESENSITIVE" target="_top">case sensitive = no</a> in order to maintain capital letters in shortcuts in any of the 129 129 profile folders. 130 130 </p><p> 131 <a class="indexterm" name="id26 54369"></a>132 <a class="indexterm" name="id26 54375"></a>131 <a class="indexterm" name="id2661347"></a> 132 <a class="indexterm" name="id2661353"></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="id26 54497"></a>148 <a class="indexterm" name="id26 54504"></a>149 <a class="indexterm" name="id26 54511"></a>150 <a class="indexterm" name="id26 54518"></a>147 <a class="indexterm" name="id2661475"></a> 148 <a class="indexterm" name="id2661482"></a> 149 <a class="indexterm" name="id2661489"></a> 150 <a class="indexterm" name="id2661496"></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="id26 54544"></a>156 <a class="indexterm" name="id2661522"></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, … … 165 165 </p><p> 166 166 Once the Windows 9x/Me client comes up with the desktop, you should be able to examine the 167 contents of the directory specified in the <a class="link" href="smb.conf.5.html#LOGONPATH" >logon path</a> on167 contents of the directory specified in the <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a> on 168 168 the Samba server and verify that the <code class="filename">Desktop</code>, <code class="filename">Start Menu</code>, 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="id26 54631"></a>172 <a class="indexterm" name="id26 54638"></a>173 <a class="indexterm" name="id26 54645"></a>171 <a class="indexterm" name="id2661609"></a> 172 <a class="indexterm" name="id2661616"></a> 173 <a class="indexterm" name="id2661623"></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="id26 54662"></a>180 <a class="indexterm" name="id26 54669"></a>181 <a class="indexterm" name="id26 54676"></a>182 <a class="indexterm" name="id26 54682"></a>179 <a class="indexterm" name="id2661640"></a> 180 <a class="indexterm" name="id2661646"></a> 181 <a class="indexterm" name="id2661653"></a> 182 <a class="indexterm" name="id2661660"></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="id26 54699"></a>189 <a class="indexterm" name="id26 54706"></a>190 <a class="indexterm" name="id26 54713"></a>191 <a class="indexterm" name="id26 54720"></a>192 <a class="indexterm" name="id26 54727"></a>188 <a class="indexterm" name="id2661677"></a> 189 <a class="indexterm" name="id2661684"></a> 190 <a class="indexterm" name="id2661691"></a> 191 <a class="indexterm" name="id2661698"></a> 192 <a class="indexterm" name="id2661705"></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 … … 211 211 Log off the Windows 9x/Me client. 212 212 </p></li><li><p> 213 Check the contents of the profile path (see <a class="link" href="smb.conf.5.html#LOGONPATH" >logon path</a>213 Check the contents of the profile path (see <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a> 214 214 described above) and delete the <code class="filename">user.DAT</code> or <code class="filename">user.MAN</code> 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="id26 54858"></a>217 <a class="indexterm" name="id2661836"></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="id26 54916"></a>228 <a class="indexterm" name="id26 54923"></a>229 <a class="indexterm" name="id26 54930"></a>230 <a class="indexterm" name="id26 54937"></a>227 <a class="indexterm" name="id2661894"></a> 228 <a class="indexterm" name="id2661901"></a> 229 <a class="indexterm" name="id2661908"></a> 230 <a class="indexterm" name="id2661915"></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="id26 54956"></a>235 <a class="indexterm" name="id26 54962"></a>234 <a class="indexterm" name="id2661933"></a> 235 <a class="indexterm" name="id2661940"></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="id26 54977"></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="id2661954"></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 location can be now specified through the <a class="link" href="smb.conf.5.html#LOGONPATH" >logon path</a> parameter.242 </p><p> 243 There is a parameter that is now available for use with NT Profiles: <a class="link" href="smb.conf.5.html#LOGONDRIVE" >logon drive</a>.241 location can be now specified through the <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a> parameter. 242 </p><p> 243 There is a parameter that is now available for use with NT Profiles: <a class="link" href="smb.conf.5.html#LOGONDRIVE" target="_top">logon drive</a>. 244 244 This should be set to <code class="filename">H:</code> or any other drive, and should be used in conjunction with 245 the new <a class="link" href="smb.conf.5.html#LOGONHOME" >logon home</a> parameter.246 </p><p> 247 <a class="indexterm" name="id26 55037"></a>248 <a class="indexterm" name="id26 55043"></a>245 the new <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a> parameter. 246 </p><p> 247 <a class="indexterm" name="id2662015"></a> 248 <a class="indexterm" name="id2662021"></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="id26 55059"></a>254 <a class="indexterm" name="id2662037"></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="id26 55108"></a>262 <a class="indexterm" name="id26 55115"></a>261 <a class="indexterm" name="id2662086"></a> 262 <a class="indexterm" name="id2662092"></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="id26 55168"></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="id2662146"></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="id26 55351"></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="id2662328"></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="id26 55618"></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="id2662596"></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="id26 55643" href="#ftn.id2655643" class="footnote">7</a>]</sup>306 Service<sup>[<a name="id2662620" href="#ftn.id2662620" 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="id26 55652"></a>Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</h3></div></div></div><p>309 <a class="indexterm" name="id26 55660"></a>310 <a class="indexterm" name="id26 55667"></a>308 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662629"></a>Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</h3></div></div></div><p> 309 <a class="indexterm" name="id2662638"></a> 310 <a class="indexterm" name="id2662645"></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 … … 318 318 If you then want to share the same Start Menu and Desktop with Windows 9x/Me, you must specify a common 319 319 location for the profiles. The <code class="filename">smb.conf</code> parameters that need to be common are 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 </p><p> 322 <a class="indexterm" name="id26 55722"></a>323 <a class="indexterm" name="id26 55728"></a>320 <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a> and <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a>. 321 </p><p> 322 <a class="indexterm" name="id2662700"></a> 323 <a class="indexterm" name="id2662706"></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="id26 55750"></a>Profile Migration from Windows NT4/200x Server to Samba</h3></div></div></div><p>327 <a class="indexterm" name="id26 55759"></a>326 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662728"></a>Profile Migration from Windows NT4/200x Server to Samba</h3></div></div></div><p> 327 <a class="indexterm" name="id2662736"></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="id26 55784"></a>332 <a class="indexterm" name="id2662761"></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="id26 55798"></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="id2662775"></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="id26 55944"></a>Side Bar Notes</h4></div></div></div><p>344 <a class="indexterm" name="id26 55952"></a>345 <a class="indexterm" name="id26 55959"></a>343 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2662922"></a>Side Bar Notes</h4></div></div></div><p> 344 <a class="indexterm" name="id2662930"></a> 345 <a class="indexterm" name="id2662936"></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="id26 55995"></a>moveuser.exe</h4></div></div></div><p>349 <a class="indexterm" name="id26 56003"></a>348 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2662973"></a>moveuser.exe</h4></div></div></div><p> 349 <a class="indexterm" name="id2662981"></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="id26 56037"></a>Get SID</h4></div></div></div><p>356 <a class="indexterm" name="id26 56044"></a>357 <a class="indexterm" name="id26 56051"></a>355 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2663015"></a>Get SID</h4></div></div></div><p> 356 <a class="indexterm" name="id2663022"></a> 357 <a class="indexterm" name="id2663029"></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="id26 56102"></a>Mandatory Profiles</h2></div></div></div><p>368 <a class="indexterm" name="id26 56110"></a>367 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663080"></a>Mandatory Profiles</h2></div></div></div><p> 368 <a class="indexterm" name="id2663087"></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="id26 56134"></a>376 <a class="indexterm" name="id26 56141"></a>377 <a class="indexterm" name="id26 56148"></a>375 <a class="indexterm" name="id2663112"></a> 376 <a class="indexterm" name="id2663119"></a> 377 <a class="indexterm" name="id2663126"></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="id26 56179"></a>384 <a class="indexterm" name="id26 56185"></a>383 <a class="indexterm" name="id2663156"></a> 384 <a class="indexterm" name="id2663163"></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="id26 56219"></a>390 <a class="indexterm" name="id2663197"></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="id26 56242"></a>Creating and Managing Group Profiles</h2></div></div></div><p>394 <a class="indexterm" name="id26 56250"></a>395 <a class="indexterm" name="id26 56257"></a>396 <a class="indexterm" name="id26 56263"></a>397 <a class="indexterm" name="id26 56270"></a>393 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663220"></a>Creating and Managing Group Profiles</h2></div></div></div><p> 394 <a class="indexterm" name="id2663228"></a> 395 <a class="indexterm" name="id2663234"></a> 396 <a class="indexterm" name="id2663241"></a> 397 <a class="indexterm" name="id2663248"></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="id26 56298"></a>404 <a class="indexterm" name="id2663276"></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="id26 56320"></a>Default Profile for Windows Users</h2></div></div></div><p>411 <a class="indexterm" name="id26 56328"></a>412 <a class="indexterm" name="id26 56335"></a>410 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663298"></a>Default Profile for Windows Users</h2></div></div></div><p> 411 <a class="indexterm" name="id2663306"></a> 412 <a class="indexterm" name="id2663313"></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="id26 56351"></a>MS Windows 9x/Me</h3></div></div></div><p>419 <a class="indexterm" name="id26 56359"></a>420 <a class="indexterm" name="id26 56366"></a>418 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2663329"></a>MS Windows 9x/Me</h3></div></div></div><p> 419 <a class="indexterm" name="id2663337"></a> 420 <a class="indexterm" name="id2663344"></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="id26 56427"></a>430 <a class="indexterm" name="id2663405"></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="id26 56460"></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="id2663438"></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="id26 56502"></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="id2663480"></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="id26 56590"></a>465 <a class="indexterm" name="id2663567"></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="id26 56667"></a>478 <a class="indexterm" name="id26 56674"></a>479 <a class="indexterm" name="id26 56680"></a>480 <a class="indexterm" name="id26 56688"></a>481 <a class="indexterm" name="id26 56694"></a>477 <a class="indexterm" name="id2663645"></a> 478 <a class="indexterm" name="id2663652"></a> 479 <a class="indexterm" name="id2663658"></a> 480 <a class="indexterm" name="id2663665"></a> 481 <a class="indexterm" name="id2663672"></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="id26 56802"></a>503 <a class="indexterm" name="id2663780"></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="id26 56842"></a>522 <a class="indexterm" name="id2663820"></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="id26 57065"></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="id26 57074"></a>534 <a class="indexterm" name="id26 57080"></a>535 <a class="indexterm" name="id26 57088"></a>536 <a class="indexterm" name="id26 57094"></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="id2664042"></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="id2664051"></a> 534 <a class="indexterm" name="id2664058"></a> 535 <a class="indexterm" name="id2664065"></a> 536 <a class="indexterm" name="id2664072"></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="id26 57112"></a>543 <a class="indexterm" name="id2664089"></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="id26 57135"></a>549 <a class="indexterm" name="id2664112"></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="id26 57272"></a>571 <a class="indexterm" name="id2664249"></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="id26 57545"></a>592 <a class="indexterm" name="id2664523"></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="id26 57570"></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="id2664547"></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="id26 57580"></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="id2664558"></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="id26 57642"></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="id2664620"></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="id26 57813"></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="id2664791"></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="id26 57828"></a>630 <a class="indexterm" name="id2664806"></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="id26 57849"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2657860"></a><em class="parameter"><code>os level = 32 (or more)</code></em></td></tr><tr><td><a class="indexterm" name="id2657872"></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="id2664827"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2664838"></a><em class="parameter"><code>os level = 32 (or more)</code></em></td></tr><tr><td><a class="indexterm" name="id2664850"></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="id26 57944"></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="id2657960"></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="id2657977"></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="id2664922"></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="id2664938"></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="id2664955"></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
r226 r231 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.7 3.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#id2674072">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2674197">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2674216">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#id2674854">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675005">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2675203">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2675216">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675277">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675379">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675435">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675491">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675554">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675598">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675617">The Password Change Page</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 74036"></a>3 <a class="indexterm" name="id26 74043"></a>4 <a class="indexterm" name="id26 74050"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2681065">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2681190">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2681209">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#id2681846">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2681998">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2682196">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2682210">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682270">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682372">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682428">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682484">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682547">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682591">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682610">The Password Change Page</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2681029"></a> 3 <a class="indexterm" name="id2681036"></a> 4 <a class="indexterm" name="id2681042"></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="id26 74072"></a>Features and Benefits</h2></div></div></div><p>11 <a class="indexterm" name="id26 74080"></a>10 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2681065"></a>Features and Benefits</h2></div></div></div><p> 11 <a class="indexterm" name="id2681073"></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="id26 74108"></a>16 <a class="indexterm" name="id2681100"></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="id26 74129"></a>23 <a class="indexterm" name="id26 74136"></a>24 <a class="indexterm" name="id26 74142"></a>22 <a class="indexterm" name="id2681121"></a> 23 <a class="indexterm" name="id2681128"></a> 24 <a class="indexterm" name="id2681135"></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="id26 74175"></a>33 <a class="indexterm" name="id2681168"></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="id26 74197"></a>Guidelines and Technical Tips</h2></div></div></div><p>38 <a class="indexterm" name="id26 74205"></a>37 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2681190"></a>Guidelines and Technical Tips</h2></div></div></div><p> 38 <a class="indexterm" name="id2681198"></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="id26 74216"></a>Validate SWAT Installation</h3></div></div></div><p>42 <a class="indexterm" name="id26 74224"></a>41 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2681209"></a>Validate SWAT Installation</h3></div></div></div><p> 42 <a class="indexterm" name="id2681217"></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="id26 74240"></a>49 <a class="indexterm" name="id2681233"></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="id26 74268"></a>57 <a class="indexterm" name="id26 74274"></a>56 <a class="indexterm" name="id2681260"></a> 57 <a class="indexterm" name="id2681267"></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="id26 74286"></a>Locating the <code class="literal">SWAT</code> File</h4></div></div></div><p>62 <a class="indexterm" name="id26 74300"></a>63 <a class="indexterm" name="id26 74307"></a>64 <a class="indexterm" name="id26 74314"></a>61 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2681279"></a>Locating the <code class="literal">SWAT</code> File</h4></div></div></div><p> 62 <a class="indexterm" name="id2681293"></a> 63 <a class="indexterm" name="id2681300"></a> 64 <a class="indexterm" name="id2681307"></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="id26 74386"></a>75 <a class="indexterm" name="id26 74393"></a>76 <a class="indexterm" name="id26 74400"></a>74 <a class="indexterm" name="id2681379"></a> 75 <a class="indexterm" name="id2681386"></a> 76 <a class="indexterm" name="id2681393"></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="id26 74439"></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="id2681431"></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="id26 74631"></a>176 <a class="indexterm" name="id2681624"></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="id26 74686"></a>205 <a class="indexterm" name="id26 74693"></a>206 <a class="indexterm" name="id26 74700"></a>207 <a class="indexterm" name="id26 74707"></a>204 <a class="indexterm" name="id2681679"></a> 205 <a class="indexterm" name="id2681686"></a> 206 <a class="indexterm" name="id2681693"></a> 207 <a class="indexterm" name="id2681700"></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="id26 74747"></a>216 <a class="indexterm" name="id26 74754"></a>215 <a class="indexterm" name="id2681740"></a> 216 <a class="indexterm" name="id2681747"></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="id26 74854"></a>Securing SWAT through SSL</h3></div></div></div><p>229 <a class="indexterm" name="id26 74862"></a>230 <a class="indexterm" name="id26 74868"></a>228 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2681846"></a>Securing SWAT through SSL</h3></div></div></div><p> 229 <a class="indexterm" name="id2681854"></a> 230 <a class="indexterm" name="id2681861"></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="id26 74893"></a>236 <a class="indexterm" name="id2681886"></a> 237 237 Install OpenSSL. 238 238 </p></li><li><p> 239 <a class="indexterm" name="id26 74907"></a>240 <a class="indexterm" name="id26 74914"></a>239 <a class="indexterm" name="id2681900"></a> 240 <a class="indexterm" name="id2681907"></a> 241 241 Generate certificate and private key. 242 <a class="indexterm" name="id26 74921"></a>242 <a class="indexterm" name="id2681915"></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="id26 74960"></a>250 <a class="indexterm" name="id2681953"></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="id26 75005"></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="id2681998"></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="id26 75049"></a>271 <a class="indexterm" name="id26 75056"></a>272 <a class="indexterm" name="id26 75063"></a>273 <a class="indexterm" name="id26 75070"></a>270 <a class="indexterm" name="id2682042"></a> 271 <a class="indexterm" name="id2682049"></a> 272 <a class="indexterm" name="id2682056"></a> 273 <a class="indexterm" name="id2682063"></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="id26 75098"></a>277 <a class="indexterm" name="id2682092"></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="id26 75147"></a>287 <a class="indexterm" name="id2682140"></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="id26 75170"></a>292 Note that if you enable this feature and the <a class="link" href="smb.conf.5.html#DISPLAYCHARSET" >display charset</a> is not291 <a class="indexterm" name="id2682164"></a> 292 Note that if you enable this feature and the <a class="link" href="smb.conf.5.html#DISPLAYCHARSET" target="_top">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="id26 75203"></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="id2682196"></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="id26 75216"></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="id2682210"></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="id26 75277"></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="id2682270"></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="id26 75379"></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="id2682372"></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="id26 75435"></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="id2682428"></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="id26 75491"></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="id2682484"></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="id26 75554"></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="id2682547"></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="id26 75598"></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="id2682591"></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="id26 75617"></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="id2682610"></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
r226 r231 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.7 3.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#id2665004">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2665125">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2665159">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2665288">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666002">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666082">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666223">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666260">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="id2665004"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26 65012"></a>3 <a class="indexterm" name="id26 65019"></a>4 <a class="indexterm" name="id26 65026"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2671994">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2672115">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2672149">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2672279">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2672992">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673073">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673213">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673250">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="id2671994"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2672002"></a> 3 <a class="indexterm" name="id2672009"></a> 4 <a class="indexterm" name="id2672016"></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="id26 65046"></a>12 <a class="indexterm" name="id26 65053"></a>13 <a class="indexterm" name="id26 65060"></a>14 <a class="indexterm" name="id26 65067"></a>11 <a class="indexterm" name="id2672037"></a> 12 <a class="indexterm" name="id2672044"></a> 13 <a class="indexterm" name="id2672051"></a> 14 <a class="indexterm" name="id2672058"></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="id26 65091"></a>25 <a class="indexterm" name="id26 65098"></a>26 <a class="indexterm" name="id26 65104"></a>24 <a class="indexterm" name="id2672081"></a> 25 <a class="indexterm" name="id2672088"></a> 26 <a class="indexterm" name="id2672095"></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="id26 65125"></a>Technical Discussion</h2></div></div></div><p>36 <a class="indexterm" name="id26 65133"></a>37 <a class="indexterm" name="id26 65140"></a>38 <a class="indexterm" name="id26 65146"></a>35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2672115"></a>Technical Discussion</h2></div></div></div><p> 36 <a class="indexterm" name="id2672123"></a> 37 <a class="indexterm" name="id2672130"></a> 38 <a class="indexterm" name="id2672137"></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="id26 65159"></a>The Ultimate Goal</h3></div></div></div><p>43 <a class="indexterm" name="id26 65167"></a>44 <a class="indexterm" name="id26 65174"></a>45 <a class="indexterm" name="id26 65181"></a>42 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2672149"></a>The Ultimate Goal</h3></div></div></div><p> 43 <a class="indexterm" name="id2672157"></a> 44 <a class="indexterm" name="id2672164"></a> 45 <a class="indexterm" name="id2672171"></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="id26 65222"></a>50 <a class="indexterm" name="id26 65229"></a>51 <a class="indexterm" name="id26 65236"></a>52 <a class="indexterm" name="id26 65243"></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="id26 65288"></a>Why Is This So Hard?</h3></div></div></div><p>49 <a class="indexterm" name="id2672212"></a> 50 <a class="indexterm" name="id2672219"></a> 51 <a class="indexterm" name="id2672226"></a> 52 <a class="indexterm" name="id2672234"></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="id2672279"></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="id26 65308"></a>56 <a class="indexterm" name="id2672298"></a> 57 57 All TCP/IP connections are dependent on state information. 58 58 </p><p> 59 <a class="indexterm" name="id26 65319"></a>59 <a class="indexterm" name="id2672310"></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="id26 65336"></a>65 <a class="indexterm" name="id26 65343"></a>64 <a class="indexterm" name="id2672326"></a> 65 <a class="indexterm" name="id2672333"></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="id26 65368"></a>74 <a class="indexterm" name="id2672358"></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="id26 65386"></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="id2672376"></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="id26 65407"></a>The Front-End Challenge</h4></div></div></div><p>81 <a class="indexterm" name="id26 65415"></a>82 <a class="indexterm" name="id26 65422"></a>83 <a class="indexterm" name="id26 65429"></a>84 <a class="indexterm" name="id26 65436"></a>85 <a class="indexterm" name="id26 65443"></a>86 <a class="indexterm" name="id26 65450"></a>87 <a class="indexterm" name="id26 65457"></a>80 </p></li></ul></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672398"></a>The Front-End Challenge</h4></div></div></div><p> 81 <a class="indexterm" name="id2672406"></a> 82 <a class="indexterm" name="id2672413"></a> 83 <a class="indexterm" name="id2672420"></a> 84 <a class="indexterm" name="id2672427"></a> 85 <a class="indexterm" name="id2672434"></a> 86 <a class="indexterm" name="id2672441"></a> 87 <a class="indexterm" name="id2672448"></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="id26 65473"></a>94 <a class="indexterm" name="id26 65480"></a>93 <a class="indexterm" name="id2672464"></a> 94 <a class="indexterm" name="id2672470"></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="id26 65502"></a>Demultiplexing SMB Requests</h4></div></div></div><p>102 <a class="indexterm" name="id26 65509"></a>103 <a class="indexterm" name="id26 65516"></a>104 <a class="indexterm" name="id26 65523"></a>105 <a class="indexterm" name="id26 65530"></a>101 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672492"></a>Demultiplexing SMB Requests</h4></div></div></div><p> 102 <a class="indexterm" name="id2672500"></a> 103 <a class="indexterm" name="id2672507"></a> 104 <a class="indexterm" name="id2672514"></a> 105 <a class="indexterm" name="id2672521"></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="id26 65548"></a>111 <a class="indexterm" name="id26 65554"></a>112 <a class="indexterm" name="id26 65561"></a>110 <a class="indexterm" name="id2672538"></a> 111 <a class="indexterm" name="id2672545"></a> 112 <a class="indexterm" name="id2672551"></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="id26 65575"></a>118 <a class="indexterm" name="id26 65582"></a>117 <a class="indexterm" name="id2672565"></a> 118 <a class="indexterm" name="id2672572"></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="id26 65597"></a>124 <a class="indexterm" name="id2672587"></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="id26 65608"></a>The Distributed File System Challenge</h4></div></div></div><p>128 <a class="indexterm" name="id26 65616"></a>127 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672598"></a>The Distributed File System Challenge</h4></div></div></div><p> 128 <a class="indexterm" name="id2672606"></a> 129 129 There exists many distributed file systems for UNIX and Linux. 130 130 </p><p> 131 <a class="indexterm" name="id26 65628"></a>132 <a class="indexterm" name="id26 65635"></a>133 <a class="indexterm" name="id26 65642"></a>134 <a class="indexterm" name="id26 65648"></a>135 <a class="indexterm" name="id26 65655"></a>136 <a class="indexterm" name="id26 65662"></a>131 <a class="indexterm" name="id2672618"></a> 132 <a class="indexterm" name="id2672625"></a> 133 <a class="indexterm" name="id2672632"></a> 134 <a class="indexterm" name="id2672638"></a> 135 <a class="indexterm" name="id2672645"></a> 136 <a class="indexterm" name="id2672652"></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="id26 65673"></a>141 <a class="indexterm" name="id26 65679"></a>142 <a class="indexterm" name="id26 65686"></a>143 <a class="indexterm" name="id26 65693"></a>140 <a class="indexterm" name="id2672663"></a> 141 <a class="indexterm" name="id2672669"></a> 142 <a class="indexterm" name="id2672676"></a> 143 <a class="indexterm" name="id2672683"></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="id26 65724"></a>145 <a class="indexterm" name="id2672714"></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="id26 65735"></a>Restrictive Constraints on Distributed File Systems</h4></div></div></div><p>149 <a class="indexterm" name="id26 65743"></a>150 <a class="indexterm" name="id26 65750"></a>151 <a class="indexterm" name="id26 65757"></a>152 <a class="indexterm" name="id26 65764"></a>148 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672725"></a>Restrictive Constraints on Distributed File Systems</h4></div></div></div><p> 149 <a class="indexterm" name="id2672733"></a> 150 <a class="indexterm" name="id2672740"></a> 151 <a class="indexterm" name="id2672747"></a> 152 <a class="indexterm" name="id2672754"></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="id26 65778"></a>158 <a class="indexterm" name="id26 65784"></a>157 <a class="indexterm" name="id2672768"></a> 158 <a class="indexterm" name="id2672774"></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="id26 65804"></a>Server Pool Communications</h4></div></div></div><p>167 <a class="indexterm" name="id26 65812"></a>168 <a class="indexterm" name="id26 65819"></a>169 <a class="indexterm" name="id26 65826"></a>170 <a class="indexterm" name="id26 65833"></a>166 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2672794"></a>Server Pool Communications</h4></div></div></div><p> 167 <a class="indexterm" name="id2672802"></a> 168 <a class="indexterm" name="id2672809"></a> 169 <a class="indexterm" name="id2672816"></a> 170 <a class="indexterm" name="id2672823"></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="id26 65846"></a>176 <a class="indexterm" name="id26 65853"></a>177 <a class="indexterm" name="id26 65860"></a>175 <a class="indexterm" name="id2672836"></a> 176 <a class="indexterm" name="id2672843"></a> 177 <a class="indexterm" name="id2672850"></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="id26 65890"></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="id2672880"></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="id26 65904"></a><a class="indexterm" name="id2665911"></a><ul type="disc"><li><p>184 </p><div class="itemizedlist"><a class="indexterm" name="id2672894"></a><a class="indexterm" name="id2672901"></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="id26 65944"></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="id2672935"></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="id26 65972"></a>204 <a class="indexterm" name="id26 65978"></a>203 <a class="indexterm" name="id2672962"></a> 204 <a class="indexterm" name="id2672969"></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="id26 66002"></a>A Simple Solution</h3></div></div></div><p>213 <a class="indexterm" name="id26 66010"></a>214 <a class="indexterm" name="id26 66016"></a>215 <a class="indexterm" name="id26 66024"></a>212 </p></li></ul></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2672992"></a>A Simple Solution</h3></div></div></div><p> 213 <a class="indexterm" name="id2673000"></a> 214 <a class="indexterm" name="id2673007"></a> 215 <a class="indexterm" name="id2673014"></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="id26 66037"></a>220 <a class="indexterm" name="id26 66044"></a>219 <a class="indexterm" name="id2673027"></a> 220 <a class="indexterm" name="id2673034"></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="id26 66068"></a>227 <a class="indexterm" name="id2673058"></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="id26 66082"></a>High-Availability Server Products</h3></div></div></div><p>231 <a class="indexterm" name="id26 66091"></a>232 <a class="indexterm" name="id26 66098"></a>233 <a class="indexterm" name="id26 66105"></a>234 <a class="indexterm" name="id26 66112"></a>235 <a class="indexterm" name="id26 66118"></a>230 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2673073"></a>High-Availability Server Products</h3></div></div></div><p> 231 <a class="indexterm" name="id2673081"></a> 232 <a class="indexterm" name="id2673088"></a> 233 <a class="indexterm" name="id2673095"></a> 234 <a class="indexterm" name="id2673102"></a> 235 <a class="indexterm" name="id2673108"></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="id26 66133"></a>242 <a class="indexterm" name="id26 66140"></a>243 <a class="indexterm" name="id26 66147"></a>244 <a class="indexterm" name="id26 66154"></a>245 <a class="indexterm" name="id26 66161"></a>241 <a class="indexterm" name="id2673124"></a> 242 <a class="indexterm" name="id2673130"></a> 243 <a class="indexterm" name="id2673138"></a> 244 <a class="indexterm" name="id2673144"></a> 245 <a class="indexterm" name="id2673151"></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="id26 66183"></a>251 <a class="indexterm" name="id2673174"></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="id26 66203"></a>257 <a class="indexterm" name="id26 66210"></a>256 <a class="indexterm" name="id2673193"></a> 257 <a class="indexterm" name="id2673200"></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="id26 66223"></a>MS-DFS: The Poor Man's Cluster</h3></div></div></div><p>262 <a class="indexterm" name="id26 66231"></a>263 <a class="indexterm" name="id26 66238"></a>261 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2673213"></a>MS-DFS: The Poor Man's Cluster</h3></div></div></div><p> 262 <a class="indexterm" name="id2673221"></a> 263 <a class="indexterm" name="id2673228"></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="id26 66260"></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="id2673250"></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
r226 r231 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.7 3.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#id2551752">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2551919">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2552079">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2552253">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552427">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553169">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553326">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2553624">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2553829">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2553852">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553888">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553932">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553964">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2554021">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="id255 1711"></a>3 <a class="indexterm" name="id255 1718"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2558828">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2558987">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2559132">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2559294">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559457">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560144">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560287">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2560562">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2560749">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2560772">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560804">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560842">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560869">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560927">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="id2558789"></a> 3 <a class="indexterm" name="id2558795"></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="id255 1752"></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="id2558828"></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="id255 1781"></a>29 <a class="indexterm" name="id255 1790"></a>28 <a class="indexterm" name="id2558856"></a> 29 <a class="indexterm" name="id2558865"></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="id255 1813"></a>37 <a class="indexterm" name="id2558887"></a> 38 38 Samba-3 can replace an MS Windows NT4 domain controller. 39 39 </p></li><li><p> 40 <a class="indexterm" name="id255 1828"></a>40 <a class="indexterm" name="id2558901"></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="id255 1842"></a>44 <a class="indexterm" name="id2558914"></a> 45 45 Samba-3 permits full NT4-style interdomain trusts. 46 46 </p></li><li><p> 47 <a class="indexterm" name="id255 1856"></a>48 <a class="indexterm" name="id255 1863"></a>47 <a class="indexterm" name="id2558928"></a> 48 <a class="indexterm" name="id2558934"></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="id255 1879"></a>53 <a class="indexterm" name="id255 1890"></a>52 <a class="indexterm" name="id2558949"></a> 53 <a class="indexterm" name="id2558960"></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="id255 1905"></a>58 <a class="indexterm" name="id2558974"></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="id255 1919"></a>Server Types</h2></div></div></div><p>65 <a class="indexterm" name="id255 1927"></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="id2558987"></a>Server Types</h2></div></div></div><p> 65 <a class="indexterm" name="id2558995"></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="id255 1989"></a>69 <a class="indexterm" name="id255 1998"></a>70 <a class="indexterm" name="id255 2007"></a>71 <a class="indexterm" name="id255 2017"></a>68 <a class="indexterm" name="id2559054"></a> 69 <a class="indexterm" name="id2559063"></a> 70 <a class="indexterm" name="id2559071"></a> 71 <a class="indexterm" name="id2559080"></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="id255 2056"></a>79 <a class="indexterm" name="id2559112"></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="id255 2079"></a>Samba Security Modes</h2></div></div></div><p>84 <a class="indexterm" name="id255 2087"></a>85 <a class="indexterm" name="id255 2094"></a>83 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2559132"></a>Samba Security Modes</h2></div></div></div><p> 84 <a class="indexterm" name="id2559139"></a> 85 <a class="indexterm" name="id2559146"></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="id255 2109"></a>91 <a class="indexterm" name="id255 2118"></a>90 <a class="indexterm" name="id2559160"></a> 91 <a class="indexterm" name="id2559168"></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="id255 2135"></a>97 <a class="indexterm" name="id255 2142"></a>98 <a class="indexterm" name="id255 2149"></a>99 <a class="indexterm" name="id255 2156"></a>96 <a class="indexterm" name="id2559184"></a> 97 <a class="indexterm" name="id2559190"></a> 98 <a class="indexterm" name="id2559197"></a> 99 <a class="indexterm" name="id2559203"></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="id255 2253"></a>User Level Security</h3></div></div></div><p>120 <a class="indexterm" name="id255 2260"></a>119 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2559294"></a>User Level Security</h3></div></div></div><p> 120 <a class="indexterm" name="id2559302"></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="id255 2299"></a>127 <a class="indexterm" name="id2559338"></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="id255 2321"></a>133 <a class="indexterm" name="id2559358"></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="id255 2344"></a>140 <a class="indexterm" name="id255 2350"></a>141 <a class="indexterm" name="id255 2357"></a>142 <a class="indexterm" name="id255 2364"></a>143 <a class="indexterm" name="id255 2371"></a>139 <a class="indexterm" name="id2559379"></a> 140 <a class="indexterm" name="id2559386"></a> 141 <a class="indexterm" name="id2559392"></a> 142 <a class="indexterm" name="id2559398"></a> 143 <a class="indexterm" name="id2559404"></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="id255 2386"></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="id2559419"></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="id255 2409"></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="id2559440"></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="id255 2427"></a>Share-Level Security</h3></div></div></div><p>154 <a class="indexterm" name="id255 2435"></a>155 <a class="indexterm" name="id255 2442"></a>153 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2559457"></a>Share-Level Security</h3></div></div></div><p> 154 <a class="indexterm" name="id2559464"></a> 155 <a class="indexterm" name="id2559471"></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 … … 168 168 username but no password. Samba records this username in a list of possible usernames. When the client then 169 169 issues a tree connection request, it also adds to this list the name of the share they try to connect to (useful for 170 home directories) and any users listed in the <a class="link" href="smb.conf.5.html#USER" >user</a> parameter in the <code class="filename">smb.conf</code> file.170 home directories) and any users listed in the <a class="link" href="smb.conf.5.html#USER" target="_top">user</a> parameter in the <code class="filename">smb.conf</code> file. 171 171 The password is then checked in turn against these possible usernames. If a match is found, then the client is 172 172 authenticated as that user. 173 173 </p><p> 174 <a class="indexterm" name="id255 2513"></a>175 <a class="indexterm" name="id255 2522"></a>176 <a class="indexterm" name="id255 2529"></a>174 <a class="indexterm" name="id2559537"></a> 175 <a class="indexterm" name="id2559545"></a> 176 <a class="indexterm" name="id2559552"></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="id255 2562"></a>188 <a class="indexterm" name="id255 2569"></a>189 <a class="indexterm" name="id255 2576"></a>187 <a class="indexterm" name="id2559583"></a> 188 <a class="indexterm" name="id2559589"></a> 189 <a class="indexterm" name="id2559595"></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="id255 2598"></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="id2559616"></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="id255 2621"></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="id2552634"></a>Domain Security Mode (User-Level Security)</h3></div></div></div><p>196 <a class="indexterm" name="id255 2642"></a>197 <a class="indexterm" name="id255 2651"></a>198 <a class="indexterm" name="id255 2660"></a>199 <a class="indexterm" name="id255 2667"></a>200 <a class="indexterm" name="id255 2673"></a>201 <a class="indexterm" name="id255 2680"></a>195 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2559637"></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="id2559649"></a>Domain Security Mode (User-Level Security)</h3></div></div></div><p> 196 <a class="indexterm" name="id2559657"></a> 197 <a class="indexterm" name="id2559665"></a> 198 <a class="indexterm" name="id2559673"></a> 199 <a class="indexterm" name="id2559680"></a> 200 <a class="indexterm" name="id2559686"></a> 201 <a class="indexterm" name="id2559692"></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="id255 2712"></a>211 <a class="indexterm" name="id255 2719"></a>212 <a class="indexterm" name="id255 2726"></a>213 <a class="indexterm" name="id255 2736"></a>214 <a class="indexterm" name="id255 2745"></a>215 When Samba is operating in <a class="link" href="smb.conf.5.html#SECURITY" >security = domain</a> mode, the Samba server has a210 <a class="indexterm" name="id2559724"></a> 211 <a class="indexterm" name="id2559730"></a> 212 <a class="indexterm" name="id2559736"></a> 213 <a class="indexterm" name="id2559745"></a> 214 <a class="indexterm" name="id2559753"></a> 215 When Samba is operating in <a class="link" href="smb.conf.5.html#SECURITY" target="_top">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 217 217 to the domain controllers. In other words, this configuration makes the Samba server a domain member server, … … 219 219 have a machine account in the security database. 220 220 </p><p> 221 <a class="indexterm" name="id255 2777"></a>222 <a class="indexterm" name="id255 2786"></a>223 <a class="indexterm" name="id255 2795"></a>224 <a class="indexterm" name="id255 2804"></a>221 <a class="indexterm" name="id2559781"></a> 222 <a class="indexterm" name="id2559790"></a> 223 <a class="indexterm" name="id2559798"></a> 224 <a class="indexterm" name="id2559806"></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="id255 2853"></a>234 <a class="indexterm" name="id2559855"></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="id255 2863"></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="id2559864"></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="id255 2876"></a>240 <a class="indexterm" name="id2559876"></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="id255 2898"></a><em class="parameter"><code>security = domain</code></em></td></tr><tr><td><a class="indexterm" name="id2552909"></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="id2559896"></a><em class="parameter"><code>security = domain</code></em></td></tr><tr><td><a class="indexterm" name="id2559906"></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="id255 2926"></a>247 <a class="indexterm" name="id255 2935"></a>246 <a class="indexterm" name="id2559922"></a> 247 <a class="indexterm" name="id2559930"></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="id255 2985"></a>251 <a class="indexterm" name="id2559977"></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="id25 53020"></a>257 <a class="indexterm" name="id2560008"></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="id25 53069"></a>266 <a class="indexterm" name="id25 53076"></a>267 <a class="indexterm" name="id25 53082"></a>265 <a class="indexterm" name="id2560054"></a> 266 <a class="indexterm" name="id2560060"></a> 267 <a class="indexterm" name="id2560066"></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="id25 53111"></a>275 <a class="indexterm" name="id25 53118"></a>274 <a class="indexterm" name="id2560093"></a> 275 <a class="indexterm" name="id2560100"></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="id25 53169"></a>ADS Security Mode (User-Level Security)</h3></div></div></div><p>283 <a class="indexterm" name="id25 53177"></a>284 <a class="indexterm" name="id25 53184"></a>282 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560144"></a>ADS Security Mode (User-Level Security)</h3></div></div></div><p> 283 <a class="indexterm" name="id2560152"></a> 284 <a class="indexterm" name="id2560159"></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="id25 53209"></a>296 <a class="indexterm" name="id25 53216"></a>295 <a class="indexterm" name="id2560183"></a> 296 <a class="indexterm" name="id2560190"></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="id25 53246"></a>Example Configuration</h4></div></div></div><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2553258"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2553270"></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="id2560216"></a>Example Configuration</h4></div></div></div><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2560228"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2560238"></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="id25 53292"></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="id2560259"></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="id25 53326"></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="id2560287"></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="id25 53380"></a>312 <a class="indexterm" name="id25 53386"></a>311 <a class="indexterm" name="id2560340"></a> 312 <a class="indexterm" name="id2560347"></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 315 sends and attempts to log into the <a class="link" href="smb.conf.5.html#PASSWORDSERVER" >password server</a> by sending exactly the same315 sends and attempts to log into the <a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server</a> by sending exactly the same 316 316 username/password that it got from the client. If that server is in user-level security and accepts the 317 317 password, then Samba accepts the client's connection. This parameter allows the Samba server to use another 318 SMB server as the <a class="link" href="smb.conf.5.html#PASSWORDSERVER" >password server</a>.319 </p><p> 320 <a class="indexterm" name="id25 53429"></a>321 <a class="indexterm" name="id25 53436"></a>318 SMB server as the <a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server</a>. 319 </p><p> 320 <a class="indexterm" name="id2560383"></a> 321 <a class="indexterm" name="id2560389"></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 … … 325 325 passwords in encrypted form. Samba supports this type of encryption by default. 326 326 </p><p> 327 The parameter <a class="link" href="smb.conf.5.html#SECURITY" >security = server</a> means that Samba reports to clients that327 The parameter <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = server</a> means that Samba reports to clients that 328 328 it is running in <span class="emphasis"><em>user mode</em></span> but actually passes off all authentication requests to another 329 user mode server. This requires an additional parameter <a class="link" href="smb.conf.5.html#PASSWORDSERVER" >password server</a> that points to329 user mode server. This requires an additional parameter <a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server</a> that points to 330 330 the real authentication server. The real authentication server can be another Samba server, or it can be a 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="id25 53489"></a>334 <a class="indexterm" name="id25 53495"></a>333 <a class="indexterm" name="id2560435"></a> 334 <a class="indexterm" name="id2560441"></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="id25 53521"></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="id2560464"></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="id25 53549"></a><em class="parameter"><code>encrypt passwords = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2553561"></a><em class="parameter"><code>security = server</code></em></td></tr><tr><td><a class="indexterm" name="id2553572"></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="id2560491"></a><em class="parameter"><code>encrypt passwords = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560501"></a><em class="parameter"><code>security = server</code></em></td></tr><tr><td><a class="indexterm" name="id2560512"></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="id25 53593"></a>350 <a class="indexterm" name="id25 53600"></a>349 <a class="indexterm" name="id2560532"></a> 350 <a class="indexterm" name="id2560538"></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="id25 53624"></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="id2560562"></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="id25 53642"></a>367 <a class="indexterm" name="id25 53649"></a>366 <a class="indexterm" name="id2560579"></a> 367 <a class="indexterm" name="id2560585"></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="id25 53679"></a>378 <a class="indexterm" name="id2560615"></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="id25 53696"></a>383 <a class="indexterm" name="id2560631"></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="id25 53737"></a></td></tr><tr><td><a class="indexterm" name="id2553744"></a></td></tr></table><p>399 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2560671"></a></td></tr><tr><td><a class="indexterm" name="id2560677"></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 402 only contain lowercase characters, the <a class="link" href="smb.conf.5.html#USERNAME-LEVEL" >username-level</a> parameter402 only contain lowercase characters, the <a class="link" href="smb.conf.5.html#USERNAME-LEVEL" target="_top">username-level</a> parameter 403 403 is rarely needed. 404 404 </p><p> 405 <a class="indexterm" name="id25 53774"></a>405 <a class="indexterm" name="id2560702"></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 408 <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" >password level</a> must be set to the maximum number of uppercase letters that408 <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" target="_top">password level</a> must be set to the maximum number of uppercase letters that 409 409 <span class="emphasis"><em>could</em></span> appear in a password. Note that if the Server OS uses the traditional DES version 410 of crypt(), a <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" >password level</a> of 8 will result in case-insensitive passwords as seen410 of crypt(), a <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" target="_top">password level</a> of 8 will result in case-insensitive passwords as seen 411 411 from Windows users. This will also result in longer login times because Samba has to compute the permutations 412 412 of the password string and try them one by one until a match is located (or all combinations fail). … … 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="id25 53829"></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="id2560749"></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="id25 53852"></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="id2560772"></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 wrong all the same. It is assumed that <a class="link" href="smb.conf.5.html#SECURITY" >security = server</a> means that Samba429 wrong all the same. It is assumed that <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = server</a> means that Samba 430 430 will act as a server. Not so! This setting means that Samba will <span class="emphasis"><em>try</em></span> 431 431 to use another SMB server as its source for user authentication alone. … … 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="id25 53888"></a>What Makes Samba a Domain Controller?</h3></div></div></div><p>437 <a class="indexterm" name="id25 53896"></a>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 behave436 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560804"></a>What Makes Samba a Domain Controller?</h3></div></div></div><p> 437 <a class="indexterm" name="id2560812"></a> 438 The <code class="filename">smb.conf</code> parameter <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = domain</a> does not really make Samba behave 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="id25 53932"></a>What Makes Samba a Domain Member?</h3></div></div></div><p>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>440 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560842"></a>What Makes Samba a Domain Member?</h3></div></div></div><p> 441 Guess! So many others do. But whatever you do, do not think that <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a> 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="id25 53964"></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="id2560869"></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 … … 449 449 connection whose session key would be different. So server_validate() must give up. 450 450 </span>”</p><p> 451 Indeed. That's why <a class="link" href="smb.conf.5.html#SECURITY" >security = server</a>452 is at best a nasty hack. Please use <a class="link" href="smb.conf.5.html#SECURITY" >security = domain</a>;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="id25 54021"></a>Stand-alone Server is converted to Domain Controller Now User accounts don't work</h3></div></div></div><p>“<span class="quote">451 Indeed. That's why <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = server</a> 452 is at best a nasty hack. Please use <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = domain</a>; 453 <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = server</a> mode is also known as pass-through authentication. 454 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560927"></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
r226 r231 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.7 3.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#id2567225">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567320">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567521">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#id2568504">Common Errors</a></span></dt></dl></div><p>2 <a class="indexterm" name="id25 67198"></a>3 <a class="indexterm" name="id25 67205"></a>4 <a class="indexterm" name="id25 67212"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2574139">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574233">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574434">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#id2575417">Common Errors</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2574111"></a> 3 <a class="indexterm" name="id2574118"></a> 4 <a class="indexterm" name="id2574125"></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="id25 67225"></a>Features and Benefits</h2></div></div></div><p>10 <a class="indexterm" name="id25 67233"></a>11 <a class="indexterm" name="id25 67240"></a>9 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2574139"></a>Features and Benefits</h2></div></div></div><p> 10 <a class="indexterm" name="id2574147"></a> 11 <a class="indexterm" name="id2574153"></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="id25 67254"></a>17 <a class="indexterm" name="id25 67261"></a>18 <a class="indexterm" name="id25 67268"></a>19 <a class="indexterm" name="id25 67274"></a>16 <a class="indexterm" name="id2574167"></a> 17 <a class="indexterm" name="id2574174"></a> 18 <a class="indexterm" name="id2574181"></a> 19 <a class="indexterm" name="id2574188"></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="id25 67291"></a>28 <a class="indexterm" name="id25 67298"></a>29 <a class="indexterm" name="id25 67305"></a>27 <a class="indexterm" name="id2574204"></a> 28 <a class="indexterm" name="id2574211"></a> 29 <a class="indexterm" name="id2574218"></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="id25 67320"></a>Background</h2></div></div></div><p>36 <a class="indexterm" name="id25 67327"></a>37 <a class="indexterm" name="id25 67334"></a>38 <a class="indexterm" name="id25 67341"></a>35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2574233"></a>Background</h2></div></div></div><p> 36 <a class="indexterm" name="id2574240"></a> 37 <a class="indexterm" name="id2574247"></a> 38 <a class="indexterm" name="id2574254"></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="id25 67368"></a>45 <a class="indexterm" name="id25 67375"></a>46 <a class="indexterm" name="id25 67382"></a>44 <a class="indexterm" name="id2574281"></a> 45 <a class="indexterm" name="id2574288"></a> 46 <a class="indexterm" name="id2574295"></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="id25 67409"></a>56 <a class="indexterm" name="id25 67416"></a>57 <a class="indexterm" name="id25 67423"></a>55 <a class="indexterm" name="id2574322"></a> 56 <a class="indexterm" name="id2574329"></a> 57 <a class="indexterm" name="id2574336"></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="id25 67437"></a>64 <a class="indexterm" name="id25 67444"></a>65 <a class="indexterm" name="id25 67450"></a>66 <a class="indexterm" name="id25 67457"></a>67 <a class="indexterm" name="id25 67464"></a>68 <a class="indexterm" name="id25 67471"></a>69 <a class="indexterm" name="id25 67478"></a>70 <a class="indexterm" name="id25 67485"></a>63 <a class="indexterm" name="id2574351"></a> 64 <a class="indexterm" name="id2574357"></a> 65 <a class="indexterm" name="id2574364"></a> 66 <a class="indexterm" name="id2574371"></a> 67 <a class="indexterm" name="id2574377"></a> 68 <a class="indexterm" name="id2574384"></a> 69 <a class="indexterm" name="id2574391"></a> 70 <a class="indexterm" name="id2574398"></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="id25 67521"></a>Example Configuration</h2></div></div></div><p>78 <a class="indexterm" name="id25 67529"></a>79 <a class="indexterm" name="id25 67536"></a>77 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2574434"></a>Example Configuration</h2></div></div></div><p> 78 <a class="indexterm" name="id2574442"></a> 79 <a class="indexterm" name="id2574449"></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="id25 67573"></a>84 <a class="indexterm" name="id25 67580"></a>85 <a class="indexterm" name="id25 67586"></a>86 <a class="indexterm" name="id25 67593"></a>83 <a class="indexterm" name="id2574486"></a> 84 <a class="indexterm" name="id2574493"></a> 85 <a class="indexterm" name="id2574499"></a> 86 <a class="indexterm" name="id2574506"></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="id25 67667"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2567679"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2567690"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2567702"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2567714"></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="id2567735"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2567746"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2567758"></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="id2574580"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2574591"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2574603"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2574615"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2574627"></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="id2574647"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2574659"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2574671"></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="id25 67784"></a>97 <a class="indexterm" name="id25 67791"></a>98 <a class="indexterm" name="id25 67798"></a>99 <a class="indexterm" name="id25 67805"></a>96 <a class="indexterm" name="id2574697"></a> 97 <a class="indexterm" name="id2574704"></a> 98 <a class="indexterm" name="id2574710"></a> 99 <a class="indexterm" name="id2574717"></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="id25 67854"></a>111 <a class="indexterm" name="id25 67861"></a>110 <a class="indexterm" name="id2574767"></a> 111 <a class="indexterm" name="id2574773"></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="id25 67917"></a>126 <a class="indexterm" name="id25 67924"></a>127 <a class="indexterm" name="id25 67931"></a>125 <a class="indexterm" name="id2574830"></a> 126 <a class="indexterm" name="id2574836"></a> 127 <a class="indexterm" name="id2574843"></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="id25 67958"></a>134 <a class="indexterm" name="id25 67965"></a>135 <a class="indexterm" name="id25 67972"></a>133 <a class="indexterm" name="id2574871"></a> 134 <a class="indexterm" name="id2574878"></a> 135 <a class="indexterm" name="id2574885"></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="id25 68010"></a>143 <a class="indexterm" name="id2574923"></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="id25 68027"></a>148 <a class="indexterm" name="id25 68034"></a>149 <a class="indexterm" name="id25 68041"></a>147 <a class="indexterm" name="id2574940"></a> 148 <a class="indexterm" name="id2574947"></a> 149 <a class="indexterm" name="id2574954"></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="id25 68074"></a>159 <a class="indexterm" name="id25 68081"></a>160 <a class="indexterm" name="id25 68088"></a>161 <a class="indexterm" name="id25 68095"></a>162 <a class="indexterm" name="id25 68101"></a>163 <a class="indexterm" name="id25 68108"></a>158 <a class="indexterm" name="id2574987"></a> 159 <a class="indexterm" name="id2574994"></a> 160 <a class="indexterm" name="id2575001"></a> 161 <a class="indexterm" name="id2575007"></a> 162 <a class="indexterm" name="id2575014"></a> 163 <a class="indexterm" name="id2575021"></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="id25 68208"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2568220"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2568231"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2568243"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2568255"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2568266"></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="id2568287"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2568299"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2568311"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td><a class="indexterm" name="id2568323"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568334"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568346"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568358"></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="id25 68374"></a>176 <a class="indexterm" name="id25 68382"></a>177 <a class="indexterm" name="id25 68389"></a>178 <a class="indexterm" name="id25 68396"></a>179 <a class="indexterm" name="id25 68403"></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="id2575121"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2575132"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2575144"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2575156"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2575168"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2575179"></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="id2575200"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2575212"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2575224"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td><a class="indexterm" name="id2575235"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575247"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575259"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575270"></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="id2575286"></a> 176 <a class="indexterm" name="id2575295"></a> 177 <a class="indexterm" name="id2575302"></a> 178 <a class="indexterm" name="id2575309"></a> 179 <a class="indexterm" name="id2575316"></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 182 182 configure a raw printing device. It is also necessary to enable the raw mime handler in the 183 <code class="filename">/etc/mime.conv</code> and <code class="filename">/etc/mime.types</code> files. Refer to <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing Support</a>, <a class="link" href="CUPS-printing.html#cups-raw" title="Explicitly Enable “raw”Printing for application/octet-stream">Explicitly Enable raw Printing183 <code class="filename">/etc/mime.conv</code> and <code class="filename">/etc/mime.types</code> files. Refer to <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing Support</a>, <a class="link" href="CUPS-printing.html#cups-raw" title="Explicitly Enable raw Printing for application/octet-stream">Explicitly Enable raw Printing 184 184 for application/octet-stream</a>. 185 185 </p></div><p> 186 <a class="indexterm" name="id25 68446"></a>187 <a class="indexterm" name="id25 68453"></a>188 <a class="indexterm" name="id25 68460"></a>189 <a class="indexterm" name="id25 68466"></a>186 <a class="indexterm" name="id2575359"></a> 187 <a class="indexterm" name="id2575365"></a> 188 <a class="indexterm" name="id2575372"></a> 189 <a class="indexterm" name="id2575379"></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="id25 68504"></a>Common Errors</h2></div></div></div><p>197 <a class="indexterm" name="id25 68512"></a>198 <a class="indexterm" name="id25 68519"></a>196 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2575417"></a>Common Errors</h2></div></div></div><p> 197 <a class="indexterm" name="id2575425"></a> 198 <a class="indexterm" name="id2575432"></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
r226 r231 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.7 3.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#id2543461">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.74.0"><link rel="home" 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#id2551195">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="id25 43461"></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="id2551195"></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
r226 r231 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.7 3.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#id2643339">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643377">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643773">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2643778">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2643819">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644037">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#id2644363">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644760">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644810">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2645716">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2645741">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645801">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645840">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="id2643339"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26 43347"></a>3 <a class="indexterm" name="id26 43356"></a>4 <a class="indexterm" name="id26 43363"></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.74.0"><link rel="home" 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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Potter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2650312">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650350">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650745">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2650751">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2650792">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651009">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#id2651336">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651733">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651783">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2652691">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2652716">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652776">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652815">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="id2650312"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2650320"></a> 3 <a class="indexterm" name="id2650329"></a> 4 <a class="indexterm" name="id2650336"></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="id26 43377"></a>Discussion</h2></div></div></div><p>9 <a class="indexterm" name="id26 43385"></a>10 <a class="indexterm" name="id26 43392"></a>8 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2650350"></a>Discussion</h2></div></div></div><p> 9 <a class="indexterm" name="id2650358"></a> 10 <a class="indexterm" name="id2650365"></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="id26 43406"></a>16 <a class="indexterm" name="id26 43413"></a>17 <a class="indexterm" name="id26 43420"></a>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 all15 <a class="indexterm" name="id2650379"></a> 16 <a class="indexterm" name="id2650386"></a> 17 <a class="indexterm" name="id2650393"></a> 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" target="_top">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="id26 43475"></a><em class="parameter"><code>comment = Audited /data directory</code></em></td></tr><tr><td><a class="indexterm" name="id2643487"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2643498"></a><em class="parameter"><code>vfs objects = audit recycle</code></em></td></tr><tr><td><a class="indexterm" name="id2643510"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2643522"></a><em class="parameter"><code>browseable = yes</code></em></td></tr></table></div></div><br class="example-break"><p>22 <a class="indexterm" name="id26 43536"></a>23 <a class="indexterm" name="id26 43543"></a>24 <a class="indexterm" name="id26 43550"></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="id2650448"></a><em class="parameter"><code>comment = Audited /data directory</code></em></td></tr><tr><td><a class="indexterm" name="id2650460"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2650471"></a><em class="parameter"><code>vfs objects = audit recycle</code></em></td></tr><tr><td><a class="indexterm" name="id2650483"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2650495"></a><em class="parameter"><code>browseable = yes</code></em></td></tr></table></div></div><br class="example-break"><p> 22 <a class="indexterm" name="id2650510"></a> 23 <a class="indexterm" name="id2650516"></a> 24 <a class="indexterm" name="id2650523"></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 27 27 it is the first to get run and may detect a virus immediately, before any action is performed on that file. 28 <a class="link" href="smb.conf.5.html#VFSOBJECTS" >vfs objects = vscan-clamav recycle</a>29 </p><p> 30 <a class="indexterm" name="id26 43578"></a>31 <a class="indexterm" name="id26 43585"></a>28 <a class="link" href="smb.conf.5.html#VFSOBJECTS" target="_top">vfs objects = vscan-clamav recycle</a> 29 </p><p> 30 <a class="indexterm" name="id2650551"></a> 31 <a class="indexterm" name="id2650558"></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="id26 43615"></a>37 <a class="indexterm" name="id26 43622"></a>38 <a class="indexterm" name="id26 43628"></a>39 <a class="indexterm" name="id26 43635"></a>36 <a class="indexterm" name="id2650588"></a> 37 <a class="indexterm" name="id2650595"></a> 38 <a class="indexterm" name="id2650602"></a> 39 <a class="indexterm" name="id2650608"></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="id26 43675"></a><em class="parameter"><code>comment = VFS TEST</code></em></td></tr><tr><td><a class="indexterm" name="id2643687"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2643698"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2643710"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2643722"></a><em class="parameter"><code>vfs objects = example:example1 example example:test</code></em></td></tr><tr><td><a class="indexterm" name="id2643734"></a><em class="parameter"><code>example1: parameter = 1</code></em></td></tr><tr><td><a class="indexterm" name="id2643746"></a><em class="parameter"><code>example: parameter = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2643758"></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="id26 43773"></a>Included Modules</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643778"></a>audit</h3></div></div></div><p>45 <a class="indexterm" name="id26 43786"></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="id2650648"></a><em class="parameter"><code>comment = VFS TEST</code></em></td></tr><tr><td><a class="indexterm" name="id2650660"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2650671"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2650683"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2650694"></a><em class="parameter"><code>vfs objects = example:example1 example example:test</code></em></td></tr><tr><td><a class="indexterm" name="id2650706"></a><em class="parameter"><code>example1: parameter = 1</code></em></td></tr><tr><td><a class="indexterm" name="id2650718"></a><em class="parameter"><code>example: parameter = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2650730"></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="id2650745"></a>Included Modules</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2650751"></a>audit</h3></div></div></div><p> 45 <a class="indexterm" name="id2650759"></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="id26 43819"></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="id2650792"></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="id26 44037"></a>extd_audit</h3></div></div></div><p>121 <a class="indexterm" name="id26 44044"></a>122 <a class="indexterm" name="id26 44051"></a>123 <a class="indexterm" name="id26 44058"></a>120 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2651009"></a>extd_audit</h3></div></div></div><p> 121 <a class="indexterm" name="id2651017"></a> 122 <a class="indexterm" name="id2651024"></a> 123 <a class="indexterm" name="id2651031"></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 126 <a class="link" href="smb.conf.5.html#LOGLEVEL" >log level</a> for this module is set in the <code class="filename">smb.conf</code> file.126 <a class="link" href="smb.conf.5.html#LOGLEVEL" target="_top">log level</a> for this module is set in the <code class="filename">smb.conf</code> file. 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="id26 44193"></a>Configuration of Auditing</h4></div></div></div><p>130 <a class="indexterm" name="id26 44201"></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="id2651166"></a>Configuration of Auditing</h4></div></div></div><p> 130 <a class="indexterm" name="id2651174"></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. … … 140 140 <em class="parameter"><code>log file</code></em> settings.</p><p>An example of detailed per-user and per-machine logging can 141 141 be obtained by setting 142 <a class="link" href="smb.conf.5.html#LOGFILE" >log file = /var/log/samba/%U.%m.log</a>.142 <a class="link" href="smb.conf.5.html#LOGFILE" target="_top">log file = /var/log/samba/%U.%m.log</a>. 143 143 </p></li></ul></div><p> 144 144 Auditing information often must be preserved for a long time. So that the log files do not get rotated 145 it is essential that the <a class="link" href="smb.conf.5.html#MAXLOGSIZE" >max log size = 0</a> be set145 it is essential that the <a class="link" href="smb.conf.5.html#MAXLOGSIZE" target="_top">max log size = 0</a> be set 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="id26 44327"></a>149 <a class="indexterm" name="id26 44334"></a>150 <a class="indexterm" name="id26 44341"></a>151 <a class="indexterm" name="id26 44348"></a>148 <a class="indexterm" name="id2651300"></a> 149 <a class="indexterm" name="id2651307"></a> 150 <a class="indexterm" name="id2651314"></a> 151 <a class="indexterm" name="id2651320"></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="id26 44363"></a>recycle</h3></div></div></div><p>157 <a class="indexterm" name="id26 44371"></a>158 <a class="indexterm" name="id26 44378"></a>159 <a class="indexterm" name="id26 44385"></a>156 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2651336"></a>recycle</h3></div></div></div><p> 157 <a class="indexterm" name="id2651344"></a> 158 <a class="indexterm" name="id2651350"></a> 159 <a class="indexterm" name="id2651357"></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="id26 44404"></a>165 <a class="indexterm" name="id26 44411"></a>166 <a class="indexterm" name="id26 44418"></a>167 <a class="indexterm" name="id26 44425"></a>164 <a class="indexterm" name="id2651377"></a> 165 <a class="indexterm" name="id2651384"></a> 166 <a class="indexterm" name="id2651390"></a> 167 <a class="indexterm" name="id2651397"></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="id26 44502"></a>182 <a class="indexterm" name="id2651475"></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="id26 44522"></a>185 <a class="indexterm" name="id2651494"></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="id26 44557"></a>194 <a class="indexterm" name="id2651530"></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="id26 44591"></a>202 <a class="indexterm" name="id2651564"></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="id26 44613"></a>206 <a class="indexterm" name="id2651585"></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="id26 44640"></a>212 <a class="indexterm" name="id2651613"></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="id26 44660"></a>215 <a class="indexterm" name="id2651633"></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="id26 44680"></a>218 <a class="indexterm" name="id2651653"></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="id26 44700"></a>221 <a class="indexterm" name="id2651673"></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="id26 44720"></a>224 <a class="indexterm" name="id2651693"></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="id26 44741"></a>230 <a class="indexterm" name="id2651714"></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="id26 44760"></a>netatalk</h3></div></div></div><p>235 <a class="indexterm" name="id26 44768"></a>234 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2651733"></a>netatalk</h3></div></div></div><p> 235 <a class="indexterm" name="id2651740"></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="id26 44782"></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="id26 44810"></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="id26 44819"></a>238 </p><div class="itemizedlist"><a class="indexterm" name="id2651755"></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="id2651783"></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="id2651792"></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="id26 44833"></a>243 <a class="indexterm" name="id2651806"></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="id26 44878"></a>255 <a class="indexterm" name="id26 44885"></a>256 <a class="indexterm" name="id26 44892"></a>257 <a class="indexterm" name="id26 44899"></a>258 <a class="indexterm" name="id26 44905"></a>259 <a class="indexterm" name="id26 44912"></a>254 <a class="indexterm" name="id2651851"></a> 255 <a class="indexterm" name="id2651858"></a> 256 <a class="indexterm" name="id2651865"></a> 257 <a class="indexterm" name="id2651872"></a> 258 <a class="indexterm" name="id2651878"></a> 259 <a class="indexterm" name="id2651885"></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="id26 44997"></a>Shadow Copy Setup</h4></div></div></div><p>273 <a class="indexterm" name="id26 45005"></a>274 <a class="indexterm" name="id26 45012"></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="id2651971"></a>Shadow Copy Setup</h4></div></div></div><p> 273 <a class="indexterm" name="id2651979"></a> 274 <a class="indexterm" name="id2651986"></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="id26 45091"></a>290 <a class="indexterm" name="id26 45097"></a>289 <a class="indexterm" name="id2652066"></a> 290 <a class="indexterm" name="id2652072"></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="id26 45122"></a>299 <a class="indexterm" name="id26 45129"></a>300 <a class="indexterm" name="id26 45136"></a>301 <a class="indexterm" name="id26 45143"></a>302 <a class="indexterm" name="id26 45150"></a>298 <a class="indexterm" name="id2652097"></a> 299 <a class="indexterm" name="id2652104"></a> 300 <a class="indexterm" name="id2652111"></a> 301 <a class="indexterm" name="id2652118"></a> 302 <a class="indexterm" name="id2652124"></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="id26 45173"></a>308 <a class="indexterm" name="id26 45180"></a>309 <a class="indexterm" name="id26 45187"></a>310 <a class="indexterm" name="id26 45194"></a>311 <a class="indexterm" name="id26 45201"></a>307 <a class="indexterm" name="id2652148"></a> 308 <a class="indexterm" name="id2652155"></a> 309 <a class="indexterm" name="id2652162"></a> 310 <a class="indexterm" name="id2652169"></a> 311 <a class="indexterm" name="id2652175"></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="id26 45216"></a>317 <a class="indexterm" name="id26 45223"></a>318 <a class="indexterm" name="id26 45230"></a>316 <a class="indexterm" name="id2652190"></a> 317 <a class="indexterm" name="id2652197"></a> 318 <a class="indexterm" name="id2652204"></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="id26 45258"></a>324 <a class="indexterm" name="id2652233"></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="id26 45276"></a>328 <a class="indexterm" name="id26 45283"></a>327 <a class="indexterm" name="id2652251"></a> 328 <a class="indexterm" name="id2652258"></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="id26 45300"></a>331 <a class="indexterm" name="id2652275"></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="id26 45318"></a>334 <a class="indexterm" name="id2652293"></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="id26 45336"></a>337 <a class="indexterm" name="id2652310"></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="id26 45356"></a>341 <a class="indexterm" name="id2652331"></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="id26 45374"></a>346 <a class="indexterm" name="id26 45381"></a>347 <a class="indexterm" name="id26 45387"></a>348 <a class="indexterm" name="id26 45394"></a>349 <a class="indexterm" name="id26 45401"></a>345 <a class="indexterm" name="id2652348"></a> 346 <a class="indexterm" name="id2652355"></a> 347 <a class="indexterm" name="id2652362"></a> 348 <a class="indexterm" name="id2652369"></a> 349 <a class="indexterm" name="id2652375"></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="id26 45415"></a>354 <a class="indexterm" name="id26 45422"></a>355 <a class="indexterm" name="id26 45428"></a>353 <a class="indexterm" name="id2652389"></a> 354 <a class="indexterm" name="id2652396"></a> 355 <a class="indexterm" name="id2652403"></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="id26 45441"></a>359 <a class="indexterm" name="id26 45448"></a>360 <a class="indexterm" name="id26 45455"></a>358 <a class="indexterm" name="id2652416"></a> 359 <a class="indexterm" name="id2652422"></a> 360 <a class="indexterm" name="id2652429"></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="id26 45489"></a>369 <a class="indexterm" name="id2652464"></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="id26 45506"></a>372 <a class="indexterm" name="id2652481"></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="id26 45564"></a><em class="parameter"><code>comment = Shadow Copy Enabled Share</code></em></td></tr><tr><td><a class="indexterm" name="id2645576"></a><em class="parameter"><code>path = /data/shadow_share</code></em></td></tr><tr><td><a class="indexterm" name="id2645587"></a><em class="parameter"><code>vfs objects = shadow_copy</code></em></td></tr><tr><td><a class="indexterm" name="id2645599"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2645611"></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="id26 45634"></a>380 <a class="indexterm" name="id26 45641"></a>381 <a class="indexterm" name="id26 45648"></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="id2652538"></a><em class="parameter"><code>comment = Shadow Copy Enabled Share</code></em></td></tr><tr><td><a class="indexterm" name="id2652550"></a><em class="parameter"><code>path = /data/shadow_share</code></em></td></tr><tr><td><a class="indexterm" name="id2652562"></a><em class="parameter"><code>vfs objects = shadow_copy</code></em></td></tr><tr><td><a class="indexterm" name="id2652574"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2652585"></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="id2652609"></a> 380 <a class="indexterm" name="id2652615"></a> 381 <a class="indexterm" name="id2652622"></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="id26 45716"></a>VFS Modules Available Elsewhere</h2></div></div></div><p>408 <a class="indexterm" name="id26 45724"></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="id2652691"></a>VFS Modules Available Elsewhere</h2></div></div></div><p> 408 <a class="indexterm" name="id2652699"></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="id26 45741"></a>DatabaseFS</h3></div></div></div><p>415 <a class="indexterm" name="id26 45749"></a>414 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2652716"></a>DatabaseFS</h3></div></div></div><p> 415 <a class="indexterm" name="id2652724"></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="id26 45801"></a>vscan</h3></div></div></div><a class="indexterm" name="id2645807"></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="id2652776"></a>vscan</h3></div></div></div><a class="indexterm" name="id2652781"></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="id26 45828"></a>431 <a class="indexterm" name="id2652802"></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="id26 45840"></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="id2652815"></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
r226 r231 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. 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Appendix A. GNU General Public License version 3</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="The Official Samba 3.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 GNU General Public License version 3 3 </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="DNSDHCP.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="go01.html">Next</a></td></tr></table><hr></div><div class="appendix" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2693404"></a>Appendix A. 2 4 <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="id2686405"></a>Appendix A. 4 <acronym class="acronym">GNU</acronym> General Public License version 3 5 </h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="bridgehead"><a href="apa.html#id2686434">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#id2693433">A. 6 6 Preamble 7 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86579">A.7 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693578">A. 8 8 TERMS AND CONDITIONS 9 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86583">A.9 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693582">A. 10 10 0. Definitions. 11 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86675">A.11 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693674">A. 12 12 1. Source Code. 13 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86774">A.13 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693772">A. 14 14 2. Basic Permissions. 15 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86812">A.15 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693811">A. 16 16 3. Protecting Users’ Legal Rights From Anti-Circumvention Law. 17 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86848">A.17 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693847">A. 18 18 4. Conveying Verbatim Copies. 19 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86875">A.19 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693874">A. 20 20 5. Conveying Modified Source Versions. 21 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86971">A.21 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693970">A. 22 22 6. Conveying Non-Source Forms. 23 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87160">A.23 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694159">A. 24 24 7. Additional Terms. 25 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87296">A.25 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694295">A. 26 26 8. Termination. 27 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87340">A.27 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694338">A. 28 28 9. Acceptance Not Required for Having Copies. 29 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87359">A.29 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694358">A. 30 30 10. Automatic Licensing of Downstream Recipients. 31 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87411">A.31 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694410">A. 32 32 11. Patents. 33 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87557">A.33 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694545">A. 34 34 12. No Surrender of Others’ Freedom. 35 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87579">A.35 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694567">A. 36 36 13. Use with the ???TITLE??? Affero General Public License. 37 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87608">A.37 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694596">A. 38 38 14. Revised Versions of this License. 39 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87670">A.39 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694658">A. 40 40 15. Disclaimer of Warranty. 41 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87696">A.41 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694685">A. 42 42 16. Limitation of Liability. 43 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87716">A.43 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694705">A. 44 44 17. Interpretation of Sections 15 and 16. 45 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87733">A.45 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694721">A. 46 46 END OF TERMS AND CONDITIONS 47 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87737">A.47 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694725">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="id26 86434"></a>57 </p><h2><a name="id2693433"></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="id26 86579"></a>121 </p><h2><a name="id2693578"></a> 122 122 TERMS AND CONDITIONS 123 </h2><h2><a name="id26 86583"></a>123 </h2><h2><a name="id2693582"></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="id26 86675"></a>165 </p><h2><a name="id2693674"></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="id26 86774"></a>205 </p><h2><a name="id2693772"></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="id26 86812"></a>230 </p><h2><a name="id2693811"></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="id26 86848"></a>245 </p><h2><a name="id2693847"></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="id26 86875"></a>258 </p><h2><a name="id2693874"></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="id26 86971"></a>294 </p><h2><a name="id2693970"></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="id26 87160"></a>389 </p><h2><a name="id2694159"></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="id26 87296"></a>453 </p><h2><a name="id2694295"></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="id26 87340"></a>479 </p><h2><a name="id2694338"></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="id26 87359"></a>490 </p><h2><a name="id2694358"></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="id26 87411"></a>515 </p><h2><a name="id2694410"></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="id26 87557"></a>582 </p><h2><a name="id2694545"></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="id26 87579"></a>594 </p><h2><a name="id2694567"></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="id26 87608"></a>605 </p><h2><a name="id2694596"></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="id26 87670"></a>630 </p><h2><a name="id2694658"></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="id26 87696"></a>641 </p><h2><a name="id2694685"></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="id26 87716"></a>653 </p><h2><a name="id2694705"></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="id26 87733"></a>662 </p><h2><a name="id2694721"></a> 663 663 END OF TERMS AND CONDITIONS 664 </h2><h2><a name="id26 87737"></a>664 </h2><h2><a name="id2694725"></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
r226 r231 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.7 3.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#id2679017">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679107">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#id2679342">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2679544">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679677">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679802">Patches</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2679017"></a>Introduction</h2></div></div></div><p>2 <a class="indexterm" name="id26 79025"></a>3 <a class="indexterm" name="id26 79032"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2686011">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686101">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#id2686336">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2686538">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686672">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686797">Patches</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686011"></a>Introduction</h2></div></div></div><p> 2 <a class="indexterm" name="id2686019"></a> 3 <a class="indexterm" name="id2686026"></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="id26 79065"></a>16 <a class="indexterm" name="id26 79072"></a>17 <a class="indexterm" name="id26 79079"></a>15 <a class="indexterm" name="id2686059"></a> 16 <a class="indexterm" name="id2686066"></a> 17 <a class="indexterm" name="id2686073"></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="id26 79107"></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="id2686101"></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="id26 79159"></a>46 <a class="indexterm" name="id26 79165"></a>47 To set the debug level, use the <a class="link" href="smb.conf.5.html#LOGLEVEL" >log level</a> in your45 <a class="indexterm" name="id2686153"></a> 46 <a class="indexterm" name="id2686159"></a> 47 To set the debug level, use the <a class="link" href="smb.conf.5.html#LOGLEVEL" target="_top">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="id26 79206"></a><em class="parameter"><code>log level = 10</code></em></td></tr><tr><td><a class="indexterm" name="id2679217"></a><em class="parameter"><code>log file = /usr/local/samba/lib/log.%m</code></em></td></tr><tr><td><a class="indexterm" name="id2679228"></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="id2686200"></a><em class="parameter"><code>log level = 10</code></em></td></tr><tr><td><a class="indexterm" name="id2686211"></a><em class="parameter"><code>log file = /usr/local/samba/lib/log.%m</code></em></td></tr><tr><td><a class="indexterm" name="id2686222"></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 54 <code class="filename">smb.conf</code> commands you want; for example, <a class="link" href="smb.conf.5.html#LOGLEVEL" >log level</a> may be useful. This also allows54 <code class="filename">smb.conf</code> commands you want; for example, <a class="link" href="smb.conf.5.html#LOGLEVEL" target="_top">log level</a> may be useful. This also allows 55 55 you to experiment with different security systems, protocol levels, and so on, on just one machine. 56 56 </p><p> 57 The <code class="filename">smb.conf</code> entry <a class="link" href="smb.conf.5.html#LOGLEVEL" >log level</a> is synonymous with the parameter <a class="link" href="smb.conf.5.html#DEBUGLEVEL">debuglevel</a> that has been used in older versions of Samba and is being retained for backward57 The <code class="filename">smb.conf</code> entry <a class="link" href="smb.conf.5.html#LOGLEVEL" target="_top">log level</a> is synonymous with the parameter <a class="link" href="smb.conf.5.html#DEBUGLEVEL" target="_top">debuglevel</a> that has been used in older versions of Samba and is being retained for backward 58 58 compatibility of <code class="filename">smb.conf</code> files. 59 59 </p><p> 60 As the <a class="link" href="smb.conf.5.html#LOGLEVEL" >log level</a> value is increased, you will record a significantly greater level of60 As the <a class="link" href="smb.conf.5.html#LOGLEVEL" target="_top">log level</a> value is increased, you will record a significantly greater level of 61 61 debugging information. For most debugging operations, you may not need a setting higher than 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="id26 79342"></a>Debugging-Specific Operations</h3></div></div></div><p>65 <a class="indexterm" name="id26 79350"></a>66 <a class="indexterm" name="id26 79357"></a>67 <a class="indexterm" name="id26 79364"></a>68 <a class="indexterm" name="id26 79371"></a>64 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2686336"></a>Debugging-Specific Operations</h3></div></div></div><p> 65 <a class="indexterm" name="id2686344"></a> 66 <a class="indexterm" name="id2686351"></a> 67 <a class="indexterm" name="id2686358"></a> 68 <a class="indexterm" name="id2686365"></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="id26 79390"></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="id2679402"></a><em class="parameter"><code>max log size = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2679413"></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="id2686384"></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="id2686395"></a><em class="parameter"><code>max log size = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2686407"></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="id26 79544"></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="id2686538"></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="id26 79576"></a>94 <a class="indexterm" name="id2686571"></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="id26 79592"></a>100 <a class="indexterm" name="id26 79599"></a>99 <a class="indexterm" name="id2686587"></a> 100 <a class="indexterm" name="id2686593"></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="id26 79625"></a>106 <a class="indexterm" name="id26 79631"></a>105 <a class="indexterm" name="id2686619"></a> 106 <a class="indexterm" name="id2686626"></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="id26 79657"></a>112 <a class="indexterm" name="id2686651"></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="id26 79677"></a>Attaching to a Running Process</h2></div></div></div><p>120 <a class="indexterm" name="id26 79685"></a>121 <a class="indexterm" name="id26 79692"></a>122 <a class="indexterm" name="id26 79698"></a>119 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686672"></a>Attaching to a Running Process</h2></div></div></div><p> 120 <a class="indexterm" name="id2686680"></a> 121 <a class="indexterm" name="id2686687"></a> 122 <a class="indexterm" name="id2686693"></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="id26 79784"></a>148 <a class="indexterm" name="id2686779"></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="id26 79802"></a>Patches</h2></div></div></div><p>152 <a class="indexterm" name="id26 79810"></a>153 <a class="indexterm" name="id26 79817"></a>151 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686797"></a>Patches</h2></div></div></div><p> 152 <a class="indexterm" name="id2686805"></a> 153 <a class="indexterm" name="id2686811"></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
r226 r231 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.7 3.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#id2666890">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2668310">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 66734"></a>3 <a class="indexterm" name="id26 66741"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2673881">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2675301">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2673724"></a> 3 <a class="indexterm" name="id2673732"></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 for documentation regarding the use of the <a class="link" href="smb.conf.5.html#INCLUDE" >include = file-name</a> parameter.6 for documentation regarding the use of the <a class="link" href="smb.conf.5.html#INCLUDE" target="_top">include = file-name</a> parameter. 7 7 </p><p> 8 <a class="indexterm" name="id26 66769"></a>9 <a class="indexterm" name="id26 66775"></a>8 <a class="indexterm" name="id2673760"></a> 9 <a class="indexterm" name="id2673766"></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="id26 66789"></a>15 <a class="indexterm" name="id26 66796"></a>14 <a class="indexterm" name="id2673780"></a> 15 <a class="indexterm" name="id2673787"></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="id26 66811"></a>21 <a class="indexterm" name="id26 66818"></a>22 <a class="indexterm" name="id26 66825"></a>20 <a class="indexterm" name="id2673802"></a> 21 <a class="indexterm" name="id2673809"></a> 22 <a class="indexterm" name="id2673816"></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="id26 66840"></a>28 <a class="indexterm" name="id26 66847"></a>29 <a class="indexterm" name="id26 66854"></a>27 <a class="indexterm" name="id2673831"></a> 28 <a class="indexterm" name="id2673838"></a> 29 <a class="indexterm" name="id2673845"></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="id26 66872"></a>37 <a class="indexterm" name="id26 66879"></a>36 <a class="indexterm" name="id2673863"></a> 37 <a class="indexterm" name="id2673870"></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="id26 66890"></a>Implementation</h2></div></div></div><p>42 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26 66899"></a>Multiple Server Hosting</h3></div></div></div><p>43 <a class="indexterm" name="id26 66907"></a>44 <a class="indexterm" name="id26 66914"></a>45 <a class="indexterm" name="id26 66921"></a>46 <a class="indexterm" name="id26 66928"></a>47 <a class="indexterm" name="id26 66935"></a>48 <a class="indexterm" name="id26 66942"></a>49 <a class="indexterm" name="id26 66948"></a>41 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2673881"></a>Implementation</h2></div></div></div><p> 42 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2673890"></a>Multiple Server Hosting</h3></div></div></div><p> 43 <a class="indexterm" name="id2673898"></a> 44 <a class="indexterm" name="id2673905"></a> 45 <a class="indexterm" name="id2673912"></a> 46 <a class="indexterm" name="id2673919"></a> 47 <a class="indexterm" name="id2673926"></a> 48 <a class="indexterm" name="id2673932"></a> 49 <a class="indexterm" name="id2673939"></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="id26 67031"></a>58 <a class="indexterm" name="id26 67038"></a>59 <a class="indexterm" name="id26 67045"></a>60 <a class="indexterm" name="id26 67052"></a>57 <a class="indexterm" name="id2674022"></a> 58 <a class="indexterm" name="id2674029"></a> 59 <a class="indexterm" name="id2674036"></a> 60 <a class="indexterm" name="id2674042"></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 63 using the <a class="link" href="smb.conf.5.html#SOCKETADDRESS" >socket address</a> parameter. Each instance of the Samba server will have its63 using the <a class="link" href="smb.conf.5.html#SOCKETADDRESS" target="_top">socket address</a> parameter. Each instance of the Samba server will have its 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="id26 67098"></a>67 <a class="indexterm" name="id26 67105"></a>68 <a class="indexterm" name="id26 67111"></a>69 <a class="indexterm" name="id26 67118"></a>70 <a class="indexterm" name="id26 67125"></a>71 <a class="indexterm" name="id26 67132"></a>72 <a class="indexterm" name="id26 67139"></a>73 <a class="indexterm" name="id26 67146"></a>74 <a class="indexterm" name="id26 67153"></a>66 <a class="indexterm" name="id2674089"></a> 67 <a class="indexterm" name="id2674095"></a> 68 <a class="indexterm" name="id2674102"></a> 69 <a class="indexterm" name="id2674109"></a> 70 <a class="indexterm" name="id2674116"></a> 71 <a class="indexterm" name="id2674123"></a> 72 <a class="indexterm" name="id2674130"></a> 73 <a class="indexterm" name="id2674137"></a> 74 <a class="indexterm" name="id2674143"></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 <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>.77 <a class="link" href="smb.conf.5.html#PRIVATEDIR" target="_top">private dir</a>, <a class="link" href="smb.conf.5.html#PIDDIRECTORY" target="_top">pid directory</a>,<a class="link" href="smb.conf.5.html#LOCKDIRECTORY" target="_top">lock directory</a>, <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a>, <a class="link" href="smb.conf.5.html#BINDINTERFACESONLY" target="_top">bind interfaces only</a>, <a class="link" href="smb.conf.5.html#NETBIOSNAME" target="_top">netbios name</a>, <a class="link" href="smb.conf.5.html#WORKGROUP" target="_top">workgroup</a>, <a class="link" href="smb.conf.5.html#SOCKETADDRESS" target="_top">socket address</a>. 78 78 </p><p> 79 <a class="indexterm" name="id26 67265"></a>80 <a class="indexterm" name="id26 67272"></a>81 <a class="indexterm" name="id26 67278"></a>79 <a class="indexterm" name="id2674255"></a> 80 <a class="indexterm" name="id2674262"></a> 81 <a class="indexterm" name="id2674268"></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="id26 67296"></a>Multiple Virtual Server Personalities</h3></div></div></div><p>88 <a class="indexterm" name="id26 67304"></a>89 <a class="indexterm" name="id26 67311"></a>90 <a class="indexterm" name="id26 67318"></a>87 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2674287"></a>Multiple Virtual Server Personalities</h3></div></div></div><p> 88 <a class="indexterm" name="id2674294"></a> 89 <a class="indexterm" name="id2674301"></a> 90 <a class="indexterm" name="id2674308"></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 93 personality is hosted using its own <a class="link" href="smb.conf.5.html#NETBIOSALIAS" >netbios alias</a> name, and each has its own distinct94 <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.93 personality is hosted using its own <a class="link" href="smb.conf.5.html#NETBIOSALIAS" target="_top">netbios alias</a> name, and each has its own distinct 94 <a class="link" href="smb.conf.5.html#%5BGLOBAL%5D" target="_top">[global]</a> section. Each server may have its own stanzas for services and meta-services. 95 95 </p><p> 96 <a class="indexterm" name="id26 67365"></a>97 <a class="indexterm" name="id26 67372"></a>98 <a class="indexterm" name="id26 67379"></a>96 <a class="indexterm" name="id2674356"></a> 97 <a class="indexterm" name="id2674362"></a> 98 <a class="indexterm" name="id2674369"></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 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.101 combination of the <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security</a> mode it is operating in, the <a class="link" href="smb.conf.5.html#NETBIOSALIASES" target="_top">netbios aliases</a> it has, and the <a class="link" href="smb.conf.5.html#WORKGROUP" target="_top">workgroup</a> that is defined for it. 102 102 </p><p> 103 <a class="indexterm" name="id26 67428"></a>104 <a class="indexterm" name="id26 67435"></a>105 <a class="indexterm" name="id26 67442"></a>106 <a class="indexterm" name="id26 67449"></a>107 <a class="indexterm" name="id26 67456"></a>108 <a class="indexterm" name="id26 67462"></a>103 <a class="indexterm" name="id2674418"></a> 104 <a class="indexterm" name="id2674425"></a> 105 <a class="indexterm" name="id2674431"></a> 106 <a class="indexterm" name="id2674438"></a> 107 <a class="indexterm" name="id2674445"></a> 108 <a class="indexterm" name="id2674452"></a> 109 109 This configuration style can be used either with NetBIOS names, or using NetBIOS-less SMB over TCP services. 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 result110 If run using NetBIOS mode (the most common method) it is important that the parameter <a class="link" href="smb.conf.5.html#SMBPORTS" target="_top">smb ports = 139</a> should be specified in the primary <code class="filename">smb.conf</code> file. Failure to do this will result 111 111 in Samba operating over TCP port 445 and problematic operation at best, and at worst only being able to obtain 112 112 the functionality that is specified in the primary <code class="filename">smb.conf</code> file. The use of NetBIOS over TCP/IP using only 113 TCP port 139 means that the use of the <code class="literal">%L</code> macro is fully enabled. If the <a class="link" href="smb.conf.5.html#SMBPORTS" >smb ports = 139</a> is not specified (the default is <em class="parameter"><code>445 139</code></em>, or if113 TCP port 139 means that the use of the <code class="literal">%L</code> macro is fully enabled. If the <a class="link" href="smb.conf.5.html#SMBPORTS" target="_top">smb ports = 139</a> is not specified (the default is <em class="parameter"><code>445 139</code></em>, or if 114 114 the value of this parameter is set at <em class="parameter"><code>139 445</code></em> then the <code class="literal">%L</code> macro 115 115 is not serviceable. 116 116 </p><p> 117 <a class="indexterm" name="id26 67541"></a>118 <a class="indexterm" name="id26 67548"></a>119 <a class="indexterm" name="id26 67555"></a>120 <a class="indexterm" name="id26 67562"></a>117 <a class="indexterm" name="id2674531"></a> 118 <a class="indexterm" name="id2674538"></a> 119 <a class="indexterm" name="id2674546"></a> 120 <a class="indexterm" name="id2674552"></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 123 IP Address). Each can have its own <a class="link" href="smb.conf.5.html#SECURITY" >security</a> mode. It will be necessary to use the124 <a class="link" href="smb.conf.5.html#INTERFACES" >interfaces</a>, <a class="link" href="smb.conf.5.html#BINDINTERFACESONLY">bind interfaces only</a> and IP aliases in addition to125 the <a class="link" href="smb.conf.5.html#NETBIOSNAME" >netbios name</a> parameters to create the virtual servers. This method is considerably123 IP Address). Each can have its own <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security</a> mode. It will be necessary to use the 124 <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a>, <a class="link" href="smb.conf.5.html#BINDINTERFACESONLY" target="_top">bind interfaces only</a> and IP aliases in addition to 125 the <a class="link" href="smb.conf.5.html#NETBIOSNAME" target="_top">netbios name</a> parameters to create the virtual servers. This method is considerably 126 126 more complex than that using NetBIOS names only using TCP port 139. 127 127 </p><p> 128 <a class="indexterm" name="id26 67630"></a>128 <a class="indexterm" name="id2674620"></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="id26 67674"></a>139 <a class="indexterm" name="id26 67681"></a>140 <a class="indexterm" name="id26 67687"></a>141 <a class="indexterm" name="id26 67694"></a>138 <a class="indexterm" name="id2674664"></a> 139 <a class="indexterm" name="id2674671"></a> 140 <a class="indexterm" name="id2674678"></a> 141 <a class="indexterm" name="id2674685"></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="id26 67785"></a><em class="parameter"><code>workgroup = ROBINSNEST</code></em></td></tr><tr><td><a class="indexterm" name="id2667796"></a><em class="parameter"><code>netbios name = ELASTIC</code></em></td></tr><tr><td><a class="indexterm" name="id2667808"></a><em class="parameter"><code>netbios aliases = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2667820"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2667832"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2667844"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2667855"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2667868"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2667879"></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="id2667900"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2667912"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2667923"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2667935"></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="id2667955"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2667967"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2667979"></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="id2667999"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2668011"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2668023"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2668034"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668046"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668057"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668069"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p>149 <a class="indexterm" name="id26 68084"></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="id2674775"></a><em class="parameter"><code>workgroup = ROBINSNEST</code></em></td></tr><tr><td><a class="indexterm" name="id2674787"></a><em class="parameter"><code>netbios name = ELASTIC</code></em></td></tr><tr><td><a class="indexterm" name="id2674799"></a><em class="parameter"><code>netbios aliases = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2674810"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2674822"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2674834"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2674846"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2674858"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2674870"></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="id2674890"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2674902"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2674914"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2674925"></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="id2674946"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2674957"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2674969"></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="id2674990"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2675001"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2675013"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2675025"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675036"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675048"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675060"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p> 149 <a class="indexterm" name="id2675074"></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="id26 68150"></a><em class="parameter"><code>workgroup = ARTSDEPT</code></em></td></tr><tr><td><a class="indexterm" name="id2668161"></a><em class="parameter"><code>netbios name = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2668173"></a><em class="parameter"><code>map to guest = Bad User</code></em></td></tr><tr><td><a class="indexterm" name="id2668185"></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="id2668206"></a><em class="parameter"><code>comment = CDROM Share</code></em></td></tr><tr><td><a class="indexterm" name="id2668217"></a><em class="parameter"><code>path = /export/cddata</code></em></td></tr><tr><td><a class="indexterm" name="id2668229"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668241"></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="id26 68256"></a>156 <a class="indexterm" name="id26 68262"></a>157 <a class="indexterm" name="id26 68269"></a>158 <a class="indexterm" name="id26 68276"></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="id2675140"></a><em class="parameter"><code>workgroup = ARTSDEPT</code></em></td></tr><tr><td><a class="indexterm" name="id2675152"></a><em class="parameter"><code>netbios name = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2675164"></a><em class="parameter"><code>map to guest = Bad User</code></em></td></tr><tr><td><a class="indexterm" name="id2675176"></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="id2675196"></a><em class="parameter"><code>comment = CDROM Share</code></em></td></tr><tr><td><a class="indexterm" name="id2675208"></a><em class="parameter"><code>path = /export/cddata</code></em></td></tr><tr><td><a class="indexterm" name="id2675220"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675231"></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="id2675246"></a> 156 <a class="indexterm" name="id2675253"></a> 157 <a class="indexterm" name="id2675260"></a> 158 <a class="indexterm" name="id2675267"></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="id26 68310"></a>Multiple Virtual Server Hosting</h3></div></div></div><p>165 <a class="indexterm" name="id26 68319"></a>166 <a class="indexterm" name="id26 68326"></a>167 <a class="indexterm" name="id26 68333"></a>164 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2675301"></a>Multiple Virtual Server Hosting</h3></div></div></div><p> 165 <a class="indexterm" name="id2675309"></a> 166 <a class="indexterm" name="id2675316"></a> 167 <a class="indexterm" name="id2675323"></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="id26 68365"></a>174 <a class="indexterm" name="id26 68372"></a>175 <a class="indexterm" name="id26 68378"></a>173 <a class="indexterm" name="id2675355"></a> 174 <a class="indexterm" name="id2675362"></a> 175 <a class="indexterm" name="id2675369"></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="id26 68454"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2668466"></a><em class="parameter"><code>netbios name = MERLIN</code></em></td></tr><tr><td><a class="indexterm" name="id2668477"></a><em class="parameter"><code>netbios aliases = SAURON</code></em></td></tr><tr><td><a class="indexterm" name="id2668489"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2668501"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2668513"></a><em class="parameter"><code>syslog = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2668524"></a><em class="parameter"><code>printcap name = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2668536"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2668548"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2668560"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2668573"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2668585"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2668597"></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="id2668610"></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="id2668622"></a><em class="parameter"><code>logon script = scripts\login.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2668634"></a><em class="parameter"><code>logon path = </code></em></td></tr><tr><td><a class="indexterm" name="id2668646"></a><em class="parameter"><code>logon drive = X:</code></em></td></tr><tr><td><a class="indexterm" name="id2668658"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668669"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668681"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668693"></a><em class="parameter"><code>printing = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2668704"></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="id2668745"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2668757"></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="id2668778"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2668789"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2668801"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2668813"></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="id2668833"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2668845"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2668856"></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="id2668877"></a><em class="parameter"><code>comment = NETLOGON</code></em></td></tr><tr><td><a class="indexterm" name="id2668888"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2668900"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668912"></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="id2668932"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2668944"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2668956"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668968"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2668979"></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="id2669020"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2669032"></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="id2669052"></a><em class="parameter"><code>comment = Web Pages</code></em></td></tr><tr><td><a class="indexterm" name="id2669064"></a><em class="parameter"><code>path = /srv/www/htdocs</code></em></td></tr><tr><td><a class="indexterm" name="id2669076"></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="id2675444"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2675456"></a><em class="parameter"><code>netbios name = MERLIN</code></em></td></tr><tr><td><a class="indexterm" name="id2675468"></a><em class="parameter"><code>netbios aliases = SAURON</code></em></td></tr><tr><td><a class="indexterm" name="id2675480"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2675492"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2675503"></a><em class="parameter"><code>syslog = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2675515"></a><em class="parameter"><code>printcap name = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2675526"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2675539"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2675551"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2675563"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2675575"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2675587"></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="id2675600"></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="id2675613"></a><em class="parameter"><code>logon script = scripts\login.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2675625"></a><em class="parameter"><code>logon path = </code></em></td></tr><tr><td><a class="indexterm" name="id2675636"></a><em class="parameter"><code>logon drive = X:</code></em></td></tr><tr><td><a class="indexterm" name="id2675648"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675660"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675672"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675683"></a><em class="parameter"><code>printing = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2675695"></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="id2675736"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2675747"></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="id2675768"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2675780"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2675791"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2675803"></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="id2675824"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2675835"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2675847"></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="id2675867"></a><em class="parameter"><code>comment = NETLOGON</code></em></td></tr><tr><td><a class="indexterm" name="id2675879"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2675891"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675902"></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="id2675923"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2675935"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2675946"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675958"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675970"></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="id2676010"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2676022"></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="id2676043"></a><em class="parameter"><code>comment = Web Pages</code></em></td></tr><tr><td><a class="indexterm" name="id2676054"></a><em class="parameter"><code>path = /srv/www/htdocs</code></em></td></tr><tr><td><a class="indexterm" name="id2676066"></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
r226 r231 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.7 3.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="id26 84418"></a>3 <a class="indexterm" name="id26 84427"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 46. LDAP and Transport Layer Security</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" 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="orgname">Suretec Systems Limited, UK</span> <span class="surname">Henry</span></h3><div class="affiliation"><span class="orgname">Suretec Systems Limited, UK<br></span><div class="address"><p><code class="email"><<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="id2691414"></a> 3 <a class="indexterm" name="id2691424"></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="id26 84451"></a>9 <a class="indexterm" name="id2691448"></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="id26 84480"></a>14 <a class="indexterm" name="id2691477"></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="id26 84495"></a>19 <a class="indexterm" name="id26 84501"></a>20 <a class="indexterm" name="id26 84508"></a>18 <a class="indexterm" name="id2691491"></a> 19 <a class="indexterm" name="id2691498"></a> 20 <a class="indexterm" name="id2691504"></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="id26 84548"></a>27 <a class="indexterm" name="id2691544"></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="id26 84571"></a>30 <a class="indexterm" name="id2691567"></a> 31 31 In order to create the relevant certificates, we need to become our own Certificate Authority (CA). 32 <sup>[<a name="id26 84581" href="#ftn.id2684581" class="footnote">8</a>]</sup> This is necessary, so we can sign the server certificate.33 </p><p> 34 <a class="indexterm" name="id26 84610"></a>35 We will be using the <a class="ulink" href="http://www.openssl.org" target="_top">OpenSSL</a> <sup>[<a name="id26 84624" href="#ftn.id2684624" 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="id26 84642" href="#ftn.id2684642" class="footnote">10</a>]</sup> presented here, are tailored for <span class="application">OpenLDAP</span>.32 <sup>[<a name="id2691578" href="#ftn.id2691578" class="footnote">8</a>]</sup> This is necessary, so we can sign the server certificate. 33 </p><p> 34 <a class="indexterm" name="id2691607"></a> 35 We will be using the <a class="ulink" href="http://www.openssl.org" target="_top">OpenSSL</a> <sup>[<a name="id2691621" href="#ftn.id2691621" 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="id2691639" href="#ftn.id2691639" 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="id26 84718" href="#ftn.id2684718" class="footnote">11</a>]</sup>54 Now generate the CA:<sup>[<a name="id2691715" href="#ftn.id2691715" 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="id26 85125"></a>212 <a class="indexterm" name="id2692123"></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="id26 85167" href="#ftn.id2685167" class="footnote">12</a>]</sup> option:223 <code class="option">-ZZ</code><sup>[<a name="id2692166" href="#ftn.id2692166" 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="id26 85265"></a>268 <a class="indexterm" name="id2692264"></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.id26 84581" href="#id2684581" 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.id2691578" href="#id2691578" 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.id26 84624" href="#id2684624" class="para">9</a>] </sup>The downside to280 </p></div><div class="footnote"><p><sup>[<a name="ftn.id2691621" href="#id2691621" 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.id26 84642" href="#id2684642" class="para">10</a>] </sup>For information straight from the282 ones are.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2691639" href="#id2691639" 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.id26 84718" href="#id2684718" 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.id2691715" href="#id2691715" 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.id26 85167" href="#id2685167" 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.id2692166" href="#id2692166" 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
r226 r231 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.7 3.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="id2685346"></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#id2685477">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2685695">Commercial Support</a></span></dt></dl></div><p>2 <a class="indexterm" name="id26 85356"></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.74.0"><link rel="home" 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="id2692345"></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#id2692475">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2692694">Commercial Support</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2692354"></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="id26 85372"></a>6 <a class="indexterm" name="id2692371"></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="id26 85403"></a>19 <a class="indexterm" name="id26 85410"></a>20 <a class="indexterm" name="id26 85417"></a>18 <a class="indexterm" name="id2692401"></a> 19 <a class="indexterm" name="id2692408"></a> 20 <a class="indexterm" name="id2692415"></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="id26 85431"></a>26 <a class="indexterm" name="id26 85438"></a>25 <a class="indexterm" name="id2692430"></a> 26 <a class="indexterm" name="id2692437"></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="id26 85453"></a>32 <a class="indexterm" name="id26 85460"></a>33 <a class="indexterm" name="id26 85467"></a>31 <a class="indexterm" name="id2692451"></a> 32 <a class="indexterm" name="id2692458"></a> 33 <a class="indexterm" name="id2692465"></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="id26 85477"></a>Free Support</h2></div></div></div><p>37 <a class="indexterm" name="id26 85485"></a>38 <a class="indexterm" name="id26 85491"></a>39 <a class="indexterm" name="id26 85498"></a>40 <a class="indexterm" name="id26 85505"></a>41 <a class="indexterm" name="id26 85512"></a>42 <a class="indexterm" name="id26 85519"></a>36 </p><div class="sect1" lang="en-US"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692475"></a>Free Support</h2></div></div></div><p> 37 <a class="indexterm" name="id2692483"></a> 38 <a class="indexterm" name="id2692489"></a> 39 <a class="indexterm" name="id2692496"></a> 40 <a class="indexterm" name="id2692503"></a> 41 <a class="indexterm" name="id2692510"></a> 42 <a class="indexterm" name="id2692517"></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="id26 85533"></a>48 <a class="indexterm" name="id26 85540"></a>49 <a class="indexterm" name="id26 85547"></a>50 <a class="indexterm" name="id26 85554"></a>51 <a class="indexterm" name="id26 85560"></a>47 <a class="indexterm" name="id2692531"></a> 48 <a class="indexterm" name="id2692538"></a> 49 <a class="indexterm" name="id2692545"></a> 50 <a class="indexterm" name="id2692552"></a> 51 <a class="indexterm" name="id2692559"></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="id26 85601"></a>59 <a class="indexterm" name="id26 85608"></a>60 <a class="indexterm" name="id26 85615"></a>61 <a class="indexterm" name="id26 85622"></a>58 <a class="indexterm" name="id2692600"></a> 59 <a class="indexterm" name="id2692607"></a> 60 <a class="indexterm" name="id2692614"></a> 61 <a class="indexterm" name="id2692621"></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="id26 85642"></a>70 <a class="indexterm" name="id26 85649"></a>71 <a class="indexterm" name="id26 85656"></a>69 <a class="indexterm" name="id2692641"></a> 70 <a class="indexterm" name="id2692648"></a> 71 <a class="indexterm" name="id2692654"></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="id26 85680"></a>79 <a class="indexterm" name="id2692679"></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="id26 85695"></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="id2692694"></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="id26 85741"></a>88 <a class="indexterm" name="id26 85748"></a>87 <a class="indexterm" name="id2692740"></a> 88 <a class="indexterm" name="id2692747"></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="id26 85774"></a>96 <a class="indexterm" name="id2692773"></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="id26 85791"></a>102 <a class="indexterm" name="id2692790"></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
r226 r231 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.7 3.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#id2615079">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2615303">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615454">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2615513">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2615614">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615897">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2616094">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2616494">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2616949">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#id2619662">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619832">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619953">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620170">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620490">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2620633">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2620726">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#id2622662">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622678">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#id2623255">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623374">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#id2623547">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623568">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623935">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624191">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624451">Error Message: “<span class="quote">Cannot connect under a different Name</span>”</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624564">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624873">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624983">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625020">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625077">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625111">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625127">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625144">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625278">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625549">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625587">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625736">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625765">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625771">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625812">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="id2615079"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26 15087"></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.74.0"><link rel="home" 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="orgname">Danka Deutschland GmbH</span> <span class="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2622046">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2622269">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622420">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2622480">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2622580">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622864">Verifying Configuration with testparm</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623061">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623461">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623916">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#id2626632">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626801">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626923">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627139">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627460">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2627603">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2627696">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using rpcclient</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629628">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629645">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#id2630216">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630335">Always Make First Client Connection as root or printer admin</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2630508">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630529">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630896">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631152">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631412">Error Message: Cannot connect under a different Name</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631526">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631835">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631945">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2631982">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632038">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632072">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632088">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632106">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632239">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632512">The addprinter Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632551">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632700">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632729">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632735">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632776">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="id2622046"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2622054"></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="id26 15101"></a>7 <a class="indexterm" name="id26 15108"></a>8 <a class="indexterm" name="id26 15115"></a>9 <a class="indexterm" name="id26 15122"></a>10 <a class="indexterm" name="id26 15128"></a>11 <a class="indexterm" name="id26 15136"></a>12 <a class="indexterm" name="id26 15142"></a>13 <a class="indexterm" name="id26 15149"></a>14 <a class="indexterm" name="id26 15156"></a>15 <a class="indexterm" name="id26 15163"></a>16 <a class="indexterm" name="id26 15170"></a>17 <a class="indexterm" name="id26 15177"></a>18 <a class="indexterm" name="id26 15184"></a>19 <a class="indexterm" name="id26 15191"></a>6 <a class="indexterm" name="id2622067"></a> 7 <a class="indexterm" name="id2622074"></a> 8 <a class="indexterm" name="id2622081"></a> 9 <a class="indexterm" name="id2622088"></a> 10 <a class="indexterm" name="id2622095"></a> 11 <a class="indexterm" name="id2622102"></a> 12 <a class="indexterm" name="id2622109"></a> 13 <a class="indexterm" name="id2622116"></a> 14 <a class="indexterm" name="id2622122"></a> 15 <a class="indexterm" name="id2622129"></a> 16 <a class="indexterm" name="id2622136"></a> 17 <a class="indexterm" name="id2622143"></a> 18 <a class="indexterm" name="id2622150"></a> 19 <a class="indexterm" name="id2622157"></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="id26 15242"></a>34 <a class="indexterm" name="id26 15248"></a>33 <a class="indexterm" name="id2622208"></a> 34 <a class="indexterm" name="id2622214"></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="id26 15274"></a>41 <a class="indexterm" name="id26 15281"></a>42 <a class="indexterm" name="id26 15288"></a>40 <a class="indexterm" name="id2622240"></a> 41 <a class="indexterm" name="id2622247"></a> 42 <a class="indexterm" name="id2622254"></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="id26 15303"></a>Technical Introduction</h2></div></div></div><p>47 <a class="indexterm" name="id26 15311"></a>48 <a class="indexterm" name="id26 15318"></a>49 <a class="indexterm" name="id26 15324"></a>46 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2622269"></a>Technical Introduction</h2></div></div></div><p> 47 <a class="indexterm" name="id2622277"></a> 48 <a class="indexterm" name="id2622284"></a> 49 <a class="indexterm" name="id2622291"></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="id26 15350"></a>58 <a class="indexterm" name="id26 15357"></a>57 <a class="indexterm" name="id2622316"></a> 58 <a class="indexterm" name="id2622323"></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="id26 15370"></a>62 <a class="indexterm" name="id2622336"></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="id26 15382"></a>66 <a class="indexterm" name="id26 15389"></a>67 <a class="indexterm" name="id26 15396"></a>68 <a class="indexterm" name="id26 15403"></a>65 <a class="indexterm" name="id2622348"></a> 66 <a class="indexterm" name="id2622355"></a> 67 <a class="indexterm" name="id2622362"></a> 68 <a class="indexterm" name="id2622369"></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="id26 15419"></a>75 <a class="indexterm" name="id26 15426"></a>76 <a class="indexterm" name="id26 15433"></a>77 <a class="indexterm" name="id26 15440"></a>74 <a class="indexterm" name="id2622386"></a> 75 <a class="indexterm" name="id2622392"></a> 76 <a class="indexterm" name="id2622399"></a> 77 <a class="indexterm" name="id2622406"></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="id26 15454"></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="id2622420"></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="id26 15513"></a>Printing-Related Configuration Parameters</h3></div></div></div><p>90 <a class="indexterm" name="id26 15522"></a>91 <a class="indexterm" name="id26 15529"></a>92 <a class="indexterm" name="id26 15536"></a>89 configuration settings.</p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2622480"></a>Printing-Related Configuration Parameters</h3></div></div></div><p> 90 <a class="indexterm" name="id2622488"></a> 91 <a class="indexterm" name="id2622495"></a> 92 <a class="indexterm" name="id2622502"></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="id26 15614"></a>Simple Print Configuration</h2></div></div></div><p>107 <a class="indexterm" name="id26 15622"></a>108 <a class="indexterm" name="id26 15629"></a>109 <a class="indexterm" name="id26 15636"></a>110 <a class="indexterm" name="id26 15643"></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="id2622580"></a>Simple Print Configuration</h2></div></div></div><p> 107 <a class="indexterm" name="id2622588"></a> 108 <a class="indexterm" name="id2622595"></a> 109 <a class="indexterm" name="id2622602"></a> 110 <a class="indexterm" name="id2622609"></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="id26 15695"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2615706"></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="id2615727"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2615739"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2615750"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2615762"></a><em class="parameter"><code>writable = no</code></em></td></tr></table></div></div><br class="example-break"><p>117 <a class="indexterm" name="id26 15777"></a>118 <a class="indexterm" name="id26 15784"></a>119 <a class="indexterm" name="id26 15791"></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="id2622661"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2622672"></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="id2622693"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2622705"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2622716"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2622728"></a><em class="parameter"><code>writable = no</code></em></td></tr></table></div></div><br class="example-break"><p> 117 <a class="indexterm" name="id2622743"></a> 118 <a class="indexterm" name="id2622750"></a> 119 <a class="indexterm" name="id2622757"></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="id26 15832"></a>128 <a class="indexterm" name="id26 15840"></a>129 <a class="indexterm" name="id26 15847"></a>127 <a class="indexterm" name="id2622799"></a> 128 <a class="indexterm" name="id2622806"></a> 129 <a class="indexterm" name="id2622813"></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 132 <a class="link" href="smb.conf.5.html#BROWSEABLE" >browseable</a> instead of <a class="link" href="smb.conf.5.html#BROWSABLE">browsable</a>), and spelling is132 <a class="link" href="smb.conf.5.html#BROWSEABLE" target="_top">browseable</a> instead of <a class="link" href="smb.conf.5.html#BROWSABLE" target="_top">browsable</a>), and spelling is 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="id26 15897"></a>Verifying Configuration with <code class="literal">testparm</code></h3></div></div></div><p>136 <a class="indexterm" name="id26 15910"></a>137 <a class="indexterm" name="id26 15917"></a>138 <a class="indexterm" name="id26 15924"></a>139 <a class="indexterm" name="id26 15930"></a>140 <a class="indexterm" name="id26 15937"></a>141 <a class="indexterm" name="id26 15944"></a>142 <a class="indexterm" name="id26 15951"></a>143 <a class="indexterm" name="id26 15958"></a>144 <a class="indexterm" name="id26 15964"></a>145 <a class="indexterm" name="id26 15971"></a>146 <a class="indexterm" name="id26 15978"></a>135 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2622864"></a>Verifying Configuration with <code class="literal">testparm</code></h3></div></div></div><p> 136 <a class="indexterm" name="id2622877"></a> 137 <a class="indexterm" name="id2622884"></a> 138 <a class="indexterm" name="id2622891"></a> 139 <a class="indexterm" name="id2622897"></a> 140 <a class="indexterm" name="id2622904"></a> 141 <a class="indexterm" name="id2622911"></a> 142 <a class="indexterm" name="id2622918"></a> 143 <a class="indexterm" name="id2622925"></a> 144 <a class="indexterm" name="id2622931"></a> 145 <a class="indexterm" name="id2622938"></a> 146 <a class="indexterm" name="id2622945"></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="id26 16094"></a>Rapid Configuration Validation</h3></div></div></div><p>198 <a class="indexterm" name="id26 16102"></a>199 <a class="indexterm" name="id26 16109"></a>200 <a class="indexterm" name="id26 16116"></a>201 <a class="indexterm" name="id26 16123"></a>197 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2623061"></a>Rapid Configuration Validation</h3></div></div></div><p> 198 <a class="indexterm" name="id2623070"></a> 199 <a class="indexterm" name="id2623077"></a> 200 <a class="indexterm" name="id2623084"></a> 201 <a class="indexterm" name="id2623090"></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, 204 try to just comment out the <a class="link" href="smb.conf.5.html#LOADPRINTERS" >load printers</a> parameter. If your 2.2.x system behaves like204 try to just comment out the <a class="link" href="smb.conf.5.html#LOADPRINTERS" target="_top">load printers</a> parameter. If your 2.2.x system behaves like 205 205 mine, you'll see this: 206 206 </p><pre class="screen"> … … 212 212 load printers = Yes 213 213 </pre><p> 214 <a class="indexterm" name="id26 16179"></a>215 <a class="indexterm" name="id26 16186"></a>214 <a class="indexterm" name="id2623146"></a> 215 <a class="indexterm" name="id2623153"></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="id26 16230"></a>230 Only when the parameter is explicitly set to <a class="link" href="smb.conf.5.html#LOADPRINTERS" >load printers = No</a> would229 <a class="indexterm" name="id2623197"></a> 230 Only when the parameter is explicitly set to <a class="link" href="smb.conf.5.html#LOADPRINTERS" target="_top">load printers = No</a> would 231 231 Samba conform with my intentions. So, my strong advice is: 232 232 </p><div class="itemizedlist"><ul type="disc"><li><p>Never rely on commented-out parameters.</p></li><li><p>Always set parameters explicitly as you intend them to … … 238 238 [printers] 239 239 </pre><p> 240 <a class="indexterm" name="id26 16298"></a>241 <a class="indexterm" name="id26 16304"></a>240 <a class="indexterm" name="id2623265"></a> 241 <a class="indexterm" name="id2623272"></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="id26 16409"></a>280 <a class="indexterm" name="id26 16416"></a>281 <a class="indexterm" name="id26 16421"></a>282 <a class="indexterm" name="id26 16427"></a>279 <a class="indexterm" name="id2623376"></a> 280 <a class="indexterm" name="id2623383"></a> 281 <a class="indexterm" name="id2623389"></a> 282 <a class="indexterm" name="id2623394"></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="id26 16467"></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="id2623434"></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="id26 16494"></a>Extended Printing Configuration</h2></div></div></div><p>296 <a class="indexterm" name="id26 16502"></a>297 <a class="indexterm" name="id26 16509"></a>298 <a class="indexterm" name="id26 16516"></a>299 <a class="indexterm" name="id26 16522"></a>295 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623461"></a>Extended Printing Configuration</h2></div></div></div><p> 296 <a class="indexterm" name="id2623469"></a> 297 <a class="indexterm" name="id2623476"></a> 298 <a class="indexterm" name="id2623483"></a> 299 <a class="indexterm" name="id2623490"></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="id26 16596"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2616608"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616620"></a><em class="parameter"><code>show add printer wizard = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616632"></a><em class="parameter"><code>printcap name = /etc/printcap</code></em></td></tr><tr><td><a class="indexterm" name="id2616644"></a><em class="parameter"><code>printer admin = @ntadmin, root</code></em></td></tr><tr><td><a class="indexterm" name="id2616656"></a><em class="parameter"><code>max print jobs = 100</code></em></td></tr><tr><td><a class="indexterm" name="id2616668"></a><em class="parameter"><code>lpq cache time = 20</code></em></td></tr><tr><td><a class="indexterm" name="id2616679"></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="id2616700"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2616712"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616724"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2616735"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2616747"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616758"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616770"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616782"></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="id2616802"></a><em class="parameter"><code>comment = Printer with Restricted Access</code></em></td></tr><tr><td><a class="indexterm" name="id2616814"></a><em class="parameter"><code>path = /var/spool/samba_my_printer</code></em></td></tr><tr><td><a class="indexterm" name="id2616826"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2616838"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616850"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2616861"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2616873"></a><em class="parameter"><code>hosts allow = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2616885"></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="id2616897"></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="id26 16911"></a>309 <a class="indexterm" name="id26 16916"></a>310 <a class="indexterm" name="id26 16922"></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="id2623564"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2623576"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623587"></a><em class="parameter"><code>show add printer wizard = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623600"></a><em class="parameter"><code>printcap name = /etc/printcap</code></em></td></tr><tr><td><a class="indexterm" name="id2623612"></a><em class="parameter"><code>printer admin = @ntadmin, root</code></em></td></tr><tr><td><a class="indexterm" name="id2623624"></a><em class="parameter"><code>max print jobs = 100</code></em></td></tr><tr><td><a class="indexterm" name="id2623635"></a><em class="parameter"><code>lpq cache time = 20</code></em></td></tr><tr><td><a class="indexterm" name="id2623647"></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="id2623668"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2623680"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623691"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2623703"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2623715"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623726"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623738"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623749"></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="id2623770"></a><em class="parameter"><code>comment = Printer with Restricted Access</code></em></td></tr><tr><td><a class="indexterm" name="id2623782"></a><em class="parameter"><code>path = /var/spool/samba_my_printer</code></em></td></tr><tr><td><a class="indexterm" name="id2623794"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2623806"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623818"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623829"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2623841"></a><em class="parameter"><code>hosts allow = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2623852"></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="id2623865"></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="id2623878"></a> 309 <a class="indexterm" name="id2623884"></a> 310 <a class="indexterm" name="id2623889"></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="id26 16949"></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="id2623916"></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="id26 16973"></a>The [global] Section</h4></div></div></div><p>319 <a class="indexterm" name="id26 16981"></a>320 <a class="indexterm" name="id26 16988"></a>321 <a class="indexterm" name="id26 16995"></a>322 <a class="indexterm" name="id26 17002"></a>318 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2623941"></a>The [global] Section</h4></div></div></div><p> 319 <a class="indexterm" name="id2623949"></a> 320 <a class="indexterm" name="id2623956"></a> 321 <a class="indexterm" name="id2623963"></a> 322 <a class="indexterm" name="id2623970"></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 … … 327 327 setting the same value repeatedly. (Within each individual section or share, you may, however, override these 328 328 globally set share settings and specify other values). 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="id26 17069"></a>331 <a class="indexterm" name="id26 17076"></a>332 <a class="indexterm" name="id26 17082"></a>333 <a class="indexterm" name="id26 17089"></a>334 <a class="indexterm" name="id26 17096"></a>335 <a class="indexterm" name="id26 17102"></a>336 <a class="indexterm" name="id26 17109"></a>337 <a class="indexterm" name="id26 17116"></a>338 <a class="indexterm" name="id26 17123"></a>339 <a class="indexterm" name="id26 17129"></a>340 <a class="indexterm" name="id26 17136"></a>341 <a class="indexterm" name="id26 17143"></a>329 </p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd </a></span></dt><dd><p> 330 <a class="indexterm" name="id2624037"></a> 331 <a class="indexterm" name="id2624044"></a> 332 <a class="indexterm" name="id2624050"></a> 333 <a class="indexterm" name="id2624057"></a> 334 <a class="indexterm" name="id2624064"></a> 335 <a class="indexterm" name="id2624071"></a> 336 <a class="indexterm" name="id2624078"></a> 337 <a class="indexterm" name="id2624084"></a> 338 <a class="indexterm" name="id2624091"></a> 339 <a class="indexterm" name="id2624098"></a> 340 <a class="indexterm" name="id2624105"></a> 341 <a class="indexterm" name="id2624112"></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 344 344 subsystem it should expect. Samba supports CUPS, LPD, LPRNG, SYSV, HPUX, AIX, QNX, and PLP. Each of these 345 systems defaults to a different <a class="link" href="smb.conf.5.html#PRINTCOMMAND" >print command</a> (and other queue control commands).345 systems defaults to a different <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a> (and other queue control commands). 346 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="id26 17179"></a>348 <a class="indexterm" name="id26 17186"></a>349 The <a class="link" href="smb.conf.5.html#PRINTING" >printing</a> parameter is normally a service-level parameter. Since it is included347 <a class="indexterm" name="id2624147"></a> 348 <a class="indexterm" name="id2624154"></a> 349 The <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing</a> parameter is normally a service-level parameter. Since it is included 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 </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="id26 17234"></a>354 <a class="indexterm" name="id26 17240"></a>355 <a class="indexterm" name="id26 17246"></a>356 <a class="indexterm" name="id26 17253"></a>352 </p></div></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#LOADPRINTERS" target="_top">load printers = yes </a></span></dt><dd><p> 353 <a class="indexterm" name="id2624202"></a> 354 <a class="indexterm" name="id2624208"></a> 355 <a class="indexterm" name="id2624215"></a> 356 <a class="indexterm" name="id2624222"></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 … … 361 361 <em class="parameter"><code>load printers = no</code></em> setting will allow you to specify each UNIX printer you want to 362 362 share separately, leaving out some you do not want to be publicly visible and available). 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="id26 17302"></a>365 <a class="indexterm" name="id26 17308"></a>366 <a class="indexterm" name="id26 17315"></a>367 <a class="indexterm" name="id26 17322"></a>368 <a class="indexterm" name="id26 17328"></a>363 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#SHOWADDPRINTERWIZARD" target="_top">show add printer wizard = yes </a></span></dt><dd><p> 364 <a class="indexterm" name="id2624270"></a> 365 <a class="indexterm" name="id2624277"></a> 366 <a class="indexterm" name="id2624284"></a> 367 <a class="indexterm" name="id2624290"></a> 368 <a class="indexterm" name="id2624297"></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 … … 374 374 the <em class="parameter"><code>[print$]</code></em> share and associate it with a printer (if the respective queue exists 375 375 before the action), or exchange a printer's driver for any other previously uploaded driver. 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="id26 17411"></a>376 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#MAXPRINTJOBS" target="_top">max print jobs = 100 </a></span></dt><dd><p> 377 <a class="indexterm" name="id2624379"></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 380 380 returned by Samba to the client. A setting of zero (the default) means there is <span class="emphasis"><em>no</em></span> limit 381 381 at all. 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="id26 17447"></a>384 <a class="indexterm" name="id26 17453"></a>385 <a class="indexterm" name="id26 17460"></a>382 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTCAPNAME" target="_top">printcap name = /etc/printcap </a></span></dt><dd><p> 383 <a class="indexterm" name="id2624415"></a> 384 <a class="indexterm" name="id2624422"></a> 385 <a class="indexterm" name="id2624428"></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 </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="id26 17498"></a>391 <a class="indexterm" name="id26 17504"></a>392 <a class="indexterm" name="id26 17511"></a>393 <a class="indexterm" name="id26 17517"></a>389 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin = @ntadmin </a></span></dt><dd><p> 390 <a class="indexterm" name="id2624466"></a> 391 <a class="indexterm" name="id2624473"></a> 392 <a class="indexterm" name="id2624479"></a> 393 <a class="indexterm" name="id2624486"></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 396 implicitly always a <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a>. The <code class="literal">@</code> sign precedes group names396 implicitly always a <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a>. The <code class="literal">@</code> sign precedes group names 397 397 in the <code class="filename">/etc/group</code>. A printer admin can do anything to printers via the remote 398 398 administration interfaces offered by MS-RPC (see <a class="link" href="classicalprinting.html#cups-msrpc" title="Printing Developments Since Samba-2.2">Printing Developments Since 399 Samba-2.2</a>). In larger installations, the <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a> parameter is normally a399 Samba-2.2</a>). In larger installations, the <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> parameter is normally a 400 400 per-share parameter. This permits different groups to administer each printer share. 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="id26 17599"></a>403 <a class="indexterm" name="id26 17605"></a>401 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#LPQCACHETIME" target="_top">lpq cache time = 20 </a></span></dt><dd><p> 402 <a class="indexterm" name="id2624567"></a> 403 <a class="indexterm" name="id2624573"></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 </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="id26 17634"></a>406 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#USECLIENTDRIVER" target="_top">use client driver = no </a></span></dt><dd><p> 407 <a class="indexterm" name="id2624602"></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="id26 17686"></a>415 <a class="indexterm" name="id26 17692"></a>414 <a class="indexterm" name="id2624654"></a> 415 <a class="indexterm" name="id2624661"></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 … … 420 420 settings that should apply as default to all printers. (For more details, see the <code class="filename">smb.conf</code> man page.) 421 421 Settings inside this container must be share-level parameters. 422 </p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#COMMENT" >comment = All printers </a></span></dt><dd><p>423 The <a class="link" href="smb.conf.5.html#COMMENT" >comment</a> is shown next to the share if422 </p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#COMMENT" target="_top">comment = All printers </a></span></dt><dd><p> 423 The <a class="link" href="smb.conf.5.html#COMMENT" target="_top">comment</a> is shown next to the share if 424 424 a client queries the server, either via <span class="guiicon">Network Neighborhood</span> or with 425 425 the <code class="literal">net view</code> command, to list available shares. 426 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTABLE" >printable = yes </a></span></dt><dd><p>426 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTABLE" target="_top">printable = yes </a></span></dt><dd><p> 427 427 The <em class="parameter"><code>[printers]</code></em> service <span class="emphasis"><em>must</em></span> 428 428 be declared as printable. If you specify otherwise, smbd will refuse to load at 429 429 startup. This parameter allows connected clients to open, write to, and submit spool files 430 into the directory specified with the <a class="link" href="smb.conf.5.html#PATH" >path</a>430 into the directory specified with the <a class="link" href="smb.conf.5.html#PATH" target="_top">path</a> 431 431 parameter for this service. It is used by Samba to differentiate printer shares from 432 432 file shares. 433 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PATH" >path = /var/spool/samba </a></span></dt><dd><p>433 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PATH" target="_top">path = /var/spool/samba </a></span></dt><dd><p> 434 434 Must point to a directory used by Samba to spool incoming print files. <span class="emphasis"><em>It 435 435 must not be the same as the spool directory specified in the configuration of your UNIX 436 436 print subsystem!</em></span> The path typically points to a directory that is world 437 437 writable, with the <span class="emphasis"><em>sticky</em></span> bit set to it. 438 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#BROWSEABLE" >browseable = no </a></span></dt><dd><p>438 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#BROWSEABLE" target="_top">browseable = no </a></span></dt><dd><p> 439 439 Is always set to <code class="constant">no</code> if 440 <a class="link" href="smb.conf.5.html#PRINTABLE" >printable = yes</a>. It makes440 <a class="link" href="smb.conf.5.html#PRINTABLE" target="_top">printable = yes</a>. It makes 441 441 the <em class="parameter"><code>[printer]</code></em> share itself invisible in the list of 442 442 available shares in a <code class="literal">net view</code> command or in the Explorer browse 443 443 list. (You will of course see the individual printers.) 444 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#GUESTOK" >guest ok = yes </a></span></dt><dd><p>444 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#GUESTOK" target="_top">guest ok = yes </a></span></dt><dd><p> 445 445 If this parameter is set to <code class="constant">yes</code>, no password is required to 446 446 connect to the printer's service. Access will be granted with the privileges of the 447 <a class="link" href="smb.conf.5.html#GUESTACCOUNT" >guest account</a>. On many systems the guest447 <a class="link" href="smb.conf.5.html#GUESTACCOUNT" target="_top">guest account</a>. On many systems the guest 448 448 account will map to a user named "nobody." This user will usually be found 449 449 in the UNIX passwd file with an empty password, but with no valid UNIX login. On some … … 453 453 </p><p> 454 454 <strong class="userinput"><code>lpr -P printername /etc/motd</code></strong> 455 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PUBLIC" >public = yes </a></span></dt><dd><p>456 Is a synonym for <a class="link" href="smb.conf.5.html#GUESTOK" >guest ok = yes</a>.457 Since we have <a class="link" href="smb.conf.5.html#GUESTOK" >guest ok = yes</a>, it455 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PUBLIC" target="_top">public = yes </a></span></dt><dd><p> 456 Is a synonym for <a class="link" href="smb.conf.5.html#GUESTOK" target="_top">guest ok = yes</a>. 457 Since we have <a class="link" href="smb.conf.5.html#GUESTOK" target="_top">guest ok = yes</a>, it 458 458 really does not need to be here. (This leads to the interesting question, “<span class="quote">What if I 459 459 by accident have two contradictory settings for the same share?</span>” The answer is that the … … 462 462 lines for the <em class="parameter"><code>guest account</code></em> parameter with different usernames, 463 463 and then run testparm to see which one is actually used by Samba.) 464 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#READONLY" >read only = yes </a></span></dt><dd><p>464 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#READONLY" target="_top">read only = yes </a></span></dt><dd><p> 465 465 Normally (for other types of shares) prevents users from creating or modifying files 466 466 in the service's directory. However, in a <span class="emphasis"><em>printable</em></span> service, it is 467 467 <span class="emphasis"><em>always</em></span> allowed to write to the directory (if user privileges allow the 468 468 connection), but only via print spooling operations. Normal write operations are not permitted. 469 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#WRITABLE" >writable = no </a></span></dt><dd><p>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="id26 18079"></a>Any [my_printer_name] Section</h4></div></div></div><p>472 <a class="indexterm" name="id26 18087"></a>473 <a class="indexterm" name="id26 18094"></a>469 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#WRITABLE" target="_top">writable = no </a></span></dt><dd><p> 470 Is a synonym for <a class="link" href="smb.conf.5.html#READONLY" target="_top">read only = yes</a>. 471 </p></dd></dl></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2625047"></a>Any [my_printer_name] Section</h4></div></div></div><p> 472 <a class="indexterm" name="id2625056"></a> 473 <a class="indexterm" name="id2625062"></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 parameter <a class="link" href="smb.conf.5.html#PRINTABLE" >printable = yes</a> Samba will configure it as a printer share.475 parameter <a class="link" href="smb.conf.5.html#PRINTABLE" target="_top">printable = yes</a> Samba will configure it as a printer share. 476 476 Windows 9x/Me clients may have problems with connecting or loading printer drivers if the share name has more 477 477 than eight characters. Do not name a printer share with a name that may conflict with an existing user or file 478 478 share name. On client connection requests, Samba always tries to find file shares with that name first. If it 479 479 finds one, it will connect to this and will not connect to a printer with the same name! 480 </p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#COMMENT" >comment = Printer with Restricted Access </a></span></dt><dd><p>480 </p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#COMMENT" target="_top">comment = Printer with Restricted Access </a></span></dt><dd><p> 481 481 The comment says it all. 482 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PATH" >path = /var/spool/samba_my_printer </a></span></dt><dd><p>482 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PATH" target="_top">path = /var/spool/samba_my_printer </a></span></dt><dd><p> 483 483 Sets the spooling area for this printer to a directory other than the default. It is not 484 484 necessary to set it differently, but the option is available. 485 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin = kurt </a></span></dt><dd><p>485 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin = kurt </a></span></dt><dd><p> 486 486 The printer admin definition is different for this explicitly defined printer share from the general 487 487 <em class="parameter"><code>[printers]</code></em> share. It is not a requirement; we did it to show that it is possible. 488 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#BROWSEABLE" >browseable = yes </a></span></dt><dd><p>488 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#BROWSEABLE" target="_top">browseable = yes </a></span></dt><dd><p> 489 489 This makes the printer browseable so the clients may conveniently find it when browsing the 490 490 <span class="guiicon">Network Neighborhood</span>. 491 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTABLE" >printable = yes </a></span></dt><dd><p>491 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTABLE" target="_top">printable = yes </a></span></dt><dd><p> 492 492 See <a class="link" href="classicalprinting.html#ptrsect" title="The [printers] Section">Section 20.4.1.2</a>. 493 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#WRITABLE" >writable = no </a></span></dt><dd><p>493 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#WRITABLE" target="_top">writable = no </a></span></dt><dd><p> 494 494 See <a class="link" href="classicalprinting.html#ptrsect" title="The [printers] Section">Section 20.4.1.2</a>. 495 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#HOSTSALLOW" >hosts allow = 10.160.50.,10.160.51. </a></span></dt><dd><p>496 Here we exercise a certain degree of access control by using the <a class="link" href="smb.conf.5.html#HOSTSALLOW" >hosts allow</a>497 and <a class="link" href="smb.conf.5.html#HOSTSDENY" >hosts deny</a> parameters. This is not by any means a safe bet. It is not a495 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#HOSTSALLOW" target="_top">hosts allow = 10.160.50.,10.160.51. </a></span></dt><dd><p> 496 Here we exercise a certain degree of access control by using the <a class="link" href="smb.conf.5.html#HOSTSALLOW" target="_top">hosts allow</a> 497 and <a class="link" href="smb.conf.5.html#HOSTSDENY" target="_top">hosts deny</a> parameters. This is not by any means a safe bet. It is not a 498 498 way to secure your printers. This line accepts all clients from a certain subnet in a first evaluation of 499 499 access control. 500 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#HOSTSDENY" >hosts deny = turbo_xp,10.160.50.23,10.160.51.60 </a></span></dt><dd><p>500 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#HOSTSDENY" target="_top">hosts deny = turbo_xp,10.160.50.23,10.160.51.60 </a></span></dt><dd><p> 501 501 All listed hosts are not allowed here (even if they belong to the allowed subnets). As 502 502 you can see, you could name IP addresses as well as NetBIOS hostnames here. 503 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#GUESTOK" >guest ok = no </a></span></dt><dd><p>503 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#GUESTOK" target="_top">guest ok = no </a></span></dt><dd><p> 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="id26 18374"></a>Print Commands</h4></div></div></div><p>506 <a class="indexterm" name="id26 18382"></a>507 <a class="indexterm" name="id26 18388"></a>508 <a class="indexterm" name="id26 18395"></a>509 <a class="indexterm" name="id26 18402"></a>505 </p></dd></dl></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2625342"></a>Print Commands</h4></div></div></div><p> 506 <a class="indexterm" name="id2625350"></a> 507 <a class="indexterm" name="id2625356"></a> 508 <a class="indexterm" name="id2625363"></a> 509 <a class="indexterm" name="id2625370"></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 512 512 that have been placed into the Samba print spool directory for that printer. (That spool directory was, 513 if you remember, set up with the <a class="link" href="smb.conf.5.html#PATH" >path</a> parameter). Typically,513 if you remember, set up with the <a class="link" href="smb.conf.5.html#PATH" target="_top">path</a> parameter). Typically, 514 514 this command will submit the spool file to the Samba host's print subsystem, using the suitable system 515 515 print command. But there is no requirement that this needs to be the case. For debugging or … … 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="id26 18450"></a>Default UNIX System Printing Commands</h4></div></div></div><p>522 <a class="indexterm" name="id26 18457"></a>521 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2625418"></a>Default UNIX System Printing Commands</h4></div></div></div><p> 522 <a class="indexterm" name="id2625426"></a> 523 523 You learned earlier that Samba, in most cases, uses its built-in settings for many parameters if it cannot 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> parameter524 find an explicitly stated one in its configuration file. The same is true for the <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a>. The default print command varies depending on the <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing</a> parameter 525 525 setting. In the commands listed in <a class="link" href="classicalprinting.html#printOptions" title="Table 21.1. Default Printing Settings">Default Printing Settings</a> , you will 526 526 notice some parameters of the form <span class="emphasis"><em>%X</em></span> where <span class="emphasis"><em>X</em></span> is <span class="emphasis"><em>p, s, … … 528 528 explained in more detail in <a class="link" href="classicalprinting.html#printOptions" title="Table 21.1. Default Printing Settings">Default Printing Settings</a> presents an overview 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 </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="id26 18921"></a>532 <a class="indexterm" name="id26 18928"></a>533 <a class="indexterm" name="id26 18934"></a>534 <a class="indexterm" name="id26 18941"></a>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" target="_top">printing = bsd|aix|lprng|plp</a></td><td align="left">print command is <code class="literal">lpr -r -P%p %s</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv|hpux</a></td><td align="left">print command is <code class="literal">lp -c -P%p %s; rm %s</code></td></tr><tr><td align="left"> <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = qnx</a></td><td align="left">print command is <code class="literal">lp -r -P%p -s %s</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd|aix|lprng|plp</a></td><td align="left">lpq command is <code class="literal">lpq -P%p</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv|hpux</a></td><td align="left">lpq command is <code class="literal">lpstat -o%p</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = qnx</a></td><td align="left">lpq command is <code class="literal">lpq -P%p</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd|aix|lprng|plp</a></td><td align="left">lprm command is <code class="literal">lprm -P%p %j</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv|hpux</a></td><td align="left">lprm command is <code class="literal">cancel %p-%j</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = qnx</a></td><td align="left">lprm command is <code class="literal">cancel %p-%j</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd|aix|lprng|plp</a></td><td align="left">lppause command is <code class="literal">lp -i %p-%j -H hold</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv|hpux</a></td><td align="left">lppause command (...is empty)</td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = qnx</a></td><td align="left">lppause command (...is empty)</td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd|aix|lprng|plp</a></td><td align="left">lpresume command is <code class="literal">lp -i %p-%j -H resume</code></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = sysv|hpux</a></td><td align="left">lpresume command (...is empty)</td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = qnx</a></td><td align="left">lpresume command (...is empty)</td></tr></tbody></table></div></div><br class="table-break"><p> 531 <a class="indexterm" name="id2625890"></a> 532 <a class="indexterm" name="id2625896"></a> 533 <a class="indexterm" name="id2625903"></a> 534 <a class="indexterm" name="id2625910"></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 submit jobs. (It is a good idea also to set <a class="link" href="smb.conf.5.html#PRINTCAP" >printcap = cups</a> in case your536 submit jobs. (It is a good idea also to set <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = cups</a> in case your 537 537 <code class="filename">cupsd.conf</code> is set to write its autogenerated printcap file to an unusual place). 538 538 Otherwise, Samba maps to the System V printing commands with the -oraw option for printing; that is, it uses 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="id26 18994"></a>Custom Print Commands</h4></div></div></div><p>542 <a class="indexterm" name="id26 19002"></a>543 <a class="indexterm" name="id26 19008"></a>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 used541 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2625962"></a>Custom Print Commands</h4></div></div></div><p> 542 <a class="indexterm" name="id2625970"></a> 543 <a class="indexterm" name="id2625977"></a> 544 After a print job has finished spooling to a service, the <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a> will be used 545 545 by Samba via a system() call to process the spool file. Usually the command specified will submit the spool 546 546 file to the host's printing subsystem. But there is no requirement at all that this must be the case. The … … 548 548 that the spool file is deleted after it has been processed. 549 549 </p><p> 550 <a class="indexterm" name="id26 19038"></a>551 <a class="indexterm" name="id26 19045"></a>552 <a class="indexterm" name="id26 19052"></a>553 <a class="indexterm" name="id26 19058"></a>550 <a class="indexterm" name="id2626007"></a> 551 <a class="indexterm" name="id2626014"></a> 552 <a class="indexterm" name="id2626020"></a> 553 <a class="indexterm" name="id2626027"></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="id26 19157"></a>563 <a class="indexterm" name="id2626127"></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="id26 19193"></a>570 <a class="indexterm" name="id26 19200"></a>569 <a class="indexterm" name="id2626162"></a> 570 <a class="indexterm" name="id2626170"></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="id26 19222"></a>577 <a class="indexterm" name="id26 19229"></a>576 <a class="indexterm" name="id2626192"></a> 577 <a class="indexterm" name="id2626199"></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="id26 19259"></a>583 <a class="indexterm" name="id26 19266"></a>584 <a class="indexterm" name="id26 19273"></a>582 <a class="indexterm" name="id2626228"></a> 583 <a class="indexterm" name="id2626235"></a> 584 <a class="indexterm" name="id2626242"></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 587 587 usual. (The syntax to include a UNIX environment variable <em class="parameter"><code>$variable</code></em> 588 588 in the Samba print command is <em class="parameter"><code>%$variable</code></em>.) To give you a working 589 <a class="link" href="smb.conf.5.html#PRINTCOMMAND" >print command</a> example, the following will log a print job589 <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a> example, the following will log a print job 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="id26 19328"></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="id2626297"></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 files on your system. The default for the <a class="link" href="smb.conf.5.html#PRINTCOMMAND" >print command</a>595 parameter varies depending on the setting of the <a class="link" href="smb.conf.5.html#PRINTING" >printing</a>594 files on your system. The default for the <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a> 595 parameter varies depending on the setting of the <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing</a> 596 596 parameter. Another example is: 597 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id26 19379"></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="id26 19405"></a>599 <a class="indexterm" name="id26 19412"></a>600 <a class="indexterm" name="id26 19418"></a>597 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2626348"></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="id2626375"></a> 599 <a class="indexterm" name="id2626381"></a> 600 <a class="indexterm" name="id2626388"></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="id26 19454"></a>609 <a class="indexterm" name="id2626423"></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="id26 19470"></a>613 <a class="indexterm" name="id2626440"></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="id26 19493"></a>618 <a class="indexterm" name="id26 19500"></a>619 <a class="indexterm" name="id26 19507"></a>620 <a class="indexterm" name="id26 19514"></a>621 <a class="indexterm" name="id26 19521"></a>617 <a class="indexterm" name="id2626463"></a> 618 <a class="indexterm" name="id2626470"></a> 619 <a class="indexterm" name="id2626477"></a> 620 <a class="indexterm" name="id2626484"></a> 621 <a class="indexterm" name="id2626490"></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="id26 19541"></a>627 <a class="indexterm" name="id26 19547"></a>626 <a class="indexterm" name="id2626511"></a> 627 <a class="indexterm" name="id2626517"></a> 628 628 Support for NT Access Control Lists (ACL) on printer objects. 629 629 </p></li><li><p> 630 <a class="indexterm" name="id26 19560"></a>630 <a class="indexterm" name="id2626530"></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="id26 19580"></a>635 <a class="indexterm" name="id26 19586"></a>634 <a class="indexterm" name="id2626549"></a> 635 <a class="indexterm" name="id2626556"></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="id26 19598"></a>638 <a class="indexterm" name="id2626568"></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="id26 19615"></a>645 <a class="indexterm" name="id26 19622"></a>646 <a class="indexterm" name="id26 19628"></a>647 <a class="indexterm" name="id26 19635"></a>648 <a class="indexterm" name="id26 19642"></a>644 <a class="indexterm" name="id2626585"></a> 645 <a class="indexterm" name="id2626592"></a> 646 <a class="indexterm" name="id2626598"></a> 647 <a class="indexterm" name="id2626605"></a> 648 <a class="indexterm" name="id2626612"></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="id26 19662"></a>Point'n'Print Client Drivers on Samba Servers</h3></div></div></div><p>656 <a class="indexterm" name="id26 19671"></a>655 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2626632"></a>Point'n'Print Client Drivers on Samba Servers</h3></div></div></div><p> 656 <a class="indexterm" name="id2626640"></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="id26 19689"></a>662 <a class="indexterm" name="id26 19696"></a>661 <a class="indexterm" name="id2626658"></a> 662 <a class="indexterm" name="id2626665"></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="id26 19715"></a>669 <a class="indexterm" name="id26 19722"></a>668 <a class="indexterm" name="id2626685"></a> 669 <a class="indexterm" name="id2626692"></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="id26 19804"></a>686 <a class="indexterm" name="id26 19811"></a>685 <a class="indexterm" name="id2626774"></a> 686 <a class="indexterm" name="id2626781"></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="id26 19832"></a>The Obsoleted [printer$] Section</h3></div></div></div><p>693 <a class="indexterm" name="id26 19840"></a>694 <a class="indexterm" name="id26 19847"></a>692 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2626801"></a>The Obsoleted [printer$] Section</h3></div></div></div><p> 693 <a class="indexterm" name="id2626809"></a> 694 <a class="indexterm" name="id2626816"></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="id26 19891"></a>705 <a class="indexterm" name="id26 19898"></a>706 <a class="indexterm" name="id26 19905"></a>704 <a class="indexterm" name="id2626861"></a> 705 <a class="indexterm" name="id2626868"></a> 706 <a class="indexterm" name="id2626875"></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="id26 19953"></a>Creating the [print$] Share</h3></div></div></div><p>717 <a class="indexterm" name="id26 19961"></a>716 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2626923"></a>Creating the [print$] Share</h3></div></div></div><p> 717 <a class="indexterm" name="id2626931"></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 … … 723 723 You should modify the server's file to add the global parameters and create the 724 724 <em class="parameter"><code>[print$]</code></em> file share (of course, some of the parameter values, such 725 as <a class="link" href="smb.conf.5.html#PATH" >path</a>, are arbitrary and should be replaced with appropriate values for your725 as <a class="link" href="smb.conf.5.html#PATH" target="_top">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="id262 0045"></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="id2620082"></a><em class="parameter"><code>comment = Printer Driver Download Area</code></em></td></tr><tr><td><a class="indexterm" name="id2620093"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2620105"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2620117"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2620128"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2620140"></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="id2627015"></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="id2627052"></a><em class="parameter"><code>comment = Printer Driver Download Area</code></em></td></tr><tr><td><a class="indexterm" name="id2627063"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2627074"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2627086"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2627098"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2627109"></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 <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="id262 0170"></a>[print$] Stanza Parameters</h3></div></div></div><p>731 <a class="indexterm" name="id262 0178"></a>732 <a class="indexterm" name="id262 0185"></a>733 <a class="indexterm" name="id262 0192"></a>734 <a class="indexterm" name="id262 0198"></a>735 <a class="indexterm" name="id262 0205"></a>729 <a class="link" href="smb.conf.5.html#PATH" target="_top">path</a> parameter exists on the UNIX file system. 730 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2627139"></a>[print$] Stanza Parameters</h3></div></div></div><p> 731 <a class="indexterm" name="id2627147"></a> 732 <a class="indexterm" name="id2627154"></a> 733 <a class="indexterm" name="id2627161"></a> 734 <a class="indexterm" name="id2627168"></a> 735 <a class="indexterm" name="id2627175"></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. 738 738 The following parameters are frequently needed in this share section: 739 </p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#COMMENT" >comment = Printer Driver Download Area </a></span></dt><dd><p>739 </p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#COMMENT" target="_top">comment = Printer Driver Download Area </a></span></dt><dd><p> 740 740 The comment appears next to the share name if it is listed in a share list (usually Windows 741 741 clients will not see it, but it will also appear up in a <code class="literal">smbclient -L sambaserver 742 742 </code> output). 743 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PATH" >path = /etc/samba/printers </a></span></dt><dd><p>743 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PATH" target="_top">path = /etc/samba/printers </a></span></dt><dd><p> 744 744 The path to the location of the Windows driver file deposit from the UNIX point of view. 745 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#BROWSEABLE" >browseable = no </a></span></dt><dd><p>745 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#BROWSEABLE" target="_top">browseable = no </a></span></dt><dd><p> 746 746 Makes the <em class="parameter"><code>[print$]</code></em> share invisible to clients from the 747 747 <span class="guimenu">Network Neighborhood</span>. By excuting from a <code class="literal">cmd</code> shell: … … 751 751 you can still mount it from any client. This can also be done from the 752 752 <span class="guimenu">Connect network drive menu></span> from Windows Explorer. 753 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#GUESTOK" >guest ok = yes </a></span></dt><dd><p>753 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#GUESTOK" target="_top">guest ok = yes </a></span></dt><dd><p> 754 754 Gives read-only access to this share for all guest users. Access may be granted to 755 755 download and install printer drivers on clients. The requirement for <em class="parameter"><code>guest ok … … 762 762 access is not necessary. Of course, in a workgroup environment where you just want 763 763 to print without worrying about silly accounts and security, then configure the share for 764 guest access. You should consider adding <a class="link" href="smb.conf.5.html#MAPTOGUEST" >map to guest = Bad User</a>764 guest access. You should consider adding <a class="link" href="smb.conf.5.html#MAPTOGUEST" target="_top">map to guest = Bad User</a> 765 765 in the <em class="parameter"><code>[global]</code></em> section as well. Make sure you understand what this 766 766 parameter does before using it. 767 </p></div></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#READONLY" >read only = yes </a></span></dt><dd><p>767 </p></div></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#READONLY" target="_top">read only = yes </a></span></dt><dd><p> 768 768 Because we do not want everybody to upload driver files (or even change driver settings), 769 769 we tagged this share as not writable. 770 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#WRITELIST" >write list = @ntadmin, root </a></span></dt><dd><p>770 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#WRITELIST" target="_top">write list = @ntadmin, root </a></span></dt><dd><p> 771 771 The <em class="parameter"><code>[print$]</code></em> was made read-only by the previous 772 772 setting so we should create a <em class="parameter"><code>write list</code></em> entry also. UNIX … … 776 776 account in this setting. Check the file system permissions to make sure these accounts 777 777 can copy files to the share. If this is a non-root account, then the account should also 778 be mentioned in the global <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a>778 be mentioned in the global <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">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="id262 0490"></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="id2627460"></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> 783 service (i.e., the UNIX directory named by the <a class="link" href="smb.conf.5.html#PATH" >path</a>783 service (i.e., the UNIX directory named by the <a class="link" href="smb.conf.5.html#PATH" target="_top">path</a> 784 784 parameter). These correspond to each of the supported client architectures. Samba follows this model as 785 785 well. Just like the name of the <em class="parameter"><code>[print$]</code></em> share itself, the subdirectories … … 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="id262 0633"></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="id2627603"></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="id262 0726"></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="id2627696"></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 … … 855 855 Once the APW is started, the procedure is exactly the same as the one you are familiar with in Windows (we 856 856 assume here that you are familiar with the printer driver installations procedure on Windows NT). Make sure 857 your connection is, in fact, set up as a user with <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a>857 your connection is, in fact, set up as a user with <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> 858 858 privileges (if in doubt, use <code class="literal">smbstatus</code> to check for this). If you wish to install 859 859 printer drivers for client operating systems other than <span class="application">Windows NT x86</span>, … … 861 861 </p><p> 862 862 Assuming you have connected with an administrative (or root) account (as named by the 863 <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a> parameter), you will also be able to modify863 <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> parameter), you will also be able to modify 864 864 other printer properties such as ACLs and default device settings using this dialog. For the default 865 865 device settings, please consider the advice given further in <a class="link" href="classicalprinting.html#inst-rpc" title="Installing Print Drivers Using rpcclient">Installing … … 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 1002"></a>Identifying Driver Files</h4></div></div></div><p>883 <a class="indexterm" name="id262 1010"></a>884 <a class="indexterm" name="id262 1017"></a>885 <a class="indexterm" name="id262 1024"></a>882 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2627972"></a>Identifying Driver Files</h4></div></div></div><p> 883 <a class="indexterm" name="id2627980"></a> 884 <a class="indexterm" name="id2627987"></a> 885 <a class="indexterm" name="id2627994"></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="id262 1054"></a>893 <a class="indexterm" name="id2628024"></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="id262 1081"></a>900 <a class="indexterm" name="id2628046"></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="id262 1138"></a>909 <a class="indexterm" name="id262 1144"></a>910 <a class="indexterm" name="id262 1151"></a>908 <a class="indexterm" name="id2628103"></a> 909 <a class="indexterm" name="id2628110"></a> 910 <a class="indexterm" name="id2628117"></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="id262 1267"></a>952 <a class="indexterm" name="id262 1273"></a>953 <a class="indexterm" name="id262 1280"></a>954 <a class="indexterm" name="id262 1287"></a>951 <a class="indexterm" name="id2628232"></a> 952 <a class="indexterm" name="id2628239"></a> 953 <a class="indexterm" name="id2628246"></a> 954 <a class="indexterm" name="id2628253"></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="id262 1335"></a>965 <a class="indexterm" name="id262 1342"></a>966 <a class="indexterm" name="id262 1349"></a>964 <a class="indexterm" name="id2628301"></a> 965 <a class="indexterm" name="id2628308"></a> 966 <a class="indexterm" name="id2628315"></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="id262 1413"></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="id2628378"></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="id262 1520"></a>1002 <a class="indexterm" name="id2628487"></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="id262 1558"></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="id2628524"></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="id262 1637"></a>1021 <a class="indexterm" name="id262 1644"></a>1020 <a class="indexterm" name="id2628604"></a> 1021 <a class="indexterm" name="id2628610"></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="id262 1716"></a>1059 <a class="indexterm" name="id262 1723"></a>1060 <a class="indexterm" name="id262 1730"></a>1058 <a class="indexterm" name="id2628683"></a> 1059 <a class="indexterm" name="id2628690"></a> 1060 <a class="indexterm" name="id2628697"></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="id262 1776"></a><code class="literal">smbclient</code> to Confirm Driver Installation</h4></div></div></div><p>1068 <a class="indexterm" name="id262 1789"></a>1069 <a class="indexterm" name="id262 1796"></a>1067 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2628743"></a><code class="literal">smbclient</code> to Confirm Driver Installation</h4></div></div></div><p> 1068 <a class="indexterm" name="id2628756"></a> 1069 <a class="indexterm" name="id2628763"></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="id262 1870"></a>1111 <a class="indexterm" name="id262 1877"></a>1112 <a class="indexterm" name="id262 1884"></a>1110 <a class="indexterm" name="id2628837"></a> 1111 <a class="indexterm" name="id2628844"></a> 1112 <a class="indexterm" name="id2628851"></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="id262 1913"></a>Running <code class="literal">rpcclient</code> with <code class="literal">adddriver</code></h4></div></div></div><p>1121 <a class="indexterm" name="id262 1932"></a>1122 <a class="indexterm" name="id262 1938"></a>1123 <a class="indexterm" name="id262 1945"></a>1120 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2628880"></a>Running <code class="literal">rpcclient</code> with <code class="literal">adddriver</code></h4></div></div></div><p> 1121 <a class="indexterm" name="id2628898"></a> 1122 <a class="indexterm" name="id2628905"></a> 1123 <a class="indexterm" name="id2628912"></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 2000"></a>1148 <a class="indexterm" name="id262 2007"></a>1149 <a class="indexterm" name="id262 2014"></a>1147 <a class="indexterm" name="id2628967"></a> 1148 <a class="indexterm" name="id2628974"></a> 1149 <a class="indexterm" name="id2628981"></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="id262 2037"></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="id2629004"></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="id262 2179"></a>Check Samba for Driver Recognition</h4></div></div></div><p>1202 <a class="indexterm" name="id262 2187"></a>1201 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2629146"></a>Check Samba for Driver Recognition</h4></div></div></div><p> 1202 <a class="indexterm" name="id2629154"></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="id262 2205"></a>1208 <a class="indexterm" name="id262 2212"></a>1209 <a class="indexterm" name="id262 2219"></a>1210 <a class="indexterm" name="id262 2226"></a>1211 <a class="indexterm" name="id262 2232"></a>1207 <a class="indexterm" name="id2629171"></a> 1208 <a class="indexterm" name="id2629178"></a> 1209 <a class="indexterm" name="id2629185"></a> 1210 <a class="indexterm" name="id2629192"></a> 1211 <a class="indexterm" name="id2629199"></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="id262 2272"></a>1221 <a class="indexterm" name="id2629239"></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="id262 2406"></a>Specific Driver Name Flexibility</h4></div></div></div><p>1251 <a class="indexterm" name="id262 2415"></a>1250 </p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2629373"></a>Specific Driver Name Flexibility</h4></div></div></div><p> 1251 <a class="indexterm" name="id2629381"></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="id262 2462"></a>1275 <a class="indexterm" name="id262 2469"></a>1276 <a class="indexterm" name="id262 2476"></a>1274 <a class="indexterm" name="id2629429"></a> 1275 <a class="indexterm" name="id2629436"></a> 1276 <a class="indexterm" name="id2629442"></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="id262 2521"></a>Running <code class="literal">rpcclient</code> with <code class="literal">setdriver</code></h4></div></div></div><p>1284 <a class="indexterm" name="id262 2539"></a>1285 <a class="indexterm" name="id262 2546"></a>1283 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2629487"></a>Running <code class="literal">rpcclient</code> with <code class="literal">setdriver</code></h4></div></div></div><p> 1284 <a class="indexterm" name="id2629506"></a> 1285 <a class="indexterm" name="id2629513"></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="id262 2662"></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="id2629628"></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="id262 2678"></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="id2629645"></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 … … 1321 1321 user</em></span> nobody. In a DOS box type: 1322 1322 </p><p><strong class="userinput"><code>net use \\<em class="replaceable"><code>SAMBA-SERVER</code></em>\print$ /user:root</code></strong></p><p> 1323 Replace root, if needed, by another valid <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a> user as given in1323 Replace root, if needed, by another valid <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> user as given in 1324 1324 the definition. Should you already be connected as a different user, you will get an error message. There 1325 1325 is no easy way to get rid of that connection, because Windows does not seem to know a concept of logging … … 1348 1348 and Faxes</span>). 1349 1349 </p><p> 1350 <a class="indexterm" name="id262 2855"></a>1350 <a class="indexterm" name="id2629822"></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="id262 2916"></a>1362 <a class="indexterm" name="id2629883"></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="id262 2933"></a>1366 <a class="indexterm" name="id2629899"></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="id262 2949"></a>1370 <a class="indexterm" name="id262 2956"></a>1371 <a class="indexterm" name="id262 2963"></a>1372 <a class="indexterm" name="id262 2970"></a>1373 <a class="indexterm" name="id262 2976"></a>1369 <a class="indexterm" name="id2629915"></a> 1370 <a class="indexterm" name="id2629922"></a> 1371 <a class="indexterm" name="id2629929"></a> 1372 <a class="indexterm" name="id2629936"></a> 1373 <a class="indexterm" name="id2629943"></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 … … 1385 1385 in the following paragraphs. 1386 1386 </p><p> 1387 Be aware that a valid device mode can only be initiated by a <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a> or root1387 Be aware that a valid device mode can only be initiated by a <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> or root 1388 1388 (the reason should be obvious). Device modes can be correctly set only by executing the printer driver program 1389 1389 itself. Since Samba cannot execute this Win32 platform driver code, it sets this field initially to NULL … … 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="id26 23075"></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="id2630041"></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="id26 23229"></a>1429 <a class="indexterm" name="id2630195"></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="id26 23255"></a>Additional Client Driver Installation</h3></div></div></div><p>1435 <a class="indexterm" name="id26 23264"></a>1434 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2630216"></a>Additional Client Driver Installation</h3></div></div></div><p> 1435 <a class="indexterm" name="id2630224"></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="id26 23331"></a>1448 <a class="indexterm" name="id2630291"></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="id26 23374"></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="id2630335"></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 1458 to build the very first connection from a client as <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a>. This is to make1458 to build the very first connection from a client as <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a>. This is to make 1459 1459 sure that: 1460 1460 </p><div class="itemizedlist"><ul type="disc"><li><p> … … 1468 1468 printer for <span class="guiicon">duplex</span> as the default, and so on). 1469 1469 </p><p> 1470 <a class="indexterm" name="id26 23468"></a>1470 <a class="indexterm" name="id2630429"></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"> … … 1477 1477 You will be prompted for <code class="constant">root</code>'s Samba password; type it, wait a few seconds, click on 1478 1478 <span class="guibutton">Printing Defaults</span>, and proceed to set the job options that should be used as defaults 1479 by all clients. Alternatively, instead of root you can name one other member of the <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a> from the setting.1479 by all clients. Alternatively, instead of root you can name one other member of the <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> from the setting. 1480 1480 </p><p> 1481 1481 Now all the other users downloading and installing the driver the same way (using 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="id26 23547"></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="id2630508"></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="id26 23568"></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="id2630529"></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 … … 1525 1525 arrived at with steps C.1 through C.6 will permanently save any settings which will then become the defaults 1526 1526 for new users. If you want all clients to have the same defaults, you need to conduct these steps as 1527 administrator (<a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a>) before a client downloads the driver (the clients can1527 administrator (<a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a>) before a client downloads the driver (the clients can 1528 1528 later set their own per-user defaults by following procedures A or B above). Windows 200x/XP allow per-user 1529 1529 default settings and the ones the administrator gives them before they set up their own. The parents of the … … 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="id26 23861"></a>1539 <a class="indexterm" name="id2630823"></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="id26 23935"></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="id2630896"></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="id26 24191"></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="id2631152"></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: 1636 1636 </p><div class="itemizedlist"><ul type="disc"><li><p> 1637 1637 The connected user is able to successfully execute an <code class="literal">OpenPrinterEx(\\server)</code> with 1638 administrative privileges (i.e., root or <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a>).1638 administrative privileges (i.e., root or <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a>). 1639 1639 </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> Try this from a Windows 200x/XP DOS box command prompt: 1640 1640 </p><p><strong class="userinput"><code> … … 1643 1643 Click on <span class="guibutton">Printing Preferences</span>. 1644 1644 </p></div></li><li><p>... contains the setting 1645 <a class="link" href="smb.conf.5.html#SHOWADDPRINTERWIZARD" >show add printer wizard = yes</a> (the1645 <a class="link" href="smb.conf.5.html#SHOWADDPRINTERWIZARD" target="_top">show add printer wizard = yes</a> (the 1646 1646 default).</p></li></ul></div><p> 1647 1647 The APW can do various things: … … 1654 1654 </p></li><li><p> 1655 1655 Add an entirely new printer to the Samba host (only in conjunction with a working 1656 <a class="link" href="smb.conf.5.html#ADDPRINTERCOMMAND" >add printer command</a>. A corresponding1657 <a class="link" href="smb.conf.5.html#DELETEPRINTERCOMMAND" >delete printer command</a> for removing entries from the1656 <a class="link" href="smb.conf.5.html#ADDPRINTERCOMMAND" target="_top">add printer command</a>. A corresponding 1657 <a class="link" href="smb.conf.5.html#DELETEPRINTERCOMMAND" target="_top">delete printer command</a> for removing entries from the 1658 1658 <span class="guiicon">Printers</span> folder may also be provided). 1659 1659 </p></li></ul></div><p> 1660 1660 The last one (add a new printer) requires more effort than the previous ones. To use the APW to successfully 1661 add a printer to a Samba server, the <a class="link" href="smb.conf.5.html#ADDPRINTERCOMMAND" >add printer command</a> must have a defined value.1661 add a printer to a Samba server, the <a class="link" href="smb.conf.5.html#ADDPRINTERCOMMAND" target="_top">add printer command</a> must have a defined value. 1662 1662 The program hook must successfully add the printer to the UNIX print system (i.e., to 1663 1663 <code class="filename">/etc/printcap</code>, <code class="filename">/etc/cups/printers.conf</code> or other appropriate files) … … 1665 1665 </p><p> 1666 1666 When using the APW from a client, if the named printer share does not exist, smbd will execute the 1667 <a class="link" href="smb.conf.5.html#ADDPRINTERCOMMAND" >add printer command</a> and reparse to attempt to locate the new printer share. If the1667 <a class="link" href="smb.conf.5.html#ADDPRINTERCOMMAND" target="_top">add printer command</a> and reparse to attempt to locate the new printer share. If the 1668 1668 share is still not defined, an error of "<span class="errorname">Access Denied"</span> is returned to the client. The 1669 <a class="link" href="smb.conf.5.html#ADDPRINTERCOMMAND" >add printer command</a> is executed under the context of the connected user, not1670 necessarily a root account. A <a class="link" href="smb.conf.5.html#MAPTOGUEST" >map to guest = bad user</a> may have connected1669 <a class="link" href="smb.conf.5.html#ADDPRINTERCOMMAND" target="_top">add printer command</a> is executed under the context of the connected user, not 1670 necessarily a root account. A <a class="link" href="smb.conf.5.html#MAPTOGUEST" target="_top">map to guest = bad user</a> may have connected 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="id26 24451"></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="id2631412"></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="id26 24470"></a>1677 <a class="indexterm" name="id2631432"></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="id26 24564"></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="id2631526"></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="id26 24873"></a>Samba and Printer Ports</h3></div></div></div><p>1835 <a class="indexterm" name="id26 24881"></a>1836 <a class="indexterm" name="id26 24888"></a>1837 <a class="indexterm" name="id26 24895"></a>1838 <a class="indexterm" name="id26 24902"></a>1834 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2631835"></a>Samba and Printer Ports</h3></div></div></div><p> 1835 <a class="indexterm" name="id2631843"></a> 1836 <a class="indexterm" name="id2631850"></a> 1837 <a class="indexterm" name="id2631857"></a> 1838 <a class="indexterm" name="id2631864"></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="id26 24946"></a>1847 <a class="indexterm" name="id2631908"></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. 1850 1850 </p><p> 1851 1851 If you require multiple ports to be defined for some reason or another (my users and my boss should not know 1852 that they are working with Samba), configure the <a class="link" href="smb.conf.5.html#ENUMPORTSCOMMAND" >enumports command</a>,1852 that they are working with Samba), configure the <a class="link" href="smb.conf.5.html#ENUMPORTSCOMMAND" target="_top">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="id26 24983"></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="id2631945"></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="id26 25020"></a>The Imprints Toolset</h2></div></div></div><p>1862 <a class="indexterm" name="id26 25028"></a>1861 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2631982"></a>The Imprints Toolset</h2></div></div></div><p> 1862 <a class="indexterm" name="id2631990"></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="id26 25077"></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="id2632038"></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="id26 25111"></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="id2632072"></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="id26 25127"></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="id2632088"></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="id26 25144"></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="id2632106"></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="id26 25278"></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="id2632239"></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="id26 25549"></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="id2632512"></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="id26 25587"></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="id2632551"></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="id26 25736"></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="id2632700"></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="id26 25765"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2625771"></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="id2632729"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632735"></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="id26 25812"></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="id2632776"></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
r226 r231 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.7 3.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#id2680538">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2680544">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2680585">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2680777">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680851">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680989">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2681227">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#id2681497">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2681717">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.74.0"><link rel="home" 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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2687532">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2687538">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2687580">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2687771">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2687846">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2687984">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688221">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688492">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2688712">Alternative: Starting smbd 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="id268 0538"></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="id2680544"></a>Introduction</h3></div></div></div><p>6 <a class="indexterm" name="id268 0552"></a>5 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2687532"></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="id2687538"></a>Introduction</h3></div></div></div><p> 6 <a class="indexterm" name="id2687546"></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="id268 0585"></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="id2687580"></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="id268 0599"></a>Access via ViewCVS</h4></div></div></div><p>21 <a class="indexterm" name="id268 0607"></a>20 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2687593"></a>Access via ViewCVS</h4></div></div></div><p> 21 <a class="indexterm" name="id2687601"></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="id268 0634"></a>Access via Subversion</h4></div></div></div><p>30 <a class="indexterm" name="id268 0642"></a>29 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2687629"></a>Access via Subversion</h4></div></div></div><p> 30 <a class="indexterm" name="id2687637"></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="id268 0676"></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="id2687670"></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="id268 0777"></a>Accessing the Samba Sources via rsync and ftp</h2></div></div></div><p>66 <a class="indexterm" name="id268 0785"></a>67 <a class="indexterm" name="id268 0792"></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="id2687771"></a>Accessing the Samba Sources via rsync and ftp</h2></div></div></div><p> 66 <a class="indexterm" name="id2687779"></a> 67 <a class="indexterm" name="id2687786"></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="id268 0851"></a>Verifying Samba's PGP Signature</h2></div></div></div><p>78 <a class="indexterm" name="id268 0859"></a>79 <a class="indexterm" name="id268 0866"></a>77 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2687846"></a>Verifying Samba's PGP Signature</h2></div></div></div><p> 78 <a class="indexterm" name="id2687854"></a> 79 <a class="indexterm" name="id2687860"></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="id268 0914"></a>90 <a class="indexterm" name="id2687908"></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="id268 0989"></a>Building the Binaries</h2></div></div></div><p>109 <a class="indexterm" name="id268 0997"></a>110 <a class="indexterm" name="id268 1004"></a>108 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2687984"></a>Building the Binaries</h2></div></div></div><p> 109 <a class="indexterm" name="id2687992"></a> 110 <a class="indexterm" name="id2687998"></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="id268 1046"></a>123 <a class="indexterm" name="id2688040"></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="id268 1111"></a>138 <a class="indexterm" name="id2688106"></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="id268 1227"></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="id2688221"></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="id268 1292"></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="id2688287"></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="id268 1319"></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="id2688314"></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="id268 1364"></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="id2688358"></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="id268 1417"></a>207 <a class="indexterm" name="id2688412"></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="id268 1497"></a>Starting from inetd.conf</h3></div></div></div><a class="indexterm" name="id2681502"></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="id2688492"></a>Starting from inetd.conf</h3></div></div></div><a class="indexterm" name="id2688498"></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="id268 1565"></a><p>228 </p><a class="indexterm" name="id2688560"></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="id268 1585"></a>233 <a class="indexterm" name="id2688580"></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="id268 1623"></a>241 <a class="indexterm" name="id2688618"></a> 242 242 On many systems you may need to use the 243 <a class="link" href="smb.conf.5.html#INTERFACES" >interfaces</a> option in <code class="filename">smb.conf</code> to specify243 <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a> option in <code class="filename">smb.conf</code> to specify 244 244 the IP address and netmask of your interfaces. Run 245 245 <span class="application">ifconfig</span> as root if you do … … 254 254 Restart <span class="application">inetd</span>, perhaps just send it a HUP, 255 255 like this: 256 <a class="indexterm" name="id268 1692"></a>256 <a class="indexterm" name="id2688687"></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="id268 1717"></a>Alternative: Starting <span class="application">smbd</span> as a Daemon</h3></div></div></div><p>261 <a class="indexterm" name="id268 1731"></a>262 <a class="indexterm" name="id268 1738"></a>260 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2688712"></a>Alternative: Starting <span class="application">smbd</span> as a Daemon</h3></div></div></div><p> 261 <a class="indexterm" name="id2688726"></a> 262 <a class="indexterm" name="id2688733"></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>. 265 265 </p><pre class="programlisting"> 266 266 #!/bin/sh 267 /usr/local/samba/sbin/smbd -D 268 /usr/local/samba/sbin/winbindd - B269 /usr/local/samba/sbin/nmbd -D 267 /usr/local/samba/sbin/smbd -D 268 /usr/local/samba/sbin/winbindd -D 269 /usr/local/samba/sbin/nmbd -D 270 270 </pre><p> 271 271 Make it executable with <code class="literal">chmod +x 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="id268 1815"></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="id2688811"></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="id268 1938"></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="id2688933"></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
r226 r231 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.7 3.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#id2675751">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2675790">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2676083">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="id2675751"></a>Introduction</h2></div></div></div><p>2 <a class="indexterm" name="id26 75759"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Shearer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2682745">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2682784">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2683077">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="id2682745"></a>Introduction</h2></div></div></div><p> 2 <a class="indexterm" name="id2682753"></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="id26 75790"></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="id2682784"></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="id26 75862"></a><em class="parameter"><code>comment = temporary files </code></em></td></tr><tr><td><a class="indexterm" name="id2675873"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td><a class="indexterm" name="id2675885"></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="id2682855"></a><em class="parameter"><code>comment = temporary files </code></em></td></tr><tr><td><a class="indexterm" name="id2682867"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td><a class="indexterm" name="id2682878"></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="id26 75906"></a>32 <a class="indexterm" name="id26 75913"></a>33 <a class="indexterm" name="id26 75920"></a>31 <a class="indexterm" name="id2682899"></a> 32 <a class="indexterm" name="id2682906"></a> 33 <a class="indexterm" name="id2682913"></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="id26 75941"></a>40 <a class="indexterm" name="id26 75948"></a>41 <a class="indexterm" name="id26 75954"></a>42 <a class="indexterm" name="id26 75961"></a>39 <a class="indexterm" name="id2682934"></a> 40 <a class="indexterm" name="id2682941"></a> 41 <a class="indexterm" name="id2682948"></a> 42 <a class="indexterm" name="id2682954"></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="id26 75992"></a>48 <a class="indexterm" name="id26 75999"></a>49 <a class="indexterm" name="id26 76005"></a>50 <a class="indexterm" name="id26 76012"></a>51 <a class="indexterm" name="id26 76019"></a>47 <a class="indexterm" name="id2682985"></a> 48 <a class="indexterm" name="id2682992"></a> 49 <a class="indexterm" name="id2682999"></a> 50 <a class="indexterm" name="id2683006"></a> 51 <a class="indexterm" name="id2683013"></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="id26 76083"></a>The Tests</h2></div></div></div><div class="procedure"><a name="id2676089"></a><p class="title"><b>Procedure 38.1. Diagnosing Your Samba Server</b></p><ol type="1"><li><p>63 <a class="indexterm" name="id26 76102"></a>62 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2683077"></a>The Tests</h2></div></div></div><div class="procedure"><a name="id2683082"></a><p class="title"><b>Procedure 38.1. Diagnosing Your Samba Server</b></p><ol type="1"><li><p> 63 <a class="indexterm" name="id2683095"></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="id26 76133"></a>69 <a class="indexterm" name="id26 76140"></a>68 <a class="indexterm" name="id2683126"></a> 69 <a class="indexterm" name="id2683133"></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="id26 76174"></a>73 <a class="indexterm" name="id2683167"></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="id26 76206"></a>81 <a class="indexterm" name="id26 76213"></a>82 <a class="indexterm" name="id26 76220"></a>80 <a class="indexterm" name="id2683199"></a> 81 <a class="indexterm" name="id2683206"></a> 82 <a class="indexterm" name="id2683213"></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="id26 76252"></a>90 <a class="indexterm" name="id26 76259"></a>91 <a class="indexterm" name="id26 76266"></a>89 <a class="indexterm" name="id2683245"></a> 90 <a class="indexterm" name="id2683252"></a> 91 <a class="indexterm" name="id2683259"></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="id26 76301"></a>102 <a class="indexterm" name="id26 76307"></a>101 <a class="indexterm" name="id2683294"></a> 102 <a class="indexterm" name="id2683301"></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="id26 76399"></a>137 <a class="indexterm" name="id26 76406"></a>138 <a class="indexterm" name="id26 76413"></a>139 <a class="indexterm" name="id26 76420"></a>140 <a class="indexterm" name="id26 76426"></a>141 <a class="indexterm" name="id26 76433"></a>136 <a class="indexterm" name="id2683392"></a> 137 <a class="indexterm" name="id2683399"></a> 138 <a class="indexterm" name="id2683406"></a> 139 <a class="indexterm" name="id2683413"></a> 140 <a class="indexterm" name="id2683420"></a> 141 <a class="indexterm" name="id2683427"></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="id26 76504"></a>149 <a class="indexterm" name="id2683497"></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="id26 76543"></a>157 <a class="indexterm" name="id26 76550"></a>156 <a class="indexterm" name="id2683536"></a> 157 <a class="indexterm" name="id2683543"></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="id26 76663"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2676674"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy</code></em></td></tr><tr><td><a class="indexterm" name="id2676686"></a><em class="parameter"><code>interfaces = eth0</code></em></td></tr><tr><td><a class="indexterm" name="id2676698"></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="id26 76713"></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="id2683656"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2683667"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy</code></em></td></tr><tr><td><a class="indexterm" name="id2683679"></a><em class="parameter"><code>interfaces = eth0</code></em></td></tr><tr><td><a class="indexterm" name="id2683691"></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="id2683706"></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="id26 76765"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2676776"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy 127.</code></em></td></tr><tr><td><a class="indexterm" name="id2676788"></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="id26 76803"></a>182 <a class="indexterm" name="id26 76810"></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="id2683758"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2683770"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy 127.</code></em></td></tr><tr><td><a class="indexterm" name="id2683782"></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="id2683797"></a> 182 <a class="indexterm" name="id2683803"></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="id26 76855"></a>189 <a class="indexterm" name="id26 76861"></a>190 <a class="indexterm" name="id26 76868"></a>191 <a class="indexterm" name="id26 76875"></a>192 <a class="indexterm" name="id26 76882"></a>188 <a class="indexterm" name="id2683848"></a> 189 <a class="indexterm" name="id2683854"></a> 190 <a class="indexterm" name="id2683861"></a> 191 <a class="indexterm" name="id2683868"></a> 192 <a class="indexterm" name="id2683875"></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="id26 76908"></a>197 <a class="indexterm" name="id2683901"></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="id26 76925"></a>202 <a class="indexterm" name="id26 76932"></a>203 <a class="indexterm" name="id26 76939"></a>201 <a class="indexterm" name="id2683919"></a> 202 <a class="indexterm" name="id2683926"></a> 203 <a class="indexterm" name="id2683933"></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="id26 76976"></a>212 <a class="indexterm" name="id2683969"></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="id26 77033"></a>231 <a class="indexterm" name="id2684027"></a> 232 232 If this does not give a result similar to the previous test, then nmblookup isn't correctly getting your 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.233 broadcast address through its automatic mechanism. In this case you should experiment with the <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a> option in <code class="filename">smb.conf</code> to manually configure your IP address, broadcast, and netmask. 234 234 </p><p> 235 235 If your PC and server aren't on the same subnet, then you will need to use the … … 239 239 not correct. (Refer to test 3 notes above). 240 240 </p></li><li><p> 241 <a class="indexterm" name="id26 77085"></a>241 <a class="indexterm" name="id2684079"></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 … … 258 258 compile in support for them in <span class="application">smbd</span>. 259 259 </p></li><li><p> 260 Your <a class="link" href="smb.conf.5.html#VALIDUSERS" >valid users</a> configuration is incorrect.260 Your <a class="link" href="smb.conf.5.html#VALIDUSERS" target="_top">valid users</a> configuration is incorrect. 261 261 </p></li><li><p> 262 You have a mixed-case password and you haven't enabled the <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" >password level</a> option at a high enough level.262 You have a mixed-case password and you haven't enabled the <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" target="_top">password level</a> option at a high enough level. 263 263 </p></li><li><p> 264 The <a class="link" href="smb.conf.5.html#PATH" >path</a> line in <code class="filename">smb.conf</code> is incorrect. Check it with <span class="application">testparm</span>.264 The <a class="link" href="smb.conf.5.html#PATH" target="_top">path</a> line in <code class="filename">smb.conf</code> is incorrect. Check it with <span class="application">testparm</span>. 265 265 </p></li><li><p> 266 266 You enabled password encryption but didn't map UNIX to Samba users. Run 267 267 <code class="literal">smbpasswd -a username</code> 268 268 </p></li></ol></div><p> 269 <a class="indexterm" name="id26 77270"></a>270 <a class="indexterm" name="id26 77277"></a>271 <a class="indexterm" name="id26 77284"></a>272 <a class="indexterm" name="id26 77290"></a>269 <a class="indexterm" name="id2684264"></a> 270 <a class="indexterm" name="id2684271"></a> 271 <a class="indexterm" name="id2684278"></a> 272 <a class="indexterm" name="id2684284"></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="id26 77337"></a>277 <a class="indexterm" name="id2684331"></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="id26 77356"></a>282 <a class="indexterm" name="id2684350"></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>. … … 318 318 It's also possible that the server can't work out what username to connect you as. 319 319 To see if this is the problem, add the line 320 <a class="link" href="smb.conf.5.html#USER" >user = username</a> to the320 <a class="link" href="smb.conf.5.html#USER" target="_top">user = username</a> to the 321 321 <em class="parameter"><code>[tmp]</code></em> section of 322 322 <code class="filename">smb.conf</code> where <em class="parameter"><code>username</code></em> is the … … 325 325 </p><p> 326 326 It might also be the case that your client only sends encrypted passwords 327 and you have <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" >encrypt passwords = no</a> in <code class="filename">smb.conf</code>.327 and you have <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" target="_top">encrypt passwords = no</a> in <code class="filename">smb.conf</code>. 328 328 Change this setting to `yes' to fix this. 329 329 </p></li><li><p> … … 336 336 see if it is just being slow, then try again. If it still fails after 337 337 that, then look at the browsing options you have set in <code class="filename">smb.conf</code>. Make 338 sure you have <a class="link" href="smb.conf.5.html#PREFERREDMASTER" >preferred master = yes</a> to ensure that338 sure you have <a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master = yes</a> to ensure that 339 339 an election is held at startup. 340 340 </p></li><li><p> … … 346 346 is refusing to browse a server that has no encrypted password 347 347 capability and is in user-level security mode. In this case, either set 348 <a class="link" href="smb.conf.5.html#SECURITY" >security = server</a> and349 <a class="link" href="smb.conf.5.html#PASSWORDSERVER" >password server = Windows_NT_Machine</a> in your350 <code class="filename">smb.conf</code> file or make sure <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" >encrypt passwords</a> is348 <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = server</a> and 349 <a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server = Windows_NT_Machine</a> in your 350 <code class="filename">smb.conf</code> file or make sure <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" target="_top">encrypt passwords</a> is 351 351 set to “<span class="quote">yes</span>”. 352 352 </p></li></ol></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="troubleshooting.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="troubleshooting.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="problems.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part V. Troubleshooting </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 39. Analyzing and Solving Samba Problems</td></tr></table></div></body></html> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/domain-member.html
r226 r231 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.7 3.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#id2562192">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#id2562879">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563315">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563595">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563701">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#id2564166">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2564901">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#id2565183">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2565374">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#id2566469">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2566541">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2566747">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2566787">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2566863">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2567099">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id256 2140"></a>3 <a class="indexterm" name="id256 2146"></a>4 <a class="indexterm" name="id256 2154"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">SuSE</span> <span class="surname">Deschner</span></h3><span class="contrib">LDAP updates</span> <div class="affiliation"><span class="orgname">SuSE<br></span><div class="address"><p><code class="email"><<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#id2569104">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#id2569791">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570508">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570614">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#id2571079">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2571815">Why Is This Better Than security = server?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2572097">Configure smb.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573382">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2573454">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2573660">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2573700">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573776">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2574012">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2569052"></a> 3 <a class="indexterm" name="id2569058"></a> 4 <a class="indexterm" name="id2569066"></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="id256 2169"></a>11 <a class="indexterm" name="id256 2176"></a>10 <a class="indexterm" name="id2569081"></a> 11 <a class="indexterm" name="id2569088"></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="id256 2192"></a>Features and Benefits</h2></div></div></div><p>20 <a class="indexterm" name="id256 2200"></a>21 <a class="indexterm" name="id256 2207"></a>22 <a class="indexterm" name="id256 2214"></a>19 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2569104"></a>Features and Benefits</h2></div></div></div><p> 20 <a class="indexterm" name="id2569112"></a> 21 <a class="indexterm" name="id2569119"></a> 22 <a class="indexterm" name="id2569126"></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="id256 2246"></a>31 <a class="indexterm" name="id256 2252"></a>32 <a class="indexterm" name="id256 2259"></a>33 <a class="indexterm" name="id256 2266"></a>30 <a class="indexterm" name="id2569158"></a> 31 <a class="indexterm" name="id2569164"></a> 32 <a class="indexterm" name="id2569171"></a> 33 <a class="indexterm" name="id2569178"></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="id256 2285"></a>38 <a class="indexterm" name="id2569197"></a> 39 39 MS Windows workstation users get the benefit of SSO. 40 40 </p></li><li><p> 41 <a class="indexterm" name="id256 2297"></a>42 <a class="indexterm" name="id256 2304"></a>43 <a class="indexterm" name="id256 2311"></a>44 <a class="indexterm" name="id256 2318"></a>41 <a class="indexterm" name="id2569209"></a> 42 <a class="indexterm" name="id2569216"></a> 43 <a class="indexterm" name="id2569223"></a> 44 <a class="indexterm" name="id2569230"></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="id256 2333"></a>51 <a class="indexterm" name="id256 2340"></a>50 <a class="indexterm" name="id2569245"></a> 51 <a class="indexterm" name="id2569252"></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="id256 2359"></a>56 <a class="indexterm" name="id256 2366"></a>57 <a class="indexterm" name="id256 2373"></a>58 <a class="indexterm" name="id256 2380"></a>55 <a class="indexterm" name="id2569271"></a> 56 <a class="indexterm" name="id2569278"></a> 57 <a class="indexterm" name="id2569285"></a> 58 <a class="indexterm" name="id2569292"></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="id256 2399"></a>63 <a class="indexterm" name="id256 2406"></a>64 <a class="indexterm" name="id256 2413"></a>62 <a class="indexterm" name="id2569311"></a> 63 <a class="indexterm" name="id2569318"></a> 64 <a class="indexterm" name="id2569325"></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="id256 2426"></a>69 <a class="indexterm" name="id256 2433"></a>70 <a class="indexterm" name="id256 2440"></a>71 <a class="indexterm" name="id256 2447"></a>68 <a class="indexterm" name="id2569338"></a> 69 <a class="indexterm" name="id2569345"></a> 70 <a class="indexterm" name="id2569352"></a> 71 <a class="indexterm" name="id2569359"></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="id256 2475"></a>79 <a class="indexterm" name="id256 2482"></a>80 <a class="indexterm" name="id256 2489"></a>81 <a class="indexterm" name="id256 2496"></a>78 <a class="indexterm" name="id2569387"></a> 79 <a class="indexterm" name="id2569394"></a> 80 <a class="indexterm" name="id2569401"></a> 81 <a class="indexterm" name="id2569408"></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="id256 2515"></a>88 <a class="indexterm" name="id256 2524"></a>89 <a class="indexterm" name="id256 2531"></a>90 <a class="indexterm" name="id256 2538"></a>91 <a class="indexterm" name="id256 2546"></a>87 <a class="indexterm" name="id2569427"></a> 88 <a class="indexterm" name="id2569436"></a> 89 <a class="indexterm" name="id2569443"></a> 90 <a class="indexterm" name="id2569450"></a> 91 <a class="indexterm" name="id2569458"></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="id256 2566"></a>100 <a class="indexterm" name="id256 2573"></a>101 <a class="indexterm" name="id256 2580"></a>102 <a class="indexterm" name="id256 2586"></a>99 <a class="indexterm" name="id2569478"></a> 100 <a class="indexterm" name="id2569485"></a> 101 <a class="indexterm" name="id2569492"></a> 102 <a class="indexterm" name="id2569498"></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="id256 2604"></a>111 <a class="indexterm" name="id256 2611"></a>112 <a class="indexterm" name="id256 2618"></a>113 A domain security account (stored in the <a class="link" href="smb.conf.5.html#PASSDBBACKEND" >passdb backend</a>) that has been configured in110 <a class="indexterm" name="id2569516"></a> 111 <a class="indexterm" name="id2569523"></a> 112 <a class="indexterm" name="id2569530"></a> 113 A domain security account (stored in the <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a>) that has been configured in 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="id256 2649"></a>118 <a class="indexterm" name="id256 2656"></a>119 <a class="indexterm" name="id256 2663"></a>120 <a class="indexterm" name="id256 2670"></a>121 <a class="indexterm" name="id256 2676"></a>122 <a class="indexterm" name="id256 2684"></a>117 <a class="indexterm" name="id2569561"></a> 118 <a class="indexterm" name="id2569568"></a> 119 <a class="indexterm" name="id2569575"></a> 120 <a class="indexterm" name="id2569582"></a> 121 <a class="indexterm" name="id2569588"></a> 122 <a class="indexterm" name="id2569596"></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="id256 2706"></a>129 <a class="indexterm" name="id256 2712"></a>130 <a class="indexterm" name="id256 2719"></a>131 <a class="indexterm" name="id256 2726"></a>128 <a class="indexterm" name="id2569618"></a> 129 <a class="indexterm" name="id2569624"></a> 130 <a class="indexterm" name="id2569631"></a> 131 <a class="indexterm" name="id2569638"></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="id256 2746"></a>137 <a class="indexterm" name="id256 2753"></a>136 <a class="indexterm" name="id2569658"></a> 137 <a class="indexterm" name="id2569665"></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="id256 2779"></a>143 <a class="indexterm" name="id2569691"></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="id256 2796"></a>146 <a class="indexterm" name="id2569708"></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="id256 2809"></a>151 <a class="indexterm" name="id256 2816"></a>150 <a class="indexterm" name="id2569721"></a> 151 <a class="indexterm" name="id2569728"></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="id256 2832"></a>158 <a class="indexterm" name="id256 2839"></a>157 <a class="indexterm" name="id2569744"></a> 158 <a class="indexterm" name="id2569751"></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="id256 2858"></a>165 <a class="indexterm" name="id256 2865"></a>164 <a class="indexterm" name="id2569770"></a> 165 <a class="indexterm" name="id2569777"></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="id256 2879"></a>Manual Creation of Machine Trust Accounts</h3></div></div></div><p>169 <a class="indexterm" name="id256 2887"></a>170 <a class="indexterm" name="id256 2894"></a>171 <a class="indexterm" name="id256 2899"></a>172 <a class="indexterm" name="id256 2906"></a>168 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2569791"></a>Manual Creation of Machine Trust Accounts</h3></div></div></div><p> 169 <a class="indexterm" name="id2569799"></a> 170 <a class="indexterm" name="id2569806"></a> 171 <a class="indexterm" name="id2569811"></a> 172 <a class="indexterm" name="id2569818"></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="id256 2975"></a>187 <a class="indexterm" name="id256 2982"></a>188 <a class="indexterm" name="id256 2988"></a>186 <a class="indexterm" name="id2569887"></a> 187 <a class="indexterm" name="id2569894"></a> 188 <a class="indexterm" name="id2569900"></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 3008"></a>194 <a class="indexterm" name="id256 3015"></a>193 <a class="indexterm" name="id2569920"></a> 194 <a class="indexterm" name="id2569927"></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="id256 3056"></a>202 <a class="indexterm" name="id256 3063"></a>203 <a class="indexterm" name="id256 3070"></a>204 <a class="indexterm" name="id256 3076"></a>201 <a class="indexterm" name="id2569968"></a> 202 <a class="indexterm" name="id2569975"></a> 203 <a class="indexterm" name="id2569982"></a> 204 <a class="indexterm" name="id2569988"></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="id25 63119"></a>214 <a class="indexterm" name="id25 63126"></a>215 <a class="indexterm" name="id25 63133"></a>213 <a class="indexterm" name="id2570031"></a> 214 <a class="indexterm" name="id2570038"></a> 215 <a class="indexterm" name="id2570045"></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="id25 63158"></a>224 <a class="indexterm" name="id25 63165"></a>225 <a class="indexterm" name="id25 63172"></a>223 <a class="indexterm" name="id2570070"></a> 224 <a class="indexterm" name="id2570077"></a> 225 <a class="indexterm" name="id2570084"></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="id25 63214"></a>236 <a class="indexterm" name="id25 63221"></a>237 <a class="indexterm" name="id25 63228"></a>238 <a class="indexterm" name="id25 63234"></a>235 <a class="indexterm" name="id2570126"></a> 236 <a class="indexterm" name="id2570133"></a> 237 <a class="indexterm" name="id2570140"></a> 238 <a class="indexterm" name="id2570146"></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="id25 63256"></a>244 <a class="indexterm" name="id25 63263"></a>245 <a class="indexterm" name="id25 63270"></a>246 <a class="indexterm" name="id25 63277"></a>247 <a class="indexterm" name="id25 63284"></a>243 <a class="indexterm" name="id2570168"></a> 244 <a class="indexterm" name="id2570175"></a> 245 <a class="indexterm" name="id2570182"></a> 246 <a class="indexterm" name="id2570189"></a> 247 <a class="indexterm" name="id2570196"></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="id25 63293"></a>250 <a class="indexterm" name="id2570205"></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="id25 63315"></a>Managing Domain Machine Accounts using NT4 Server Manager</h3></div></div></div><p>258 <a class="indexterm" name="id25 63324"></a>259 <a class="indexterm" name="id25 63331"></a>260 <a class="indexterm" name="id25 63338"></a>261 A working <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" >add machine script</a> is essential257 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2570227"></a>Managing Domain Machine Accounts using NT4 Server Manager</h3></div></div></div><p> 258 <a class="indexterm" name="id2570236"></a> 259 <a class="indexterm" name="id2570243"></a> 260 <a class="indexterm" name="id2570250"></a> 261 A working <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" target="_top">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="id25 63364"></a>266 <a class="indexterm" name="id25 63371"></a>267 <a class="indexterm" name="id25 63377"></a>268 <a class="indexterm" name="id25 63384"></a>265 <a class="indexterm" name="id2570276"></a> 266 <a class="indexterm" name="id2570283"></a> 267 <a class="indexterm" name="id2570289"></a> 268 <a class="indexterm" name="id2570296"></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="id25 63422"></a>276 <a class="indexterm" name="id25 63429"></a>275 <a class="indexterm" name="id2570334"></a> 276 <a class="indexterm" name="id2570341"></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="id25 63473"></a>287 <a class="indexterm" name="id25 63480"></a>286 <a class="indexterm" name="id2570385"></a> 287 <a class="indexterm" name="id2570392"></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="id25 63495"></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="id2570407"></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="id25 63595"></a>On-the-Fly Creation of Machine Trust Accounts</h3></div></div></div><p>307 <a class="indexterm" name="id25 63604"></a>306 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2570508"></a>On-the-Fly Creation of Machine Trust Accounts</h3></div></div></div><p> 307 <a class="indexterm" name="id2570516"></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="id25 63619"></a>312 <a class="indexterm" name="id25 63629"></a>313 <a class="indexterm" name="id25 63636"></a>311 <a class="indexterm" name="id2570532"></a> 312 <a class="indexterm" name="id2570542"></a> 313 <a class="indexterm" name="id2570548"></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="id25 63657"></a>320 <a class="indexterm" name="id25 63664"></a>319 <a class="indexterm" name="id2570570"></a> 320 <a class="indexterm" name="id2570577"></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="id25 63686"></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="id25 63701"></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="id2570599"></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="id2570614"></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="id25 63712"></a>Windows 200x/XP Professional Client</h4></div></div></div><p>327 <a class="indexterm" name="id25 63720"></a>328 <a class="indexterm" name="id25 63727"></a>329 <a class="indexterm" name="id25 63736"></a>330 <a class="indexterm" name="id25 63743"></a>326 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2570625"></a>Windows 200x/XP Professional Client</h4></div></div></div><p> 327 <a class="indexterm" name="id2570633"></a> 328 <a class="indexterm" name="id2570640"></a> 329 <a class="indexterm" name="id2570649"></a> 330 <a class="indexterm" name="id2570656"></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="id25 63763"></a>338 <a class="indexterm" name="id25 63770"></a>337 <a class="indexterm" name="id2570676"></a> 338 <a class="indexterm" name="id2570683"></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="id25 63788"></a>343 <a class="indexterm" name="id25 63795"></a>344 <a class="indexterm" name="id25 63802"></a>345 <a class="indexterm" name="id25 63809"></a>342 <a class="indexterm" name="id2570701"></a> 343 <a class="indexterm" name="id2570708"></a> 344 <a class="indexterm" name="id2570715"></a> 345 <a class="indexterm" name="id2570722"></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>, 348 348 then this is easily mapped to <code class="constant">root</code> in the file named in the <code class="filename">smb.conf</code> parameter 349 <a class="link" href="smb.conf.5.html#USERNAMEMAP" >username map = /etc/samba/smbusers</a>.349 <a class="link" href="smb.conf.5.html#USERNAMEMAP" target="_top">username map = /etc/samba/smbusers</a>. 350 350 </p><p> 351 <a class="indexterm" name="id25 63849"></a>352 <a class="indexterm" name="id25 63856"></a>353 <a class="indexterm" name="id25 63862"></a>351 <a class="indexterm" name="id2570762"></a> 352 <a class="indexterm" name="id2570769"></a> 353 <a class="indexterm" name="id2570775"></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="id25 63876"></a>Windows NT4 Client</h4></div></div></div><p>357 <a class="indexterm" name="id25 63883"></a>358 <a class="indexterm" name="id25 63890"></a>359 <a class="indexterm" name="id25 63898"></a>356 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2570788"></a>Windows NT4 Client</h4></div></div></div><p> 357 <a class="indexterm" name="id2570796"></a> 358 <a class="indexterm" name="id2570803"></a> 359 <a class="indexterm" name="id2570810"></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="id25 63917"></a>367 <a class="indexterm" name="id25 63924"></a>368 <a class="indexterm" name="id25 63931"></a>369 <a class="indexterm" name="id25 63938"></a>366 <a class="indexterm" name="id2570830"></a> 367 <a class="indexterm" name="id2570837"></a> 368 <a class="indexterm" name="id2570844"></a> 369 <a class="indexterm" name="id2570851"></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="id25 63958"></a>Samba Client</h4></div></div></div><p>375 <a class="indexterm" name="id25 63966"></a>374 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2570871"></a>Samba Client</h4></div></div></div><p> 375 <a class="indexterm" name="id2570879"></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="id25 63998"></a>379 <a class="indexterm" name="id25 64004"></a>380 <a class="indexterm" name="id25 64011"></a>381 <a class="indexterm" name="id25 64018"></a>378 <a class="indexterm" name="id2570910"></a> 379 <a class="indexterm" name="id2570917"></a> 380 <a class="indexterm" name="id2570924"></a> 381 <a class="indexterm" name="id2570931"></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="id25 64037"></a>391 <a class="indexterm" name="id25 64047"></a>392 <a class="indexterm" name="id25 64054"></a>393 <a class="indexterm" name="id25 64060"></a>394 <a class="indexterm" name="id25 64067"></a>395 <a class="indexterm" name="id25 64074"></a>396 <a class="indexterm" name="id25 64081"></a>397 <a class="indexterm" name="id25 64087"></a>390 <a class="indexterm" name="id2570950"></a> 391 <a class="indexterm" name="id2570959"></a> 392 <a class="indexterm" name="id2570966"></a> 393 <a class="indexterm" name="id2570973"></a> 394 <a class="indexterm" name="id2570980"></a> 395 <a class="indexterm" name="id2570987"></a> 396 <a class="indexterm" name="id2570993"></a> 397 <a class="indexterm" name="id2571000"></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="id25 64104"></a>405 <a class="indexterm" name="id25 64111"></a>406 <a class="indexterm" name="id25 64118"></a>404 <a class="indexterm" name="id2571016"></a> 405 <a class="indexterm" name="id2571023"></a> 406 <a class="indexterm" name="id2571030"></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="id25 64133"></a>413 <a class="indexterm" name="id25 64140"></a>414 <a class="indexterm" name="id25 64147"></a>412 <a class="indexterm" name="id2571045"></a> 413 <a class="indexterm" name="id2571052"></a> 414 <a class="indexterm" name="id2571060"></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="id25 64166"></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="id25 64251"></a>419 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2571079"></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="id2571163"></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="id25 64267"></a>424 <a class="indexterm" name="id25 64274"></a>425 <a class="indexterm" name="id25 64281"></a>426 <a class="indexterm" name="id25 64288"></a>427 Change (or add) your <a class="link" href="smb.conf.5.html#SECURITY" >security</a> line in the [global] section423 <a class="indexterm" name="id2571179"></a> 424 <a class="indexterm" name="id2571186"></a> 425 <a class="indexterm" name="id2571193"></a> 426 <a class="indexterm" name="id2571200"></a> 427 Change (or add) your <a class="link" href="smb.conf.5.html#SECURITY" target="_top">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="id25 64318"></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="id2571231"></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 432 432 domain security context. 433 433 </p><p> 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>434 Next change the <a class="link" href="smb.conf.5.html#WORKGROUP" target="_top">workgroup</a> line in the <em class="parameter"><code>[global]</code></em> 435 435 section to read: 436 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id25 64366"></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="id2571279"></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="id25 64382"></a>440 <a class="indexterm" name="id25 64389"></a>441 You must also have the parameter <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" >encrypt passwords</a>439 <a class="indexterm" name="id2571295"></a> 440 <a class="indexterm" name="id2571302"></a> 441 You must also have the parameter <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" target="_top">encrypt passwords</a> 442 442 set to <code class="constant">yes</code> in order for your users to authenticate to the NT PDC. 443 443 This is the default setting if this parameter is not specified. There is no need to specify this 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="id25 64428"></a>447 <a class="indexterm" name="id25 64434"></a>448 <a class="indexterm" name="id25 64441"></a>449 <a class="indexterm" name="id25 64448"></a>450 Finally, add (or modify) a <a class="link" href="smb.conf.5.html#PASSWORDSERVER" >password server</a> line in the [global]446 <a class="indexterm" name="id2571341"></a> 447 <a class="indexterm" name="id2571347"></a> 448 <a class="indexterm" name="id2571354"></a> 449 <a class="indexterm" name="id2571361"></a> 450 Finally, add (or modify) a <a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">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="id25 64472"></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="id2571385"></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="id25 64492"></a>460 <a class="indexterm" name="id25 64499"></a>461 <a class="indexterm" name="id25 64506"></a>462 <a class="indexterm" name="id25 64513"></a>459 <a class="indexterm" name="id2571405"></a> 460 <a class="indexterm" name="id2571412"></a> 461 <a class="indexterm" name="id2571419"></a> 462 <a class="indexterm" name="id2571426"></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="id25 64528"></a><em class="parameter"><code>password server = *</code></em></td></tr></table><p>466 <a class="indexterm" name="id25 64540"></a>465 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2571441"></a><em class="parameter"><code>password server = *</code></em></td></tr></table><p> 466 <a class="indexterm" name="id2571453"></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="id25 64556"></a>473 <a class="indexterm" name="id2571468"></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="id25 64589"></a>479 <a class="indexterm" name="id25 64596"></a>480 <a class="indexterm" name="id25 64602"></a>481 <a class="indexterm" name="id25 64609"></a>478 <a class="indexterm" name="id2571502"></a> 479 <a class="indexterm" name="id2571509"></a> 480 <a class="indexterm" name="id2571515"></a> 481 <a class="indexterm" name="id2571522"></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="id25 64632"></a>487 <a class="indexterm" name="id25 64639"></a>488 <a class="indexterm" name="id25 64645"></a>489 <a class="indexterm" name="id25 64652"></a>486 <a class="indexterm" name="id2571545"></a> 487 <a class="indexterm" name="id2571552"></a> 488 <a class="indexterm" name="id2571558"></a> 489 <a class="indexterm" name="id2571565"></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="id25 64689"></a>501 <a class="indexterm" name="id25 64700"></a>502 <a class="indexterm" name="id25 64706"></a>500 <a class="indexterm" name="id2571602"></a> 501 <a class="indexterm" name="id2571613"></a> 502 <a class="indexterm" name="id2571620"></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="id25 64764"></a>516 <a class="indexterm" name="id25 64770"></a>517 <a class="indexterm" name="id25 64778"></a>515 <a class="indexterm" name="id2571677"></a> 516 <a class="indexterm" name="id2571684"></a> 517 <a class="indexterm" name="id2571691"></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="id25 64790"></a>522 <a class="indexterm" name="id25 64799"></a>523 <a class="indexterm" name="id25 64806"></a>524 <a class="indexterm" name="id25 64814"></a>521 <a class="indexterm" name="id2571703"></a> 522 <a class="indexterm" name="id2571713"></a> 523 <a class="indexterm" name="id2571720"></a> 524 <a class="indexterm" name="id2571727"></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="id25 64842"></a>531 <a class="indexterm" name="id25 64849"></a>530 <a class="indexterm" name="id2571756"></a> 531 <a class="indexterm" name="id2571763"></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="id25 64863"></a>537 <a class="indexterm" name="id25 64870"></a>538 <a class="indexterm" name="id25 64877"></a>536 <a class="indexterm" name="id2571776"></a> 537 <a class="indexterm" name="id2571783"></a> 538 <a class="indexterm" name="id2571790"></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="id25 64901"></a>Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</h3></div></div></div><p>546 <a class="indexterm" name="id25 64915"></a>547 <a class="indexterm" name="id25 64922"></a>548 <a class="indexterm" name="id25 64929"></a>545 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2571815"></a>Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</h3></div></div></div><p> 546 <a class="indexterm" name="id2571829"></a> 547 <a class="indexterm" name="id2571836"></a> 548 <a class="indexterm" name="id2571843"></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 551 551 domain security Samba server, there needs to be a local UNIX user fred to represent that user in the UNIX file 552 system. This is similar to the older Samba security mode <a class="link" href="smb.conf.5.html#SECURITY" >security = server</a>, where Samba would pass through the authentication request to a Windows552 system. This is similar to the older Samba security mode <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = server</a>, where Samba would pass through the authentication request to a Windows 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="id25 64963"></a>556 <a class="indexterm" name="id25 64970"></a>557 <a class="indexterm" name="id25 64976"></a>555 <a class="indexterm" name="id2571877"></a> 556 <a class="indexterm" name="id2571883"></a> 557 <a class="indexterm" name="id2571890"></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="id25 64996"></a>562 <a class="indexterm" name="id25 65002"></a>563 <a class="indexterm" name="id25 65009"></a>561 <a class="indexterm" name="id2571909"></a> 562 <a class="indexterm" name="id2571916"></a> 563 <a class="indexterm" name="id2571923"></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="id25 65027"></a>571 <a class="indexterm" name="id25 65034"></a>572 <a class="indexterm" name="id25 65040"></a>573 In addition, with <a class="link" href="smb.conf.5.html#SECURITY" >security = server</a>, every Samba daemon on a server has to570 <a class="indexterm" name="id2571941"></a> 571 <a class="indexterm" name="id2571947"></a> 572 <a class="indexterm" name="id2571954"></a> 573 In addition, with <a class="link" href="smb.conf.5.html#SECURITY" target="_top">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 575 575 connection resources on a Microsoft NT server and cause it to run out of available connections. With 576 <a class="link" href="smb.conf.5.html#SECURITY" >security = domain</a>, however, the Samba daemons connect to the PDC or BDC576 <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = domain</a>, however, the Samba daemons connect to the PDC or BDC 577 577 only for as long as is necessary to authenticate the user and then drop the connection, thus conserving PDC 578 578 connection resources. 579 579 </p><p> 580 <a class="indexterm" name="id25 65080"></a>581 <a class="indexterm" name="id25 65087"></a>582 <a class="indexterm" name="id25 65093"></a>583 <a class="indexterm" name="id25 65100"></a>580 <a class="indexterm" name="id2571994"></a> 581 <a class="indexterm" name="id2572000"></a> 582 <a class="indexterm" name="id2572007"></a> 583 <a class="indexterm" name="id2572014"></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="id25 65150"></a>593 <a class="indexterm" name="id25 65157"></a>594 <a class="indexterm" name="id25 65166"></a>595 <a class="indexterm" name="id25 65173"></a>592 <a class="indexterm" name="id2572064"></a> 593 <a class="indexterm" name="id2572070"></a> 594 <a class="indexterm" name="id2572080"></a> 595 <a class="indexterm" name="id2572086"></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="id25 65183"></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="id2572097"></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="id25 65209"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2565221"></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="id2565241"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr></table><p>601 <a class="indexterm" name="id25 65255"></a>602 <a class="indexterm" name="id25 65261"></a>603 <a class="indexterm" name="id25 65268"></a>604 <a class="indexterm" name="id25 65275"></a>605 <a class="indexterm" name="id25 65281"></a>600 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2572123"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2572134"></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="id2572154"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr></table><p> 601 <a class="indexterm" name="id2572168"></a> 602 <a class="indexterm" name="id2572175"></a> 603 <a class="indexterm" name="id2572182"></a> 604 <a class="indexterm" name="id2572188"></a> 605 <a class="indexterm" name="id2572195"></a> 606 606 In case samba cannot correctly identify the appropriate ADS server using the realm name, use the 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="id25 65313"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p>607 <a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server</a> option in <code class="filename">smb.conf</code>: 608 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2572226"></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="id25 65339"></a>615 <a class="indexterm" name="id25 65346"></a>614 <a class="indexterm" name="id2572253"></a> 615 <a class="indexterm" name="id2572260"></a> 616 616 You do <span class="emphasis"><em>not</em></span> need an smbpasswd file, and older clients will be authenticated as 617 if <a class="link" href="smb.conf.5.html#SECURITY" >security = domain</a>, although it will not do any harm and617 if <a class="link" href="smb.conf.5.html#SECURITY" target="_top">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="id25 65374"></a>Configure <code class="filename">/etc/krb5.conf</code></h3></div></div></div><p>620 <a class="indexterm" name="id25 65386"></a>621 <a class="indexterm" name="id25 65393"></a>622 <a class="indexterm" name="id25 65402"></a>623 <a class="indexterm" name="id25 65409"></a>619 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2572288"></a>Configure <code class="filename">/etc/krb5.conf</code></h3></div></div></div><p> 620 <a class="indexterm" name="id2572300"></a> 621 <a class="indexterm" name="id2572306"></a> 622 <a class="indexterm" name="id2572316"></a> 623 <a class="indexterm" name="id2572323"></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="id25 65427"></a>628 <a class="indexterm" name="id25 65434"></a>629 <a class="indexterm" name="id25 65441"></a>630 <a class="indexterm" name="id25 65447"></a>631 <a class="indexterm" name="id25 65454"></a>627 <a class="indexterm" name="id2572341"></a> 628 <a class="indexterm" name="id2572347"></a> 629 <a class="indexterm" name="id2572354"></a> 630 <a class="indexterm" name="id2572361"></a> 631 <a class="indexterm" name="id2572367"></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="id25 65476"></a>639 <a class="indexterm" name="id25 65482"></a>640 <a class="indexterm" name="id25 65489"></a>641 <a class="indexterm" name="id25 65496"></a>642 <a class="indexterm" name="id25 65503"></a>643 <a class="indexterm" name="id25 65510"></a>638 <a class="indexterm" name="id2572389"></a> 639 <a class="indexterm" name="id2572396"></a> 640 <a class="indexterm" name="id2572403"></a> 641 <a class="indexterm" name="id2572409"></a> 642 <a class="indexterm" name="id2572416"></a> 643 <a class="indexterm" name="id2572423"></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="id25 65541"></a>652 <a class="indexterm" name="id25 65548"></a>653 <a class="indexterm" name="id25 65555"></a>654 <a class="indexterm" name="id25 65561"></a>655 <a class="indexterm" name="id25 65568"></a>656 <a class="indexterm" name="id25 65575"></a>651 <a class="indexterm" name="id2572455"></a> 652 <a class="indexterm" name="id2572461"></a> 653 <a class="indexterm" name="id2572468"></a> 654 <a class="indexterm" name="id2572475"></a> 655 <a class="indexterm" name="id2572482"></a> 656 <a class="indexterm" name="id2572488"></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="id25 65596"></a>662 <a class="indexterm" name="id2572510"></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="id25 65622"></a>677 <a class="indexterm" name="id2572535"></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="id25 65644"></a>695 <a class="indexterm" name="id25 65650"></a>694 <a class="indexterm" name="id2572557"></a> 695 <a class="indexterm" name="id2572564"></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="id25 65674"></a>701 <a class="indexterm" name="id25 65681"></a>702 <a class="indexterm" name="id25 65687"></a>703 <a class="indexterm" name="id25 65694"></a>700 <a class="indexterm" name="id2572587"></a> 701 <a class="indexterm" name="id2572594"></a> 702 <a class="indexterm" name="id2572601"></a> 703 <a class="indexterm" name="id2572607"></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="id25 65715"></a>712 <a class="indexterm" name="id25 65722"></a>713 <a class="indexterm" name="id25 65729"></a>711 <a class="indexterm" name="id2572629"></a> 712 <a class="indexterm" name="id2572636"></a> 713 <a class="indexterm" name="id2572642"></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="id25 65746"></a>719 <a class="indexterm" name="id25 65753"></a>720 <a class="indexterm" name="id25 65760"></a>721 <a class="indexterm" name="id25 65767"></a>718 <a class="indexterm" name="id2572660"></a> 719 <a class="indexterm" name="id2572666"></a> 720 <a class="indexterm" name="id2572673"></a> 721 <a class="indexterm" name="id2572680"></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="id25 65785"></a>726 <a class="indexterm" name="id25 65792"></a>725 <a class="indexterm" name="id2572698"></a> 726 <a class="indexterm" name="id2572705"></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="id25 65803"></a>730 <a class="indexterm" name="id25 65810"></a>731 <a class="indexterm" name="id25 65816"></a>732 <a class="indexterm" name="id25 65823"></a>729 <a class="indexterm" name="id2572717"></a> 730 <a class="indexterm" name="id2572723"></a> 731 <a class="indexterm" name="id2572730"></a> 732 <a class="indexterm" name="id2572737"></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="id25 65838"></a>738 <a class="indexterm" name="id25 65845"></a>739 <a class="indexterm" name="id25 65851"></a>737 <a class="indexterm" name="id2572751"></a> 738 <a class="indexterm" name="id2572758"></a> 739 <a class="indexterm" name="id2572765"></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="id25 65874"></a>745 <a class="indexterm" name="id25 65881"></a>746 <a class="indexterm" name="id25 65888"></a>747 <a class="indexterm" name="id25 65895"></a>744 <a class="indexterm" name="id2572788"></a> 745 <a class="indexterm" name="id2572794"></a> 746 <a class="indexterm" name="id2572802"></a> 747 <a class="indexterm" name="id2572809"></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="id25 65967"></a>752 <a class="indexterm" name="id25 65973"></a>753 <a class="indexterm" name="id25 65980"></a>754 <a class="indexterm" name="id25 65987"></a>751 <a class="indexterm" name="id2572879"></a> 752 <a class="indexterm" name="id2572886"></a> 753 <a class="indexterm" name="id2572893"></a> 754 <a class="indexterm" name="id2572900"></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="id25 66022"></a>764 <a class="indexterm" name="id25 66028"></a>765 <a class="indexterm" name="id25 66035"></a>766 <a class="indexterm" name="id25 66042"></a>767 <a class="indexterm" name="id25 66049"></a>768 <a class="indexterm" name="id25 66056"></a>763 <a class="indexterm" name="id2572934"></a> 764 <a class="indexterm" name="id2572941"></a> 765 <a class="indexterm" name="id2572948"></a> 766 <a class="indexterm" name="id2572955"></a> 767 <a class="indexterm" name="id2572962"></a> 768 <a class="indexterm" name="id2572968"></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="id25 66106"></a>779 <a class="indexterm" name="id25 66113"></a>780 <a class="indexterm" name="id25 66120"></a>781 <a class="indexterm" name="id25 66127"></a>778 <a class="indexterm" name="id2573018"></a> 779 <a class="indexterm" name="id2573026"></a> 780 <a class="indexterm" name="id2573033"></a> 781 <a class="indexterm" name="id2573039"></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="id25 66176"></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="id2573089"></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="id25 66195"></a>795 <a class="indexterm" name="id25 66202"></a>796 <a class="indexterm" name="id25 66209"></a>794 <a class="indexterm" name="id2573108"></a> 795 <a class="indexterm" name="id2573115"></a> 796 <a class="indexterm" name="id2573122"></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="id25 66229"></a>801 <a class="indexterm" name="id25 66236"></a>800 <a class="indexterm" name="id2573141"></a> 801 <a class="indexterm" name="id2573148"></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="id25 66269"></a>807 <a class="indexterm" name="id25 66276"></a>808 <a class="indexterm" name="id25 66283"></a>806 <a class="indexterm" name="id2573181"></a> 807 <a class="indexterm" name="id2573188"></a> 808 <a class="indexterm" name="id2573195"></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="id25 66315"></a>814 <a class="indexterm" name="id25 66321"></a>815 <a class="indexterm" name="id25 66328"></a>813 <a class="indexterm" name="id2573227"></a> 814 <a class="indexterm" name="id2573234"></a> 815 <a class="indexterm" name="id2573241"></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="id25 66344"></a>821 <a class="indexterm" name="id25 66351"></a>822 <a class="indexterm" name="id25 66360"></a>820 <a class="indexterm" name="id2573257"></a> 821 <a class="indexterm" name="id2573264"></a> 822 <a class="indexterm" name="id2573273"></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="id25 66388"></a>829 <a class="indexterm" name="id25 66394"></a>830 <a class="indexterm" name="id25 66401"></a>828 <a class="indexterm" name="id2573300"></a> 829 <a class="indexterm" name="id2573307"></a> 830 <a class="indexterm" name="id2573314"></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="id25 66428"></a>834 <a class="indexterm" name="id25 66435"></a>835 <a class="indexterm" name="id25 66442"></a>833 <a class="indexterm" name="id2573341"></a> 834 <a class="indexterm" name="id2573347"></a> 835 <a class="indexterm" name="id2573354"></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="id25 66469"></a>Notes</h3></div></div></div><p>840 <a class="indexterm" name="id25 66477"></a>841 <a class="indexterm" name="id25 66484"></a>842 <a class="indexterm" name="id25 66491"></a>839 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2573382"></a>Notes</h3></div></div></div><p> 840 <a class="indexterm" name="id2573390"></a> 841 <a class="indexterm" name="id2573397"></a> 842 <a class="indexterm" name="id2573404"></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="id25 66503"></a>847 <a class="indexterm" name="id25 66510"></a>848 <a class="indexterm" name="id25 66517"></a>846 <a class="indexterm" name="id2573416"></a> 847 <a class="indexterm" name="id2573423"></a> 848 <a class="indexterm" name="id2573430"></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="id25 66541"></a>Sharing User ID Mappings between Samba Domain Members</h2></div></div></div><p>852 <a class="indexterm" name="id25 66550"></a>853 <a class="indexterm" name="id25 66557"></a>854 <a class="indexterm" name="id25 66563"></a>855 <a class="indexterm" name="id25 66570"></a>851 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2573454"></a>Sharing User ID Mappings between Samba Domain Members</h2></div></div></div><p> 852 <a class="indexterm" name="id2573463"></a> 853 <a class="indexterm" name="id2573470"></a> 854 <a class="indexterm" name="id2573476"></a> 855 <a class="indexterm" name="id2573483"></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="id25 66588"></a>860 <a class="indexterm" name="id25 66595"></a>861 <a class="indexterm" name="id25 66602"></a>859 <a class="indexterm" name="id2573501"></a> 860 <a class="indexterm" name="id2573508"></a> 861 <a class="indexterm" name="id2573515"></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="id25 66619"></a>867 <a class="indexterm" name="id25 66626"></a>866 <a class="indexterm" name="id2573532"></a> 867 <a class="indexterm" name="id2573539"></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="id25 66650"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr></table><p>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>869 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2573562"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr></table><p> 870 See the <code class="filename">smb.conf</code> man page entry for the <a class="link" href="smb.conf.5.html#LDAPIDMAPSUFFIX" target="_top">ldap idmap suffix</a> 871 871 parameter for further information. 872 872 </p><p> 873 <a class="indexterm" name="id25 66686"></a>874 <a class="indexterm" name="id25 66692"></a>875 <a class="indexterm" name="id25 66699"></a>876 Do not forget to specify also the <a class="link" href="smb.conf.5.html#LDAPADMINDN" >ldap admin dn</a>873 <a class="indexterm" name="id2573599"></a> 874 <a class="indexterm" name="id2573605"></a> 875 <a class="indexterm" name="id2573612"></a> 876 Do not forget to specify also the <a class="link" href="smb.conf.5.html#LDAPADMINDN" target="_top">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: 878 878 </p><pre class="screen"> … … 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="id25 66747"></a>Common Errors</h2></div></div></div><p>884 <a class="indexterm" name="id25 66755"></a>885 <a class="indexterm" name="id25 66762"></a>883 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2573660"></a>Common Errors</h2></div></div></div><p> 884 <a class="indexterm" name="id2573668"></a> 885 <a class="indexterm" name="id2573675"></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="id25 66787"></a>Cannot Add Machine Back to Domain</h3></div></div></div><p>894 <a class="indexterm" name="id25 66795"></a>895 <a class="indexterm" name="id25 66802"></a>893 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2573700"></a>Cannot Add Machine Back to Domain</h3></div></div></div><p> 894 <a class="indexterm" name="id2573708"></a> 895 <a class="indexterm" name="id2573715"></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="id25 66824"></a>902 <a class="indexterm" name="id25 66830"></a>901 <a class="indexterm" name="id2573737"></a> 902 <a class="indexterm" name="id2573743"></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="id25 66863"></a>Adding Machine to Domain Fails</h3></div></div></div><p>911 <a class="indexterm" name="id25 66871"></a>912 <a class="indexterm" name="id25 66878"></a>910 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2573776"></a>Adding Machine to Domain Fails</h3></div></div></div><p> 911 <a class="indexterm" name="id2573784"></a> 912 <a class="indexterm" name="id2573790"></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="id25 66898"></a>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>917 <a class="indexterm" name="id2573811"></a> 918 You should check that there is an <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" target="_top">add machine script</a> in your <code class="filename">smb.conf</code> 919 919 file. If there is not, please add one that is appropriate for your OS platform. If a script 920 has been defined, you will need to debug its operation. Increase the <a class="link" href="smb.conf.5.html#LOGLEVEL" >log level</a>920 has been defined, you will need to debug its operation. Increase the <a class="link" href="smb.conf.5.html#LOGLEVEL" target="_top">log level</a> 921 921 in the <code class="filename">smb.conf</code> file to level 10, then try to rejoin the domain. Check the logs to see which 922 922 operation is failing. … … 924 924 Possible causes include: 925 925 </p><div class="itemizedlist"><ul type="disc"><li><p> 926 <a class="indexterm" name="id25 66956"></a>927 <a class="indexterm" name="id25 66963"></a>926 <a class="indexterm" name="id2573869"></a> 927 <a class="indexterm" name="id2573875"></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="id25 66974"></a>931 <a class="indexterm" name="id25 66981"></a>930 <a class="indexterm" name="id2573887"></a> 931 <a class="indexterm" name="id2573894"></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="id25 66998"></a>936 <a class="indexterm" name="id25 67005"></a>935 <a class="indexterm" name="id2573911"></a> 936 <a class="indexterm" name="id2573918"></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="id25 67022"></a>940 <a class="indexterm" name="id25 67029"></a>939 <a class="indexterm" name="id2573935"></a> 940 <a class="indexterm" name="id2573942"></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="id25 67061"></a>948 <a class="indexterm" name="id25 67068"></a>949 <a class="indexterm" name="id25 67074"></a>950 The <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" >add machine script</a> does not create the947 <a class="indexterm" name="id2573973"></a> 948 <a class="indexterm" name="id2573980"></a> 949 <a class="indexterm" name="id2573987"></a> 950 The <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" target="_top">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="id25 67099"></a>I Can't Join a Windows 2003 PDC</h3></div></div></div><p>954 <a class="indexterm" name="id25 67107"></a>955 <a class="indexterm" name="id25 67113"></a>956 <a class="indexterm" name="id25 67120"></a>957 <a class="indexterm" name="id25 67127"></a>953 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2574012"></a>I Can't Join a Windows 2003 PDC</h3></div></div></div><p> 954 <a class="indexterm" name="id2574020"></a> 955 <a class="indexterm" name="id2574026"></a> 956 <a class="indexterm" name="id2574032"></a> 957 <a class="indexterm" name="id2574039"></a> 958 958 Windows 2003 requires SMB signing. Client-side SMB signing has been implemented in Samba-3.0. 959 Set <a class="link" href="smb.conf.5.html#CLIENTUSESPNEGO" >client use spnego = yes</a> when communicating959 Set <a class="link" href="smb.conf.5.html#CLIENTUSESPNEGO" target="_top">client use spnego = yes</a> when communicating 960 960 with a Windows 2003 server. This will not interfere with other Windows clients that do not 961 961 support the more advanced security features of Windows 2003 because the client will simply -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/go01.html
r226 r231 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.7 3.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="id2687924"></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.74.0"><link rel="home" 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="id2694913"></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>, … … 97 97 The UNC syntax was developed in the early days of MS DOS 3.x and is used internally by the SMB protocol. 98 98 </p></dd></dl></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="apa.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ix01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Appendix A. 99 <acronym class="acronym">GNU</acronym>General Public License version 399 GNU General Public License version 3 100 100 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Index</td></tr></table></div></body></html> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/groupmapping.html
r226 r231 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.7 3.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#id2588916">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2589331">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2589667">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590308">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591171">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591248">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591260">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591432">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591559">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591572">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591659">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id25 88790"></a>3 <a class="indexterm" name="id25 88799"></a>4 <a class="indexterm" name="id25 88806"></a>5 <a class="indexterm" name="id25 88813"></a>6 <a class="indexterm" name="id25 88820"></a>7 <a class="indexterm" name="id25 88826"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2595838">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2596254">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2596591">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597232">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598097">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598174">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598186">Sample smb.conf Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598357">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598485">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598497">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598584">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2595712"></a> 3 <a class="indexterm" name="id2595721"></a> 4 <a class="indexterm" name="id2595728"></a> 5 <a class="indexterm" name="id2595735"></a> 6 <a class="indexterm" name="id2595741"></a> 7 <a class="indexterm" name="id2595748"></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="id25 88851"></a>13 <a class="indexterm" name="id25 88858"></a>12 <a class="indexterm" name="id2595773"></a> 13 <a class="indexterm" name="id2595780"></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="id25 88880"></a>20 <a class="indexterm" name="id25 88887"></a>19 <a class="indexterm" name="id2595802"></a> 20 <a class="indexterm" name="id2595809"></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="id25 88916"></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="id2595838"></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="id25 88930"></a>30 <a class="indexterm" name="id25 88936"></a>31 <a class="indexterm" name="id25 88943"></a>32 <a class="indexterm" name="id25 88950"></a>33 <a class="indexterm" name="id25 88956"></a>34 <a class="indexterm" name="id25 88963"></a>35 <a class="indexterm" name="id25 88970"></a>29 <a class="indexterm" name="id2595852"></a> 30 <a class="indexterm" name="id2595858"></a> 31 <a class="indexterm" name="id2595865"></a> 32 <a class="indexterm" name="id2595872"></a> 33 <a class="indexterm" name="id2595878"></a> 34 <a class="indexterm" name="id2595885"></a> 35 <a class="indexterm" name="id2595892"></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 … … 39 39 so long as <code class="literal">winbindd</code> is running, Samba group accounts that are created using these 40 40 tools will be allocated UNIX UIDs and GIDs from the ID range specified by the 41 <a class="link" href="smb.conf.5.html#IDMAPUID" >idmap uid</a>/<a class="link" href="smb.conf.5.html#IDMAPGID">idmap gid</a>41 <a class="link" href="smb.conf.5.html#IDMAPUID" target="_top">idmap uid</a>/<a class="link" href="smb.conf.5.html#IDMAPGID" target="_top">idmap gid</a> 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="id25 89112"></a>45 <a class="indexterm" name="id25 89119"></a>46 <a class="indexterm" name="id25 89125"></a>47 <a class="indexterm" name="id25 89134"></a>44 <a class="indexterm" name="id2596035"></a> 45 <a class="indexterm" name="id2596042"></a> 46 <a class="indexterm" name="id2596048"></a> 47 <a class="indexterm" name="id2596057"></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="id25 89220"></a>54 <a class="indexterm" name="id25 89227"></a>55 <a class="indexterm" name="id25 89234"></a>56 <a class="indexterm" name="id25 89241"></a>53 <a class="indexterm" name="id2596144"></a> 54 <a class="indexterm" name="id2596150"></a> 55 <a class="indexterm" name="id2596157"></a> 56 <a class="indexterm" name="id2596164"></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="id25 89288"></a>66 <a class="indexterm" name="id25 89295"></a>65 <a class="indexterm" name="id2596212"></a> 66 <a class="indexterm" name="id2596218"></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="id25 89310"></a>72 <a class="indexterm" name="id2596234"></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="id25 89331"></a>Discussion</h2></div></div></div><p>77 <a class="indexterm" name="id25 89339"></a>78 <a class="indexterm" name="id25 89346"></a>76 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2596254"></a>Discussion</h2></div></div></div><p> 77 <a class="indexterm" name="id2596262"></a> 78 <a class="indexterm" name="id2596269"></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="id25 89371"></a>85 <a class="indexterm" name="id2596294"></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="id25 89409"></a>92 <a class="indexterm" name="id25 89416"></a>93 <a class="indexterm" name="id25 89423"></a>94 <a class="indexterm" name="id25 89430"></a>91 <a class="indexterm" name="id2596333"></a> 92 <a class="indexterm" name="id2596340"></a> 93 <a class="indexterm" name="id2596347"></a> 94 <a class="indexterm" name="id2596354"></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="id25 89458"></a>101 <a class="indexterm" name="id25 89465"></a>100 <a class="indexterm" name="id2596382"></a> 101 <a class="indexterm" name="id2596389"></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="id25 89503"></a>106 <a class="indexterm" name="id2596427"></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="id25 89570"></a>120 <a class="indexterm" name="id2596494"></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="id25 89599"></a>126 <a class="indexterm" name="id2596523"></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="id25 89646"></a>139 <a class="indexterm" name="id25 89653"></a>138 <a class="indexterm" name="id2596570"></a> 139 <a class="indexterm" name="id2596577"></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="id25 89667"></a>Warning: User Private Group Problems</h3></div></div></div><p>146 <a class="indexterm" name="id25 89675"></a>147 <a class="indexterm" name="id25 89682"></a>148 <a class="indexterm" name="id25 89689"></a>145 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2596591"></a>Warning: User Private Group Problems</h3></div></div></div><p> 146 <a class="indexterm" name="id2596599"></a> 147 <a class="indexterm" name="id2596606"></a> 148 <a class="indexterm" name="id2596613"></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="id25 89705"></a>156 <a class="indexterm" name="id25 89712"></a>155 <a class="indexterm" name="id2596629"></a> 156 <a class="indexterm" name="id2596636"></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="id25 89725"></a>Nested Groups: Adding Windows Domain Groups to Windows Local Groups</h3></div></div></div><a class="indexterm" name="id2589731"></a><p>161 <a class="indexterm" name="id25 89742"></a>160 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2596648"></a>Nested Groups: Adding Windows Domain Groups to Windows Local Groups</h3></div></div></div><a class="indexterm" name="id2596655"></a><p> 161 <a class="indexterm" name="id2596666"></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="id25 89758"></a>165 <a class="indexterm" name="id2596682"></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="id25 89772"></a>171 <a class="indexterm" name="id25 89778"></a>172 <a class="indexterm" name="id25 89785"></a>173 <a class="indexterm" name="id25 89792"></a>174 <a class="indexterm" name="id25 89799"></a>175 <a class="indexterm" name="id25 89806"></a>176 <a class="indexterm" name="id25 89813"></a>170 <a class="indexterm" name="id2596695"></a> 171 <a class="indexterm" name="id2596702"></a> 172 <a class="indexterm" name="id2596709"></a> 173 <a class="indexterm" name="id2596716"></a> 174 <a class="indexterm" name="id2596723"></a> 175 <a class="indexterm" name="id2596730"></a> 176 <a class="indexterm" name="id2596737"></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="id25 89831"></a>184 <a class="indexterm" name="id25 89838"></a>185 <a class="indexterm" name="id25 89845"></a>183 <a class="indexterm" name="id2596755"></a> 184 <a class="indexterm" name="id2596762"></a> 185 <a class="indexterm" name="id2596769"></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="id25 89865"></a>194 <a class="indexterm" name="id25 89872"></a>195 <a class="indexterm" name="id25 89879"></a>196 <a class="indexterm" name="id25 89885"></a>193 <a class="indexterm" name="id2596789"></a> 194 <a class="indexterm" name="id2596796"></a> 195 <a class="indexterm" name="id2596803"></a> 196 <a class="indexterm" name="id2596809"></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="id25 89916"></a>205 <a class="indexterm" name="id25 89923"></a>206 <a class="indexterm" name="id25 89930"></a>207 <a class="indexterm" name="id25 89937"></a>208 <a class="indexterm" name="id25 89944"></a>209 <a class="indexterm" name="id25 89951"></a>210 <a class="indexterm" name="id25 89958"></a>211 <a class="indexterm" name="id25 89965"></a>204 <a class="indexterm" name="id2596840"></a> 205 <a class="indexterm" name="id2596847"></a> 206 <a class="indexterm" name="id2596854"></a> 207 <a class="indexterm" name="id2596861"></a> 208 <a class="indexterm" name="id2596868"></a> 209 <a class="indexterm" name="id2596875"></a> 210 <a class="indexterm" name="id2596882"></a> 211 <a class="indexterm" name="id2596889"></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="id25 89993"></a>221 <a class="indexterm" name="id259 0000"></a>222 <a class="indexterm" name="id259 0007"></a>223 <a class="indexterm" name="id259 0014"></a>220 <a class="indexterm" name="id2596917"></a> 221 <a class="indexterm" name="id2596924"></a> 222 <a class="indexterm" name="id2596931"></a> 223 <a class="indexterm" name="id2596938"></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="id259 0044"></a>232 <a class="indexterm" name="id259 0051"></a>233 <a class="indexterm" name="id259 0058"></a>234 <a class="indexterm" name="id259 0065"></a>235 <a class="indexterm" name="id259 0072"></a>231 <a class="indexterm" name="id2596968"></a> 232 <a class="indexterm" name="id2596975"></a> 233 <a class="indexterm" name="id2596982"></a> 234 <a class="indexterm" name="id2596989"></a> 235 <a class="indexterm" name="id2596996"></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="id259 0118"></a>246 <a class="indexterm" name="id259 0125"></a>247 <a class="indexterm" name="id259 0132"></a>248 <a class="indexterm" name="id259 0138"></a>249 <a class="indexterm" name="id259 0145"></a>250 <a class="indexterm" name="id259 0152"></a>251 <a class="indexterm" name="id259 0159"></a>245 <a class="indexterm" name="id2597042"></a> 246 <a class="indexterm" name="id2597049"></a> 247 <a class="indexterm" name="id2597056"></a> 248 <a class="indexterm" name="id2597062"></a> 249 <a class="indexterm" name="id2597069"></a> 250 <a class="indexterm" name="id2597076"></a> 251 <a class="indexterm" name="id2597083"></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="id259 0202"></a>260 <a class="indexterm" name="id259 0209"></a>259 <a class="indexterm" name="id2597126"></a> 260 <a class="indexterm" name="id2597133"></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="id259 0249"></a>270 <a class="indexterm" name="id259 0256"></a>271 <a class="indexterm" name="id259 0263"></a>272 <a class="indexterm" name="id259 0270"></a>269 <a class="indexterm" name="id2597173"></a> 270 <a class="indexterm" name="id2597180"></a> 271 <a class="indexterm" name="id2597187"></a> 272 <a class="indexterm" name="id2597194"></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="id259 0308"></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="id2597232"></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="id259 0339"></a>284 <a class="indexterm" name="id259 0346"></a>285 <a class="indexterm" name="id259 0353"></a>283 <a class="indexterm" name="id2597263"></a> 284 <a class="indexterm" name="id2597270"></a> 285 <a class="indexterm" name="id2597277"></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="id259 0370"></a>292 <a class="indexterm" name="id259 0377"></a>293 <a class="indexterm" name="id259 0384"></a>291 <a class="indexterm" name="id2597294"></a> 292 <a class="indexterm" name="id2597301"></a> 293 <a class="indexterm" name="id2597308"></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="id259 0405"></a>299 <a class="indexterm" name="id259 0412"></a>298 <a class="indexterm" name="id2597329"></a> 299 <a class="indexterm" name="id2597336"></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="id259 0427"></a>Applicable Only to Versions Earlier than 3.0.11</h4></div></div></div><p>303 <a class="indexterm" name="id259 0435"></a>302 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2597350"></a>Applicable Only to Versions Earlier than 3.0.11</h4></div></div></div><p> 303 <a class="indexterm" name="id2597359"></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="id259 0452"></a>309 <a class="indexterm" name="id259 0459"></a>308 <a class="indexterm" name="id2597376"></a> 309 <a class="indexterm" name="id2597383"></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="id259 0478"></a>315 <a class="indexterm" name="id259 0485"></a>316 <a class="indexterm" name="id259 0491"></a>317 <a class="indexterm" name="id259 0498"></a>318 <a class="indexterm" name="id259 0505"></a>319 <a class="indexterm" name="id259 0512"></a>314 <a class="indexterm" name="id2597402"></a> 315 <a class="indexterm" name="id2597408"></a> 316 <a class="indexterm" name="id2597415"></a> 317 <a class="indexterm" name="id2597422"></a> 318 <a class="indexterm" name="id2597429"></a> 319 <a class="indexterm" name="id2597436"></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="id259 0548"></a>Default Users, Groups, and Relative Identifiers</h3></div></div></div><p>328 <a class="indexterm" name="id259 0557"></a>329 <a class="indexterm" name="id259 0566"></a>330 <a class="indexterm" name="id259 0572"></a>331 <a class="indexterm" name="id259 0579"></a>332 <a class="indexterm" name="id259 0586"></a>333 <a class="indexterm" name="id259 0593"></a>334 <a class="indexterm" name="id259 0600"></a>335 <a class="indexterm" name="id259 0607"></a>327 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2597472"></a>Default Users, Groups, and Relative Identifiers</h3></div></div></div><p> 328 <a class="indexterm" name="id2597481"></a> 329 <a class="indexterm" name="id2597490"></a> 330 <a class="indexterm" name="id2597496"></a> 331 <a class="indexterm" name="id2597503"></a> 332 <a class="indexterm" name="id2597510"></a> 333 <a class="indexterm" name="id2597517"></a> 334 <a class="indexterm" name="id2597524"></a> 335 <a class="indexterm" name="id2597531"></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="id259 0629"></a>344 <a class="indexterm" name="id259 0636"></a>345 <a class="indexterm" name="id259 0642"></a>346 <a class="indexterm" name="id259 0649"></a>343 <a class="indexterm" name="id2597552"></a> 344 <a class="indexterm" name="id2597559"></a> 345 <a class="indexterm" name="id2597566"></a> 346 <a class="indexterm" name="id2597573"></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="id259 0671"></a>351 <a class="indexterm" name="id259 0678"></a>352 <a class="indexterm" name="id259 0684"></a>353 <a class="indexterm" name="id259 0691"></a>354 <a class="indexterm" name="id259 0698"></a>350 <a class="indexterm" name="id2597595"></a> 351 <a class="indexterm" name="id2597601"></a> 352 <a class="indexterm" name="id2597608"></a> 353 <a class="indexterm" name="id2597615"></a> 354 <a class="indexterm" name="id2597622"></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="id259 0710"></a>359 <a class="indexterm" name="id259 0717"></a>358 <a class="indexterm" name="id2597634"></a> 359 <a class="indexterm" name="id2597641"></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="id259 1171"></a>Example Configuration</h3></div></div></div><p>369 <a class="indexterm" name="id259 1179"></a>368 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598097"></a>Example Configuration</h3></div></div></div><p> 369 <a class="indexterm" name="id2598105"></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="id259 1202"></a>373 <a class="indexterm" name="id2598127"></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="id259 1248"></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="id2598174"></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="id259 1260"></a>Sample <code class="filename">smb.conf</code> Add Group Script</h3></div></div></div><p>386 <a class="indexterm" name="id259 1274"></a>387 <a class="indexterm" name="id259 1280"></a>388 <a class="indexterm" name="id259 1288"></a>389 <a class="indexterm" name="id259 1294"></a>390 <a class="indexterm" name="id259 1301"></a>385 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598186"></a>Sample <code class="filename">smb.conf</code> Add Group Script</h3></div></div></div><p> 386 <a class="indexterm" name="id2598199"></a> 387 <a class="indexterm" name="id2598206"></a> 388 <a class="indexterm" name="id2598213"></a> 389 <a class="indexterm" name="id2598220"></a> 390 <a class="indexterm" name="id2598227"></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="id259 1416"></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="id259 1432"></a>Script to Configure Group Mapping</h3></div></div></div><p>420 <a class="indexterm" name="id259 1440"></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="id2598342"></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="id2598357"></a>Script to Configure Group Mapping</h3></div></div></div><p> 420 <a class="indexterm" name="id2598366"></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="id259 1490"></a>426 <a class="indexterm" name="id2598416"></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="id259 1559"></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="id2598485"></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="id259 1572"></a>Adding Groups Fails</h3></div></div></div><p>458 <a class="indexterm" name="id259 1579"></a>457 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598497"></a>Adding Groups Fails</h3></div></div></div><p> 458 <a class="indexterm" name="id2598505"></a> 459 459 This is a common problem when the <code class="literal">groupadd</code> is called directly 460 by the Samba interface script for the <a class="link" href="smb.conf.5.html#ADDGROUPSCRIPT" >add group script</a> in460 by the Samba interface script for the <a class="link" href="smb.conf.5.html#ADDGROUPSCRIPT" target="_top">add group script</a> in 461 461 the <code class="filename">smb.conf</code> file. 462 462 </p><p> 463 <a class="indexterm" name="id259 1617"></a>464 <a class="indexterm" name="id259 1624"></a>463 <a class="indexterm" name="id2598542"></a> 464 <a class="indexterm" name="id2598549"></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="id259 1637"></a>468 <a class="indexterm" name="id2598562"></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="id259 1659"></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="id2598584"></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="id259 1673"></a>478 <a class="indexterm" name="id2598598"></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
r226 r231 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.7 3.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#id2597506">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2597531">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598554">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598788">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2598860">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2598923">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2599645">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600235">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600820">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id2 597231"></a>3 <a class="indexterm" name="id2 597238"></a>4 <a class="indexterm" name="id2 597245"></a>5 <a class="indexterm" name="id2 597252"></a>6 <a class="indexterm" name="id2 597261"></a>7 <a class="indexterm" name="id2 597268"></a>8 <a class="indexterm" name="id2 597274"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2604437">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2604462">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605485">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605720">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2605791">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2605854">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2606577">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607167">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607752">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2604152"></a> 3 <a class="indexterm" name="id2604159"></a> 4 <a class="indexterm" name="id2604166"></a> 5 <a class="indexterm" name="id2604173"></a> 6 <a class="indexterm" name="id2604182"></a> 7 <a class="indexterm" name="id2604189"></a> 8 <a class="indexterm" name="id2604195"></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="id2 597298"></a>20 <a class="indexterm" name="id2 597305"></a>21 <a class="indexterm" name="id2 597312"></a>22 <a class="indexterm" name="id2 597319"></a>19 <a class="indexterm" name="id2604219"></a> 20 <a class="indexterm" name="id2604226"></a> 21 <a class="indexterm" name="id2604233"></a> 22 <a class="indexterm" name="id2604240"></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="id2 597340"></a>30 <a class="indexterm" name="id2 597346"></a>31 <a class="indexterm" name="id2 597352"></a>32 <a class="indexterm" name="id2 597359"></a>33 <a class="indexterm" name="id2 597366"></a>34 <a class="indexterm" name="id2 597372"></a>35 <a class="indexterm" name="id2 597379"></a>36 <a class="indexterm" name="id2 597386"></a>29 <a class="indexterm" name="id2604261"></a> 30 <a class="indexterm" name="id2604267"></a> 31 <a class="indexterm" name="id2604273"></a> 32 <a class="indexterm" name="id2604280"></a> 33 <a class="indexterm" name="id2604286"></a> 34 <a class="indexterm" name="id2604293"></a> 35 <a class="indexterm" name="id2604300"></a> 36 <a class="indexterm" name="id2604307"></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="id2 597415" href="#ftn.id2597415" class="footnote">4</a>]</sup> free from inadvertent cross-over, close attention should be given44 <code class="literal">FRANCISCUS\FJones</code><sup>[<a name="id2604346" href="#ftn.id2604346" 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="id2 597443"></a>48 <a class="indexterm" name="id2 597449"></a>49 <a class="indexterm" name="id2 597456"></a>50 <a class="indexterm" name="id2 597463"></a>51 <a class="indexterm" name="id2 597469"></a>52 <a class="indexterm" name="id2 597476"></a>47 <a class="indexterm" name="id2604373"></a> 48 <a class="indexterm" name="id2604380"></a> 49 <a class="indexterm" name="id2604387"></a> 50 <a class="indexterm" name="id2604394"></a> 51 <a class="indexterm" name="id2604400"></a> 52 <a class="indexterm" name="id2604407"></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="id2 597490"></a>57 <a class="indexterm" name="id2604421"></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="id2 597506"></a>Samba Server Deployment Types and IDMAP</h2></div></div></div><p>60 <a class="indexterm" name="id2 597514"></a>59 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2604437"></a>Samba Server Deployment Types and IDMAP</h2></div></div></div><p> 60 <a class="indexterm" name="id2604445"></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="id2 597531"></a>Standalone Samba Server</h3></div></div></div><p>64 <a class="indexterm" name="id2 597539"></a>65 <a class="indexterm" name="id2 597546"></a>66 <a class="indexterm" name="id2 597552"></a>63 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2604462"></a>Standalone Samba Server</h3></div></div></div><p> 64 <a class="indexterm" name="id2604470"></a> 65 <a class="indexterm" name="id2604476"></a> 66 <a class="indexterm" name="id2604483"></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="id2 597565"></a>71 <a class="indexterm" name="id2 597572"></a>72 <a class="indexterm" name="id2 597579"></a>70 <a class="indexterm" name="id2604496"></a> 71 <a class="indexterm" name="id2604503"></a> 72 <a class="indexterm" name="id2604510"></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="id2 597593"></a>Domain Member Server or Domain Member Client</h3></div></div></div><p>78 <a class="indexterm" name="id2 597602"></a>79 <a class="indexterm" name="id2 597608"></a>80 <a class="indexterm" name="id2 597615"></a>81 <a class="indexterm" name="id2 597621"></a>82 <a class="indexterm" name="id2 597628"></a>77 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2604524"></a>Domain Member Server or Domain Member Client</h3></div></div></div><p> 78 <a class="indexterm" name="id2604532"></a> 79 <a class="indexterm" name="id2604539"></a> 80 <a class="indexterm" name="id2604546"></a> 81 <a class="indexterm" name="id2604552"></a> 82 <a class="indexterm" name="id2604559"></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="id2 597643"></a>89 <a class="indexterm" name="id2 597650"></a>90 <a class="indexterm" name="id2 597657"></a>88 <a class="indexterm" name="id2604574"></a> 89 <a class="indexterm" name="id2604581"></a> 90 <a class="indexterm" name="id2604588"></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="id2 597671"></a>96 <a class="indexterm" name="id2 597678"></a>95 <a class="indexterm" name="id2604602"></a> 96 <a class="indexterm" name="id2604609"></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="id2 597708"></a>103 <a class="indexterm" name="id2 597715"></a>104 <a class="indexterm" name="id2 597722"></a>105 <a class="indexterm" name="id2 597729"></a>106 <a class="indexterm" name="id2 597736"></a>107 <a class="indexterm" name="id2 597743"></a>108 <a class="indexterm" name="id2 597749"></a>109 <a class="indexterm" name="id2 597756"></a>110 <a class="indexterm" name="id2 597763"></a>111 <a class="indexterm" name="id2 597770"></a>112 <a class="indexterm" name="id2 597776"></a>102 <a class="indexterm" name="id2604640"></a> 103 <a class="indexterm" name="id2604646"></a> 104 <a class="indexterm" name="id2604653"></a> 105 <a class="indexterm" name="id2604660"></a> 106 <a class="indexterm" name="id2604667"></a> 107 <a class="indexterm" name="id2604674"></a> 108 <a class="indexterm" name="id2604681"></a> 109 <a class="indexterm" name="id2604687"></a> 110 <a class="indexterm" name="id2604694"></a> 111 <a class="indexterm" name="id2604701"></a> 112 <a class="indexterm" name="id2604708"></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="id2 597819"></a>123 <a class="indexterm" name="id2 597826"></a>122 <a class="indexterm" name="id2604750"></a> 123 <a class="indexterm" name="id2604757"></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="id2 597857"></a>130 <a class="indexterm" name="id2 597864"></a>131 <a class="indexterm" name="id2 597871"></a>132 <a class="indexterm" name="id2 597877"></a>133 <a class="indexterm" name="id2 597884"></a>134 <a class="indexterm" name="id2 597890"></a>135 <a class="indexterm" name="id2 597897"></a>136 <a class="indexterm" name="id2 597904"></a>129 <a class="indexterm" name="id2604788"></a> 130 <a class="indexterm" name="id2604795"></a> 131 <a class="indexterm" name="id2604802"></a> 132 <a class="indexterm" name="id2604808"></a> 133 <a class="indexterm" name="id2604815"></a> 134 <a class="indexterm" name="id2604821"></a> 135 <a class="indexterm" name="id2604828"></a> 136 <a class="indexterm" name="id2604835"></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="id2 597927"></a>142 <a class="indexterm" name="id2 597934"></a>143 <a class="indexterm" name="id2 597941"></a>144 <a class="indexterm" name="id2 597948"></a>145 <a class="indexterm" name="id2 597955"></a>146 <a class="indexterm" name="id2 597961"></a>141 <a class="indexterm" name="id2604858"></a> 142 <a class="indexterm" name="id2604865"></a> 143 <a class="indexterm" name="id2604872"></a> 144 <a class="indexterm" name="id2604879"></a> 145 <a class="indexterm" name="id2604886"></a> 146 <a class="indexterm" name="id2604892"></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="id2 597977"></a>153 <a class="indexterm" name="id2 597984"></a>154 <a class="indexterm" name="id2 597991"></a>155 <a class="indexterm" name="id2 597997"></a>156 <a class="indexterm" name="id2 598004"></a>157 <a class="indexterm" name="id2 598010"></a>158 <a class="indexterm" name="id2 598017"></a>152 <a class="indexterm" name="id2604908"></a> 153 <a class="indexterm" name="id2604915"></a> 154 <a class="indexterm" name="id2604922"></a> 155 <a class="indexterm" name="id2604928"></a> 156 <a class="indexterm" name="id2604935"></a> 157 <a class="indexterm" name="id2604941"></a> 158 <a class="indexterm" name="id2604948"></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="id2 598040"></a>164 <a class="indexterm" name="id2 598047"></a>165 <a class="indexterm" name="id2 598054"></a>166 <a class="indexterm" name="id2 598060"></a>163 <a class="indexterm" name="id2604971"></a> 164 <a class="indexterm" name="id2604978"></a> 165 <a class="indexterm" name="id2604985"></a> 166 <a class="indexterm" name="id2604992"></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="id2 598078"></a>175 <a class="indexterm" name="id2 598085"></a>176 <a class="indexterm" name="id2 598092"></a>177 <a class="indexterm" name="id2 598099"></a>178 <a class="indexterm" name="id2 598106"></a>174 <a class="indexterm" name="id2605009"></a> 175 <a class="indexterm" name="id2605016"></a> 176 <a class="indexterm" name="id2605023"></a> 177 <a class="indexterm" name="id2605030"></a> 178 <a class="indexterm" name="id2605037"></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="id2 598139"></a>186 <a class="indexterm" name="id2 598146"></a>187 <a class="indexterm" name="id2 598152"></a>188 <a class="indexterm" name="id2 598159"></a>185 <a class="indexterm" name="id2605070"></a> 186 <a class="indexterm" name="id2605077"></a> 187 <a class="indexterm" name="id2605084"></a> 188 <a class="indexterm" name="id2605090"></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="id2 598197"></a>198 <a class="indexterm" name="id2 598204"></a>199 <a class="indexterm" name="id2 598211"></a>200 <a class="indexterm" name="id2 598217"></a>197 <a class="indexterm" name="id2605129"></a> 198 <a class="indexterm" name="id2605135"></a> 199 <a class="indexterm" name="id2605142"></a> 200 <a class="indexterm" name="id2605148"></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="id2 598236"></a>209 <a class="indexterm" name="id2 598243"></a>210 <a class="indexterm" name="id2 598250"></a>211 <a class="indexterm" name="id2 598257"></a>212 <a class="indexterm" name="id2 598263"></a>213 <a class="indexterm" name="id2 598270"></a>214 <a class="indexterm" name="id2 598276"></a>215 <a class="indexterm" name="id2 598283"></a>208 <a class="indexterm" name="id2605167"></a> 209 <a class="indexterm" name="id2605174"></a> 210 <a class="indexterm" name="id2605181"></a> 211 <a class="indexterm" name="id2605188"></a> 212 <a class="indexterm" name="id2605194"></a> 213 <a class="indexterm" name="id2605201"></a> 214 <a class="indexterm" name="id2605207"></a> 215 <a class="indexterm" name="id2605214"></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="id2 598351"></a>226 <a class="indexterm" name="id2 598358"></a>227 <a class="indexterm" name="id2 598365"></a>228 <a class="indexterm" name="id2 598372"></a>229 <a class="indexterm" name="id2 598378"></a>230 <a class="indexterm" name="id2 598385"></a>231 <a class="indexterm" name="id2 598392"></a>232 <a class="indexterm" name="id2 598398"></a>225 <a class="indexterm" name="id2605283"></a> 226 <a class="indexterm" name="id2605290"></a> 227 <a class="indexterm" name="id2605296"></a> 228 <a class="indexterm" name="id2605303"></a> 229 <a class="indexterm" name="id2605309"></a> 230 <a class="indexterm" name="id2605316"></a> 231 <a class="indexterm" name="id2605323"></a> 232 <a class="indexterm" name="id2605330"></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="id2 598437"></a>240 <a class="indexterm" name="id2 598444"></a>241 <a class="indexterm" name="id2 598451"></a>239 <a class="indexterm" name="id2605368"></a> 240 <a class="indexterm" name="id2605375"></a> 241 <a class="indexterm" name="id2605382"></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="id2 598492"></a>251 <a class="indexterm" name="id2 598499"></a>250 <a class="indexterm" name="id2605424"></a> 251 <a class="indexterm" name="id2605430"></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="id2 598517"></a>259 <a class="indexterm" name="id2 598524"></a>260 <a class="indexterm" name="id2 598530"></a>258 <a class="indexterm" name="id2605448"></a> 259 <a class="indexterm" name="id2605455"></a> 260 <a class="indexterm" name="id2605462"></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="id2 598554"></a>Primary Domain Controller</h3></div></div></div><p>270 <a class="indexterm" name="id2 598562"></a>271 <a class="indexterm" name="id2 598569"></a>272 <a class="indexterm" name="id2 598575"></a>273 <a class="indexterm" name="id2 598582"></a>269 </p></dd></dl></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2605485"></a>Primary Domain Controller</h3></div></div></div><p> 270 <a class="indexterm" name="id2605493"></a> 271 <a class="indexterm" name="id2605500"></a> 272 <a class="indexterm" name="id2605507"></a> 273 <a class="indexterm" name="id2605513"></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="id2 598611"></a>281 <a class="indexterm" name="id2605542"></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="id2 598643"></a>288 <a class="indexterm" name="id2 598650"></a>289 <a class="indexterm" name="id2 598656"></a>290 <a class="indexterm" name="id2 598663"></a>287 <a class="indexterm" name="id2605574"></a> 288 <a class="indexterm" name="id2605581"></a> 289 <a class="indexterm" name="id2605587"></a> 290 <a class="indexterm" name="id2605594"></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="id2 598683"></a>296 <a class="indexterm" name="id2 598690"></a>297 <a class="indexterm" name="id2 598696"></a>298 <a class="indexterm" name="id2 598703"></a>299 <a class="indexterm" name="id2 598710"></a>300 <a class="indexterm" name="id2 598717"></a>301 <a class="indexterm" name="id2 598723"></a>302 <a class="indexterm" name="id2 598730"></a>303 <a class="indexterm" name="id2 598737"></a>295 <a class="indexterm" name="id2605614"></a> 296 <a class="indexterm" name="id2605621"></a> 297 <a class="indexterm" name="id2605628"></a> 298 <a class="indexterm" name="id2605635"></a> 299 <a class="indexterm" name="id2605642"></a> 300 <a class="indexterm" name="id2605648"></a> 301 <a class="indexterm" name="id2605655"></a> 302 <a class="indexterm" name="id2605661"></a> 303 <a class="indexterm" name="id2605668"></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="id2 598753"></a>310 <a class="indexterm" name="id2 598760"></a>311 <a class="indexterm" name="id2 598767"></a>312 <a class="indexterm" name="id2 598773"></a>309 <a class="indexterm" name="id2605684"></a> 310 <a class="indexterm" name="id2605691"></a> 311 <a class="indexterm" name="id2605698"></a> 312 <a class="indexterm" name="id2605704"></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="id2 598788"></a>Backup Domain Controller</h3></div></div></div><p>318 <a class="indexterm" name="id2 598796"></a>319 <a class="indexterm" name="id2 598803"></a>320 <a class="indexterm" name="id2 598810"></a>321 <a class="indexterm" name="id2 598817"></a>322 <a class="indexterm" name="id2 598824"></a>323 <a class="indexterm" name="id2 598831"></a>324 <a class="indexterm" name="id2 598838"></a>317 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2605720"></a>Backup Domain Controller</h3></div></div></div><p> 318 <a class="indexterm" name="id2605728"></a> 319 <a class="indexterm" name="id2605734"></a> 320 <a class="indexterm" name="id2605741"></a> 321 <a class="indexterm" name="id2605748"></a> 322 <a class="indexterm" name="id2605755"></a> 323 <a class="indexterm" name="id2605762"></a> 324 <a class="indexterm" name="id2605769"></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="id2 598860"></a>Examples of IDMAP Backend Usage</h2></div></div></div><p>334 <a class="indexterm" name="id2 598868"></a>335 <a class="indexterm" name="id2 598877"></a>336 <a class="indexterm" name="id2 598886"></a>337 <a class="indexterm" name="id2 598893"></a>338 <a class="indexterm" name="id2 598899"></a>333 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2605791"></a>Examples of IDMAP Backend Usage</h2></div></div></div><p> 334 <a class="indexterm" name="id2605799"></a> 335 <a class="indexterm" name="id2605808"></a> 336 <a class="indexterm" name="id2605818"></a> 337 <a class="indexterm" name="id2605824"></a> 338 <a class="indexterm" name="id2605831"></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="id2 598923"></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="id2605854"></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="id2 598947"></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="id2605879"></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="id2 599000"></a><em class="parameter"><code>workgroup = MEGANET2</code></em></td></tr><tr><td><a class="indexterm" name="id2599012"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2599023"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2599035"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2599047"></a><em class="parameter"><code>template primary group = "Domain Users"</code></em></td></tr><tr><td><a class="indexterm" name="id2599059"></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="id2 599074"></a>353 <a class="indexterm" name="id2 599081"></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="id2605931"></a><em class="parameter"><code>workgroup = MEGANET2</code></em></td></tr><tr><td><a class="indexterm" name="id2605943"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2605955"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2605966"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2605978"></a><em class="parameter"><code>template primary group = "Domain Users"</code></em></td></tr><tr><td><a class="indexterm" name="id2605990"></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="id2606006"></a> 353 <a class="indexterm" name="id2606012"></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="id2 599150"></a>376 <a class="indexterm" name="id2606081"></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="id2 599171"></a>383 <a class="indexterm" name="id2606103"></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="id2 599198"></a>391 <a class="indexterm" name="id2 599205"></a>392 <a class="indexterm" name="id2 599212"></a>390 <a class="indexterm" name="id2606130"></a> 391 <a class="indexterm" name="id2606136"></a> 392 <a class="indexterm" name="id2606143"></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="id2 599235"></a>ADS Domains</h4></div></div></div><p>395 <a class="indexterm" name="id2 599242"></a>396 <a class="indexterm" name="id2 599249"></a>394 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2606166"></a>ADS Domains</h4></div></div></div><p> 395 <a class="indexterm" name="id2606174"></a> 396 <a class="indexterm" name="id2606181"></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="id2 599300"></a><em class="parameter"><code>workgroup = BUTTERNET</code></em></td></tr><tr><td><a class="indexterm" name="id2599312"></a><em class="parameter"><code>netbios name = GARGOYLE</code></em></td></tr><tr><td><a class="indexterm" name="id2599324"></a><em class="parameter"><code>realm = BUTTERNET.BIZ</code></em></td></tr><tr><td><a class="indexterm" name="id2599336"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2599347"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2599359"></a><em class="parameter"><code>idmap uid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599371"></a><em class="parameter"><code>idmap gid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599383"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2599395"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2599407"></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="id2 599422"></a>401 <a class="indexterm" name="id2 599429"></a>402 <a class="indexterm" name="id2 599436"></a>403 <a class="indexterm" name="id2 599443"></a>404 <a class="indexterm" name="id2 599449"></a>405 <a class="indexterm" name="id2 599456"></a>406 <a class="indexterm" name="id2 599463"></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="id2606232"></a><em class="parameter"><code>workgroup = BUTTERNET</code></em></td></tr><tr><td><a class="indexterm" name="id2606244"></a><em class="parameter"><code>netbios name = GARGOYLE</code></em></td></tr><tr><td><a class="indexterm" name="id2606256"></a><em class="parameter"><code>realm = BUTTERNET.BIZ</code></em></td></tr><tr><td><a class="indexterm" name="id2606268"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2606279"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2606291"></a><em class="parameter"><code>idmap uid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606303"></a><em class="parameter"><code>idmap gid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606315"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606327"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606339"></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="id2606354"></a> 401 <a class="indexterm" name="id2606361"></a> 402 <a class="indexterm" name="id2606368"></a> 403 <a class="indexterm" name="id2606375"></a> 404 <a class="indexterm" name="id2606381"></a> 405 <a class="indexterm" name="id2606388"></a> 406 <a class="indexterm" name="id2606395"></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="id2 599521"></a>419 <a class="indexterm" name="id2606453"></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="id2 599578"></a>440 <a class="indexterm" name="id2 599585"></a>441 <a class="indexterm" name="id2 599592"></a>442 <a class="indexterm" name="id2 599598"></a>439 <a class="indexterm" name="id2606510"></a> 440 <a class="indexterm" name="id2606517"></a> 441 <a class="indexterm" name="id2606524"></a> 442 <a class="indexterm" name="id2606530"></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="id2 599645"></a>IDMAP_RID with Winbind</h3></div></div></div><p>449 <a class="indexterm" name="id2 599653"></a>450 <a class="indexterm" name="id2 599659"></a>451 <a class="indexterm" name="id2 599666"></a>452 <a class="indexterm" name="id2 599672"></a>448 </p></li></ol></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2606577"></a>IDMAP_RID with Winbind</h3></div></div></div><p> 449 <a class="indexterm" name="id2606585"></a> 450 <a class="indexterm" name="id2606591"></a> 451 <a class="indexterm" name="id2606598"></a> 452 <a class="indexterm" name="id2606604"></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="id2 599695"></a>460 <a class="indexterm" name="id2 599702"></a>461 <a class="indexterm" name="id2 599709"></a>462 <a class="indexterm" name="id2 599716"></a>459 <a class="indexterm" name="id2606627"></a> 460 <a class="indexterm" name="id2606634"></a> 461 <a class="indexterm" name="id2606641"></a> 462 <a class="indexterm" name="id2606648"></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="id2 599748"></a>471 <a class="indexterm" name="id2 599755"></a>470 <a class="indexterm" name="id2606680"></a> 471 <a class="indexterm" name="id2606687"></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="id2 599822"></a><em class="parameter"><code>workgroup = KPAK</code></em></td></tr><tr><td><a class="indexterm" name="id2599834"></a><em class="parameter"><code>netbios name = BIGJOE</code></em></td></tr><tr><td><a class="indexterm" name="id2599846"></a><em class="parameter"><code>realm = CORP.KPAK.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2599858"></a><em class="parameter"><code>server string = Office Server</code></em></td></tr><tr><td><a class="indexterm" name="id2599870"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2599881"></a><em class="parameter"><code>allow trusted domains = No</code></em></td></tr><tr><td><a class="indexterm" name="id2599893"></a><em class="parameter"><code>idmap backend = idmap_rid:KPAK=500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599906"></a><em class="parameter"><code>idmap uid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599917"></a><em class="parameter"><code>idmap gid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2599929"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2599941"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2599953"></a><em class="parameter"><code>winbind enum users = No</code></em></td></tr><tr><td><a class="indexterm" name="id2599965"></a><em class="parameter"><code>winbind enum groups = No</code></em></td></tr><tr><td><a class="indexterm" name="id2599977"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2599989"></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="id260 0004"></a>480 <a class="indexterm" name="id260 0011"></a>481 <a class="indexterm" name="id260 0018"></a>482 <a class="indexterm" name="id260 0025"></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="id2606754"></a><em class="parameter"><code>workgroup = KPAK</code></em></td></tr><tr><td><a class="indexterm" name="id2606766"></a><em class="parameter"><code>netbios name = BIGJOE</code></em></td></tr><tr><td><a class="indexterm" name="id2606778"></a><em class="parameter"><code>realm = CORP.KPAK.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2606790"></a><em class="parameter"><code>server string = Office Server</code></em></td></tr><tr><td><a class="indexterm" name="id2606802"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2606813"></a><em class="parameter"><code>allow trusted domains = No</code></em></td></tr><tr><td><a class="indexterm" name="id2606825"></a><em class="parameter"><code>idmap backend = idmap_rid:KPAK=500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606838"></a><em class="parameter"><code>idmap uid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606849"></a><em class="parameter"><code>idmap gid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606861"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2606873"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606885"></a><em class="parameter"><code>winbind enum users = No</code></em></td></tr><tr><td><a class="indexterm" name="id2606897"></a><em class="parameter"><code>winbind enum groups = No</code></em></td></tr><tr><td><a class="indexterm" name="id2606909"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606921"></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="id2606936"></a> 480 <a class="indexterm" name="id2606943"></a> 481 <a class="indexterm" name="id2606950"></a> 482 <a class="indexterm" name="id2606957"></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="id260 0062"></a>492 <a class="indexterm" name="id260 0069"></a>491 <a class="indexterm" name="id2606994"></a> 492 <a class="indexterm" name="id2607001"></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="id260 0148"></a>518 <a class="indexterm" name="id2607080"></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="id260 0213"></a>534 <a class="indexterm" name="id2607145"></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="id260 0235"></a>IDMAP Storage in LDAP Using Winbind</h3></div></div></div><p>540 <a class="indexterm" name="id260 0243"></a>541 <a class="indexterm" name="id260 0250"></a>539 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2607167"></a>IDMAP Storage in LDAP Using Winbind</h3></div></div></div><p> 540 <a class="indexterm" name="id2607175"></a> 541 <a class="indexterm" name="id2607182"></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="id260 0304"></a><em class="parameter"><code>workgroup = SNOWSHOW</code></em></td></tr><tr><td><a class="indexterm" name="id2600315"></a><em class="parameter"><code>netbios name = GOODELF</code></em></td></tr><tr><td><a class="indexterm" name="id2600327"></a><em class="parameter"><code>realm = SNOWSHOW.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2600339"></a><em class="parameter"><code>server string = Samba Server</code></em></td></tr><tr><td><a class="indexterm" name="id2600351"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2600363"></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="id2600375"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2600387"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2600399"></a><em class="parameter"><code>ldap suffix = dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2600411"></a><em class="parameter"><code>idmap backend = ldap:ldap://ldap.snowshow.com</code></em></td></tr><tr><td><a class="indexterm" name="id2600423"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2600435"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2600446"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2600458"></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="id260 0474"></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="id2607236"></a><em class="parameter"><code>workgroup = SNOWSHOW</code></em></td></tr><tr><td><a class="indexterm" name="id2607247"></a><em class="parameter"><code>netbios name = GOODELF</code></em></td></tr><tr><td><a class="indexterm" name="id2607259"></a><em class="parameter"><code>realm = SNOWSHOW.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2607271"></a><em class="parameter"><code>server string = Samba Server</code></em></td></tr><tr><td><a class="indexterm" name="id2607283"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2607295"></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="id2607307"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2607319"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2607331"></a><em class="parameter"><code>ldap suffix = dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2607343"></a><em class="parameter"><code>idmap backend = ldap:ldap://ldap.snowshow.com</code></em></td></tr><tr><td><a class="indexterm" name="id2607355"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2607367"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2607378"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2607390"></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="id2607406"></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="id260 0508"></a>557 <a class="indexterm" name="id260 0514"></a>558 <a class="indexterm" name="id260 0521"></a>556 <a class="indexterm" name="id2607440"></a> 557 <a class="indexterm" name="id2607446"></a> 558 <a class="indexterm" name="id2607453"></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="id260 0605"></a>614 <a class="indexterm" name="id260 0612"></a>613 <a class="indexterm" name="id2607537"></a> 614 <a class="indexterm" name="id2607544"></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="id260 0807"></a>677 <a class="indexterm" name="id2607739"></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="id260 0820"></a>IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</h3></div></div></div><p>682 <a class="indexterm" name="id260 0829"></a>683 <a class="indexterm" name="id260 0836"></a>681 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2607752"></a>IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</h3></div></div></div><p> 682 <a class="indexterm" name="id2607761"></a> 683 <a class="indexterm" name="id2607768"></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="id260 0895"></a><em class="parameter"><code>workgroup = BOBBY</code></em></td></tr><tr><td><a class="indexterm" name="id2600907"></a><em class="parameter"><code>realm = BOBBY.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2600919"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2600930"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2600942"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2600954"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2600966"></a><em class="parameter"><code>winbind cache time = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2600977"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2600990"></a><em class="parameter"><code>winbind trusted domains only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2601002"></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="id260 1017"></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="id2607827"></a><em class="parameter"><code>workgroup = BOBBY</code></em></td></tr><tr><td><a class="indexterm" name="id2607839"></a><em class="parameter"><code>realm = BOBBY.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2607851"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2607862"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2607874"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2607886"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2607898"></a><em class="parameter"><code>winbind cache time = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2607909"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2607922"></a><em class="parameter"><code>winbind trusted domains only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2607934"></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="id2607949"></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="id260 1037"></a>700 <a class="indexterm" name="id2607969"></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="id260 1062"></a>713 <a class="indexterm" name="id260 1069"></a>712 <a class="indexterm" name="id2607994"></a> 713 <a class="indexterm" name="id2608001"></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="id260 1090"></a>IDMAP, Active Directory, and MS Services for UNIX 3.5</h4></div></div></div><p>720 <a class="indexterm" name="id260 1099"></a>719 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2608022"></a>IDMAP, Active Directory, and MS Services for UNIX 3.5</h4></div></div></div><p> 720 <a class="indexterm" name="id2608031"></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="id260 1117"></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="id2608050"></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.id2 597415" href="#id2597415" 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.id2604346" href="#id2604346" 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
r226 r231 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.7 3.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#id2543461">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#id2543653">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2494756">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2543950">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#id2544229">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2544274">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2544319">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#id2545285">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2545478">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2545921">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2545982">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2546038">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2546138">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546224">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2546269">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2546303">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546314">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2546408">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2546442">“<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#id2546591">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546615">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546695">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2546714">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2548634">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2549558">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#id2551752">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2551919">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2552079">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2552253">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552427">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553169">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553326">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2553624">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2553829">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2553852">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553888">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553932">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553964">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2554021">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#id2554346">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2555580">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2555600">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2556104">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557356">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557408">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2557428">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2558291">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2558297">“<span class="quote">$</span>” Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558397">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558461">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558538">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558657">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558684">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558703">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#id2558887">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2559293">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560037">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560401">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560460">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560550">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561233">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2561690">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561733">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561788">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561843">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561948">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#id2562192">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#id2562879">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563315">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563595">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563701">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#id2564166">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2564901">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#id2565183">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2565374">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#id2566469">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2566541">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2566747">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2566787">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2566863">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2567099">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#id2567225">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567320">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567521">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#id2568504">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#id2568572">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2568632">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2568676">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570446">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2571418">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#id2571656">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2571667">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2571727">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572038">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572158">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572218">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572339">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#id2572601">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2572785">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#id2573222">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2573858">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#id2574416">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#id2575350">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#id2575951">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576191">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576213">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576399">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576539">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577224">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577508">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577660">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577863">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577950">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578147">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579412">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579438">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579511">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579559">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579806">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#id2580290">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2580326">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2580510">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#id2581078">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2581598">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#id2582146">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2582558">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#id2582999">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#id2585535">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2585589">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585930">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2586088">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2588622">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588628">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588665">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#id2588916">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2589331">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2589667">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590308">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591171">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591248">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591260">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591432">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591559">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591572">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591659">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#id2592053">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592347">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592429">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2592587">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#id2593951">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#id2594163">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594211">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594279">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2594708">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2594723">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595092">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2595326">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2595554">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2595599">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595787">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595818">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596440">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2596697">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596716">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596782">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596897">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596915">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2596959">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596994">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#id2597506">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2597531">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598554">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598788">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2598860">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2598923">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2599645">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600235">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600820">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#id2601488">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2601763">Using the “<span class="quote">net rpc rights</span>” Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602108">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2602906">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2603084">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2603089">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#id2603587">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2603782">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604132">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604255">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2604921">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2604954">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605320">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605656">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2605993">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606141">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2606488">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606494">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606541">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606611">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606755">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606970">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607127">Interaction with the Standard Samba “<span class="quote">create mask</span>” Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607496">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607569">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2607981">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2607993">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2608315">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#id2608361">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#id2608588">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2608685">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2608943">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2609928">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610022">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610436">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610623">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610645">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610711">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2610736">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610804">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610834">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610859">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610890">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#id2611065">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611164">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611310">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2611326">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611480">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611540">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#id2611890">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612034">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2612089">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2612133">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2612148">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612177">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#id2612737">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613087">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613123">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613220">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613305">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613514">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#id2613854">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614050">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614200">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614212">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614258">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#id2614436">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2614848">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2614881">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#id2615079">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2615303">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615454">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2615513">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2615614">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615897">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2616094">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2616494">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2616949">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#id2619662">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619832">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619953">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620170">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620490">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2620633">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2620726">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#id2622662">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622678">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#id2623255">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623374">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#id2623547">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623568">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623935">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624191">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624451">Error Message: “<span class="quote">Cannot connect under a different Name</span>”</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624564">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624873">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624983">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625020">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625077">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625111">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625127">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625144">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625278">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625549">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625587">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625736">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625765">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625771">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625812">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#id2625955">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2625960">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626020">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2626139">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2626254">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626501">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626746">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627122">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2627140">Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627190">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627425">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#id2627712">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627834">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#id2628025">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628203">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#id2628562">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628716">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628799">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628918">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2628958">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629622">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629829">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629986">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630173">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630341">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630611">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630695">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630915">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631254">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631489">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631502"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631571">“<span class="quote">Raw</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631679">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631958">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632241"><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#id2632578">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633006">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633129">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633224">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633241">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633303">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633375">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633480">Network Printing (Windows Clients and UNIX/Samba Print2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id26 33498">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633689">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633768">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633858">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633902">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633970">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633985">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#id26 34023">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634041">CUPS: A “<span class="quote">Magical Stone</span>”?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634084">PostScript Drivers with No Major Problems, Even in Kernel4 Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id26 34171">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634194"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634292">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#id2634572">CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634811">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634930">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634955">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635017">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635317">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635535">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635675">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635867">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636011">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636133">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636214">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636295">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#id2636530">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636704">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636876">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636981">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637113">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637337">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638296">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638439">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2638642">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638709">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638775">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638826">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638946">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639121">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639948">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640421">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640456">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640510">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640551">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640692">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640836">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640902">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640942">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640956">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641173">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641249">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641334">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641472">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2641520">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641816">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641927">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641933">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#id2642010">“<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#id2642048">“<span class="quote">cupsaddsmb</span>” Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642122">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642146">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642237">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642289">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642326">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#id2642362">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642397">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642430">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642471">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642496">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642543">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#id2642826">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642881"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642931">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#id2643029">Print Queue Called “<span class="quote">lp</span>” Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643098">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#id2643152">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#id2643339">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643377">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643773">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2643778">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2643819">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644037">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#id2644363">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644760">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644810">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2645716">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2645741">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645801">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645840">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#id2646104">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646448">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646537">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646690">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646736">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2646861">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646911">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646998">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647046">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647278">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647433">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647509">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2647566">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2647572">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647686">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647838">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2650297">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2650345">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2650387">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2650424">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#id2650612">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650639">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650782">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651186">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2651371">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651597">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651640">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#id2651782">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2652077">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652214">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652435">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2652884">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653111">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653123">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653205">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653246">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2653311">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653468">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653480">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#id2653565">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2653614">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2653668">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2654273">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655618">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655652">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655750">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2656102">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656242">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656320">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2656351">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2656502">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657065">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2657570">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2657580">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657642">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657813">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657977">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#id2658152">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2658783">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2658836">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2659834">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660140"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660221">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2660324">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2660718">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2660729">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660827">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#id2661049">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661070">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661198">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661272"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661460"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661496"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661548"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662106">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662192">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662365">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662393">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662420">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2662558">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662571">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662602">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662644">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#id2662849">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2662901">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663035">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663171">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663202">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2663342">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2663994">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2664118">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2664264">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2664270">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#id2664377">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2664421">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2664519">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664690">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664860">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664908">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#id2665004">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2665125">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2665159">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2665288">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666002">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666082">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666223">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666260">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#id2666890">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2668310">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#id2669206">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669234">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#id2669283">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2669434">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669443">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2670654">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#id2672049">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2672084">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673028">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2673264">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2673350">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673583">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#id2674072">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2674197">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2674216">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#id2674854">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675005">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2675203">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2675216">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675277">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675379">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675435">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675491">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675554">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675598">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675617">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#id2675751">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2675790">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2676083">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#id2677846">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2677898">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678154">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678204">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678348">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2678674">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678711">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678886">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#id2679017">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679107">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#id2679342">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2679544">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679677">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679802">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#id2679886">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2680347">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#id2680538">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2680544">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2680585">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2680777">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680851">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2680989">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2681227">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#id2681497">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2681717">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#id2682101">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682205">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682244">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682386">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682429">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682491">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2682496">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#id2682672">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2682756">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2682762">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682881">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2682938">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683031">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683036">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683120">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683146">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683204">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2683235">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#id2683293">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2683362">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2683382">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2683579">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#id2683686">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683724">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683821">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683865">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683913">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683938">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684004">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684056">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684080">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684101">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684192">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684288">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#id2685477">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2685695">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#id2685847">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2686026">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2686117">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="appendix"><a href="apa.html">A.5 <acronym class="acronym">GNU</acronym>General Public License version 36 </a></span></dt><dd><dl><dt><span class="bridgehead"><a href="apa.html#id26 86434">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.74.0"><link rel="home" 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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2551195">Conventions Used</a></span></dt></dl></dd><dt><span class="preface"><a href="IntroSMB.html">Introduction</a></span></dt><dd><dl><dt><span class="sect1"><a href="IntroSMB.html#id2551378">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2498886">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2551674">Book Structure and Layout</a></span></dt></dl></dd><dt><span class="part"><a href="introduction.html">I. General Installation</a></span></dt><dd><dl><dt><span class="chapter"><a href="install.html">1. How to Install and Test SAMBA</a></span></dt><dd><dl><dt><span class="sect1"><a href="install.html#id2551936">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2551976">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2552018">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2552921">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2553100">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2553503">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553560">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2553613">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2553704">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553785">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2553826">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553858">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553868">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2553955">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2553988">The network name cannot be found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="FastStart.html">2. Fast Start: Cure for Impatience</a></span></dt><dd><dl><dt><span class="sect1"><a href="FastStart.html#id2554130">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554154">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554223">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2554242">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2555983">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2556821">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#id2558828">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2558987">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2559132">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2559294">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559457">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560144">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560287">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2560562">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2560749">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2560772">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560804">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560842">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560869">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560927">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#id2561252">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2562486">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2562506">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2563011">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564264">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564317">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2564336">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2565201">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2565206">$ Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565307">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565372">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565448">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565568">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565595">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565614">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#id2565798">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2566203">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2566948">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567313">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567371">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567462">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568144">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2568602">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568645">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568700">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568755">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568860">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#id2569104">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#id2569791">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570508">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570614">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#id2571079">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2571815">Why Is This Better Than security = server?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2572097">Configure smb.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573382">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2573454">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2573660">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2573700">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573776">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2574012">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#id2574139">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574233">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574434">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#id2575417">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#id2575484">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2575545">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2575588">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577360">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2578330">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#id2578567">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2578579">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2578638">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2578950">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579071">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579131">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579252">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#id2579515">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579698">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#id2580138">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580775">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#id2581334">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#id2582267">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#id2582868">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583108">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583129">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583315">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583455">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584141">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584425">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584578">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584781">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584868">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585064">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2586329">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586355">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586428">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586476">I Get an "Unable to browse the network" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586723">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#id2587207">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2587243">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2587426">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#id2587995">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588514">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#id2589063">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589476">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#id2589916">The smbpasswd Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The pdbedit Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2592457">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2592510">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592852">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593010">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2595544">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2595549">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595586">Configuration of auth methods</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="groupmapping.html">12. Group Mapping: MS Windows and UNIX</a></span></dt><dd><dl><dt><span class="sect1"><a href="groupmapping.html#id2595838">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2596254">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2596591">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597232">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598097">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598174">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598186">Sample smb.conf Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598357">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598485">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598497">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598584">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#id2598978">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599273">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599354">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2599512">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#id2600875">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#id2601086">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601134">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601203">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2601631">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2601646">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602015">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2602249">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2602477">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2602523">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602710">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602741">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603364">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2603620">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603639">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603705">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603820">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603838">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2603882">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603917">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#id2604437">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2604462">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605485">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605720">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2605791">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2605854">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2606577">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607167">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607752">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#id2608421">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2608696">Using the net rpc rights Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609041">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2609839">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2610016">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2610022">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#id2610520">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2610715">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611066">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611189">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2611855">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2611888">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612262">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612600">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2612937">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613086">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2613432">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613439">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613486">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613556">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613700">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613915">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614073">Interaction with the Standard Samba create mask Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614442">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614515">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2614928">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2614939">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615262">File Operations Done as root with force user Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615308">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#id2615535">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2615632">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2615890">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2616885">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2616979">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617393">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617580">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617602">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617668">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2617693">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617761">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617791">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617816">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617847">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#id2618022">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618120">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618267">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2618283">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618437">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618496">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#id2618847">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618991">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2619045">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2619089">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2619105">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619134">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#id2619694">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620044">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620080">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620177">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620262">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620471">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#id2620820">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621016">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621165">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621178">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621224">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#id2621402">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2621814">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2621847">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#id2622046">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2622269">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622420">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2622480">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2622580">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622864">Verifying Configuration with testparm</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623061">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623461">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623916">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#id2626632">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626801">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626923">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627139">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627460">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2627603">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2627696">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using rpcclient</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629628">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629645">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#id2630216">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630335">Always Make First Client Connection as root or printer admin</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2630508">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630529">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630896">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631152">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631412">Error Message: Cannot connect under a different Name</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631526">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631835">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631945">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2631982">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632038">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632072">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632088">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632106">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632239">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632512">The addprinter Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632551">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632700">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632729">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632735">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632776">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#id2632918">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2632924">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632984">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633103">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633218">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633467">Simple smb.conf Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633711">More Complex CUPS smb.conf Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634088">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634106">Central Spooling vs. Peer-to-Peer Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634156">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634391">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634678">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634800">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#id2634992">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635170">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#id2635529">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635683">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635766">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635886">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2635925">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636590">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636798">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636955">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637143">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637311">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637580">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637665">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637884">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638458">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638471">mime.convs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638540">Raw Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638648">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638927">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639210">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639975">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640098">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640193">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640209">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640271">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640343">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640448">Network Printing (Windows Clients and UNIX/Samba Print 2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640466">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640656">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640735">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640826">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640870">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640938">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640953">Printer Drivers Running in Kernel Mode Cause Many 3 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640991">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641009">CUPS: A Magical Stone?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641052">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#id2641139">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641162">cupsaddsmb: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641260">Prepare Your smb.conf for cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641541">CUPS PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641780">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641899">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641924">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641987">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642286">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642504">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642644">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642836">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642980">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643102">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643183">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643264">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#id2643499">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2643673">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643845">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643950">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644082">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644307">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645265">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645408">The Printing *.tdb Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2645611">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645679">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645745">Losing *.tdb Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645796">Using tdbbackup</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645915">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646091">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646918">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647391">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647427">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647481">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647521">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647662">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647807">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647873">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647913">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647927">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648144">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648220">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648305">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648444">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2648491">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648787">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648899">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648904">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop">cupsaddsmb Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648981">cupsaddsmb or rpcclient addriver Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649019">cupsaddsmb Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649093">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649118">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649209">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649260">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649298">Can't Use cupsaddsmb on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649333">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649368">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649401">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649442">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649468">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649514">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#id2649797">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649853">cupsaddsmb Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649902">Permissions on /var/spool/samba/ Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650001">Print Queue Called lp Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650070">Location of Adobe PostScript Driver Files for cupsaddsmb</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2650124">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#id2650312">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650350">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650745">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2650751">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2650792">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651009">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#id2651336">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651733">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651783">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2652691">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2652716">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652776">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652815">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#id2653079">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653423">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653512">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653665">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2653711">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2653836">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653887">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2653974">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654021">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654253">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654408">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654484">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2654541">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2654547">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654662">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654814">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2657273">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2657321">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2657363">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2657400">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#id2657588">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657615">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657758">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658163">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2658348">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658573">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658616">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#id2658759">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2659054">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659191">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659412">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2659861">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660088">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660101">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660183">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660223">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2660288">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660446">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660457">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#id2660542">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2660592">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2660646">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2661251">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662596">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662629">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662728">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2663080">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663220">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663298">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2663329">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2663480">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664042">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2664547">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2664558">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664620">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664791">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664955">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#id2665130">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2665761">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2665815">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2666814">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667121">smb.conf PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667201">Remote CIFS Authentication Using winbindd.so</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667309">Password Synchronization Using pam_smbpass.so</a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2667703">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2667714">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667812">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#id2668035">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668056">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668184">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668257">/etc/hosts</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668446">/etc/resolv.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668482">/etc/host.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668533">/etc/nsswitch.conf</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669092">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669185">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669356">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669384">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669412">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2669549">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669562">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669594">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669636">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#id2669841">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2669892">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670030">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670166">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670197">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2670337">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2670985">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671108">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2671255">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2671261">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#id2671368">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2671412">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2671510">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671681">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671850">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671899">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#id2671994">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2672115">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2672149">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2672279">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2672992">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673073">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673213">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673250">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#id2673881">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2675301">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#id2676196">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676224">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#id2676274">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676425">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676434">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2677644">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#id2679040">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2679075">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680020">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2680256">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2680342">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680575">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#id2681065">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2681190">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2681209">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#id2681846">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2681998">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2682196">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2682210">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682270">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682372">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682428">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682484">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682547">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682591">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682610">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#id2682745">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2682784">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2683077">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#id2684841">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2684893">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685149">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685199">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685342">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2685668">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685705">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685880">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#id2686011">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686101">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#id2686336">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2686538">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686672">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686797">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#id2686880">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2687342">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#id2687532">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2687538">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2687580">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2687771">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2687846">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2687984">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688221">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688492">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2688712">Alternative: Starting smbd as a Daemon</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Portability.html">43. Portability</a></span></dt><dd><dl><dt><span class="sect1"><a href="Portability.html#id2689096">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689200">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689239">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689381">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689424">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689486">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2689491">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#id2689667">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2689751">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2689757">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689877">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689933">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690026">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690032">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690115">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690141">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690200">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690231">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#id2690288">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690358">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690378">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2690575">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#id2690682">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690720">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690817">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690862">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690909">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690934">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691000">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691053">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691076">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691097">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691189">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691284">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#id2692475">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2692694">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#id2692846">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2693025">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2693116">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="appendix"><a href="apa.html">A. 5 GNU General Public License version 3 6 </a></span></dt><dd><dl><dt><span class="bridgehead"><a href="apa.html#id2693433">A. 7 7 Preamble 8 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86579">A.8 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693578">A. 9 9 TERMS AND CONDITIONS 10 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86583">A.10 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693582">A. 11 11 0. Definitions. 12 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86675">A.12 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693674">A. 13 13 1. Source Code. 14 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86774">A.14 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693772">A. 15 15 2. Basic Permissions. 16 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86812">A.16 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693811">A. 17 17 3. Protecting Users’ Legal Rights From Anti-Circumvention Law. 18 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86848">A.18 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693847">A. 19 19 4. Conveying Verbatim Copies. 20 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86875">A.20 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693874">A. 21 21 5. Conveying Modified Source Versions. 22 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 86971">A.22 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2693970">A. 23 23 6. Conveying Non-Source Forms. 24 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87160">A.24 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694159">A. 25 25 7. Additional Terms. 26 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87296">A.26 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694295">A. 27 27 8. Termination. 28 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87340">A.28 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694338">A. 29 29 9. Acceptance Not Required for Having Copies. 30 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87359">A.30 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694358">A. 31 31 10. Automatic Licensing of Downstream Recipients. 32 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87411">A.32 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694410">A. 33 33 11. Patents. 34 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87557">A.34 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694545">A. 35 35 12. No Surrender of Others’ Freedom. 36 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87579">A.36 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694567">A. 37 37 13. Use with the ???TITLE??? Affero General Public License. 38 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87608">A.38 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694596">A. 39 39 14. Revised Versions of this License. 40 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87670">A.40 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694658">A. 41 41 15. Disclaimer of Warranty. 42 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87696">A.42 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694685">A. 43 43 16. Limitation of Liability. 44 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87716">A.44 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694705">A. 45 45 17. Interpretation of Sections 15 and 16. 46 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87733">A.46 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694721">A. 47 47 END OF TERMS AND CONDITIONS 48 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id26 87737">A.48 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2694725">A. 49 49 How to Apply These Terms to Your New Programs 50 </a></span></dt></dl></dd><dt><span class="glossary"><a href="go01.html">Glossary</a></span></dt><dt><span class="index"><a href="ix01.html">Index</a></span></dt></dl></div><div class="list-of-figures"><p><b>List of Figures</b></p><dl><dt>4.1. <a href="samba-pdc.html#domain-example">An Example Domain.</a></dt><dt>8.1. <a href="ClientConfig.html#WXPP002">Network Bridge Configuration.</a></dt><dt>8.2. <a href="ClientConfig.html#WXPP003">Internet Protocol (TCP/IP) Properties.</a></dt><dt>8.3. <a href="ClientConfig.html#WXPP005">Advanced Network Settings</a></dt><dt>8.4. <a href="ClientConfig.html#WXPP014">DNS Configuration.</a></dt><dt>8.5. <a href="ClientConfig.html#WXPP009">WINS Configuration</a></dt><dt>8.6. <a href="ClientConfig.html#w2kp001">Local Area Connection Properties.</a></dt><dt>8.7. <a href="ClientConfig.html#w2kp002">Internet Protocol (TCP/IP) Properties.</a></dt><dt>8.8. <a href="ClientConfig.html#w2kp003">Advanced Network Settings.</a></dt><dt>8.9. <a href="ClientConfig.html#w2kp004">DNS Configuration.</a></dt><dt>8.10. <a href="ClientConfig.html#w2kp005">WINS Configuration.</a></dt><dt>8.11. <a href="ClientConfig.html#WME001">The Windows Me Network Configuration Panel.</a></dt><dt>8.12. <a href="ClientConfig.html#WME002">IP Address.</a></dt><dt>8.13. <a href="ClientConfig.html#WME005">DNS Configuration.</a></dt><dt>8.14. <a href="ClientConfig.html#WME003">WINS Configuration.</a></dt><dt>8.15. <a href="ClientConfig.html#wxpp001">The General Panel.</a></dt><dt>8.16. <a href="ClientConfig.html#wxpp004">The Computer Name Panel.</a></dt><dt>8.17. <a href="ClientConfig.html#wxpp006">The Computer Name Changes Panel.</a></dt><dt>8.18. <a href="ClientConfig.html#wxpp007">The Computer Name Changes Panel Domain MIDEARTH.</a></dt><dt>8.19. <a href="ClientConfig.html#wxpp008">Computer Name Changes Username and Password Panel.</a></dt><dt>8.20. <a href="ClientConfig.html#WME009">The Network Panel.</a></dt><dt>8.21. <a href="ClientConfig.html#WME010">Client for Microsoft Networks Properties Panel.</a></dt><dt>8.22. <a href="ClientConfig.html#WME013">Identification Panel.</a></dt><dt>8.23. <a href="ClientConfig.html#WME014">Access Control Panel.</a></dt><dt>10.1. <a href="NetworkBrowsing.html#browsing1">Cross-Subnet Browsing Example.</a></dt><dt>11.1. <a href="passdb.html#idmap-sid2uid">IDMAP: Resolution of SIDs to UIDs.</a></dt><dt>11.2. <a href="passdb.html#idmap-uid2sid">IDMAP: Resolution of UIDs to SIDs.</a></dt><dt>12.1. <a href="groupmapping.html#idmap-sid2gid">IDMAP: Group SID-to-GID Resolution.</a></dt><dt>12.2. <a href="groupmapping.html#idmap-gid2sid">IDMAP: GID Resolution to Matching SID.</a></dt><dt>12.3. <a href="groupmapping.html#idmap-store-gid2sid">IDMAP Storing Group Mappings.</a></dt><dt>16.1. <a href="AccessControls.html#access1">Overview of UNIX permissions field.</a></dt><dt>19.1. <a href="InterdomainTrusts.html#trusts1">Trusts overview.</a></dt><dt>22.1. <a href="CUPS-printing.html#1small">Windows Printing to a Local Printer.</a></dt><dt>22.2. <a href="CUPS-printing.html#2small">Printing to a PostScript Printer.</a></dt><dt>22.3. <a href="CUPS-printing.html#3small">Ghostscript as a RIP for Non-PostScript Printers.</a></dt><dt>22.4. <a href="CUPS-printing.html#4small">Prefiltering in CUPS to Form PostScript.</a></dt><dt>22.5. <a href="CUPS-printing.html#5small">Adding Device-Specific Print Options.</a></dt><dt>22.6. <a href="CUPS-printing.html#cups-raster">PostScript to Intermediate Raster Format.</a></dt><dt>22.7. <a href="CUPS-printing.html#cups-raster2">CUPS-Raster Production Using Ghostscript.</a></dt><dt>22.8. <a href="CUPS-printing.html#small8">Image Format to CUPS-Raster Format Conversion.</a></dt><dt>22.9. <a href="CUPS-printing.html#small9">Raster to Printer-Specific Formats.</a></dt><dt>22.10. <a href="CUPS-printing.html#cupsomatic-dia">cupsomatic/foomatic Processing Versus Native CUPS.</a></dt><dt>22.11. <a href="CUPS-printing.html#pdftosocket">PDF to Socket Chain.</a></dt><dt>22.12. <a href="CUPS-printing.html#pdftoepsonusb">PDF to USB Chain.</a></dt><dt>22.13. <a href="CUPS-printing.html#small11">Print Driver Execution on the Client.</a></dt><dt>22.14. <a href="CUPS-printing.html#small12">Print Driver Execution on the Server.</a></dt><dt>22.15. <a href="CUPS-printing.html#13small">Printing via CUPS/Samba Server.</a></dt><dt>22.16. <a href="CUPS-printing.html#small14">cupsaddsmb Flowchart.</a></dt><dt>22.17. <a href="CUPS-printing.html#cups1">Filtering Chain 1.</a></dt><dt>22.18. <a href="CUPS-printing.html#cups2">Filtering Chain with cupsomatic</a></dt><dt>22.19. <a href="CUPS-printing.html#a_small">CUPS Printing Overview.</a></dt><dt>24.1. <a href="winbind.html#winbind_idmap">Winbind Idmap</a></dt><dt>39.1. <a href="problems.html#ethereal1">Starting a Capture.</a></dt><dt>39.2. <a href="problems.html#ethereal2">Main Ethereal Data Window.</a></dt></dl></div><div class="list-of-tables"><p><b>List of Tables</b></p><dl><dt>1.1. <a href="install.html#tdbpermfiledesc">Persistent TDB File Descriptions</a></dt><dt>1.2. <a href="install.html#tdbtempfiledesc">Temporary TDB File Descriptions</a></dt><dt>5.1. <a href="samba-bdc.html#pdc-bdc-table">Domain Backend Account Distribution Options</a></dt><dt>6.1. <a href="domain-member.html#assumptions">Assumptions</a></dt><dt>9.1. <a href="ChangeNotes.html#TOSH-domgroups">Essential Domain Group Mappings</a></dt><dt>10.1. <a href="NetworkBrowsing.html#browsubnet">Browse Subnet Example 1</a></dt><dt>10.2. <a href="NetworkBrowsing.html#brsbex">Browse Subnet Example 2</a></dt><dt>10.3. <a href="NetworkBrowsing.html#brsex2">Browse Subnet Example 3</a></dt><dt>10.4. <a href="NetworkBrowsing.html#brsex3">Browse Subnet Example 4</a></dt><dt>11.1. <a href="passdb.html#policycontrols">NT4 Domain v's Samba Policy Controls</a></dt><dt>11.2. <a href="passdb.html#accountflags">Samba SAM Account Control Block Flags</a></dt><dt>11.3. <a href="passdb.html#attribobjclPartA">Attributes in the sambaSamAccount ObjectClass (LDAP), Part A</a></dt><dt>11.4. <a href="passdb.html#attribobjclPartB">Attributes in the sambaSamAccount ObjectClass (LDAP), Part B</a></dt><dt>11.5. <a href="passdb.html#ldappwsync">Possible <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>50 </a></span></dt></dl></dd><dt><span class="glossary"><a href="go01.html">Glossary</a></span></dt><dt><span class="index"><a href="ix01.html">Index</a></span></dt></dl></div><div class="list-of-figures"><p><b>List of Figures</b></p><dl><dt>4.1. <a href="samba-pdc.html#domain-example">An Example Domain.</a></dt><dt>8.1. <a href="ClientConfig.html#WXPP002">Network Bridge Configuration.</a></dt><dt>8.2. <a href="ClientConfig.html#WXPP003">Internet Protocol (TCP/IP) Properties.</a></dt><dt>8.3. <a href="ClientConfig.html#WXPP005">Advanced Network Settings</a></dt><dt>8.4. <a href="ClientConfig.html#WXPP014">DNS Configuration.</a></dt><dt>8.5. <a href="ClientConfig.html#WXPP009">WINS Configuration</a></dt><dt>8.6. <a href="ClientConfig.html#w2kp001">Local Area Connection Properties.</a></dt><dt>8.7. <a href="ClientConfig.html#w2kp002">Internet Protocol (TCP/IP) Properties.</a></dt><dt>8.8. <a href="ClientConfig.html#w2kp003">Advanced Network Settings.</a></dt><dt>8.9. <a href="ClientConfig.html#w2kp004">DNS Configuration.</a></dt><dt>8.10. <a href="ClientConfig.html#w2kp005">WINS Configuration.</a></dt><dt>8.11. <a href="ClientConfig.html#WME001">The Windows Me Network Configuration Panel.</a></dt><dt>8.12. <a href="ClientConfig.html#WME002">IP Address.</a></dt><dt>8.13. <a href="ClientConfig.html#WME005">DNS Configuration.</a></dt><dt>8.14. <a href="ClientConfig.html#WME003">WINS Configuration.</a></dt><dt>8.15. <a href="ClientConfig.html#wxpp001">The General Panel.</a></dt><dt>8.16. <a href="ClientConfig.html#wxpp004">The Computer Name Panel.</a></dt><dt>8.17. <a href="ClientConfig.html#wxpp006">The Computer Name Changes Panel.</a></dt><dt>8.18. <a href="ClientConfig.html#wxpp007">The Computer Name Changes Panel Domain MIDEARTH.</a></dt><dt>8.19. <a href="ClientConfig.html#wxpp008">Computer Name Changes Username and Password Panel.</a></dt><dt>8.20. <a href="ClientConfig.html#WME009">The Network Panel.</a></dt><dt>8.21. <a href="ClientConfig.html#WME010">Client for Microsoft Networks Properties Panel.</a></dt><dt>8.22. <a href="ClientConfig.html#WME013">Identification Panel.</a></dt><dt>8.23. <a href="ClientConfig.html#WME014">Access Control Panel.</a></dt><dt>10.1. <a href="NetworkBrowsing.html#browsing1">Cross-Subnet Browsing Example.</a></dt><dt>11.1. <a href="passdb.html#idmap-sid2uid">IDMAP: Resolution of SIDs to UIDs.</a></dt><dt>11.2. <a href="passdb.html#idmap-uid2sid">IDMAP: Resolution of UIDs to SIDs.</a></dt><dt>12.1. <a href="groupmapping.html#idmap-sid2gid">IDMAP: Group SID-to-GID Resolution.</a></dt><dt>12.2. <a href="groupmapping.html#idmap-gid2sid">IDMAP: GID Resolution to Matching SID.</a></dt><dt>12.3. <a href="groupmapping.html#idmap-store-gid2sid">IDMAP Storing Group Mappings.</a></dt><dt>16.1. <a href="AccessControls.html#access1">Overview of UNIX permissions field.</a></dt><dt>19.1. <a href="InterdomainTrusts.html#trusts1">Trusts overview.</a></dt><dt>22.1. <a href="CUPS-printing.html#1small">Windows Printing to a Local Printer.</a></dt><dt>22.2. <a href="CUPS-printing.html#2small">Printing to a PostScript Printer.</a></dt><dt>22.3. <a href="CUPS-printing.html#3small">Ghostscript as a RIP for Non-PostScript Printers.</a></dt><dt>22.4. <a href="CUPS-printing.html#4small">Prefiltering in CUPS to Form PostScript.</a></dt><dt>22.5. <a href="CUPS-printing.html#5small">Adding Device-Specific Print Options.</a></dt><dt>22.6. <a href="CUPS-printing.html#cups-raster">PostScript to Intermediate Raster Format.</a></dt><dt>22.7. <a href="CUPS-printing.html#cups-raster2">CUPS-Raster Production Using Ghostscript.</a></dt><dt>22.8. <a href="CUPS-printing.html#small8">Image Format to CUPS-Raster Format Conversion.</a></dt><dt>22.9. <a href="CUPS-printing.html#small9">Raster to Printer-Specific Formats.</a></dt><dt>22.10. <a href="CUPS-printing.html#cupsomatic-dia">cupsomatic/foomatic Processing Versus Native CUPS.</a></dt><dt>22.11. <a href="CUPS-printing.html#pdftosocket">PDF to Socket Chain.</a></dt><dt>22.12. <a href="CUPS-printing.html#pdftoepsonusb">PDF to USB Chain.</a></dt><dt>22.13. <a href="CUPS-printing.html#small11">Print Driver Execution on the Client.</a></dt><dt>22.14. <a href="CUPS-printing.html#small12">Print Driver Execution on the Server.</a></dt><dt>22.15. <a href="CUPS-printing.html#13small">Printing via CUPS/Samba Server.</a></dt><dt>22.16. <a href="CUPS-printing.html#small14">cupsaddsmb Flowchart.</a></dt><dt>22.17. <a href="CUPS-printing.html#cups1">Filtering Chain 1.</a></dt><dt>22.18. <a href="CUPS-printing.html#cups2">Filtering Chain with cupsomatic</a></dt><dt>22.19. <a href="CUPS-printing.html#a_small">CUPS Printing Overview.</a></dt><dt>24.1. <a href="winbind.html#winbind_idmap">Winbind Idmap</a></dt><dt>39.1. <a href="problems.html#ethereal1">Starting a Capture.</a></dt><dt>39.2. <a href="problems.html#ethereal2">Main Ethereal Data Window.</a></dt></dl></div><div class="list-of-tables"><p><b>List of Tables</b></p><dl><dt>1.1. <a href="install.html#tdbpermfiledesc">Persistent TDB File Descriptions</a></dt><dt>1.2. <a href="install.html#tdbtempfiledesc">Temporary TDB File Descriptions</a></dt><dt>5.1. <a href="samba-bdc.html#pdc-bdc-table">Domain Backend Account Distribution Options</a></dt><dt>6.1. <a href="domain-member.html#assumptions">Assumptions</a></dt><dt>9.1. <a href="ChangeNotes.html#TOSH-domgroups">Essential Domain Group Mappings</a></dt><dt>10.1. <a href="NetworkBrowsing.html#browsubnet">Browse Subnet Example 1</a></dt><dt>10.2. <a href="NetworkBrowsing.html#brsbex">Browse Subnet Example 2</a></dt><dt>10.3. <a href="NetworkBrowsing.html#brsex2">Browse Subnet Example 3</a></dt><dt>10.4. <a href="NetworkBrowsing.html#brsex3">Browse Subnet Example 4</a></dt><dt>11.1. <a href="passdb.html#policycontrols">NT4 Domain v's Samba Policy Controls</a></dt><dt>11.2. <a href="passdb.html#accountflags">Samba SAM Account Control Block Flags</a></dt><dt>11.3. <a href="passdb.html#attribobjclPartA">Attributes in the sambaSamAccount ObjectClass (LDAP), Part A</a></dt><dt>11.4. <a href="passdb.html#attribobjclPartB">Attributes in the sambaSamAccount ObjectClass (LDAP), Part B</a></dt><dt>11.5. <a href="passdb.html#ldappwsync">Possible ldap passwd sync Values</a></dt><dt>12.1. <a href="groupmapping.html#WKURIDS">Well-Known User Default RIDs</a></dt><dt>15.1. <a href="rights.html#rp-privs">Current Privilege Capabilities</a></dt><dt>16.1. <a href="AccessControls.html#TOSH-Accesstbl">Managing Directories with UNIX and Windows</a></dt><dt>16.2. <a href="AccessControls.html#ugbc">User- and Group-Based Controls</a></dt><dt>16.3. <a href="AccessControls.html#fdpbc">File and Directory Permission-Based Controls</a></dt><dt>16.4. <a href="AccessControls.html#mcoc">Other Controls</a></dt><dt>16.5. <a href="AccessControls.html#fdsacls">How Windows File ACLs Map to UNIX POSIX File ACLs</a></dt><dt>21.1. <a href="classicalprinting.html#printOptions">Default Printing Settings</a></dt><dt>22.1. <a href="CUPS-printing.html#cups-ppds">PPDs Shipped with CUPS</a></dt><dt>23.1. <a href="VFS.html#xtdaudit">Extended Auditing Log Information</a></dt><dt>27.1. <a href="ProfileMgmt.html#ProfileLocs">User Shell Folder Registry Keys Default Values</a></dt><dt>27.2. <a href="ProfileMgmt.html#regkeys">Defaults of Profile Settings Registry Keys</a></dt><dt>27.3. <a href="ProfileMgmt.html#defregpthkeys">Defaults of Default User Profile Paths Registry Keys</a></dt><dt>28.1. <a href="pam.html#smbpassoptions">Options recognized by pam_smbpass</a></dt><dt>29.1. <a href="integrate-ms-networks.html#uniqnetbiosnames">Unique NetBIOS Names</a></dt><dt>29.2. <a href="integrate-ms-networks.html#netbiosnamesgrp">Group Names</a></dt><dt>30.1. <a href="unicode.html#japancharsets">Japanese Character Sets in Samba-2.2 and Samba-3</a></dt><dt>35.1. <a href="upgrading-to-3.0.html#oldtdbfiledesc">Samba-2.2.x TDB File Descriptions</a></dt><dt>36.1. <a href="NT4Migration.html#majtypes">The Three Major Site Types</a></dt><dt>36.2. <a href="NT4Migration.html#natconchoices">Nature of the Conversion Choices</a></dt><dt>40.1. <a href="bugreport.html#dbgclass">Debuggable Functions</a></dt><dt>41.1. <a href="tdb.html#TOSH-TDB">Samba's Trivial Database Files</a></dt></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>1.1. <a href="install.html#smbconfminimal">A minimal smb.conf</a></dt><dt>1.2. <a href="install.html#simple-example">Another simple smb.conf File</a></dt><dt>2.1. <a href="FastStart.html#anon-example">Anonymous Read-Only Server Configuration</a></dt><dt>2.2. <a href="FastStart.html#anon-rw">Modified Anonymous Read-Write smb.conf</a></dt><dt>2.3. <a href="FastStart.html#anon-print">Anonymous Print Server smb.conf</a></dt><dt>2.4. <a href="FastStart.html#OfficeServer">Secure Office Server smb.conf</a></dt><dt>2.5. <a href="FastStart.html#fast-member-server">Member Server smb.conf (Globals)</a></dt><dt>2.6. <a href="FastStart.html#fast-memberserver-shares">Member Server smb.conf (Shares and Services)</a></dt><dt>2.7. <a href="FastStart.html#fast-engoffice-global">Engineering Office smb.conf (globals)</a></dt><dt>2.8. <a href="FastStart.html#fast-engoffice-shares">Engineering Office smb.conf (shares and services)</a></dt><dt>2.9. <a href="FastStart.html#fast-ldap">LDAP backend smb.conf for PDC</a></dt><dt>2.10. <a href="FastStart.html#fast-bdc">Remote LDAP BDC smb.conf</a></dt><dt>4.1. <a href="samba-pdc.html#pdc-example">smb.conf for being a PDC</a></dt><dt>4.2. <a href="samba-pdc.html#PDC-config">smb.conf for being a PDC</a></dt><dt>5.1. <a href="samba-bdc.html#minimalPDC">Minimal smb.conf for a PDC in Use with a BDC LDAP Server on PDC</a></dt><dt>5.2. <a href="samba-bdc.html#mulitldapcfg">Multiple LDAP Servers in smb.conf</a></dt><dt>5.3. <a href="samba-bdc.html#minim-bdc">Minimal Setup for Being a BDC</a></dt><dt>7.1. <a href="StandAloneServer.html#simplynice">smb.conf for Reference Documentation Server</a></dt><dt>7.2. <a href="StandAloneServer.html#AnonPtrSvr">smb.conf for Anonymous Printing</a></dt><dt>10.1. <a href="NetworkBrowsing.html#dmbexample">Domain Master Browser smb.conf</a></dt><dt>10.2. <a href="NetworkBrowsing.html#lmbexample">Local master browser smb.conf</a></dt><dt>10.3. <a href="NetworkBrowsing.html#nombexample">smb.conf for Not Being a Master Browser</a></dt><dt>10.4. <a href="NetworkBrowsing.html#remsmb">Local Master Browser smb.conf</a></dt><dt>10.5. <a href="NetworkBrowsing.html#xremmb">smb.conf for Not Being a master browser</a></dt><dt>11.1. <a href="passdb.html#idmapbackendexample">Example Configuration with the LDAP idmap Backend</a></dt><dt>11.2. <a href="passdb.html#confldapex">Configuration with LDAP</a></dt><dt>12.1. <a href="groupmapping.html#smbgrpadd.sh">smbgrpadd.sh</a></dt><dt>12.2. <a href="groupmapping.html#smbgrpadd">Configuration of smb.conf for the add group Script</a></dt><dt>12.3. <a href="groupmapping.html#set-group-map">Script to Set Group Mapping</a></dt><dt>13.1. <a href="NetCommand.html#autopoweruserscript">Script to Auto-add Domain Users to Workstation Power Users Group</a></dt><dt>13.2. <a href="NetCommand.html#magicnetlogon">A Magic Netlogon Share</a></dt><dt>14.1. <a href="idmapper.html#idmapnt4dms">NT4 Domain Member Server smb.conf</a></dt><dt>14.2. <a href="idmapper.html#idmapadsdms">ADS Domain Member Server smb.conf</a></dt><dt>14.3. <a href="idmapper.html#idmapadsridDMS">ADS Domain Member smb.conf using idmap_rid</a></dt><dt>14.4. <a href="idmapper.html#idmapldapDMS">ADS Domain Member Server using LDAP</a></dt><dt>14.5. <a href="idmapper.html#idmaprfc2307">ADS Domain Member Server using RFC2307bis Schema Extension Date via NSS</a></dt><dt>16.1. <a href="AccessControls.html#access2">Example File</a></dt><dt>17.1. <a href="locking.html#far1">Share with Some Files Oplocked</a></dt><dt>17.2. <a href="locking.html#far3">Configuration with Oplock Break Contention Limit</a></dt><dt>20.1. <a href="msdfs.html#dfscfg">smb.conf with DFS Configured</a></dt><dt>21.1. <a href="classicalprinting.html#simpleprc">Simple Configuration with BSD Printing</a></dt><dt>21.2. <a href="classicalprinting.html#extbsdpr">Extended BSD Printing Configuration</a></dt><dt>21.3. <a href="classicalprinting.html#prtdollar">[print$] Example</a></dt><dt>22.1. <a href="CUPS-printing.html#cups-exam-simple">Simplest Printing-Related smb.conf</a></dt><dt>22.2. <a href="CUPS-printing.html#overridesettings">Overriding Global CUPS Settings for One Printer</a></dt><dt>22.3. <a href="CUPS-printing.html#cupsadd-ex">smb.conf for cupsaddsmb Usage</a></dt><dt>23.1. <a href="VFS.html#vfsrecyc">smb.conf with VFS modules</a></dt><dt>23.2. <a href="VFS.html#multimodule">smb.conf with multiple VFS modules</a></dt><dt>23.3. <a href="VFS.html#vfsshadow">Share With shadow_copy VFS</a></dt><dt>24.1. <a href="winbind.html#winbindcfg">smb.conf for Winbind Setup</a></dt><dt>25.1. <a href="AdvancedNetworkManagement.html#Tpees">Script to Enforce Single Resource Logon</a></dt><dt>30.1. <a href="unicode.html#vfscap-intl">VFS CAP</a></dt><dt>34.1. <a href="cfgsmarts.html#elastic">Elastic smb.conf File</a></dt><dt>34.2. <a href="cfgsmarts.html#cdserver">CDROM Server smb-cdserver.conf file</a></dt><dt>34.3. <a href="cfgsmarts.html#mastersmbc">Master smb.conf File Global Section</a></dt><dt>34.4. <a href="cfgsmarts.html#merlinsmbc">MERLIN smb-merlin.conf File Share Section</a></dt><dt>34.5. <a href="cfgsmarts.html#sauronsmbc">SAURON smb-sauron.conf File Share Section</a></dt><dt>38.1. <a href="diagnosis.html#tmpshare">smb.conf with [tmp] Share</a></dt><dt>38.2. <a href="diagnosis.html#modif1">Configuration for Allowing Connections Only from a Certain Subnet</a></dt><dt>38.3. <a href="diagnosis.html#modif2">Configuration for Allowing Connections from a Certain Subnet and localhost</a></dt><dt>44.1. <a href="Other-Clients.html#minimalprofile">Minimal Profile Share</a></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="pr01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> About the Cover Artwork</td></tr></table></div></body></html> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/install.html
r226 r231 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.7 3.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#id2544229">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2544274">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2544319">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#id2545285">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2545478">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2545921">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2545982">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2546038">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2546138">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546224">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2546269">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2546303">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546314">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2546408">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2546442">“<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="id2544229"></a>Obtaining and Installing Samba</h2></div></div></div><p>2 <a class="indexterm" name="id25 44236"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Auer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Shearer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2551936">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2551976">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2552018">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2552921">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2553100">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2553503">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553560">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2553613">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2553704">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553785">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2553826">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553858">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553868">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2553955">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2553988">The network name cannot be found</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2551936"></a>Obtaining and Installing Samba</h2></div></div></div><p> 2 <a class="indexterm" name="id2551944"></a> 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="id25 44256"></a>7 <a class="indexterm" name="id2551962"></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="id25 44274"></a>Configuring Samba (smb.conf)</h2></div></div></div><p>10 <a class="indexterm" name="id25 44282"></a>11 <a class="indexterm" name="id25 44288"></a>9 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2551976"></a>Configuring Samba (smb.conf)</h2></div></div></div><p> 10 <a class="indexterm" name="id2551984"></a> 11 <a class="indexterm" name="id2551990"></a> 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="id25 44319"></a>Configuration File Syntax</h3></div></div></div><p>17 <a class="indexterm" name="id25 44327"></a>16 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2552018"></a>Configuration File Syntax</h3></div></div></div><p> 17 <a class="indexterm" name="id2552026"></a> 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="id25 44366"></a>25 <a class="indexterm" name="id25 44373"></a>26 <a class="indexterm" name="id25 44382"></a>27 <a class="indexterm" name="id25 44389"></a>28 <a class="indexterm" name="id25 44396"></a>29 <a class="indexterm" name="id25 44405"></a>24 <a class="indexterm" name="id2552063"></a> 25 <a class="indexterm" name="id2552069"></a> 26 <a class="indexterm" name="id2552077"></a> 27 <a class="indexterm" name="id2552084"></a> 28 <a class="indexterm" name="id2552090"></a> 29 <a class="indexterm" name="id2552098"></a> 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="id25 44452"></a>39 <a class="indexterm" name="id25 44459"></a>40 <a class="indexterm" name="id25 44466"></a>41 <a class="indexterm" name="id25 44472"></a>42 <a class="indexterm" name="id25 44479"></a>43 <a class="indexterm" name="id25 44486"></a>38 <a class="indexterm" name="id2552141"></a> 39 <a class="indexterm" name="id2552148"></a> 40 <a class="indexterm" name="id2552154"></a> 41 <a class="indexterm" name="id2552160"></a> 42 <a class="indexterm" name="id2552166"></a> 43 <a class="indexterm" name="id2552173"></a> 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="id25 44541"></a>52 <a class="indexterm" name="id2552222"></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="id25 44587"></a>59 <a class="indexterm" name="id2552265"></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="id25 44611"></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="id25 44642"></a><em class="parameter"><code>workgroup = WKG</code></em></td></tr><tr><td><a class="indexterm" name="id2544654"></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="id2544675"></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="id2544695"></a><em class="parameter"><code>path = /my_shared_folder</code></em></td></tr><tr><td><a class="indexterm" name="id2544707"></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="id2552284"></a> 62 </p><div class="example"><a name="smbconfminimal"></a><p class="title"><b>Example 1.1. A minimal smb.conf</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2552312"></a><em class="parameter"><code>workgroup = WKG</code></em></td></tr><tr><td><a class="indexterm" name="id2552323"></a><em class="parameter"><code>netbios name = MYNAME</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share1]</code></em></td></tr><tr><td><a class="indexterm" name="id2552341"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share2]</code></em></td></tr><tr><td><a class="indexterm" name="id2552360"></a><em class="parameter"><code>path = /my_shared_folder</code></em></td></tr><tr><td><a class="indexterm" name="id2552371"></a><em class="parameter"><code>comment = Some random files</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="tdbdocs"></a>TDB Database File Information</h3></div></div></div><p> 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="id25 44737"></a>65 <a class="indexterm" name="id2552398"></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="id25 44793"></a>83 <a class="indexterm" name="id2552450"></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="id25 45285"></a>Starting Samba</h3></div></div></div><p>110 <a class="indexterm" name="id25 45293"></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="id2552921"></a>Starting Samba</h3></div></div></div><p> 110 <a class="indexterm" name="id2552928"></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="id25 45326"></a>118 <a class="indexterm" name="id25 45333"></a>117 <a class="indexterm" name="id2552960"></a> 118 <a class="indexterm" name="id2552966"></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="id25 45362"></a>124 <a class="indexterm" name="id25 45369"></a>123 <a class="indexterm" name="id2552994"></a> 124 <a class="indexterm" name="id2553000"></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="id25 45398"></a>129 <a class="indexterm" name="id25 45405"></a>128 <a class="indexterm" name="id2553027"></a> 129 <a class="indexterm" name="id2553033"></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="id25 45461"></a>137 <a class="indexterm" name="id2553084"></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="id25 45478"></a>Example Configuration</h3></div></div></div><p>142 <a class="indexterm" name="id25 45486"></a>143 <a class="indexterm" name="id25 45493"></a>144 <a class="indexterm" name="id25 45500"></a>145 <a class="indexterm" name="id25 45507"></a>146 <a class="indexterm" name="id25 45514"></a>141 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553100"></a>Example Configuration</h3></div></div></div><p> 142 <a class="indexterm" name="id2553108"></a> 143 <a class="indexterm" name="id2553114"></a> 144 <a class="indexterm" name="id2553120"></a> 145 <a class="indexterm" name="id2553126"></a> 146 <a class="indexterm" name="id2553133"></a> 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="id25 45536"></a>152 <a class="indexterm" name="id2553154"></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="id25 45556"></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="id25 45588"></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="id2545609"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2545620"></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="id25 45635"></a>158 <a class="indexterm" name="id25 45642"></a>159 <a class="indexterm" name="id25 45649"></a>160 <a class="indexterm" name="id25 45655"></a>155 <a class="indexterm" name="id2553170"></a> 156 </p><div class="example"><a name="simple-example"></a><p class="title"><b>Example 1.2. Another simple smb.conf File</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2553199"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2553218"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2553228"></a><em class="parameter"><code>read only = no</code></em></td></tr></table></div></div><br class="example-break"><p> 157 <a class="indexterm" name="id2553242"></a> 158 <a class="indexterm" name="id2553248"></a> 159 <a class="indexterm" name="id2553254"></a> 160 <a class="indexterm" name="id2553260"></a> 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="id25 45676"></a>166 <a class="indexterm" name="id2553279"></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="id25 45713"></a>174 <a class="indexterm" name="id2553313"></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="id25 45738"></a>Test Your Config File with <code class="literal">testparm</code></h4></div></div></div><p>178 <a class="indexterm" name="id25 45751"></a>179 <a class="indexterm" name="id25 45757"></a>180 <a class="indexterm" name="id25 45764"></a>177 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2553334"></a>Test Your Config File with <code class="literal">testparm</code></h4></div></div></div><p> 178 <a class="indexterm" name="id2553346"></a> 179 <a class="indexterm" name="id2553352"></a> 180 <a class="indexterm" name="id2553358"></a> 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="id25 45816"></a>193 <a class="indexterm" name="id25 45822"></a>194 <a class="indexterm" name="id25 45829"></a>195 <a class="indexterm" name="id25 45836"></a>192 <a class="indexterm" name="id2553406"></a> 193 <a class="indexterm" name="id2553413"></a> 194 <a class="indexterm" name="id2553419"></a> 195 <a class="indexterm" name="id2553425"></a> 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="id25 45921"></a>SWAT</h3></div></div></div><p>209 <a class="indexterm" name="id25 45929"></a>208 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553503"></a>SWAT</h3></div></div></div><p> 209 <a class="indexterm" name="id2553511"></a> 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="id25 45982"></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="id2553560"></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="id25 46038"></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="id2553613"></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="id25 46138"></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="id2553704"></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="id25 46224"></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="id2553785"></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="id25 46269"></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="id2553826"></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="id25 46303"></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="id2553858"></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="id25 46314"></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="id2553868"></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="id25 46408"></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="id2553955"></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="id25 46442"></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="id2553988"></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
r226 r231 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.7 3.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#id2661049">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661070">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661198">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661272"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661460"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661496"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661548"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662106">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662192">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662365">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662393">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662420">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2662558">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662571">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662602">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662644">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id266 1007"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2668035">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668056">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668184">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668257">/etc/hosts</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668446">/etc/resolv.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668482">/etc/host.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668533">/etc/nsswitch.conf</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669092">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669185">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669356">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669384">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669412">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2669549">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669562">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669594">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669636">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2667993"></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="id266 1025"></a>9 <a class="indexterm" name="id266 1032"></a>8 <a class="indexterm" name="id2668011"></a> 9 <a class="indexterm" name="id2668017"></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="id266 1049"></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="id2668035"></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="id266 1070"></a>Background Information</h2></div></div></div><p>24 <a class="indexterm" name="id266 1077"></a>25 <a class="indexterm" name="id266 1084"></a>26 <a class="indexterm" name="id266 1091"></a>27 <a class="indexterm" name="id266 1098"></a>28 <a class="indexterm" name="id266 1105"></a>23 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2668056"></a>Background Information</h2></div></div></div><p> 24 <a class="indexterm" name="id2668063"></a> 25 <a class="indexterm" name="id2668070"></a> 26 <a class="indexterm" name="id2668077"></a> 27 <a class="indexterm" name="id2668084"></a> 28 <a class="indexterm" name="id2668091"></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="id266 1133"></a>40 <a class="indexterm" name="id266 1140"></a>41 <a class="indexterm" name="id266 1146"></a>42 <a class="indexterm" name="id266 1153"></a>43 <a class="indexterm" name="id266 1160"></a>44 <a class="indexterm" name="id266 1167"></a>39 <a class="indexterm" name="id2668119"></a> 40 <a class="indexterm" name="id2668125"></a> 41 <a class="indexterm" name="id2668132"></a> 42 <a class="indexterm" name="id2668139"></a> 43 <a class="indexterm" name="id2668146"></a> 44 <a class="indexterm" name="id2668152"></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="id266 1176"></a> dynamic DNS with Service Resource48 Records (SRV RR) and with Incremental Zone Transfers (IXFR). <a class="indexterm" name="id266 1187"></a>47 <a class="indexterm" name="id2668162"></a> dynamic DNS with Service Resource 48 Records (SRV RR) and with Incremental Zone Transfers (IXFR). <a class="indexterm" name="id2668173"></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="id266 1198"></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="id2668184"></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="id266 1209"></a><a class="indexterm" name="id2661216"></a><a class="indexterm" name="id2661223"></a><a class="indexterm" name="id2661230"></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="id2661272"></a><code class="filename">/etc/hosts</code></h3></div></div></div><p>53 </p><a class="indexterm" name="id2668195"></a><a class="indexterm" name="id2668201"></a><a class="indexterm" name="id2668208"></a><a class="indexterm" name="id2668215"></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="id2668257"></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="id266 1294"></a>61 <a class="indexterm" name="id266 1301"></a>60 <a class="indexterm" name="id2668280"></a> 61 <a class="indexterm" name="id2668287"></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="id266 1319"></a>67 <a class="indexterm" name="id266 1326"></a>68 <a class="indexterm" name="id266 1333"></a>66 <a class="indexterm" name="id2668305"></a> 67 <a class="indexterm" name="id2668312"></a> 68 <a class="indexterm" name="id2668319"></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="id266 1352"></a>75 <a class="indexterm" name="id2668338"></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="id266 1383"></a>87 <a class="indexterm" name="id2668368"></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="id266 1410"></a>94 <a class="indexterm" name="id2668395"></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="id266 1439"></a>102 <a class="indexterm" name="id2668425"></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="id266 1460"></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="id2668446"></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="id266 1496"></a><code class="filename">/etc/host.conf</code></h3></div></div></div><p>121 <a class="indexterm" name="id266 1507"></a>120 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2668482"></a><code class="filename">/etc/host.conf</code></h3></div></div></div><p> 121 <a class="indexterm" name="id2668493"></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="id266 1548"></a><code class="filename">/etc/nsswitch.conf</code></h3></div></div></div><p>131 <a class="indexterm" name="id266 1559"></a>130 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2668533"></a><code class="filename">/etc/nsswitch.conf</code></h3></div></div></div><p> 131 <a class="indexterm" name="id2668544"></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="id266 1595"></a>164 <a class="indexterm" name="id266 1602"></a>165 <a class="indexterm" name="id266 1609"></a>166 <a class="indexterm" name="id266 1615"></a>167 <a class="indexterm" name="id266 1622"></a>163 <a class="indexterm" name="id2668580"></a> 164 <a class="indexterm" name="id2668587"></a> 165 <a class="indexterm" name="id2668594"></a> 166 <a class="indexterm" name="id2668601"></a> 167 <a class="indexterm" name="id2668608"></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="id266 1671"></a>Name Resolution as Used within MS Windows Networking</h2></div></div></div><p>181 <a class="indexterm" name="id266 1680"></a>182 <a class="indexterm" name="id266 1687"></a>183 <a class="indexterm" name="id266 1694"></a>184 <a class="indexterm" name="id266 1701"></a>180 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2668657"></a>Name Resolution as Used within MS Windows Networking</h2></div></div></div><p> 181 <a class="indexterm" name="id2668666"></a> 182 <a class="indexterm" name="id2668673"></a> 183 <a class="indexterm" name="id2668680"></a> 184 <a class="indexterm" name="id2668686"></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="id266 1897"></a>198 <a class="indexterm" name="id2668883"></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="id266 1932"></a>206 <a class="indexterm" name="id266 1939"></a>207 <a class="indexterm" name="id266 1945"></a>205 <a class="indexterm" name="id2668918"></a> 206 <a class="indexterm" name="id2668925"></a> 207 <a class="indexterm" name="id2668932"></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="id266 1977"></a>220 <a class="indexterm" name="id266 1984"></a>219 <a class="indexterm" name="id2668963"></a> 220 <a class="indexterm" name="id2668970"></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="id266 2017"></a>234 <a class="indexterm" name="id266 2023"></a>235 <a class="indexterm" name="id266 2033"></a>236 <a class="indexterm" name="id266 2042"></a>237 <a class="indexterm" name="id266 2052"></a>238 <a class="indexterm" name="id266 2061"></a>239 <a class="indexterm" name="id266 2068"></a>240 <a class="indexterm" name="id266 2075"></a>233 <a class="indexterm" name="id2669003"></a> 234 <a class="indexterm" name="id2669009"></a> 235 <a class="indexterm" name="id2669019"></a> 236 <a class="indexterm" name="id2669028"></a> 237 <a class="indexterm" name="id2669038"></a> 238 <a class="indexterm" name="id2669047"></a> 239 <a class="indexterm" name="id2669054"></a> 240 <a class="indexterm" name="id2669061"></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="id266 2106"></a>The NetBIOS Name Cache</h3></div></div></div><p>256 <a class="indexterm" name="id266 2113"></a>257 <a class="indexterm" name="id266 2120"></a>258 <a class="indexterm" name="id266 2127"></a>255 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669092"></a>The NetBIOS Name Cache</h3></div></div></div><p> 256 <a class="indexterm" name="id2669099"></a> 257 <a class="indexterm" name="id2669106"></a> 258 <a class="indexterm" name="id2669113"></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="id266 2142"></a>266 <a class="indexterm" name="id2669128"></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="id266 2158"></a>275 <a class="indexterm" name="id266 2165"></a>276 <a class="indexterm" name="id266 2172"></a>274 <a class="indexterm" name="id2669151"></a> 275 <a class="indexterm" name="id2669158"></a> 276 <a class="indexterm" name="id2669164"></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="id266 2192"></a>The LMHOSTS File</h3></div></div></div><p>281 <a class="indexterm" name="id266 2200"></a>280 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669185"></a>The LMHOSTS File</h3></div></div></div><p> 281 <a class="indexterm" name="id2669193"></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="id266 2365"></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="id2669356"></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="id266 2393"></a>DNS Lookup</h3></div></div></div><p>374 <a class="indexterm" name="id266 2401"></a>373 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669384"></a>DNS Lookup</h3></div></div></div><p> 374 <a class="indexterm" name="id2669392"></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="id266 2420"></a>WINS Lookup</h3></div></div></div><p>386 <a class="indexterm" name="id266 2428"></a>387 <a class="indexterm" name="id266 2435"></a>388 <a class="indexterm" name="id266 2444"></a>385 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669412"></a>WINS Lookup</h3></div></div></div><p> 386 <a class="indexterm" name="id2669419"></a> 387 <a class="indexterm" name="id2669426"></a> 388 <a class="indexterm" name="id2669436"></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="id266 2477"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr></table><p>397 <a class="indexterm" name="id266 2491"></a>396 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2669468"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr></table><p> 397 <a class="indexterm" name="id2669482"></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="id266 2513"></a><em class="parameter"><code>wins support = No</code></em></td></tr><tr><td><a class="indexterm" name="id2662525"></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="id2669504"></a><em class="parameter"><code>wins support = No</code></em></td></tr><tr><td><a class="indexterm" name="id2669516"></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="id266 2558"></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="id2669549"></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="id266 2571"></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="id2669562"></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="id266 2602"></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="id2669594"></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="id266 2644"></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="id2669636"></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
r226 r231 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.7 3.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="id2544079"></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.74.0"><link rel="home" 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="id2551796"></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#id25 44229">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2544274">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2544319">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#id2545285">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2545478">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2545921">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2545982">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2546038">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2546138">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546224">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2546269">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2546303">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2546314">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2546408">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2546442">“<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#id2546591">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546615">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2546695">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2546714">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2548634">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2549558">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#id2551936">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2551976">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2552018">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2552921">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2553100">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2553503">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553560">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2553613">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2553704">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553785">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2553826">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553858">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553868">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2553955">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2553988">The network name cannot be found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="FastStart.html">2. Fast Start: Cure for Impatience</a></span></dt><dd><dl><dt><span class="sect1"><a href="FastStart.html#id2554130">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554154">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554223">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2554242">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2555983">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2556821">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
r226 r231 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.7 3.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="id2688460"></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#id2635017">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2636295">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2637337">Manual Driver Installation in 15 Steps</a></dt><dt>$, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a></dt><dt>%i macro, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>%L, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>%PDF, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>%SystemRoot%\System32\config, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></dt><dt>../source/nsswitch, <a class="indexterm" href="winbind.html#id2649627">Configure Winbind and PAM</a></dt><dt>.ai, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>.AppleDouble, <a class="indexterm" href="VFS.html#id2644760">netatalk</a></dt><dt>.eps, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>.pdf, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>.PDS extension, <a class="indexterm" href="ProfileMgmt.html#id2654977">Windows NT4 Workstation</a></dt><dt>.profiles, <a class="indexterm" href="ProfileMgmt.html#id2653818">Windows 9x/Me User Profiles</a></dt><dt>.ps, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>.recycle, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>/bin/false, <a class="indexterm" href="ServerType.html#id2552863">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#id2644997">Shadow Copy Setup</a></dt><dt>/etc/cups/, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>/etc/cups/mime.convs, <a class="indexterm" href="CUPS-printing.html#id2627190">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#id2629622">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2631679">application/octet-stream Printing</a></dt><dt>/etc/cups/mime.types, <a class="indexterm" href="CUPS-printing.html#id2627190">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#id2631679">application/octet-stream Printing</a></dt><dt>/etc/fstab, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>/etc/group, <a class="indexterm" href="ServerType.html#id2552427">Share-Level Security</a>, <a class="indexterm" href="groupmapping.html#id2589331">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2591260">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a>, <a class="indexterm" href="Portability.html#id2682101">HPUX</a></dt><dt>/etc/groups, <a class="indexterm" href="pam.html#id2658915">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/host.conf, <a class="indexterm" href="integrate-ms-networks.html#id2661198">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661496">/etc/host.conf</a></dt><dt>/etc/hosts, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661198">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661272">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>/etc/hosts>, <a class="indexterm" href="integrate-ms-networks.html#id2661272">/etc/hosts</a></dt><dt>/etc/inetd.conf, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="compiling.html#id2681497">Starting from inetd.conf</a></dt><dt>/etc/init.d/samba, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="winbind.html#id2649232">Linux</a></dt><dt>/etc/init.d/samba.server, <a class="indexterm" href="winbind.html#id2649438">Solaris</a></dt><dt>/etc/init.d/smb, <a class="indexterm" href="winbind.html#id2649232">Linux</a></dt><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566176">Possible Errors</a>, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2600235">IDMAP Storage in LDAP Using Winbind</a></dt><dt>/etc/ldap.conf, <a class="indexterm" href="idmapper.html#id2600235">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2600820">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>/etc/logingroup, <a class="indexterm" href="Portability.html#id2682101">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#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598947">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2600820">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="winbind.html#id2647046">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661198">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661548">/etc/nsswitch.conf</a></dt><dt>/etc/openldap/slapd.conf, <a class="indexterm" href="FastStart.html#id2550538">The Primary Domain Controller</a></dt><dt>/etc/openldap/sldap.conf, <a class="indexterm" href="passdb.html#id2587508">Accounts and Groups Management</a></dt><dt>/etc/pam.conf, <a class="indexterm" href="winbind.html#id2650139">Solaris-Specific Configuration</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2658783">Technical Discussion</a>, <a class="indexterm" href="pam.html#id2658915">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/pam.d, <a class="indexterm" href="winbind.html#id2647686">Requirements</a>, <a class="indexterm" href="winbind.html#id2647838">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2649627">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>/etc/pam.d/, <a class="indexterm" href="winbind.html#id2647278">Pluggable Authentication Modules</a>, <a class="indexterm" href="pam.html#id2658783">Technical Discussion</a></dt><dt>/etc/pam.d/ftp, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/login, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/samba, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/passwd, <a class="indexterm" href="ServerType.html#id2552427">Share-Level Security</a>, <a class="indexterm" href="ServerType.html#id2552863">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2558297">“$” 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#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563712">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2566863">Adding Machine to Domain Fails</a>, <a class="indexterm" href="StandAloneServer.html#id2567320">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#id2580326">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2585589">Plaintext</a>, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="groupmapping.html#id2590427">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="idmapper.html#id2597593">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#id2646104">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2648871">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>/etc/printcap, <a class="indexterm" href="CUPS-printing.html#id2626139">Basic CUPS Support Configuration</a></dt><dt>/etc/resolv.conf, <a class="indexterm" href="integrate-ms-networks.html#id2661198">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="diagnosis.html#id2675790">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>/etc/samba, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2668310">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>/etc/samba/scripts, <a class="indexterm" href="NetCommand.html#id2593658">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>/etc/samba/secrets.tdb, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>/etc/samba/smb.conf, <a class="indexterm" href="install.html#id2544274">Configuring Samba (smb.conf)</a></dt><dt>/etc/samba/smbpasswd, <a class="indexterm" href="passdb.html#id2585589">Plaintext</a></dt><dt>/etc/samba/smbusers, <a class="indexterm" href="NetCommand.html#id2594279">User Mapping</a></dt><dt>/etc/shadow, <a class="indexterm" href="StandAloneServer.html#id2567320">Background</a>, <a class="indexterm" href="passdb.html#id2580326">Backward Compatibility Account Storage Systems</a></dt><dt>/etc/smbpasswd, <a class="indexterm" href="passdb.html#id2585589">Plaintext</a></dt><dt>/etc/ssl/certs/slapd.pem, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a></dt><dt>/etc/xinetd.d, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/xinetd.d/telnet, <a class="indexterm" href="winbind.html#id2649793">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#id2647046">Name Service Switch</a></dt><dt>/lib/libnss_files.so, <a class="indexterm" href="winbind.html#id2647046">Name Service Switch</a></dt><dt>/lib/security, <a class="indexterm" href="winbind.html#id2649627">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2658836">PAM Configuration Syntax</a></dt><dt>/lib/security/, <a class="indexterm" href="winbind.html#id2647278">Pluggable Authentication Modules</a></dt><dt>/opt/samba/bin, <a class="indexterm" href="SWAT.html#id2674286">Locating the SWAT File</a></dt><dt>/tmp, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a></dt><dt>/usr/bin/openssl, <a class="indexterm" href="SWAT.html#id2674854">Securing SWAT through SSL</a></dt><dt>/usr/lib/samba/vfs, <a class="indexterm" href="VFS.html#id2643377">Discussion</a></dt><dt>/usr/lib/security, <a class="indexterm" href="winbind.html#id2648323">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2649627">Configure Winbind and PAM</a></dt><dt>/usr/lib/security/methods.cfg, <a class="indexterm" href="winbind.html#id2648323">NSS Winbind on AIX</a></dt><dt>/usr/local/lib, <a class="indexterm" href="winbind.html#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>/usr/local/samba, <a class="indexterm" href="winbind.html#id2648871">Starting and Testing the winbindd Daemon</a></dt><dt>/usr/local/samba/bin, <a class="indexterm" href="winbind.html#id2649232">Linux</a>, <a class="indexterm" href="winbind.html#id2649438">Solaris</a>, <a class="indexterm" href="SWAT.html#id2674286">Locating the SWAT File</a></dt><dt>/usr/local/samba/lib, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>/usr/local/samba/lib/vfs, <a class="indexterm" href="VFS.html#id2643377">Discussion</a></dt><dt>/usr/local/samba/private/secrets.tdb, <a class="indexterm" href="domain-member.html#id2564166">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#id2605993">Access Controls on Shares</a>, <a class="indexterm" href="diagnosis.html#id2675790">Assumptions</a></dt><dt>/usr/local/samba/var/locks, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt><dt>/usr/sbin, <a class="indexterm" href="SWAT.html#id2674286">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#id2684192">Corrupt tdb Files</a></dt><dt>/var/log/samba, <a class="indexterm" href="diagnosis.html#id2675790">Assumptions</a></dt><dt>/var/run/samba, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt><dt>/var/spool/cups/, <a class="indexterm" href="CUPS-printing.html#id2641173">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#id2641173">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>250-user limit, <a class="indexterm" href="passdb.html#id2585930">tdbsam</a></dt><dt>3.0.11, <a class="indexterm" href="rights.html#id2602906">The Administrator Domain SID</a></dt><dt>4,500 user accounts, <a class="indexterm" href="passdb.html#id2585930">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#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>>Domain User Manager, <a class="indexterm" href="InterdomainTrusts.html#id2613123">Creating an NT4 Domain Trust</a></dt><dt>\\%L\%U\.profiles, <a class="indexterm" href="ProfileMgmt.html#id2653818">Windows 9x/Me User Profiles</a></dt><dt>\\SERVER, <a class="indexterm" href="NetworkBrowsing.html#id2578147">Problem Resolution</a></dt><dt>_kerberos.REALM.NAME, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a></dt><dt>_kerberos._udp, <a class="indexterm" href="domain-member.html#id2566469">Notes</a></dt><dt>_ldap._tcp, <a class="indexterm" href="domain-member.html#id2566469">Notes</a></dt><dt>_ldap._tcp.pdc._msdcs.quenya.org, <a class="indexterm" href="samba-bdc.html#id2560673">NetBIOS Over TCP/IP Disabled</a></dt></dl></div><div class="indexdiv"><h3></h3><dl><dt>, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a>, <a class="indexterm" href="install.html#id2545478">Example Configuration</a>, <a class="indexterm" href="FastStart.html#anon-ro">Anonymous Read-Only Document Server</a>, <a class="indexterm" href="FastStart.html#id2547169">Anonymous Read-Write Document Server</a>, <a class="indexterm" href="FastStart.html#id2547406">Anonymous Print Server</a>, <a class="indexterm" href="FastStart.html#id2547806">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548705">Example Configuration</a>, <a class="indexterm" href="FastStart.html#id2549639">Example: Engineering Office</a>, <a class="indexterm" href="FastStart.html#id2550538">The Primary Domain Controller</a>, <a class="indexterm" href="FastStart.html#id2551211">Backup Domain Controller</a>, <a class="indexterm" href="ServerType.html#id2552386">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2552598">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2552863">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2553246">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2553521">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2553624">Password Checking</a>, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2557475">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2559786">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563595">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563958">Samba Client</a>, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2565183">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566541">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#id2575350">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576213">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576399">Use of the Remote Announce Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576539">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577660">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#id2587083">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2591260">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="NetCommand.html#id2593658">Managing Nest Groups on Workstations from the Samba Server</a>, <a class="indexterm" href="idmapper.html#id2598947">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2600235">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2600820">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="rights.html#id2601763">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#id2607127">Interaction with the Standard Samba “create mask” Parameters</a>, <a class="indexterm" href="AccessControls.html#id2607993">Users Cannot Write to a Public Share</a>, <a class="indexterm" href="AccessControls.html#id2608361">MS Word with Samba Changes Owner of File</a>, <a class="indexterm" href="locking.html#id2610033">Disabling Oplocks</a>, <a class="indexterm" href="locking.html#id2610128">Disabling Kernel Oplocks</a>, <a class="indexterm" href="securing-samba.html#id2611164">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2611326">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2611480">User-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2611540">Using Interface Protection</a>, <a class="indexterm" href="securing-samba.html#id2611890">Using IPC$ Share-Based Denials </a>, <a class="indexterm" href="securing-samba.html#id2612177">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#id2614436">Features and Benefits</a>, <a class="indexterm" href="msdfs.html#id2614881">MSDFS UNIX Path Is Case-Critical</a>, <a class="indexterm" href="classicalprinting.html#id2615614">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2616094">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2616494">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2618994">Custom Print Commands</a>, <a class="indexterm" href="classicalprinting.html#id2619953">Creating the [print$] Share</a>, <a class="indexterm" href="classicalprinting.html#id2621002">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2626501">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2626746">More Complex CUPS smb.conf Settings</a>, <a class="indexterm" href="CUPS-printing.html#id2633498">From Windows Clients to a CUPS/Samba Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2634292">Prepare Your smb.conf for cupsaddsmb</a>, <a class="indexterm" href="VFS.html#id2643377">Discussion</a>, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2648436">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2649232">Linux</a>, <a class="indexterm" href="winbind.html#id2650139">Solaris-Specific Configuration</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="ProfileMgmt.html#id2653679">NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2653818">Windows 9x/Me User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2653976">Mixed Windows Windows 9x/Me and NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2657813">Changing the Default Profile</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662106">The NetBIOS Name Cache</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662420">WINS Lookup</a>, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a>, <a class="indexterm" href="unicode.html#id2663994">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#id2667296">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2668310">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671881">IdMap LDAP Support</a>, <a class="indexterm" href="diagnosis.html#id2675790">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a>, <a class="indexterm" href="bugreport.html#id2679342">Debugging-Specific Operations</a>, <a class="indexterm" href="Other-Clients.html#id2683382">Windows 2000 Service Pack 2</a> (see SSO)</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a></dt><dt>logon</dt><dd><dl><dt>service, <a class="indexterm" href="samba-bdc.html#id2559293">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#id2568676">TCP/IP Configuration</a></dt><dt>aborting shutdown, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>accept connections, <a class="indexterm" href="securing-samba.html#id2611540">Using Interface Protection</a></dt><dt>access, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a></dt><dt>Access, <a class="indexterm" href="rights.html#id2601763">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#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="StandAloneServer.html#id2567320">Background</a>, <a class="indexterm" href="AccessControls.html#id2605993">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#id2570974">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#id2672695">Server Share and Directory Layout</a></dt><dt>access controls, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="AccessControls.html#id2603587">Features and Benefits</a>, <a class="indexterm" href="AccessControls.html#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>Access Controls, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>access denied, <a class="indexterm" href="securing-samba.html#id2611890">Using IPC$ Share-Based Denials </a></dt><dt>access policies, <a class="indexterm" href="passdb.html#id2585249">Domain Account Policy Managment</a></dt><dt>access rights, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></dt><dt>account, <a class="indexterm" href="install.html#id2545478">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2563712">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="pam.html#id2658915">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a></dt><dt>database, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>backends, <a class="indexterm" href="ServerType.html#id2551752">Features and Benefits</a></dt></dl></dd></dl></dd><dt>account access controls, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a></dt><dt>account attributes, <a class="indexterm" href="idmapper.html#id2598554">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#id2586898">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#id2652884">Managing Account/User Policies</a></dt><dt>account database, <a class="indexterm" href="passdb.html#id2585535">Password Backends</a></dt><dt>account deleted, <a class="indexterm" href="passdb.html#id2584506">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#id2584184">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#id2585410">Account Import/Export</a></dt><dt>account information, <a class="indexterm" href="samba-bdc.html#id2559363">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#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="NetCommand.html#id2593951">UNIX and Windows User Management</a></dt><dt>account information database, <a class="indexterm" href="passdb.html#id2581598">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>account management, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a></dt><dt>account name, <a class="indexterm" href="idmapper.html#id2597593">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#id2556104">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#id2652884">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#id2671128">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#id2589725">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#id2647572">Introduction</a></dt><dt>ACL, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2587621">Security and sambaSamAccount</a>, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a>, <a class="indexterm" href="securing-samba.html#id2611164">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#id2619832">The Obsoleted [printer$] Section</a></dt><dd><dl><dt>File System, <a class="indexterm" href="AccessControls.html#id2604255">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#id2603587">Features and Benefits</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2603587">Features and Benefits</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2603587">Features and Benefits</a></dt></dl></dd><dt>ACLs on share, <a class="indexterm" href="AccessControls.html#id2606258">Windows 200x/XP</a></dt><dt>ACLs on shares, <a class="indexterm" href="AccessControls.html#id2603587">Features and Benefits</a></dt><dt>across network segments, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>active directory, <a class="indexterm" href="ServerType.html#id2551752">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2557356">Samba ADS Domain Control</a></dt><dt>Active Directory, <a class="indexterm" href="samba-bdc.html#id2560401">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#id2592429">UNIX and Windows Group Management</a>, <a class="indexterm" href="idmapper.html#id2597531">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599645">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#id2672084">Objectives</a></dt><dt>AD4UNIX, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>ADAM, <a class="indexterm" href="idmapper.html#id2600235">IDMAP Storage in LDAP Using Winbind</a></dt><dt>add a user account, <a class="indexterm" href="passdb.html#id2584419">Adding User Accounts</a></dt><dt>add client machines, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>add domain users and groups to a local group, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>add drivers, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>add machine script, <a class="indexterm" href="domain-member.html#id2563595">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671032">Changes in Behavior</a></dt><dt>Add Printer Wizard, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2616973">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#id2627712">Driver Upload Methods</a></dt><dt>add user script, <a class="indexterm" href="passdb.html#id2584068">User Account Management</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671032">Changes in Behavior</a></dt><dt>add/delete/change share, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>adddriver, <a class="indexterm" href="classicalprinting.html#id2621558">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2621913">Running rpcclient with adddriver</a>, <a class="indexterm" href="classicalprinting.html#id2622406">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2636704">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2638296">Troubleshooting Revisited</a></dt><dt>additional driver, <a class="indexterm" href="classicalprinting.html#id2623255">Additional Client Driver Installation</a></dt><dt>additional privileges, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>addmem, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>AddPrinterDriver(), <a class="indexterm" href="CUPS-printing.html#id2636704">A Check of the rpcclient man Page</a></dt><dt>admincfg.exe, <a class="indexterm" href="Other-Clients.html#id2683146">Configuring Windows for Workgroups Password Handling</a></dt><dt>administrative actions, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>administrative duties, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a></dt><dt>administrative privileges, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a></dt><dt>administrative responsibilities, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></dt><dt>administrative rights, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>administrative rights and privileges, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Administrative Templates, <a class="indexterm" href="PolicyMgmt.html#id2652435">MS Windows 200x/XP Professional Policies</a></dt><dt>Administrator, <a class="indexterm" href="groupmapping.html#id2589331">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2590308">Important Administrative Information</a>, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a></dt><dt>administrator account, <a class="indexterm" href="domain-member.html#id2563712">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2563876">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#id2566469">Notes</a></dt><dt>Administrator%password, <a class="indexterm" href="domain-member.html#id2564166">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#id2634084">PostScript Drivers with No Major Problems, Even in Kernel2 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id26 39506">The Grand Unification Achieved</a></dt><dt>Adobe driver, <a class="indexterm" href="CUPS-printing.html#id2635317">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>Adobe driver files, <a class="indexterm" href="CUPS-printing.html#id2634811">Recognizing Different Driver Files</a></dt><dt>Adobe PostScript, <a class="indexterm" href="CUPS-printing.html#id2635017">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2640551">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>Adobe PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2636295">Installing the PostScript Driver on a Client</a></dt><dt>Adobe PPD, <a class="indexterm" href="CUPS-printing.html#id2638946">CUPS Print Drivers from Linuxprinting.org</a></dt><dt>Adobe specifications, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a></dt><dt>ADS, <a class="indexterm" href="ServerType.html#id2553169">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2562192">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#id2564166">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2565183">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2565374">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#id2573858">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2587508">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2592347">Administrative Tasks and Methods</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2600235">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#id2612737">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2614050">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#id2646104">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2647509">Result Caching</a>, <a class="indexterm" href="PolicyMgmt.html#id2651782">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2652435">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652884">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653311">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2657065">MS Windows 200x/XP</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661070">Background Information</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671128">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a>, <a class="indexterm" href="DNSDHCP.html#id2685847">Features and Benefits</a> (see Active Directory)</dt><dt>ADS DC, <a class="indexterm" href="domain-member.html#id2565183">Configure smb.conf</a></dt><dt>ADS domain, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599235">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#id2598554">Primary Domain Controller</a></dt><dt>Advanced TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a></dt><dt>advantages, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>affect users, <a class="indexterm" href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a></dt><dt>affordable power, <a class="indexterm" href="SambaHA.html#id2665159">The Ultimate Goal</a></dt><dt>AFPL, <a class="indexterm" href="CUPS-printing.html#id2628562">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dt>AFPL Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2630341">pstoraster</a></dt><dt>AFS, <a class="indexterm" href="SambaHA.html#id2665608">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#id2616973">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2648323">NSS Winbind on AIX</a></dt><dt>algorithmic mapping, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a></dt><dt>alias group, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>allow access, <a class="indexterm" href="securing-samba.html#id2611326">Using Host-Based Protection</a></dt><dt>allow trusted domains, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a></dt><dt>already exists, <a class="indexterm" href="domain-member.html#id2566787">Cannot Add Machine Back to Domain</a></dt><dt>alternative solution, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>Amanda, <a class="indexterm" href="Backup.html#id2664860">Amanda</a></dt><dt>analyzes data, <a class="indexterm" href="problems.html#id2677846">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#id2547406">Anonymous Print Server</a></dt><dt>read-write server, <a class="indexterm" href="FastStart.html#id2547169">Anonymous Read-Write Document Server</a></dt></dl></dd><dt>anonymous access, <a class="indexterm" href="NetworkBrowsing.html#id2578147">Problem Resolution</a></dt><dt>anonymous file server, <a class="indexterm" href="cfgsmarts.html#id2667296">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#id2682101">HPUX</a></dt><dt>anticipate failure, <a class="indexterm" href="SambaHA.html#id2665004">Features and Benefits</a></dt><dt>API, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a></dt><dt>Appliances, <a class="indexterm" href="winbind.html#id2646690">Target Uses</a></dt><dt>application servers, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a></dt><dt>application/cups.vnd-postscript, <a class="indexterm" href="CUPS-printing.html#id2635317">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#id2629622">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2631679">application/octet-stream Printing</a></dt><dt>application/pdf, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629622">MIME Type Conversion Rules</a></dt><dt>application/postscript, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629622">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2629986">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2630173">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2635317">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>application/vnd.cups-postscript, <a class="indexterm" href="CUPS-printing.html#id2629986">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2630173">pstops</a></dt><dt>application/vnd.cups-raster, <a class="indexterm" href="CUPS-printing.html#id2631958">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#id2629622">MIME Type Conversion Rules</a></dt><dt>apt-get, <a class="indexterm" href="VFS.html#id2644997">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#id2582146">Comments Regarding LDAP</a></dt><dt>ARP/RARP, <a class="indexterm" href="integrate-ms-networks.html#id2661272">/etc/hosts</a></dt><dt>ASCII, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a>, <a class="indexterm" href="unicode.html#id2662901">What Are Charsets and Unicode?</a>, <a class="indexterm" href="unicode.html#id2663202">Japanese Charsets</a></dt><dt>ASCII text, <a class="indexterm" href="CUPS-printing.html#id2629986">Prefilters</a></dt><dt>assign rights, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>assigned RID, <a class="indexterm" href="groupmapping.html#id2589331">Discussion</a></dt><dt>assistance, <a class="indexterm" href="ch47.html#id2685477">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#id2677898">Debugging with Samba Itself</a></dt><dt>attribute, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a></dt><dt>attributes, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>audit file access, <a class="indexterm" href="VFS.html#id2643778">audit</a></dt><dt>audit module, <a class="indexterm" href="VFS.html#id2644037">extd_audit</a></dt><dt>auth, <a class="indexterm" href="pam.html#id2658915">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#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticate users, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticated, <a class="indexterm" href="domain-member.html#id2565183">Configure smb.conf</a></dt><dt>authenticating server, <a class="indexterm" href="ProfileMgmt.html#id2656502">MS Windows NT4 Workstation</a></dt><dt>authentication, <a class="indexterm" href="ServerType.html#id2551752">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2585410">Account Import/Export</a>, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="winbind.html#id2649627">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2658152">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#id2554980">Single Sign-On and Domain Security</a></dt><dt>authentication architecture, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>authentication backend, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>authentication control, <a class="indexterm" href="winbind.html#id2647572">Introduction</a></dt><dt>authentication database, <a class="indexterm" href="InterdomainTrusts.html#id2612737">Features and Benefits</a></dt><dt>authentication management, <a class="indexterm" href="winbind.html#id2647278">Pluggable Authentication Modules</a></dt><dt>authentication mechanisms, <a class="indexterm" href="winbind.html#id2647572">Introduction</a></dt><dt>authentication methods, <a class="indexterm" href="winbind.html#id2647278">Pluggable Authentication Modules</a></dt><dt>authentication module API, <a class="indexterm" href="winbind.html#id2648323">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#id2564901">Why Is This Better Than security = server?</a></dt><dt>authentication server, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></dt><dt>authentication service, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>authentication system, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>authenticatior, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a></dt><dt>authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>authoritive, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a></dt><dt>authorization, <a class="indexterm" href="winbind.html#id2647278">Pluggable Authentication Modules</a></dt><dt>auto-reconnect, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>autogen.sh, <a class="indexterm" href="compiling.html#id2680989">Building the Binaries</a></dt><dt>autogenerated printcap, <a class="indexterm" href="classicalprinting.html#id2618450">Default UNIX System Printing Commands</a></dt><dt>automatic account creation, <a class="indexterm" href="domain-member.html#id2563315">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>automatic mapping, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>automatic reconnects, <a class="indexterm" href="passdb.html#id2581393">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#id2593658">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>autotyping, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>AUXILIARY, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>auxiliary members, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>availability, <a class="indexterm" href="SambaHA.html#id2665004">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672084">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#id2624873">Samba and Printer Ports</a></dt><dt>available printerd, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>available rights, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>average print run, <a class="indexterm" href="CUPS-printing.html#id2627834">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#id2573222">NetBIOS over TCP/IP</a></dt><dt>back up, <a class="indexterm" href="winbind.html#id2647686">Requirements</a></dt><dt>backed up, <a class="indexterm" href="NT4Migration.html#id2672695">Server Share and Directory Layout</a></dt><dt>backend, <a class="indexterm" href="SambaHA.html#id2665608">The Distributed File System Challenge</a></dt><dt>backend authentication, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>backend database, <a class="indexterm" href="samba-pdc.html#id2555600">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#id2566863">Adding Machine to Domain Fails</a></dt><dt>backend failures, <a class="indexterm" href="SambaHA.html#id2666082">High-Availability Server Products</a></dt><dt>backend file system pool, <a class="indexterm" href="SambaHA.html#id2665735">Restrictive Constraints on Distributed File Systems</a></dt><dt>backends, <a class="indexterm" href="ChangeNotes.html#id2572158">Passdb Changes</a>, <a class="indexterm" href="CUPS-printing.html#id2641520">Printing from CUPS to Windows-Attached Printers</a></dt><dt>backup, <a class="indexterm" href="Backup.html#id2664377">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672695">Server Share and Directory Layout</a>, <a class="indexterm" href="tdb.html#id2679886">Features and Benefits</a></dt><dt>backup domain controller, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>backup solution, <a class="indexterm" href="Backup.html#id2664421">Discussion of Backup Solutions</a></dt><dt>BackupPC, <a class="indexterm" href="Backup.html#id2664519">BackupPC</a></dt><dt>bad hardware, <a class="indexterm" href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad logon attempts, <a class="indexterm" href="passdb.html#id2584591">Changing User Accounts</a></dt><dt>Bad networking hardware, <a class="indexterm" href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad password, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>banner pages, <a class="indexterm" href="CUPS-printing.html#id2635317">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2635535">Run cupsaddsmb (Quiet Mode)</a></dt><dt>barriers, <a class="indexterm" href="securing-samba.html#id2611065">Introduction</a></dt><dt>Batch Oplock, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>BDC, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2552863">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2560401">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561788">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2581393">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#id2585930">tdbsam</a>, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2598788">Backup Domain Controller</a>, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2673028">Steps in Migration Process</a></dt><dt>BDCs, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>behavior approximately same, <a class="indexterm" href="upgrading-to-3.0.html#id2669283">Quick Migration Guide</a></dt><dt>between domains, <a class="indexterm" href="InterdomainTrusts.html#id2613514">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#id2580510">New Account Storage Systems</a></dt><dt>BIND, <a class="indexterm" href="DNSDHCP.html#id2686117">Dynamic DNS</a></dt><dt>bind interfaces only, <a class="indexterm" href="cfgsmarts.html#id2666899">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#id2685847">Features and Benefits</a></dt><dt>bindery-enabled, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>block device, <a class="indexterm" href="AccessControls.html#id2604255">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#id2664908">BOBS: Browseable Online Backup System</a></dt><dt>bogus, <a class="indexterm" href="ServerType.html#id2553521">Example Configuration</a></dt><dt>boot disk`, <a class="indexterm" href="winbind.html#id2647686">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#id2574416">How Browsing Functions</a></dt><dt>brlock.tdb, <a class="indexterm" href="CUPS-printing.html#id2638439">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>broadcast, <a class="indexterm" href="samba-bdc.html#id2560460">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>broadcast address, <a class="indexterm" href="NetworkBrowsing.html#id2578147">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2676083">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#id2573222">NetBIOS over TCP/IP</a></dt><dt>broadcast messaging, <a class="indexterm" href="samba-bdc.html#id2560550">How Does a Workstation find its Domain Controller?</a></dt><dt>Broadcast node, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt><dt>broadcast request, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a></dt><dt>broadcast traffic, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a></dt><dt>broadcast-based, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>broadcast-based name resolution, <a class="indexterm" href="domain-member.html#id2564166">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#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>browse across subnet, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a></dt><dt>browse list, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578569">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#id2574416">How Browsing Functions</a></dt><dt>browse list management, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572785">What Is Browsing?</a></dt><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2575951">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>browse resources, <a class="indexterm" href="NetworkBrowsing.html#id2578147">Problem Resolution</a></dt><dt>browse server resources, <a class="indexterm" href="NetworkBrowsing.html#id2578147">Problem Resolution</a></dt><dt>browse shares, <a class="indexterm" href="securing-samba.html#id2611890">Using IPC$ Share-Based Denials </a></dt><dt>browse.dat, <a class="indexterm" href="NetworkBrowsing.html#id2578147">Problem Resolution</a></dt><dt>browseable, <a class="indexterm" href="install.html#id2544319">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#id2575350">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#id2643029">Print Queue Called “lp” Mishandles Print Jobs</a></dt><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572785">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575951">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577950">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#id2578398">Cross-Subnet Browsing</a></dt><dt>browsing another subnet, <a class="indexterm" href="NetworkBrowsing.html#id2577950">Browsing Support in Samba</a></dt><dt>browsing intrinsics, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a></dt><dt>browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579412">Common Errors</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579559">I Get an "Unable to browse the network" Error</a></dt><dt>BSD, <a class="indexterm" href="samba-pdc.html#id2558297">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a></dt><dt>BSD Printing, <a class="indexterm" href="classicalprinting.html#id2615614">Simple Print Configuration</a></dt><dt>BSD-style printing, <a class="indexterm" href="classicalprinting.html#id2616494">Extended Printing Configuration</a></dt><dt>bug report, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>bug reports, <a class="indexterm" href="bugreport.html#id2679017">Introduction</a></dt><dt>Bugzilla, <a class="indexterm" href="bugreport.html#id2679017">Introduction</a></dt><dt>built-in commands, <a class="indexterm" href="classicalprinting.html#id2618994">Custom Print Commands</a></dt><dt>bypasses privilege, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>byte ranges, <a class="indexterm" href="locking.html#id2608685">Discussion</a></dt><dt>byte-range lock, <a class="indexterm" href="locking.html#id2608685">Discussion</a></dt><dt>byte-range locking, <a class="indexterm" href="locking.html#id2608685">Discussion</a>, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt></dl></div><div class="indexdiv"><h3>C</h3><dl><dt>c:\winnt\inf, <a class="indexterm" href="PolicyMgmt.html#id2652214">Windows NT4-Style Policy Files</a></dt><dt>C:\WinNT\System32\config, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></dt><dt>cached</dt><dd><dl><dt>password, <a class="indexterm" href="ServerType.html#id2553624">Password Checking</a></dt></dl></dd><dt>cached encrypted password, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>cached in memory, <a class="indexterm" href="passdb.html#id2581534">Advantages of Non-Encrypted Passwords</a></dt><dt>cached local file, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>cached locally, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>cached references, <a class="indexterm" href="NetworkBrowsing.html#id2579806">Invalid Cached Share References Affects Network Browsing</a></dt><dt>caching, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>caching reads, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>caching scheme, <a class="indexterm" href="winbind.html#id2647509">Result Caching</a></dt><dt>caching writes, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>called name, <a class="indexterm" href="securing-samba.html#id2611326">Using Host-Based Protection</a></dt><dt>cannot join domain, <a class="indexterm" href="ClientConfig.html#id2571418">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#id2663202">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a>, <a class="indexterm" href="Other-Clients.html#id2682672">Macintosh Clients</a></dt><dt>cap-share, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>capability to delete, <a class="indexterm" href="AccessControls.html#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>CAP_LINUX_IMMUTABLE, <a class="indexterm" href="AccessControls.html#id2604667">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#id2658836">PAM Configuration Syntax</a></dt><dt>case-insensitive, <a class="indexterm" href="ServerType.html#id2552253">User Level Security</a>, <a class="indexterm" href="classicalprinting.html#id2615614">Simple Print Configuration</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>case-preserving, <a class="indexterm" href="ServerType.html#id2552253">User Level Security</a></dt><dt>central environment, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>centralized</dt><dd><dl><dt>authentication, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt></dl></dd><dt>centralized identity management, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>centrally managed, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>certificate, <a class="indexterm" href="SWAT.html#id2674854">Securing SWAT through SSL</a></dt><dt>Certificate Authority (see CA)</dt><dt>cfdisk, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>challenge/response mechanis, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>change capabilities, <a class="indexterm" href="passdb.html#id2582999">The smbpasswd Tool</a></dt><dt>change motivations, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>change password, <a class="indexterm" href="domain-member.html#id2566469">Notes</a></dt><dt>change passwords, <a class="indexterm" href="passdb.html#id2582999">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#id2562879">Manual Creation of Machine Trust Accounts</a></dt><dt>character device, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a></dt><dt>character set, <a class="indexterm" href="unicode.html#id2662901">What Are Charsets and Unicode?</a></dt><dt>character sets, <a class="indexterm" href="unicode.html#id2663035">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>charset, <a class="indexterm" href="unicode.html#id2662901">What Are Charsets and Unicode?</a></dt><dt>charset conversion, <a class="indexterm" href="unicode.html#id2663171">Conversion from Old Names</a></dt><dt>chattr, <a class="indexterm" href="AccessControls.html#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>check for locks, <a class="indexterm" href="locking.html#id2608685">Discussion</a></dt><dt>check logs, <a class="indexterm" href="domain-member.html#id2566863">Adding Machine to Domain Fails</a></dt><dt>checksum-search, <a class="indexterm" href="Backup.html#id2664690">Rsync</a></dt><dt>chmod, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>chown, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="AccessControls.html#id2606611">Viewing File Ownership</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>chpass, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a></dt><dt>CIFS, <a class="indexterm" href="domain-member.html#id2566541">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#id2665004">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2665288">Why Is This So Hard?</a></dt><dt>Citrix, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651186">Remote Management with ThinLinc</a></dt><dt>clear purpose preferred, <a class="indexterm" href="Backup.html#id2664421">Discussion of Backup Solutions</a></dt><dt>clear-text, <a class="indexterm" href="ServerType.html#id2553624">Password Checking</a>, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2587621">Security and sambaSamAccount</a></dt><dt>clear-text passwords, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>client client instructions, <a class="indexterm" href="ClientConfig.html#id2568572">Features and Benefits</a></dt><dt>Client for Microsoft Networks, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Client for Novell Networks, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>client-server mode, <a class="indexterm" href="passdb.html#id2582999">The smbpasswd Tool</a></dt><dt>client-side caching, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>client-side data caching, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2609637">PDM Data Shares</a></dt><dt>clock skew, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a></dt><dt>cluster servers, <a class="indexterm" href="SambaHA.html#id2665407">The Front-End Challenge</a></dt><dt>clustered file server, <a class="indexterm" href="SambaHA.html#id2665159">The Ultimate Goal</a></dt><dt>Clustered smbds, <a class="indexterm" href="SambaHA.html#id2665804">Server Pool Communications</a></dt><dt>clustering technologies, <a class="indexterm" href="SambaHA.html#id2665159">The Ultimate Goal</a></dt><dt>cluttering, <a class="indexterm" href="bugreport.html#id2679342">Debugging-Specific Operations</a></dt><dt>cmd, <a class="indexterm" href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>cmd shell, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>CN, <a class="indexterm" href="samba-bdc.html#id2560037">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#id2685477">Free Support</a></dt><dt>codepages, <a class="indexterm" href="unicode.html#id2662849">Features and Benefits</a></dt><dt>collating, <a class="indexterm" href="NetworkBrowsing.html#id2575951">Making Samba the Domain Master</a></dt><dt>collisions, <a class="indexterm" href="speed.html#id2684101">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>color, <a class="indexterm" href="CUPS-printing.html#id2628203">UNIX Printfile Conversion and GUI Basics</a></dt><dt>COM1:, <a class="indexterm" href="classicalprinting.html#id2624873">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#id2601763">Using the “net rpc rights” Utility</a></dt><dt>commenting out setting, <a class="indexterm" href="classicalprinting.html#id2616094">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#id2685695">Commercial Support</a></dt><dt>commit the settings, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a></dt><dt>Common Internet Filesystem (see CIFS)</dt><dt>Common restrictions, <a class="indexterm" href="PolicyMgmt.html#id2652884">Managing Account/User Policies</a></dt><dt>Common UNIX Printing System (see CUPS)</dt><dt>common.adm, <a class="indexterm" href="PolicyMgmt.html#id2652214">Windows NT4-Style Policy Files</a></dt><dt>comp.protocols.smb, <a class="indexterm" href="bugreport.html#id2679017">Introduction</a></dt><dt>compatible, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a>, <a class="indexterm" href="Portability.html">Portability</a></dt><dt>compile, <a class="indexterm" href="install.html#id2544229">Obtaining and Installing Samba</a></dt><dt>compile-time options, <a class="indexterm" href="classicalprinting.html#id2616094">Rapid Configuration Validation</a></dt><dt>complex file name space, <a class="indexterm" href="SambaHA.html#id2666002">A Simple Solution</a></dt><dt>complex organization, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>complexity, <a class="indexterm" href="StandAloneServer.html#id2567521">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#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>complicated problem, <a class="indexterm" href="SambaHA.html#id2665502">Demultiplexing SMB Requests</a></dt><dt>comprehensive documentation, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></dt><dt>Computer Account, <a class="indexterm" href="domain-member.html#id2563876">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#id2582558">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#id2605993">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2606258">Windows 200x/XP</a></dt><dt>Computer Name, <a class="indexterm" href="ClientConfig.html#id2570446">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>computer name, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a></dt><dt>concurrent access, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>Conectiva, <a class="indexterm" href="CUPS-printing.html#id2639738">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>config.cache, <a class="indexterm" href="domain-member.html#id2566176">Possible Errors</a></dt><dt>CONFIG.POL, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a></dt><dt>Config.POL, <a class="indexterm" href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652077">Windows 9x/ME Policies</a></dt><dt>configuration</dt><dd><dl><dt>documentation, <a class="indexterm" href="install.html#id2545738">Test Your Config File with testparm</a></dt></dl></dd><dt>configuration files, <a class="indexterm" href="SWAT.html#id2674072">Features and Benefits</a></dt><dt>configuration problem, <a class="indexterm" href="bugreport.html#id2679017">Introduction</a></dt><dt>configuration syntax, <a class="indexterm" href="classicalprinting.html#id2615614">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#id2568504">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#id2570446">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>configure, <a class="indexterm" href="compiling.html#id2680989">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#id2611540">Using Interface Protection</a></dt><dt>confirm the password, <a class="indexterm" href="InterdomainTrusts.html#id2613854">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#id2665159">The Ultimate Goal</a></dt><dt>connection resources, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a></dt><dt>connections, <a class="indexterm" href="install.html#id2545478">Example Configuration</a></dt><dt>connections.tdb, <a class="indexterm" href="CUPS-printing.html#id2638439">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#id2649793">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#id2666082">High-Availability Server Products</a></dt><dt>contribute, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></dt><dt>Control Panel, <a class="indexterm" href="ClientConfig.html#id2570446">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#id2555600">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#id2650811">Remote Management from NoMachine.Com</a></dt><dt>core files, <a class="indexterm" href="bugreport.html#id2679544">Internal Errors</a></dt><dt>core graphic engine, <a class="indexterm" href="CUPS-printing.html#id2628025">Windows Drivers, GDI, and EMF</a></dt><dt>core values, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>corrupted file, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>cosine.schema, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a></dt><dt>country of origin, <a class="indexterm" href="ch47.html#id2685695">Commercial Support</a></dt><dt>CP850, <a class="indexterm" href="unicode.html#id2663035">Samba and Charsets</a></dt><dt>CP932, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>cracker, <a class="indexterm" href="securing-samba.html#id2611540">Using Interface Protection</a></dt><dt>create, <a class="indexterm" href="AccessControls.html#id2604132">Managing Directories</a></dt><dt>Create a Computer Account, <a class="indexterm" href="domain-member.html#id2563876">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#id2563712">Windows 200x/XP Professional Client</a></dt><dt>create machine trust account, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>create partition, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>Create the Computer Account, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a></dt><dt>create user accounts, <a class="indexterm" href="StandAloneServer.html#id2567320">Background</a></dt><dt>create volume, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>credentials, <a class="indexterm" href="ServerType.html#id2552253">User Level Security</a>, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2570446">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="NetCommand.html#id2594363">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#id2560607">NetBIOS Over TCP/IP Enabled</a></dt><dt>critical aspects of configuration, <a class="indexterm" href="ClientConfig.html#id2568572">Features and Benefits</a></dt><dt>crle, <a class="indexterm" href="winbind.html#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>cron, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a></dt><dt>cross post, <a class="indexterm" href="problems.html#id2678711">Getting Mailing List Help</a></dt><dt>cross-segment browsing, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>cross-subnet browsing, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>CUPS, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2615303">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2616494">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a>, <a class="indexterm" href="CUPS-printing.html#id2625960">Features and Benefits</a>, <a class="indexterm" href="CUPS-printing.html#id2626020">Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2626139">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2628799">Using Windows-Formatted Vendor PPDs</a></dt><dd><dl><dt>Page Accounting, <a class="indexterm" href="CUPS-printing.html#id2640421">Page Accounting with CUPS</a></dt><dt>quotas, <a class="indexterm" href="CUPS-printing.html#id2640456">Setting Up Quotas</a></dt></dl></dd><dt>CUPS API, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2618450">Default UNIX System Printing Commands</a></dt><dt>CUPS backends, <a class="indexterm" href="CUPS-printing.html#id2630915">CUPS Backends</a></dt><dt>CUPS filtering, <a class="indexterm" href="CUPS-printing.html#id2628918">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2628958">The CUPS Filtering Architecture</a></dt><dt>CUPS filtering chain, <a class="indexterm" href="CUPS-printing.html#id2630915">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#id2635017">Caveats to Be Considered</a></dt><dt>CUPS PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2635317">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#id2628958">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2630341">pstoraster</a></dt><dt>CUPS-PPD, <a class="indexterm" href="CUPS-printing.html#id2639350">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>cups.hlp, <a class="indexterm" href="CUPS-printing.html#id2635017">Caveats to Be Considered</a></dt><dt>cupsaddsmb, <a class="indexterm" href="CUPS-printing.html#id2627712">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2634194">cupsaddsmb: The Unknown Utility</a>, <a class="indexterm" href="CUPS-printing.html#id2635017">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2635535">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2635675">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2635867">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2636133">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="CUPS-printing.html#id2636214">cupsaddsmb Flowchart</a>, <a class="indexterm" href="CUPS-printing.html#id2636295">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2637113">Requirements for adddriver and setdriver to Succeed</a></dt><dt>cupsd.conf, <a class="indexterm" href="classicalprinting.html#id2618450">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2626139">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2631502">mime.convs</a>, <a class="indexterm" href="CUPS-printing.html#id2641173">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2628799">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2628958">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2632241">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2638946">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2639350">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>currupted, <a class="indexterm" href="tdb.html#id2679886">Features and Benefits</a></dt><dt>custom scripts, <a class="indexterm" href="passdb.html#id2585665">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#id2618994">Custom Print Commands</a></dt></dl></div><div class="indexdiv"><h3>D</h3><dl><dt>daemon, <a class="indexterm" href="install.html#id2545285">Starting Samba</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2647686">Requirements</a>, <a class="indexterm" href="compiling.html#id2681717">Alternative: Starting smbd as a Daemon</a></dt><dt>daemon running, <a class="indexterm" href="winbind.html#id2648871">Starting and Testing the winbindd Daemon</a></dt><dt>daemons, <a class="indexterm" href="winbind.html#id2649582">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#id2608943">Opportunistic Locking Overview</a></dt><dt>data corruption, <a class="indexterm" href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="locking.html#id2609513">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#id2615303">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#id2669283">Quick Migration Guide</a></dt><dt>DatabaseFS, <a class="indexterm" href="VFS.html#id2645741">DatabaseFS</a></dt><dt>DAVE, <a class="indexterm" href="Other-Clients.html#id2682672">Macintosh Clients</a></dt><dt>dbx, <a class="indexterm" href="bugreport.html#id2679544">Internal Errors</a></dt><dt>DCE RPC, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a></dt><dt>DDK, <a class="indexterm" href="CUPS-printing.html#id2634084">PostScript Drivers with No Major Problems, Even in Kernel3 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id26 34572">CUPS “PostScript Driver for Windows NT/200x/XP”</a></dt><dt>DDNS, <a class="indexterm" href="NetworkBrowsing.html#id2573858">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#id2661070">Background Information</a></dt><dt>de-multiplex, <a class="indexterm" href="SambaHA.html#id2665407">The Front-End Challenge</a></dt><dt>de-multiplexing, <a class="indexterm" href="SambaHA.html#id2665502">Demultiplexing SMB Requests</a></dt><dt>Debian, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>Debian Sarge, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>debug, <a class="indexterm" href="bugreport.html#id2679544">Internal Errors</a></dt><dt>debug level, <a class="indexterm" href="problems.html#id2677898">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a></dt><dt>debugging, <a class="indexterm" href="problems.html#id2677898">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2679342">Debugging-Specific Operations</a></dt><dt>debugging passwords, <a class="indexterm" href="problems.html#id2677898">Debugging with Samba Itself</a></dt><dt>debugging problems, <a class="indexterm" href="problems.html#id2677898">Debugging with Samba Itself</a></dt><dt>dedicated heartbeat, <a class="indexterm" href="SambaHA.html#id2666082">High-Availability Server Products</a></dt><dt>dedicated print server, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a></dt><dt>default accounts, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a></dt><dt>default aliases, <a class="indexterm" href="groupmapping.html#id2590548">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#id2566469">Notes</a></dt><dt>default gateways, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a></dt><dt>default groups, <a class="indexterm" href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a></dt><dt>default mapping, <a class="indexterm" href="ChangeNotes.html#id2572218">Group Mapping Changes in Samba-3.0.23</a></dt><dt>default mappings, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a></dt><dt>default print command, <a class="indexterm" href="classicalprinting.html#id2618450">Default UNIX System Printing Commands</a></dt><dt>default print commands, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>default printer, <a class="indexterm" href="classicalprinting.html#id2618994">Custom Print Commands</a></dt><dt>default printing, <a class="indexterm" href="CUPS-printing.html#id2625960">Features and Benefits</a></dt><dt>default profile, <a class="indexterm" href="ProfileMgmt.html#id2656320">Default Profile for Windows Users</a>, <a class="indexterm" href="ProfileMgmt.html#id2657813">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#id2648871">Starting and Testing the winbindd Daemon</a></dt><dt>Default User, <a class="indexterm" href="ProfileMgmt.html#id2657065">MS Windows 200x/XP</a></dt><dt>default users, <a class="indexterm" href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a></dt><dt>defective hardware, <a class="indexterm" href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a></dt><dt>deferred open, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>defined shares, <a class="indexterm" href="securing-samba.html#id2612177">Why Can Users Access Other Users' Home Directories?</a></dt><dt>delegate administrative privileges, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></dt><dt>delegated, <a class="indexterm" href="groupmapping.html#id2590308">Important Administrative Information</a></dt><dt>delegation, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></dt><dt>delete, <a class="indexterm" href="AccessControls.html#id2604132">Managing Directories</a></dt><dt>delete a file, <a class="indexterm" href="AccessControls.html#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>delete roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2657065">MS Windows 200x/XP</a></dt><dt>delete user script, <a class="indexterm" href="passdb.html#id2584506">Deleting Accounts</a></dt><dt>deleted files, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>deleted parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2669783">Removed Parameters</a></dt><dt>delmem, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>demote, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a></dt><dt>demoted, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></dt><dt>denial of service, <a class="indexterm" href="securing-samba.html#id2611540">Using Interface Protection</a></dt><dt>deny, <a class="indexterm" href="securing-samba.html#id2611890">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#id2608685">Discussion</a></dt><dt>deny-none, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>DENY_ALL, <a class="indexterm" href="locking.html#id2608685">Discussion</a></dt><dt>DENY_DOS, <a class="indexterm" href="locking.html#id2608685">Discussion</a></dt><dt>DENY_FCB, <a class="indexterm" href="locking.html#id2608685">Discussion</a></dt><dt>DENY_NONE, <a class="indexterm" href="locking.html#id2608685">Discussion</a></dt><dt>DENY_READ, <a class="indexterm" href="locking.html#id2608685">Discussion</a></dt><dt>DENY_WRITE, <a class="indexterm" href="locking.html#id2608685">Discussion</a></dt><dt>deployment, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>deployment guidelines, <a class="indexterm" href="passdb.html#id2582421">Caution Regarding LDAP and Samba</a></dt><dt>DES-CBC-CRC, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a></dt><dt>DES-CBC-MD5, <a class="indexterm" href="domain-member.html#id2565374">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#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>desktop cache, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>desktop profile, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></dt><dt>desktop profiles, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2595326">Managing Security Identifiers (SIDS)</a></dt><dt>deterents, <a class="indexterm" href="securing-samba.html#id2611065">Introduction</a></dt><dt>development libraries, <a class="indexterm" href="winbind.html#id2647686">Requirements</a></dt><dt>devfsd package, <a class="indexterm" href="VFS.html#id2644997">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#id2631958">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>DFS, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a> (see MS-DFS, Distributed File Systems)</dt><dt>DFS junction, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>DFS links, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>DFS root, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>DFS server, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>DFS tree, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>DFS-aware, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>DFS-aware clients, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>DHCP, <a class="indexterm" href="ClientConfig.html#id2568676">TCP/IP Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661070">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2685847">Features and Benefits</a></dt><dt>DHCP servers, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>DHCP-enabled, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a></dt><dt>DHCP-enabled operation, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a></dt><dt>diagnostic, <a class="indexterm" href="idmapper.html#id2600235">IDMAP Storage in LDAP Using Winbind</a></dt><dt>diagnostic tools, <a class="indexterm" href="problems.html#id2677898">Debugging with Samba Itself</a></dt><dt>diff, <a class="indexterm" href="bugreport.html#id2679802">Patches</a></dt><dt>differences, <a class="indexterm" href="Backup.html#id2664690">Rsync</a></dt><dt>different resources, <a class="indexterm" href="cfgsmarts.html#id2667296">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#id2669283">Quick Migration Guide</a></dt><dt>dir, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>direct internet access, <a class="indexterm" href="securing-samba.html#id2611065">Introduction</a></dt><dt>directory, <a class="indexterm" href="samba-bdc.html#id2560401">Active Directory Domain Control</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="idmapper.html#id2598788">Backup Domain Controller</a></dt><dt>directory access control, <a class="indexterm" href="groupmapping.html#id2589725">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#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>directory schema, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a></dt><dt>Directory Separators, <a class="indexterm" href="AccessControls.html#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>directory server, <a class="indexterm" href="passdb.html#id2586088">ldapsam</a></dt><dt>directory_mode, <a class="indexterm" href="VFS.html#id2644363">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#id2608588">Features and Benefits</a></dt><dt>disable roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2654053">Disabling Roaming Profile Support</a></dt><dt>disabling oplocks, <a class="indexterm" href="locking.html#id2609637">PDM Data Shares</a></dt><dt>disass, <a class="indexterm" href="bugreport.html#id2679544">Internal Errors</a></dt><dt>disaster recovery, <a class="indexterm" href="NT4Migration.html#id2672695">Server Share and Directory Layout</a></dt><dt>disconnect a connection, <a class="indexterm" href="ProfileMgmt.html#id2653679">NT4/200x User Profiles</a></dt><dt>disk, <a class="indexterm" href="passdb.html#id2581393">Advantages of Encrypted Passwords</a></dt><dt>disk space, <a class="indexterm" href="NT4Migration.html#id2672695">Server Share and Directory Layout</a></dt><dt>disparate information systems, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>display PostScript, <a class="indexterm" href="CUPS-printing.html#id2628203">UNIX Printfile Conversion and GUI Basics</a></dt><dt>displayName, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a></dt><dt>distort, <a class="indexterm" href="CUPS-printing.html#id2628203">UNIX Printfile Conversion and GUI Basics</a></dt><dt>distribute authentication systems, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>distributed, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a></dt><dt>distributed account, <a class="indexterm" href="passdb.html#id2580510">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#id2665159">The Ultimate Goal</a> (see DFS)</dt><dt>Distributed File Systems, <a class="indexterm" href="SambaHA.html#id2665608">The Distributed File System Challenge</a></dt><dt>distributed file systems, <a class="indexterm" href="SambaHA.html#id2665608">The Distributed File System Challenge</a></dt><dt>distributed locking protocol, <a class="indexterm" href="SambaHA.html#id2666002">A Simple Solution</a></dt><dt>distribution, <a class="indexterm" href="install.html#id2545478">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>dithering algorithm, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a></dt><dt>DMB, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2560460">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575350">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#id2575951">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>DMB for a workgroup, <a class="indexterm" href="NetworkBrowsing.html#id2577950">Browsing Support in Samba</a></dt><dt>DMC, <a class="indexterm" href="idmapper.html#id2598860">Examples of IDMAP Backend Usage</a></dt><dt>DMS, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="idmapper.html#id2598860">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#id2560037">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#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560550">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2560673">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2565183">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572601">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573858">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html#id2586898">Initialize the LDAP Database</a>, <a class="indexterm" href="winbind.html#id2647046">Name Service Switch</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661070">Background Information</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662393">DNS Lookup</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a>, <a class="indexterm" href="DNSDHCP.html#id2685847">Features and Benefits</a>, <a class="indexterm" href="DNSDHCP.html#id2686026">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#id2661070">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2686117">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#id2579606">Browsing of Shares and Directories is Very Slow</a></dt><dt>DNS lookup, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a></dt><dt>DNS name resolution, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>dns proxy, <a class="indexterm" href="diagnosis.html#id2675790">Assumptions</a></dt><dt>DNS server, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>DNS server access, <a class="indexterm" href="diagnosis.html#id2675790">Assumptions</a></dt><dt>DNS server settings, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a></dt><dt>DNS servers, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>DNS zon, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a></dt><dt>DNS/LDAP/ADS, <a class="indexterm" href="NetworkBrowsing.html#id2577863">Technical Overview of Browsing</a></dt><dt>document design, <a class="indexterm" href="NT4Migration.html#id2672695">Server Share and Directory Layout</a></dt><dt>documentation, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="SWAT.html#id2674072">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#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2584419">Adding User Accounts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a></dt><dd><dl><dt>control, <a class="indexterm" href="ServerType.html#id2551919">Server Types</a></dt><dd><dl><dt>role, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a></dt></dl></dd><dt>controller, <a class="indexterm" href="ServerType.html#id2551752">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html">Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a></dt><dd><dl><dt>convert, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a></dt><dt>hierarchy, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a></dt></dl></dd><dt>controllers, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2592429">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a></dt></dl></dd><dt>member, <a class="indexterm" href="ServerType.html#id2551919">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a></dt><dd><dl><dt>server, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a></dt></dl></dd><dt>member server, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>protocols, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="samba-pdc.html#id2554346">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#id2585249">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#id2602906">The Administrator Domain SID</a></dt><dt>Domain Admins, <a class="indexterm" href="ChangeNotes.html#id2572218">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2589331">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2590308">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>Domain Admins group, <a class="indexterm" href="groupmapping.html#id2589331">Discussion</a></dt><dt>domain authentication, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a></dt><dt>domain context, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>domain control, <a class="indexterm" href="samba-pdc.html#id2555580">Basics of Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2561690">Common Errors</a>, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2597593">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#id2551919">Server Types</a></dt><dt>primary, <a class="indexterm" href="ServerType.html#id2551919">Server Types</a></dt></dl></dd><dt>domain control database (see SAM)</dt><dt>domain controller, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2559293">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560401">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560607">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#id2646537">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2673028">Steps in Migration Process</a></dt><dt>Domain Controller, <a class="indexterm" href="CUPS-printing.html#id2635017">Caveats to Be Considered</a></dt><dt>domain controllers, <a class="indexterm" href="samba-pdc.html#id2557356">Samba ADS Domain Control</a>, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="PolicyMgmt.html#id2652435">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#id2669454">New Features in Samba-3.0.x</a></dt><dt>domain environment, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>domain global, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global group, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global groups, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain global user, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global users, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain group, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a></dt><dt>domain group settings, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain groups, <a class="indexterm" href="ChangeNotes.html#id2572218">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#id2590548">Default Users, Groups, and Relative Identifiers</a></dt><dt>Domain Groups, <a class="indexterm" href="passdb.html#id2587508">Accounts and Groups Management</a></dt><dt>Domain Guests, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain information, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>domain join, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a>, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a></dt><dt>domain joining, <a class="indexterm" href="ClientConfig.html#id2570446">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain logon, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2557408">Domain and Network Logon Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2557428">Domain Network Logon Service</a>, <a class="indexterm" href="samba-bdc.html#id2559786">Example PDC Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>domain logon server, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>domain logons, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577950">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>domain management tools, <a class="indexterm" href="domain-member.html#id2563315">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>domain master, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577950">Browsing Support in Samba</a></dt><dt>domain member, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2563712">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2566747">Common Errors</a>, <a class="indexterm" href="ClientConfig.html#id2570446">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2589331">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="winbind.html#id2646736">Handling of Foreign SIDs</a>, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>Domain Member, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dd><dl><dt>joining, <a class="indexterm" href="ServerType.html#id2552863">Example Configuration</a></dt></dl></dd><dt>domain member client, <a class="indexterm" href="groupmapping.html#id2590308">Important Administrative Information</a></dt><dt>Domain Member Client (see DMC)</dt><dt>domain member server, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573858">TCP/IP without NetBIOS</a>, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a></dt><dt>Domain Member Server (see DMS)</dt><dt>domain member servers, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="groupmapping.html#id2589725">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#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain members, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575350">Domain Browsing Configuration</a>, <a class="indexterm" href="winbind.html#id2647572">Introduction</a></dt><dt>domain membership, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2556614">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#id2570974">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#id2646736">Handling of Foreign SIDs</a></dt><dt>domain policies, <a class="indexterm" href="PolicyMgmt.html#id2652214">Windows NT4-Style Policy Files</a></dt><dt>domain radio button, <a class="indexterm" href="ClientConfig.html#id2570446">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain security, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2562192">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#id2564166">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a>, <a class="indexterm" href="ClientConfig.html#id2570446">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2657065">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#id2590427">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>domain SID, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2595326">Managing Security Identifiers (SIDS)</a></dt><dt>domain trust, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613123">Creating an NT4 Domain Trust</a></dt><dt>domain user, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646537">What Winbind Provides</a></dt><dt>domain user accounts, <a class="indexterm" href="NetCommand.html#id2592429">UNIX and Windows Group Management</a></dt><dt>domain user manager, <a class="indexterm" href="passdb.html#id2584068">User Account Management</a></dt><dt>Domain User Manager, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2590427">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="PolicyMgmt.html#id2652884">Managing Account/User Policies</a></dt><dt>Domain Users, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain users, <a class="indexterm" href="winbind.html#id2647686">Requirements</a>, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2650297">Conclusion</a></dt><dt>Domain Users group, <a class="indexterm" href="groupmapping.html#id2591659">Adding Domain Users to the Workstation Power Users Group</a></dt><dt>domain-level, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a></dt><dt>domain-level security, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>domain-wide browse list, <a class="indexterm" href="NetworkBrowsing.html#id2575951">Making Samba the Domain Master</a></dt><dt>DOMAIN<1B>, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a></dt><dt>DOMAIN<1C>, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a></dt><dt>DOMAIN<1D>, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a></dt><dt>draft, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a></dt><dt>Drive Identification, <a class="indexterm" href="AccessControls.html#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>driver, <a class="indexterm" href="classicalprinting.html#id2615897">Verifying Configuration with testparm</a></dt><dt>driver CDROM, <a class="indexterm" href="classicalprinting.html#id2621002">Identifying Driver Files</a></dt><dt>driver download, <a class="indexterm" href="classicalprinting.html#id2620170">[print$] Stanza Parameters</a></dt><dt>Driver File, <a class="indexterm" href="classicalprinting.html#id2621002">Identifying Driver Files</a></dt><dt>driver files, <a class="indexterm" href="classicalprinting.html#id2621002">Identifying Driver Files</a></dt><dt>Driver Path, <a class="indexterm" href="classicalprinting.html#id2621002">Identifying Driver Files</a></dt><dt>dual-daemon winbindd, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>due diligence, <a class="indexterm" href="Backup.html#id2664421">Discussion of Backup Solutions</a></dt><dt>duplex, <a class="indexterm" href="CUPS-printing.html#id2632578">Examples for Filtering Chains</a></dt><dt>duplex printing, <a class="indexterm" href="CUPS-printing.html#id2632578">Examples for Filtering Chains</a></dt><dt>duplicate, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a></dt><dt>duplication of information, <a class="indexterm" href="winbind.html#id2646448">Introduction</a></dt><dt>DVI, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629986">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#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>dynamic registration files, <a class="indexterm" href="DNSDHCP.html#id2686117">Dynamic DNS</a></dt><dt>Dynamic SMB servers, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>dynamically loadable library modules, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>E</h3><dl><dt>e-Directory, <a class="indexterm" href="samba-pdc.html#id2554980">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#id2604255">File and Directory Access Control</a></dt><dt>economically wise, <a class="indexterm" href="SambaHA.html#id2665004">Features and Benefits</a></dt><dt>eDirectory, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>editreg, <a class="indexterm" href="PolicyMgmt.html#id2653123">Samba Editreg Toolset</a></dt><dt>efficient authentication, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>election, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575350">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#id2574416">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#id2628025">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2633241">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2633375">Driver Execution on the Server</a></dt><dt>enables clients to print, <a class="indexterm" href="classicalprinting.html#id2615614">Simple Print Configuration</a></dt><dt>enables NetBIOS over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>encapsulating, <a class="indexterm" href="NetworkBrowsing.html#id2573222">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#id2556614">Domain Control: Example Configuration</a></dt><dt>encrypted, <a class="indexterm" href="ServerType.html#id2551752">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2553624">Password Checking</a>, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>encrypted password, <a class="indexterm" href="passdb.html#id2581393">Advantages of Encrypted Passwords</a></dt><dt>encrypted passwords, <a class="indexterm" href="ServerType.html#id2553624">Password Checking</a>, <a class="indexterm" href="passdb.html#id2580290">Features and Benefits</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2581393">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="ProfileMgmt.html#id2655750">Profile Migration from Windows NT4/200x Server to Samba</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671128">Passdb Backends and Authentication</a></dt><dt>encrypted session, <a class="indexterm" href="passdb.html#id2587621">Security and sambaSamAccount</a></dt><dt>encryption, <a class="indexterm" href="ServerType.html#id2553326">Server Security (User Level Security)</a></dt><dt>encryption key, <a class="indexterm" href="domain-member.html#id2563712">Windows 200x/XP Professional Client</a></dt><dt>encryption types, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566469">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#id2663202">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2675005">Enabling SWAT Internationalization Support</a></dt><dt>Enhanced MetaFile (see EMF)</dt><dt>enterprise, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a></dt><dt>enumdrivers, <a class="indexterm" href="classicalprinting.html#id2621002">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2636704">A Check of the rpcclient man Page</a></dt><dt>enumerate domain groups, <a class="indexterm" href="winbind.html#id2646911">Microsoft Remote Procedure Calls</a></dt><dt>enumerate domain users, <a class="indexterm" href="winbind.html#id2646911">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#id2636704">A Check of the rpcclient man Page</a></dt><dt>environment variables, <a class="indexterm" href="classicalprinting.html#id2618994">Custom Print Commands</a></dt><dt>EPM (see ESP meta packager)</dt><dt>Epson Stylus, <a class="indexterm" href="CUPS-printing.html#id2632578">Examples for Filtering Chains</a></dt><dt>Epson Stylus inkjet, <a class="indexterm" href="CUPS-printing.html#id2639821">Foomatic Database-Generated PPDs</a></dt><dt>equivalence, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>equivalent rights and privileges, <a class="indexterm" href="rights.html#id2602906">The Administrator Domain SID</a></dt><dt>error message, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a>, <a class="indexterm" href="classicalprinting.html#id2621913">Running rpcclient with adddriver</a></dt><dt>error messages, <a class="indexterm" href="diagnosis.html#id2675790">Assumptions</a></dt><dt>errors that can afflict, <a class="indexterm" href="ClientConfig.html#id2571418">Common Errors</a></dt><dt>ESC/P, <a class="indexterm" href="CUPS-printing.html#id2633375">Driver Execution on the Server</a></dt><dt>ESP, <a class="indexterm" href="CUPS-printing.html#id2628562">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dd><dl><dt>Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2628958">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2632241">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>meta packager, <a class="indexterm" href="CUPS-printing.html#id2634572">CUPS “PostScript Driver for Windows NT/200x/XP”</a></dt><dt>Print Pro, <a class="indexterm" href="CUPS-printing.html#id2633006">Sources of CUPS Drivers/PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2634955">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></dt></dl></dd><dt>ESP Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2628958">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#id2654280">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2678154">Tcpdump</a>, <a class="indexterm" href="problems.html#id2678204">Ethereal</a>, <a class="indexterm" href="problems.html#id2678348">The Windows Network Monitor</a></dt><dt>Ethernet adapters, <a class="indexterm" href="securing-samba.html#id2611540">Using Interface Protection</a></dt><dt>EUC-JP, <a class="indexterm" href="unicode.html#id2663202">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>eucJP-ms locale, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>Event Viewer, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650639">Remote Server Administration</a></dt><dt>Everyone - Full Control, <a class="indexterm" href="AccessControls.html#id2605993">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#id2644810">shadow_copy</a></dt><dt>examples, <a class="indexterm" href="install.html#id2545478">Example Configuration</a></dt><dt>examples/LDAP, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a></dt><dt>execute, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a></dt><dt>existing LDAP DIT, <a class="indexterm" href="passdb.html#id2582421">Caution Regarding LDAP and Samba</a></dt><dt>expands control abilities, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a></dt><dt>expired password, <a class="indexterm" href="passdb.html#id2584591">Changing User Accounts</a></dt><dt>explicit trust, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></dt><dt>explicitly set, <a class="indexterm" href="classicalprinting.html#id2616094">Rapid Configuration Validation</a></dt><dt>exploit opportunities, <a class="indexterm" href="PolicyMgmt.html#id2651782">Features and Benefits</a></dt><dt>exploitation, <a class="indexterm" href="securing-samba.html#id2611540">Using Interface Protection</a></dt><dt>exported file system, <a class="indexterm" href="SambaHA.html#id2666002">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#id2644037">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#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>Extended BSD Printing, <a class="indexterm" href="classicalprinting.html#id2616494">Extended Printing Configuration</a></dt><dt>extended characters, <a class="indexterm" href="unicode.html#id2662901">What Are Charsets and Unicode?</a></dt><dt>extended protocol, <a class="indexterm" href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a></dt><dt>extended SAM, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a></dt><dt>extra machine, <a class="indexterm" href="cfgsmarts.html#id2668310">Multiple Virtual Server Hosting</a></dt></dl></div><div class="indexdiv"><h3>F</h3><dl><dt>fail, <a class="indexterm" href="SambaHA.html#id2665004">Features and Benefits</a></dt><dt>failed join, <a class="indexterm" href="idmapper.html#id2598947">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2599645">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#id2666082">High-Availability Server Products</a></dt><dt>failover process, <a class="indexterm" href="SambaHA.html#id2666082">High-Availability Server Products</a></dt><dt>failover servers, <a class="indexterm" href="SambaHA.html#id2666002">A Simple Solution</a></dt><dt>fails, <a class="indexterm" href="domain-member.html#id2566863">Adding Machine to Domain Fails</a></dt><dt>failure, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a></dt><dt>failure semantics, <a class="indexterm" href="SambaHA.html#id2665944">Required Modifications to Samba</a></dt><dt>fake-permissions module, <a class="indexterm" href="ProfileMgmt.html#id2656102">Mandatory Profiles</a></dt><dt>fake_permissions, <a class="indexterm" href="samba-pdc.html#id2556614">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#id2656102">Mandatory Profiles</a></dt><dt>fdisk, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>Federated Identity Management (see FIM)</dt><dt>federated organizations, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>federated-identity, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>Fiber Channel, <a class="indexterm" href="SambaHA.html#id2666082">High-Availability Server Products</a></dt><dt>fickle, <a class="indexterm" href="NetworkBrowsing.html#id2572601">Features and Benefits</a></dt><dt>fid, <a class="indexterm" href="SambaHA.html#id2665502">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#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>file ownership, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a></dt><dt>file serving, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a></dt><dt>File System, <a class="indexterm" href="AccessControls.html#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dd><dl><dt>case sensitivity, <a class="indexterm" href="AccessControls.html#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>feature comparison, <a class="indexterm" href="AccessControls.html#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>UNIX, <a class="indexterm" href="AccessControls.html#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></dt></dl></dd><dt>file system capabilities, <a class="indexterm" href="AccessControls.html#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>FILE:, <a class="indexterm" href="classicalprinting.html#id2624873">Samba and Printer Ports</a></dt><dt>filemanager, <a class="indexterm" href="NetworkBrowsing.html#id2578147">Problem Resolution</a></dt><dt>filename mangling, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>filter, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>Filter Oplock, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>FilterLimit, <a class="indexterm" href="CUPS-printing.html#id2631502">mime.convs</a></dt><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>FIM, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>firewall, <a class="indexterm" href="securing-samba.html#id2611065">Introduction</a>, <a class="indexterm" href="securing-samba.html#id2611540">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2676083">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#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a></dt><dt>fixed IP addresses, <a class="indexterm" href="ClientConfig.html#id2568676">TCP/IP Configuration</a></dt><dt>flush local locks, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>flush name cache, <a class="indexterm" href="NetworkBrowsing.html#id2579438">Flushing the Samba NetBIOS Name Cache</a></dt><dt>foomatic, <a class="indexterm" href="CUPS-printing.html#id2628799">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2628958">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2632241">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2639121">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2639269">Foomatic's Strange Name</a></dt><dt>Foomatic database, <a class="indexterm" href="CUPS-printing.html#id2639821">Foomatic Database-Generated PPDs</a></dt><dt>Foomatic Printer, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a></dt><dt>Foomatic tutorial, <a class="indexterm" href="CUPS-printing.html#id2639506">The Grand Unification Achieved</a></dt><dt>foomatic-rip, <a class="indexterm" href="CUPS-printing.html#id2628958">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2632241">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2638946">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2639121">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2639506">The Grand Unification Achieved</a></dt><dt>Foomatic/cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2632241">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#id2575951">Making Samba the Domain Master</a></dt><dt>forced synchronization, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a></dt><dt>foreign domain, <a class="indexterm" href="passdb.html#id2581598">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>foreign SID, <a class="indexterm" href="winbind.html#id2646736">Handling of Foreign SIDs</a></dt><dt>foreign user, <a class="indexterm" href="winbind.html#id2646736">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#id2684101">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#id2685477">Free Support</a></dt><dt>FreeBSD, <a class="indexterm" href="samba-pdc.html#id2558297">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>freezing, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>French, <a class="indexterm" href="SWAT.html#id2675005">Enabling SWAT Internationalization Support</a></dt><dt>front-end virtual server, <a class="indexterm" href="SambaHA.html#id2665407">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665502">Demultiplexing SMB Requests</a></dt><dt>frustrating experience, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a></dt><dt>FTP, <a class="indexterm" href="passdb.html#id2581534">Advantages of Non-Encrypted Passwords</a></dt><dt>ftp, <a class="indexterm" href="Backup.html#id2664690">Rsync</a>, <a class="indexterm" href="compiling.html#id2680777">Accessing the Samba Sources via rsync and ftp</a></dt><dt>ftp access, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp service, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp services, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftpd, <a class="indexterm" href="pam.html#id2658915">Anatomy of /etc/pam.d Entries</a></dt><dt>full rights, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>functional components, <a class="indexterm" href="bugreport.html#id2679342">Debugging-Specific Operations</a></dt><dt>functionality, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt></dl></div><div class="indexdiv"><h3>G</h3><dl><dt>gateway address, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a></dt><dt>gcc, <a class="indexterm" href="problems.html#id2677898">Debugging with Samba Itself</a>, <a class="indexterm" href="Portability.html#id2682101">HPUX</a></dt><dt>gdb, <a class="indexterm" href="problems.html#id2677898">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2679544">Internal Errors</a>, <a class="indexterm" href="bugreport.html#id2679677">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#id2628025">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2633241">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2633375">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#id2629194">MIME Types and CUPS Filters</a></dt><dt>generic raster, <a class="indexterm" href="CUPS-printing.html#id2630341">pstoraster</a></dt><dt>generic raster format, <a class="indexterm" href="CUPS-printing.html#id2628958">The CUPS Filtering Architecture</a></dt><dt>genlogon.pl, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651371">Network Logon Script Magic</a></dt><dt>Gentoo, <a class="indexterm" href="speed.html#id2684101">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>Germany, <a class="indexterm" href="SambaHA.html#id2665125">Technical Discussion</a></dt><dt>get, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>getdriver, <a class="indexterm" href="classicalprinting.html#id2621002">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2621558">Installing Driver Files into [print$]</a></dt><dt>getdriverdir, <a class="indexterm" href="CUPS-printing.html#id2636704">A Check of the rpcclient man Page</a></dt><dt>getent, <a class="indexterm" href="NetCommand.html#id2592630">Adding or Creating a New Group</a>, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2648871">Starting and Testing the winbindd Daemon</a></dt><dt>getent group demo, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>gethostbyname() function call, <a class="indexterm" href="NetworkBrowsing.html#id2577660">Name Resolution Order</a></dt><dt>getpwnam, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>getpwnam() call, <a class="indexterm" href="upgrading-to-3.0.html#id2671032">Changes in Behavior</a></dt><dt>GetSID.exe, <a class="indexterm" href="ProfileMgmt.html#id2656037">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#id2628562">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#id2628958">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2631958">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#id256 1233">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2566541">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2572158">Passdb Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2572218">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#id2588916">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646736">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2648871">Starting and Testing the winbindd Daemon</a></dt><dt>GID numbers, <a class="indexterm" href="idmapper.html#id2597593">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#id2629194">MIME Types and CUPS Filters</a></dt><dt>global print command, <a class="indexterm" href="classicalprinting.html#id2618994">Custom Print Commands</a></dt><dt>global right, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>global section, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>Global support, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>global-level, <a class="indexterm" href="classicalprinting.html#id2615513">Printing-Related Configuration Parameters</a></dt><dt>GNOME, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>GNU Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2628958">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2630341">pstoraster</a></dt><dt>GNU GPL, <a class="indexterm" href="Backup.html#id2664519">BackupPC</a></dt><dt>GNU tar, <a class="indexterm" href="Backup.html#id2664860">Amanda</a></dt><dt>GNU/Linux, <a class="indexterm" href="VFS.html#id2643377">Discussion</a></dt><dt>GPG, <a class="indexterm" href="compiling.html#id2680851">Verifying Samba's PGP Signature</a></dt><dt>GPL, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>gpolmig.exe, <a class="indexterm" href="PolicyMgmt.html#id2652638">Administration of Windows 200x/XP Policies</a></dt><dt>GPOs, <a class="indexterm" href="PolicyMgmt.html#id2651782">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2652435">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652638">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652884">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653311">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2657065">MS Windows 200x/XP</a></dt><dt>grace time, <a class="indexterm" href="passdb.html#id2584591">Changing User Accounts</a></dt><dt>grant rights, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>graphical objects, <a class="indexterm" href="CUPS-printing.html#id2628203">UNIX Printfile Conversion and GUI Basics</a></dt><dt>graphically illustrated client configuration, <a class="indexterm" href="ClientConfig.html#id2568572">Features and Benefits</a></dt><dt>grayscale, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a></dt><dt>greater scalability, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a></dt><dt>greatest mistake, <a class="indexterm" href="StandAloneServer.html#id2568504">Common Errors</a></dt><dt>grep, <a class="indexterm" href="winbind.html#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>group, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a></dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a></dt><dt>mapping, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a></dt></dl></dd><dt>group account, <a class="indexterm" href="groupmapping.html#id2590308">Important Administrative Information</a>, <a class="indexterm" href="idmapper.html#id2598788">Backup Domain Controller</a></dt><dt>group accounts, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2582421">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="groupmapping.html#id2588916">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2589667">Warning: User Private Group Problems</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>group management, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592429">UNIX and Windows Group Management</a></dt><dt>group mapping, <a class="indexterm" href="ChangeNotes.html#id2571727">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#id2572218">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2588916">Features and Benefits</a></dt><dt>group membership, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>group ownership, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a></dt><dt>group permissions, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a>, <a class="indexterm" href="NT4Migration.html#id2672695">Server Share and Directory Layout</a></dt><dt>Group Policies, <a class="indexterm" href="PolicyMgmt.html#id2651782">Features and Benefits</a></dt><dt>group policies, <a class="indexterm" href="PolicyMgmt.html#id2651782">Features and Benefits</a></dt><dt>group policy, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a></dt><dt>Group Policy, <a class="indexterm" href="PolicyMgmt.html#id2652077">Windows 9x/ME Policies</a></dt><dt>Group Policy Container (see GPC)</dt><dt>Group Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2652077">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653205">Windows NT4/200x</a>, <a class="indexterm" href="NT4Migration.html#id2673583">Samba-3 Implementation Choices</a></dt><dt>Group Policy Objects, <a class="indexterm" href="NT4Migration.html#id2672084">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#id2589331">Discussion</a></dt><dt>group profiles, <a class="indexterm" href="ProfileMgmt.html#id2656242">Creating and Managing Group Profiles</a></dt><dt>group SID, <a class="indexterm" href="NetCommand.html#id2595326">Managing Security Identifiers (SIDS)</a></dt><dt>groupadd, <a class="indexterm" href="groupmapping.html#id2588916">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2591260">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="groupmapping.html#id2591572">Adding Groups Fails</a></dt><dt>groupadd limitations, <a class="indexterm" href="groupmapping.html#id2591260">Sample smb.conf Add Group Script</a></dt><dt>groupdel, <a class="indexterm" href="groupmapping.html#id2588916">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#id2588916">Features and Benefits</a></dt><dt>grouppol.inf, <a class="indexterm" href="PolicyMgmt.html#id2652077">Windows 9x/ME Policies</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2592429">UNIX and Windows Group Management</a>, <a class="indexterm" href="PolicyMgmt.html#id2651782">Features and Benefits</a></dt><dd><dl><dt>domain, <a class="indexterm" href="groupmapping.html#id2589331">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#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt></dl></dd><dt>groups of users, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></dt><dt>growing, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>GSSAPI, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>gtklp, <a class="indexterm" href="CUPS-printing.html#id2639821">Foomatic Database-Generated PPDs</a></dt><dt>guest, <a class="indexterm" href="samba-pdc.html#id2556614">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#id2578147">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2618994">Custom Print Commands</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>GUI, <a class="indexterm" href="CUPS-printing.html#id2626020">Overview</a></dt><dt>Gutenprint, <a class="indexterm" href="CUPS-printing.html#id2630695">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2639634">Driver Development Outside</a></dt></dl></div><div class="indexdiv"><h3>H</h3><dl><dt>h-node, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>harvesting password hashes, <a class="indexterm" href="passdb.html#id2587621">Security and sambaSamAccount</a></dt><dt>hashed password equivalent, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>headers files, <a class="indexterm" href="domain-member.html#id2566176">Possible Errors</a></dt><dt>Heimdal, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>Heimdal kerberos, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2600235">IDMAP Storage in LDAP Using Winbind</a></dt><dt>help, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>help command, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>heterogeneous computing, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a></dt><dt>HEX, <a class="indexterm" href="unicode.html#id2663202">Japanese Charsets</a></dt><dt>hi-res photo, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a></dt><dt>high availability, <a class="indexterm" href="SambaHA.html#id2665004">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#id2608943">Opportunistic Locking Overview</a></dt><dt>high-availability services, <a class="indexterm" href="SambaHA.html#id2666082">High-Availability Server Products</a></dt><dt>high-speed server interconnect, <a class="indexterm" href="SambaHA.html#id2666002">A Simple Solution</a></dt><dt>higher availability, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>HKEY_CURRENT_USER, <a class="indexterm" href="ProfileMgmt.html#id2656502">MS Windows NT4 Workstation</a></dt><dt>HKEY_LOCAL_MACHINE, <a class="indexterm" href="PolicyMgmt.html#id2652396">Registry Spoiling</a></dt><dt>holy grail, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a></dt><dt>home directories, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a>, <a class="indexterm" href="winbind.html#id2648871">Starting and Testing the winbindd Daemon</a></dt><dt>home directory, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a></dt><dt>home directory template, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>home drive, <a class="indexterm" href="samba-bdc.html#id2559786">Example PDC Configuration</a></dt><dt>host multiple servers, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>host security, <a class="indexterm" href="securing-samba.html#id2611164">Features and Benefits</a></dt><dt>host-based protection, <a class="indexterm" href="securing-samba.html#id2611164">Features and Benefits</a></dt><dt>hostname, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a></dt><dt>hosts allow, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>hosts deny, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>house-keeping, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>HOWTO documents, <a class="indexterm" href="passdb.html#id2582421">Caution Regarding LDAP and Samba</a></dt><dt>HP JetDirect, <a class="indexterm" href="CUPS-printing.html#id2632578">Examples for Filtering Chains</a></dt><dt>HP Photosmart, <a class="indexterm" href="CUPS-printing.html#id2639821">Foomatic Database-Generated PPDs</a></dt><dt>HP-GL, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>HP-GL., <a class="indexterm" href="CUPS-printing.html#id2629986">Prefilters</a></dt><dt>hpgltops, <a class="indexterm" href="CUPS-printing.html#id2629622">MIME Type Conversion Rules</a></dt><dt>HPIJS, <a class="indexterm" href="CUPS-printing.html#id2639634">Driver Development Outside</a></dt><dt>HPUX, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>http, <a class="indexterm" href="Backup.html#id2664690">Rsync</a></dt><dt>hybrid, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>Hybrid node, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt></dl></div><div class="indexdiv"><h3>I</h3><dl><dt>IANA, <a class="indexterm" href="CUPS-printing.html#id2630341">pstoraster</a></dt><dt>ID mapping, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>ID mapping database, <a class="indexterm" href="winbind.html#id2647433">User and Group ID Allocation</a></dt><dt>ID range, <a class="indexterm" href="groupmapping.html#id2588916">Features and Benefits</a></dt><dt>IDEALX, <a class="indexterm" href="passdb.html#id2586088">ldapsam</a></dt><dt>Identification, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>identify, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a></dt><dt>identity, <a class="indexterm" href="idmapper.html#id2597531">Standalone Samba Server</a></dt><dt>identity information, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>identity management, <a class="indexterm" href="samba-pdc.html#id2554980">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#id2554980">Single Sign-On and Domain Security</a></dt></dl></dd><dt>identity resolution, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a></dt><dt>IDMAP, <a class="indexterm" href="ChangeNotes.html#id2572218">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2588916">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597531">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a></dt><dt>idmap, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>idmap backend, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671881">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#id2581598">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a></dt><dt>idmap GID, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">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#id2581598">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2588916">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a></dt><dt>idmap UID, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">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#id2671323">New Schema</a></dt><dt>idmap_rid, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a></dt><dt>IETF, <a class="indexterm" href="CUPS-printing.html#id2626020">Overview</a></dt><dt>ifconfig, <a class="indexterm" href="compiling.html#id2681497">Starting from inetd.conf</a>, <a class="indexterm" href="speed.html#id2684101">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>ignore connection, <a class="indexterm" href="securing-samba.html#id2611540">Using Interface Protection</a></dt><dt>imagetoraster, <a class="indexterm" href="CUPS-printing.html#id2630611">imagetops and imagetoraster</a></dt><dt>immutible, <a class="indexterm" href="AccessControls.html#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>impersonate, <a class="indexterm" href="passdb.html#id2587621">Security and sambaSamAccount</a></dt><dt>implementing oplocks, <a class="indexterm" href="locking.html#id2609782">Advanced Samba Oplocks Parameters</a></dt><dt>Implicit Classes, <a class="indexterm" href="CUPS-printing.html#id2643029">Print Queue Called “lp” Mishandles Print Jobs</a></dt><dt>important announcements, <a class="indexterm" href="securing-samba.html#id2612089">Upgrading Samba</a></dt><dt>Imprints, <a class="indexterm" href="classicalprinting.html#id2625020">The Imprints Toolset</a></dt><dt>imprints, <a class="indexterm" href="CUPS-printing.html#id2627712">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#id2567320">Background</a>, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></dt><dt>individual domain user, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>individual section, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>inetd, <a class="indexterm" href="SWAT.html#id2674216">Validate SWAT Installation</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a>, <a class="indexterm" href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a>, <a class="indexterm" href="compiling.html#id2681497">Starting from inetd.conf</a></dt><dt>inetd.conf, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>inetorgperson.schema, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a></dt><dt>inf file, <a class="indexterm" href="classicalprinting.html#id2621002">Identifying Driver Files</a></dt><dt>infrastructure, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a>, <a class="indexterm" href="winbind.html#id2646690">Target Uses</a></dt><dt>inheritance, <a class="indexterm" href="AccessControls.html#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>inherits rights, <a class="indexterm" href="groupmapping.html#id2589331">Discussion</a></dt><dt>initdb.ldif, <a class="indexterm" href="FastStart.html#id2550538">The Primary Domain Controller</a></dt><dt>initGroups.sh, <a class="indexterm" href="FastStart.html#id2549639">Example: Engineering Office</a>, <a class="indexterm" href="groupmapping.html#id2591432">Script to Configure Group Mapping</a>, <a class="indexterm" href="NT4Migration.html#id2673028">Steps in Migration Process</a></dt><dt>inktype, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a></dt><dt>insecure, <a class="indexterm" href="StandAloneServer.html#id2567225">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2611326">Using Host-Based Protection</a></dt><dt>inspire simplicity, <a class="indexterm" href="StandAloneServer.html#id2567521">Example Configuration</a></dt><dt>inspired structure, <a class="indexterm" href="SambaHA.html#id2665125">Technical Discussion</a></dt><dt>install drivers, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2619662">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>interactive help, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>interdomain</dt><dd><dl><dt>trust</dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a></dt></dl></dd><dt>trustrs, <a class="indexterm" href="ServerType.html#id2551752">Features and Benefits</a></dt></dl></dd><dt>interdomain connection, <a class="indexterm" href="InterdomainTrusts.html#id2613854">Samba as the Trusting Domain</a></dt><dt>interdomain trust, <a class="indexterm" href="InterdomainTrusts.html#id2613514">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2614050">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#id2582421">Caution Regarding LDAP and Samba</a></dt><dt>interdomain trusts, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612737">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#id2613220">Completing an NT4 Domain Trust</a></dt><dt>creating, <a class="indexterm" href="InterdomainTrusts.html#id2613087">Native MS Windows NT4 Trusts Configuration</a></dt><dt>Facilities, <a class="indexterm" href="InterdomainTrusts.html#id2613305">Interdomain Trust Facilities</a></dt></dl></dd><dt>interface, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a></dt><dt>interface scripts, <a class="indexterm" href="passdb.html#id2584068">User Account Management</a></dt><dt>interface-based exclusion, <a class="indexterm" href="securing-samba.html#id2611164">Features and Benefits</a></dt><dt>interfaces, <a class="indexterm" href="securing-samba.html#id2611540">Using Interface Protection</a>, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></dt><dt>intermediate information, <a class="indexterm" href="passdb.html#id2582421">Caution Regarding LDAP and Samba</a></dt><dt>intermediate tools, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>internal ordering, <a class="indexterm" href="SWAT.html#id2674072">Features and Benefits</a></dt><dt>internationalization support, <a class="indexterm" href="SWAT.html#id2674197">Guidelines and Technical Tips</a></dt><dt>Internet, <a class="indexterm" href="securing-samba.html#id2611326">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2611540">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#id2569941">MS Windows Me</a></dt><dt>Internetworking Packet Exchange (see IPX)</dt><dt>internetworking super daemon, <a class="indexterm" href="SWAT.html#id2674072">Features and Benefits</a></dt><dt>interoperability, <a class="indexterm" href="ServerType.html#id2551752">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554980">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#id2646104">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2665735">Restrictive Constraints on Distributed File Systems</a></dt><dt>intolerance, <a class="indexterm" href="SambaHA.html#id2665004">Features and Benefits</a></dt><dt>invalid shell, <a class="indexterm" href="ServerType.html#id2552863">Example Configuration</a></dt><dt>invalid users, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>IP address, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>IP address automatically, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a></dt><dt>IP addresses, <a class="indexterm" href="integrate-ms-networks.html#id2661272">/etc/hosts</a></dt><dt>IP aliases, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a></dt><dt>IPC$, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578147">Problem Resolution</a>, <a class="indexterm" href="securing-samba.html#id2611890">Using IPC$ Share-Based Denials </a></dt><dt>IPC$ connections, <a class="indexterm" href="SambaHA.html#id2665407">The Front-End Challenge</a></dt><dt>ipchains, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>ipconfig, <a class="indexterm" href="NetworkBrowsing.html#id2573858">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#id2635867">Understanding cupsaddsmb</a></dt><dt>IPP client, <a class="indexterm" href="CUPS-printing.html#id2642430">Administrator Cannot Install Printers for All Local Users</a></dt><dt>iptables, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>IPX, <a class="indexterm" href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a></dt><dt>IRC, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>IRIX, <a class="indexterm" href="VFS.html#id2643377">Discussion</a>, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>ISC</dt><dd><dl><dt>DHCP, <a class="indexterm" href="DNSDHCP.html#id2685847">Features and Benefits</a></dt><dt>DNS, <a class="indexterm" href="DNSDHCP.html#id2685847">Features and Benefits</a></dt></dl></dd><dt>ISC DHCP server, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569941">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#id2661070">Background Information</a></dt></dl></div><div class="indexdiv"><h3>J</h3><dl><dt>Japanese, <a class="indexterm" href="unicode.html#id2663202">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2675005">Enabling SWAT Internationalization Support</a></dt><dt>Japanese locale, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>Japanese UNIX, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>Java, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651186">Remote Management with ThinLinc</a>, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>JIS X 0208, <a class="indexterm" href="unicode.html#id2663202">Japanese Charsets</a></dt><dt>join, <a class="indexterm" href="idmapper.html#id2598947">NT4-Style Domains (Includes Samba Domains)</a></dt><dt>join client, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>join domain, <a class="indexterm" href="samba-pdc.html#id2558397">Joining Domain Fails Because of Existing Machine Account</a></dt><dt>join the ADS domain, <a class="indexterm" href="domain-member.html#id2564166">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#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>join the machine, <a class="indexterm" href="domain-member.html#id2563876">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#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>joining domain, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a></dt><dt>joining the domain, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>JPEG, <a class="indexterm" href="CUPS-printing.html#id2629194">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#id2610890">Additional Reading</a></dt><dt>KB 224992, <a class="indexterm" href="locking.html#id2610890">Additional Reading</a></dt><dt>KB 296264, <a class="indexterm" href="locking.html#id2610890">Additional Reading</a></dt><dt>KB 811492, <a class="indexterm" href="locking.html#id2610859">Long Delays Deleting Files over Network with XP SP1</a></dt><dt>KB 812937, <a class="indexterm" href="locking.html#id2610834">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#id2565374">Configure /etc/krb5.conf</a></dt><dt>KDE, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>KDE konqueror, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>KDE session, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>KDEPrint, <a class="indexterm" href="CUPS-printing.html#id2626020">Overview</a></dt><dt>kerberos, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2599235">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#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566176">Possible Errors</a>, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2646998">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671128">Passdb Backends and Authentication</a></dt><dd><dl><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2565374">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#id2681497">Starting from inetd.conf</a></dt><dt>kinit, <a class="indexterm" href="domain-member.html#id2565374">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#id2566176">Possible Errors</a></dt><dt>kixstart, <a class="indexterm" href="NT4Migration.html#id2672869">Logon Scripts</a></dt><dt>kprinter, <a class="indexterm" href="CUPS-printing.html#id2639821">Foomatic Database-Generated PPDs</a></dt><dt>KRB, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a></dt><dt>KRB5, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a></dt><dt>krb5.conf, <a class="indexterm" href="domain-member.html#id2565374">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#id2651186">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2666082">High-Availability Server Products</a>, <a class="indexterm" href="problems.html#id2677846">Diagnostics Tools</a></dt><dt>LanMan, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559293">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#id2556104">Preparing for Domain Control</a></dt><dt>LanMan passwords, <a class="indexterm" href="passdb.html#id2580326">Backward Compatibility Account Storage Systems</a></dt><dt>LanManager, <a class="indexterm" href="ServerType.html#id2552253">User Level Security</a>, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>LanManager-compatible, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a></dt><dt>LanManger password, <a class="indexterm" href="passdb.html#id2584184">Listing User and Machine Accounts</a></dt><dt>laptops, <a class="indexterm" href="Backup.html#id2664519">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#id2599645">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#id2612809">Trust Relationship Background</a></dt><dt>last change time, <a class="indexterm" href="passdb.html#id2584184">Listing User and Machine Accounts</a></dt><dt>latency, <a class="indexterm" href="locking.html#id2609549">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#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561843">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="samba-bdc.html#id2561948">Can I Do This All with LDAP?</a>, <a class="indexterm" href="domain-member.html#id2562192">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#id2566541">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#id2580510">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2581078">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#id2582146">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2582421">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2586088">ldapsam</a>, <a class="indexterm" href="passdb.html#id2586336">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586898">Initialize the LDAP Database</a>, <a class="indexterm" href="passdb.html#id2587083">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598788">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612737">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612809">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#id2646998">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671128">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dd><dl><dt>directories, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>master, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a></dt><dt>server, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a></dt><dt>slave, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a></dt></dl></dd><dt>LDAP administration password, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a></dt><dt>LDAP administrative password, <a class="indexterm" href="domain-member.html#id2566541">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>LDAP backend, <a class="indexterm" href="StandAloneServer.html#id2567320">Background</a>, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669283">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#id2561233">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2586898">Initialize the LDAP Database</a>, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>LDAP deployment, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>LDAP directory, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2586088">ldapsam</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>ldap group suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671716">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#id2566541">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671716">New Suffix for Searching</a></dt><dt>ldap machine suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2671716">New Suffix for Searching</a></dt><dt>LDAP queries, <a class="indexterm" href="upgrading-to-3.0.html#id2671716">New Suffix for Searching</a></dt><dt>LDAP redirects, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>LDAP schema, <a class="indexterm" href="ChangeNotes.html#id2572339">LDAP Changes in Samba-3.0.23</a></dt><dt>LDAP server, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>ldap suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671716">New Suffix for Searching</a></dt><dt>ldap user suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2671716">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#id2582558">LDAP Directories and Windows Computer Accounts</a></dt><dt>LDAP/Kerberos, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>LDAPS, <a class="indexterm" href="passdb.html#id2587621">Security and sambaSamAccount</a></dt><dt>ldapsam, <a class="indexterm" href="samba-pdc.html#id2556614">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#id2585665">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2586088">ldapsam</a>, <a class="indexterm" href="passdb.html#id2586336">Supported LDAP Servers</a>, <a class="indexterm" href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2580326">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>ldapsearch, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>LDAPv3, <a class="indexterm" href="passdb.html#id2587621">Security and sambaSamAccount</a></dt><dt>ldconfig, <a class="indexterm" href="winbind.html#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ldd, <a class="indexterm" href="CUPS-printing.html#id2626254">Linking smbd with libcups.so</a></dt><dt>LDIF, <a class="indexterm" href="passdb.html#id2586898">Initialize the LDAP Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>LDIF file, <a class="indexterm" href="passdb.html#id2586898">Initialize the LDAP Database</a></dt><dt>legacy systems, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>legal UNIX system account name, <a class="indexterm" href="domain-member.html#id2566863">Adding Machine to Domain Fails</a></dt><dt>Level1 Oplock, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>Level1 oplock, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>Level2 Oplock, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>LGPL, <a class="indexterm" href="passdb.html#id2586088">ldapsam</a></dt><dt>libcups, <a class="indexterm" href="classicalprinting.html#id2618450">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2626254">Linking smbd with libcups.so</a></dt><dt>libcups.so, <a class="indexterm" href="CUPS-printing.html#id2626254">Linking smbd with libcups.so</a></dt><dt>libcups.so.2, <a class="indexterm" href="CUPS-printing.html#id2626254">Linking smbd with libcups.so</a></dt><dt>Liberty Alliance, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>libiconv, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>libnss_winbind, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>libnss_winbind.so, <a class="indexterm" href="winbind.html#id2647046">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2647925">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#id2661548">/etc/nsswitch.conf</a></dt><dt>libraries, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a></dt><dt>licensing, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>limitations, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></dt><dt>linewidth, <a class="indexterm" href="CUPS-printing.html#id2628203">UNIX Printfile Conversion and GUI Basics</a></dt><dt>link loader configuration, <a class="indexterm" href="winbind.html#id2647925">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#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>soft, <a class="indexterm" href="AccessControls.html#id2603797">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#id2651186">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>Linux High Availability project, <a class="indexterm" href="SambaHA.html#id2666082">High-Availability Server Products</a></dt><dt>Linux LVM, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>Linux LVM partition, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>LinuxKongress2002, <a class="indexterm" href="CUPS-printing.html#id2639506">The Grand Unification Achieved</a></dt><dt>Linuxprinting.org, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2638946">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2639634">Driver Development Outside</a></dt><dt>list of domain controllers, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>listen for connections, <a class="indexterm" href="securing-samba.html#id2611540">Using Interface Protection</a></dt><dt>listen own socket, <a class="indexterm" href="cfgsmarts.html#id2666899">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#id2585665">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2587621">Security and sambaSamAccount</a></dt><dt>LMB, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575350">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#id2575951">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576539">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577950">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a> (see Local Master Browser)</dt><dt>LMHOSTS, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662192">The LMHOSTS File</a></dt><dt>lmhosts, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a></dt><dt>load balancing, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>loaded modules, <a class="indexterm" href="VFS.html#id2643339">Features and Benefits</a></dt><dt>loading printer drivers, <a class="indexterm" href="classicalprinting.html#id2618079">Any [my_printer_name] Section</a></dt><dt>local</dt><dd><dl><dt>groups, <a class="indexterm" href="NetCommand.html#id2592429">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a></dt></dl></dd></dl></dd><dt>local access permissions, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>local accounts, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>local administrative privileges, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Local Area Connection, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a></dt><dt>Local Area Connection Properties, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a></dt><dt>local authentication, <a class="indexterm" href="StandAloneServer.html#id2567320">Background</a></dt><dt>local authentication database, <a class="indexterm" href="StandAloneServer.html#id2567320">Background</a></dt><dt>local cache, <a class="indexterm" href="integrate-ms-networks.html#id2662106">The NetBIOS Name Cache</a></dt><dt>local disk, <a class="indexterm" href="Backup.html#id2664519">BackupPC</a></dt><dt>local domain, <a class="indexterm" href="winbind.html#id2646736">Handling of Foreign SIDs</a></dt><dt>local group, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>local groups, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2647046">Name Service Switch</a></dt><dt>Local Machine Trust Account, <a class="indexterm" href="samba-bdc.html#id2561733">Machine Accounts Keep Expiring</a></dt><dt>Local Master Browser, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575350">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576399">Use of the Remote Announce Parameter</a></dt><dt>local master browser (see LMB)</dt><dt>local names, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>local print driver, <a class="indexterm" href="classicalprinting.html#id2620170">[print$] Stanza Parameters</a></dt><dt>local profile, <a class="indexterm" href="ProfileMgmt.html#id2654053">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>local profiles, <a class="indexterm" href="ProfileMgmt.html#id2653565">Features and Benefits</a></dt><dt>local registry values, <a class="indexterm" href="PolicyMgmt.html#id2652435">MS Windows 200x/XP Professional Policies</a></dt><dt>Local security policies, <a class="indexterm" href="CUPS-printing.html#id2642397">Windows 200x/XP Local Security Policies</a></dt><dt>local smbpasswd file, <a class="indexterm" href="StandAloneServer.html#id2567320">Background</a></dt><dt>local spool area, <a class="indexterm" href="classicalprinting.html#id2615303">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#id2615303">Technical Introduction</a></dt><dt>local UNIX groups, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a></dt><dt>local user, <a class="indexterm" href="idmapper.html#id2597531">Standalone Samba Server</a>, <a class="indexterm" href="winbind.html#id2649582">Restarting</a></dt><dt>local user account, <a class="indexterm" href="passdb.html#id2581598">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>local users, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2647046">Name Service Switch</a></dt><dt>locale, <a class="indexterm" href="SWAT.html#id2675005">Enabling SWAT Internationalization Support</a></dt><dt>localhost, <a class="indexterm" href="securing-samba.html#id2611326">Using Host-Based Protection</a></dt><dt>locally known UID, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a></dt><dt>locate domain controller, <a class="indexterm" href="samba-bdc.html#id2560550">How Does a Workstation find its Domain Controller?</a></dt><dt>Lock caching, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>lock directory, <a class="indexterm" href="cfgsmarts.html#id2666899">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#id2584591">Changing User Accounts</a></dt><dt>locking, <a class="indexterm" href="locking.html">File and Record Locking</a>, <a class="indexterm" href="locking.html#id2608588">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2608685">Discussion</a>, <a class="indexterm" href="SambaHA.html#id2665608">The Distributed File System Challenge</a></dt><dt>locking protocol, <a class="indexterm" href="locking.html#id2608588">Features and Benefits</a></dt><dt>locking semantics, <a class="indexterm" href="locking.html#id2608588">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2608685">Discussion</a></dt><dt>locking.tdb, <a class="indexterm" href="CUPS-printing.html#id2638439">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>lockout, <a class="indexterm" href="ServerType.html#id2553521">Example Configuration</a></dt><dt>log files, <a class="indexterm" href="diagnosis.html#id2675790">Assumptions</a></dt><dd><dl><dt>monitoring, <a class="indexterm" href="diagnosis.html#id2675790">Assumptions</a></dt></dl></dd><dt>log level, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a>, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2677898">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#id2578147">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>logging, <a class="indexterm" href="VFS.html#id2644193">Configuration of Auditing</a>, <a class="indexterm" href="bugreport.html#id2679342">Debugging-Specific Operations</a></dt><dt>logical directories, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>Logical Link Control (see LLC)</dt><dt>logical volume, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>Logical Volume Manager (see LVM)</dt><dt>Login, <a class="indexterm" href="passdb.html#id2581534">Advantages of Non-Encrypted Passwords</a></dt><dt>login, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>login id, <a class="indexterm" href="passdb.html#id2584184">Listing User and Machine Accounts</a></dt><dt>login name, <a class="indexterm" href="install.html#id2545478">Example Configuration</a></dt><dt>login shells, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>LoginID, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>logon, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a></dt><dt>logon authentication, <a class="indexterm" href="samba-bdc.html#id2560673">NetBIOS Over TCP/IP Disabled</a></dt><dt>logon drive, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a></dt><dt>logon home, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2653818">Windows 9x/Me User Profiles</a></dt><dt>logon name, <a class="indexterm" href="NetCommand.html#id2594279">User Mapping</a></dt><dt>logon path, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a></dt><dt>logon processing, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a></dt><dt>logon requests, <a class="indexterm" href="samba-bdc.html#id2559293">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2560607">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="samba-bdc.html#id2561788">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></dt><dt>logon script, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a></dt><dt>Logon Scripts, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>Logon scripts, <a class="indexterm" href="NT4Migration.html#id2672869">Logon Scripts</a></dt><dt>logon server, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2656502">MS Windows NT4 Workstation</a></dt><dt>logons, <a class="indexterm" href="ProfileMgmt.html#id2653679">NT4/200x User Profiles</a></dt><dt>lookups, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a></dt><dt>loopback adapter, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>loopback interface, <a class="indexterm" href="securing-samba.html#id2611540">Using Interface Protection</a>, <a class="indexterm" href="Portability.html#id2682386">Red Hat Linux</a></dt><dt>lower-case, <a class="indexterm" href="ServerType.html#id2552253">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#id2615897">Verifying Configuration with testparm</a>, <a class="indexterm" href="CUPS-printing.html#id2643029">Print Queue Called “lp” Mishandles Print Jobs</a></dt><dt>lpadmin, <a class="indexterm" href="CUPS-printing.html#id2631571">“Raw” Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2633129">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2638946">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2640456">Setting Up Quotas</a></dt><dt>LPD, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>lpinfo, <a class="indexterm" href="CUPS-printing.html#id2630915">CUPS Backends</a></dt><dt>lpq cache time, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>lpq command, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>LPRNG, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>lpstat, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a>, <a class="indexterm" href="CUPS-printing.html#id2638296">Troubleshooting Revisited</a></dt><dt>LPT1:, <a class="indexterm" href="classicalprinting.html#id2624873">Samba and Printer Ports</a></dt><dt>LsaEnumTrustedDomains, <a class="indexterm" href="problems.html#id2677898">Debugging with Samba Itself</a></dt><dt>LTSP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>Lustre, <a class="indexterm" href="SambaHA.html#id2665608">The Distributed File System Challenge</a></dt><dt>lvcreate, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>LVM, <a class="indexterm" href="VFS.html#id2644810">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>LVM snapshots, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>LVM volume, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>lvm10 package, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>M</h3><dl><dt>m-node, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>MAC address, <a class="indexterm" href="integrate-ms-networks.html#id2661272">/etc/hosts</a></dt><dt>MAC Addresses, <a class="indexterm" href="integrate-ms-networks.html#id2661272">/etc/hosts</a></dt><dt>Mac OS X , <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>machine, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>machine account, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2585930">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#id2564166">Joining an NT4-type Domain with Samba-3</a></dt></dl></dd><dt>machine accounts, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2582558">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#id2559363">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#id2661272">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a></dt><dt>Machine Policy Objects, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>machine SID, <a class="indexterm" href="NetCommand.html#id2595326">Managing Security Identifiers (SIDS)</a></dt><dt>machine trust account, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2557624">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#id2563712">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#id2566787">Cannot Add Machine Back to Domain</a></dt><dd><dl><dt>create privilege, <a class="indexterm" href="domain-member.html#id2563712">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#id2556104">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#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563876">Windows NT4 Client</a></dt><dd><dl><dt>creation, <a class="indexterm" href="domain-member.html#id2563595">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>password, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a></dt><dt>UNIX account, <a class="indexterm" href="domain-member.html#id2563595">On-the-Fly Creation of Machine Trust Accounts</a></dt></dl></dd><dt>Machine Trust Accounts, <a class="indexterm" href="samba-bdc.html#id2561733">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#id2561843">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2563315">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="domain-member.html#id2566747">Common Errors</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2582421">Caution Regarding LDAP and Samba</a></dt><dt>machine_name, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a></dt><dt>machine_nickname, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a></dt><dt>Macintosh, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>macros, <a class="indexterm" href="classicalprinting.html#id2618994">Custom Print Commands</a></dt><dt>mail, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>mailing list, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>mailing lists, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>maintaining ids, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>major changes, <a class="indexterm" href="upgrading-to-3.0.html#id2670654">New Functionality</a></dt><dt>make, <a class="indexterm" href="integrate-ms-networks.html#id2661548">/etc/nsswitch.conf</a>, <a class="indexterm" href="compiling.html#id2680989">Building the Binaries</a></dt><dt>man, <a class="indexterm" href="SWAT.html#id2674072">Features and Benefits</a></dt><dt>man page, <a class="indexterm" href="winbind.html#id2648436">Configure smb.conf</a></dt><dt>man pages, <a class="indexterm" href="NetCommand.html#id2592053">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#id2615079">Features and Benefits</a></dt><dt>manage groups, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></dt><dt>manage printers, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></dt><dt>manage privileges, <a class="indexterm" href="rights.html#id2601488">Rights Management Capabilities</a></dt><dt>manage roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2653565">Features and Benefits</a></dt><dt>manage share permissions, <a class="indexterm" href="AccessControls.html#id2606153">Windows NT4 Workstation/Server</a></dt><dt>manage share-level ACL, <a class="indexterm" href="groupmapping.html#id2590427">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>manage shares, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></dt><dt>manage users, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></dt><dt>manageability, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>Manageability, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>managed by humans, <a class="indexterm" href="SambaHA.html#id2665004">Features and Benefits</a></dt><dt>management bottleneck, <a class="indexterm" href="locking.html#id2609596">Multiuser Databases</a></dt><dt>management costs, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>management overheads, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>management procedures, <a class="indexterm" href="samba-pdc.html#id2554980">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#id2601763">Using the “net rpc rights” Utility</a></dt><dt>mandatory profiles, <a class="indexterm" href="ProfileMgmt.html#id2656102">Mandatory Profiles</a></dt><dt>Mandrake, <a class="indexterm" href="CUPS-printing.html#id2639738">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>Mandriva, <a class="indexterm" href="CUPS-printing.html#id2639738">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#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a></dt><dt>manually configured, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a></dt><dt>manually configured DNS settings, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a></dt><dt>map, <a class="indexterm" href="domain-member.html#id2563712">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="NT4Migration.html#id2672980">User and Group Accounts</a></dt><dt>mapped, <a class="indexterm" href="groupmapping.html#id2590308">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping, <a class="indexterm" href="passdb.html#id2581598">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping home directory, <a class="indexterm" href="securing-samba.html#id2612177">Why Can Users Access Other Users' Home Directories?</a></dt><dt>mapping printer driver, <a class="indexterm" href="classicalprinting.html#id2622521">Running rpcclient with setdriver</a></dt><dt>mappings, <a class="indexterm" href="domain-member.html#id2566541">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>maps UNIX users and groups, <a class="indexterm" href="domain-member.html#id2566541">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#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>master server, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>master smb.conf, <a class="indexterm" href="cfgsmarts.html#id2668310">Multiple Virtual Server Hosting</a></dt><dt>MasterAnnouncement, <a class="indexterm" href="NetworkBrowsing.html#id2578569">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#id2684192">Corrupt tdb Files</a></dt><dt>Meccano set, <a class="indexterm" href="Backup.html#id2664421">Discussion of Backup Solutions</a></dt><dt>mechanism, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>media type, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a></dt><dt>member, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>member machine, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>memory, <a class="indexterm" href="passdb.html#id2581393">Advantages of Encrypted Passwords</a></dt><dt>messages.tdb, <a class="indexterm" href="CUPS-printing.html#id2638439">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>messaging systems, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>Meta node, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt><dt>meta-directory, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>meta-service, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a></dt><dt>meta-services, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>Microsoft Active Directory, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>Microsoft Developer Network CDs, <a class="indexterm" href="problems.html#id2678348">The Windows Network Monitor</a></dt><dt>Microsoft driver, <a class="indexterm" href="CUPS-printing.html#id2634084">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#id25 63315">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>Microsoft Wolfpack, <a class="indexterm" href="SambaHA.html#id2666082">High-Availability Server Products</a></dt><dt>middle-ware, <a class="indexterm" href="passdb.html#id2582146">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#id2672980">User and Group Accounts</a></dt><dt>migrate group, <a class="indexterm" href="NT4Migration.html#id2672980">User and Group Accounts</a></dt><dt>migrate user, <a class="indexterm" href="NT4Migration.html#id2672980">User and Group Accounts</a></dt><dt>migrating, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>migration, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>migration plan, <a class="indexterm" href="NT4Migration.html#id2672049">Planning and Getting Started</a></dt><dt>migration process, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>MIME, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629622">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2629829">Filtering Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2631679">application/octet-stream Printing</a></dt><dd><dl><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>raw, <a class="indexterm" href="FastStart.html#id2547406">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#id2628958">The CUPS Filtering Architecture</a></dt><dt>MIME recognition, <a class="indexterm" href="CUPS-printing.html#id2628958">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#id2628958">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2629986">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2631679">application/octet-stream Printing</a></dt><dt>mime.types, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>minimal</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a></dt></dl></dd><dt>minimal configuration, <a class="indexterm" href="install.html#id2544319">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#id2545738">Test Your Config File with testparm</a></dt><dt>misconfigured settings, <a class="indexterm" href="classicalprinting.html#id2615614">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#id2608943">Opportunistic Locking Overview</a>, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a></dt><dt>MIT, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a></dt><dt>MIT kerberos, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2600235">IDMAP Storage in LDAP Using Winbind</a></dt><dt>MIT Kerberos, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>mixed mode, <a class="indexterm" href="ServerType.html#id2553169">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="InterdomainTrusts.html#id2614050">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>mixed profile, <a class="indexterm" href="ProfileMgmt.html#id2653976">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#id2644997">Shadow Copy Setup</a></dt><dt>mkfs.xfs, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>MMC, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2588916">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a>, <a class="indexterm" href="AccessControls.html#id2605993">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2606258">Windows 200x/XP</a>, <a class="indexterm" href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653205">Windows NT4/200x</a>, <a class="indexterm" href="ProfileMgmt.html#id2654053">Disabling Roaming Profile Support</a></dt><dt>MMC snap-in, <a class="indexterm" href="PolicyMgmt.html#id2652638">Administration of Windows 200x/XP Policies</a></dt><dt>modem/ISDN, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>moderately secure, <a class="indexterm" href="securing-samba.html#id2611164">Features and Benefits</a></dt><dt>modprobe, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>module, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>modules, <a class="indexterm" href="VFS.html#id2643339">Features and Benefits</a>, <a class="indexterm" href="VFS.html#id2643377">Discussion</a></dt><dt>more than one protocol, <a class="indexterm" href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a></dt><dt>mount, <a class="indexterm" href="ServerType.html#id2552427">Share-Level Security</a>, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>mouse-over, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>moveuser.exe, <a class="indexterm" href="ProfileMgmt.html#id2655995">moveuser.exe</a></dt><dt>MS DCE RPC, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a></dt><dt>MS Windows 2000, <a class="indexterm" href="samba-bdc.html#id2560401">Active Directory Domain Control</a></dt><dt>MS Windows NT4/200x, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a></dt><dt>MS Windows SID, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>MS WINS, <a class="indexterm" href="NetworkBrowsing.html#id2572601">Features and Benefits</a></dt><dt>MS-DFS, <a class="indexterm" href="SambaHA.html#id2666223">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#id2573222">NetBIOS over TCP/IP</a></dt><dt>msdfs links, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>msg, <a class="indexterm" href="SWAT.html#id2675005">Enabling SWAT Internationalization Support</a></dt><dt>msg file, <a class="indexterm" href="SWAT.html#id2675005">Enabling SWAT Internationalization Support</a></dt><dt>MSRPC, <a class="indexterm" href="winbind.html#id2646911">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2647046">Name Service Switch</a></dt><dt>multibyte character sets, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>multibyte charsets, <a class="indexterm" href="unicode.html#id2662901">What Are Charsets and Unicode?</a></dt><dt>multiple backends, <a class="indexterm" href="passdb.html#id2585535">Password Backends</a></dt><dt>multiple domains, <a class="indexterm" href="NT4Migration.html#id2672494">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#id2643377">Discussion</a></dt><dt>multiple network interfaces, <a class="indexterm" href="NetworkBrowsing.html#id2576213">Multiple Interfaces</a></dt><dt>multiple network segments, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>multiple personality, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>multiple server hosting, <a class="indexterm" href="cfgsmarts.html#id2666899">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#id2666899">Multiple Server Hosting</a></dt><dt>multiple universal naming convention provider (see MUP)</dt><dt>multiple VFS, <a class="indexterm" href="VFS.html#id2643377">Discussion</a></dt><dt>multiple virtual servers, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>multiple Windows workgroups or domains, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a></dt><dt>multiple WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>Multiuser databases, <a class="indexterm" href="locking.html#id2609596">Multiuser Databases</a></dt><dt>mutual assistance, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>mutually exclusive options, <a class="indexterm" href="NetworkBrowsing.html#id2572785">What Is Browsing?</a></dt><dt>My Network Places, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578147">Problem Resolution</a></dt><dt>Myrinet, <a class="indexterm" href="SambaHA.html#id2665890">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#id2574416">How Browsing Functions</a></dt><dt>n-memory buffer, <a class="indexterm" href="integrate-ms-networks.html#id2662106">The NetBIOS Name Cache</a></dt><dt>name conflict, <a class="indexterm" href="classicalprinting.html#id2618079">Any [my_printer_name] Section</a></dt><dt>name lookup, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662106">The NetBIOS Name Cache</a></dt><dt>name lookups, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a></dt><dt>name registration, <a class="indexterm" href="samba-bdc.html#id2560460">What Qualifies a Domain Controller on the Network?</a></dt><dt>name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2572785">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577863">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579412">Common Errors</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661272">/etc/hosts</a>, <a class="indexterm" href="diagnosis.html#id2675790">Assumptions</a></dt><dt>name resolution across routed networks, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a></dt><dt>name resolve order, <a class="indexterm" href="NetworkBrowsing.html#id2577660">Name Resolution Order</a></dt><dt>name service switch (see NSS)</dt><dt>name-to-address, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a></dt><dt>nameserv.h, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt><dt>name_type, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577660">Name Resolution Order</a></dt><dt>native ACLs, <a class="indexterm" href="AccessControls.html#id2603587">Features and Benefits</a></dt><dt>native dump, <a class="indexterm" href="Backup.html#id2664860">Amanda</a></dt><dt>native member, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a></dt><dt>native mode, <a class="indexterm" href="ServerType.html#id2553169">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="winbind.html#id2646998">Microsoft Active Directory Services</a></dt><dt>NBT, <a class="indexterm" href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a></dt><dt>nbtstat, <a class="indexterm" href="domain-member.html#id2566787">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662106">The NetBIOS Name Cache</a></dt><dt>necessary rights, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>negotiate, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>negotiating the charset, <a class="indexterm" href="unicode.html#id2662901">What Are Charsets and Unicode?</a></dt><dt>nested group, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Nested Group Support, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>nested groups, <a class="indexterm" href="groupmapping.html#id2589725">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#id2592053">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592347">Administrative Tasks and Methods</a>, <a class="indexterm" href="NetCommand.html#id2592429">UNIX and Windows Group Management</a>, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dd><dl><dt>ads, <a class="indexterm" href="NetCommand.html#id2592429">UNIX and Windows Group Management</a></dt><dd><dl><dt>join, <a class="indexterm" href="domain-member.html#id2564166">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#id2594723">Machine Trust Accounts</a>, <a class="indexterm" href="idmapper.html#id2599235">ADS Domains</a></dt><dt>leave, <a class="indexterm" href="NetCommand.html#id2594723">Machine Trust Accounts</a></dt><dt>printer info, <a class="indexterm" href="NetCommand.html#id2596782">Printers and ADS</a></dt><dt>printer publish, <a class="indexterm" href="NetCommand.html#id2596782">Printers and ADS</a></dt><dt>printer remove, <a class="indexterm" href="NetCommand.html#id2596782">Printers and ADS</a></dt><dt>printer search, <a class="indexterm" href="NetCommand.html#id2596782">Printers and ADS</a></dt><dt>status, <a class="indexterm" href="NetCommand.html#id2594723">Machine Trust Accounts</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2594723">Machine Trust Accounts</a></dt></dl></dd><dt>getlocalsid, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2595326">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>groupmap, <a class="indexterm" href="FastStart.html#id2549639">Example: Engineering Office</a>, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2588916">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2591171">Example Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2673028">Steps in Migration Process</a></dt><dd><dl><dt>add, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a></dt><dt>delete, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a></dt><dt>list, <a class="indexterm" href="groupmapping.html#id2591171">Example Configuration</a>, <a class="indexterm" href="NetCommand.html#id2592630">Adding or Creating a New Group</a></dt><dt>modify, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a></dt></dl></dd><dt>localgroup, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>rap, <a class="indexterm" href="NetCommand.html#id2592429">UNIX and Windows Group Management</a></dt><dd><dl><dt>session, <a class="indexterm" href="NetCommand.html#id2596716">Session and Connection Management</a></dt></dl></dd><dt>rpc, <a class="indexterm" href="FastStart.html#id2548705">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2552863">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2592429">UNIX and Windows Group Management</a></dt><dd><dl><dt>getsid, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2595326">Managing Security Identifiers (SIDS)</a></dt><dt>group, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2592630">Adding or Creating a New Group</a></dt><dt>group add, <a class="indexterm" href="NetCommand.html#id2592630">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#id2593658">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>group delete, <a class="indexterm" href="NetCommand.html#id2593139">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#id2592630">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#id2593179">Rename Group Accounts</a></dt><dt>info, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a>, <a class="indexterm" href="ProfileMgmt.html#id2655944">Side Bar Notes</a></dt><dt>join, <a class="indexterm" href="ServerType.html#id2552863">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetCommand.html#id2594723">Machine Trust Accounts</a>, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="NT4Migration.html#id2673028">Steps in Migration Process</a></dt><dt>join bdc, <a class="indexterm" href="NetCommand.html#id2594723">Machine Trust Accounts</a></dt><dt>join member, <a class="indexterm" href="NetCommand.html#id2594723">Machine Trust Accounts</a></dt><dt>list, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>printer migrate drivers, <a class="indexterm" href="NetCommand.html#id2596440">Printer Migration</a></dt><dt>printer migrate forms, <a class="indexterm" href="NetCommand.html#id2596440">Printer Migration</a></dt><dt>printer migrate printers, <a class="indexterm" href="NetCommand.html#id2596440">Printer Migration</a></dt><dt>printer migrate security, <a class="indexterm" href="NetCommand.html#id2596440">Printer Migration</a></dt><dt>printer migrate settings, <a class="indexterm" href="NetCommand.html#id2596440">Printer Migration</a></dt><dt>right list accounts, <a class="indexterm" href="NetCommand.html#id2595928">Share Migration</a></dt><dt>rights grant, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>rights list, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></dt><dt>rights list accounts, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></dt><dt>share add, <a class="indexterm" href="NetCommand.html#id2595599">Creating, Editing, and Removing Shares</a></dt><dt>share delete, <a class="indexterm" href="NetCommand.html#id2595599">Creating, Editing, and Removing Shares</a></dt><dt>share migrate, <a class="indexterm" href="NetCommand.html#id2595928">Share Migration</a></dt><dt>share migrate all, <a class="indexterm" href="NetCommand.html#id2596381">Simultaneous Share and File Migration</a></dt><dt>share migrate files, <a class="indexterm" href="NetCommand.html#id2596124">File and Directory Migration</a></dt><dt>share migrate security, <a class="indexterm" href="NetCommand.html#id2596339">Share-ACL Migration</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2594723">Machine Trust Accounts</a></dt><dt>trustdom add, <a class="indexterm" href="NetCommand.html#id2595092">Interdomain Trusts</a></dt><dt>trustdom establish, <a class="indexterm" href="NetCommand.html#id2595092">Interdomain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613854">Samba as the Trusting Domain</a></dt><dt>trustdom list, <a class="indexterm" href="NetCommand.html#id2595092">Interdomain Trusts</a></dt><dt>trustdom revoke, <a class="indexterm" href="NetCommand.html#id2595092">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#id2594163">Deletion of User Accounts</a>, <a class="indexterm" href="NetCommand.html#id2594723">Machine Trust Accounts</a></dt><dt>user info, <a class="indexterm" href="NetCommand.html#id2594211">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#id2594211">Managing User Accounts</a></dt><dt>vampire, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2595818">Share, Directory, and File Migration</a>, <a class="indexterm" href="NT4Migration.html#id2673028">Steps in Migration Process</a></dt></dl></dd><dt>setlocalsid, <a class="indexterm" href="NetCommand.html#id2595326">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#id2653246">Samba PDC</a></dt><dt>net command, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>net getlocalsid, <a class="indexterm" href="rights.html#id2602906">The Administrator Domain SID</a></dt><dt>net groupmap, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>net rpc user add, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>net tool, <a class="indexterm" href="upgrading-to-3.0.html#id2671128">Passdb Backends and Authentication</a></dt><dt>net use, <a class="indexterm" href="classicalprinting.html#id2624451">Error Message: “Cannot connect under a different Name”</a></dt><dt>net use /home, <a class="indexterm" href="ProfileMgmt.html#id2653818">Windows 9x/Me User Profiles</a></dt><dt>net use lpt1:, <a class="indexterm" href="CUPS-printing.html#id2636295">Installing the PostScript Driver on a Client</a></dt><dt>net view, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>netatalk, <a class="indexterm" href="VFS.html#id2644760">netatalk</a></dt><dt>NetAtalk, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>Netatalk, <a class="indexterm" href="Other-Clients.html#id2682672">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#id2552634">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2560460">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2560550">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572601">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573858">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577863">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#id2661671">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662106">The NetBIOS Name Cache</a></dt><dd><dl><dt>brooadcast, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a></dt><dt>name, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>netbios alias, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>netbios aliases, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS broadcast, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>NetBIOS disabled, <a class="indexterm" href="NetworkBrowsing.html#id2572601">Features and Benefits</a></dt><dt>NetBIOS flags, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt><dt>NetBIOS name, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a>, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>netbios name, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></dt><dt>NetBIOS name cache, <a class="indexterm" href="domain-member.html#id2566787">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579438">Flushing the Samba NetBIOS Name Cache</a></dt><dt>NetBIOS name length, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a></dt><dt>NetBIOS name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>NetBIOS Name Server (see NBNS)</dt><dt>NetBIOS name type, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a></dt><dt>NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2577660">Name Resolution Order</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661548">/etc/nsswitch.conf</a></dt><dt>NetBIOS network interface, <a class="indexterm" href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a></dt><dt>NetBIOS networking, <a class="indexterm" href="NetworkBrowsing.html#id2572601">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#id2572601">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577863">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661070">Background Information</a></dt><dt>NetBIOS over TCP/IP disabled, <a class="indexterm" href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a></dt><dt>NetBIOS-less, <a class="indexterm" href="NetworkBrowsing.html#id2573858">TCP/IP without NetBIOS</a>, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS-less SMB, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>NetBIOSless SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>NetBT, <a class="indexterm" href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a></dt><dt>netlogon, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a></dt><dt>NETLOGON, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652435">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652884">Managing Account/User Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2656502">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2657065">MS Windows 200x/XP</a></dt><dt>Netlogon, <a class="indexterm" href="samba-bdc.html#id2559293">Essential Background Information</a></dt><dt>NetLogon service, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a></dt><dt>netlogon share, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2673028">Steps in Migration Process</a></dt><dt>Netmon, <a class="indexterm" href="problems.html#id2678348">The Windows Network Monitor</a></dt><dt>Netmon., <a class="indexterm" href="problems.html#id2678407">Installing Network Monitor on an NT Workstation</a></dt><dt>netmon.exe, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>NetSAMLogon, <a class="indexterm" href="ProfileMgmt.html#id2653614">Roaming Profiles</a></dt><dt>Netscape's Directory Server, <a class="indexterm" href="passdb.html#id2586336">Supported LDAP Servers</a></dt><dt>NetServerEnum2, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>NetUserGetInfo, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2653614">Roaming Profiles</a></dt><dt>NetWare, <a class="indexterm" href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a></dt><dt>NetWare Bindery, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>NetWare Core Protocol-based server, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>NetWkstaUserLogon, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a></dt><dt>network</dt><dd><dl><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a></dt><dt>logon, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a></dt><dd><dl><dt>service, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a></dt></dl></dd><dt>performance, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a></dt><dt>wide-area, <a class="indexterm" href="samba-bdc.html#id2559363">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#id2559363">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#id2672695">Server Share and Directory Layout</a></dt><dt>network analyzer, <a class="indexterm" href="problems.html#id2677846">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#id2672494">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#id2568751">MS Windows XP Professional</a></dt><dt>Network Bridge Configuration, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a></dt><dt>network browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2575951">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a></dt><dt>network client, <a class="indexterm" href="ClientConfig.html#id2568572">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>network clients, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a></dt><dt>network configuration problems, <a class="indexterm" href="ClientConfig.html#id2568676">TCP/IP Configuration</a></dt><dt>network difficulty, <a class="indexterm" href="ClientConfig.html#id2568572">Features and Benefits</a></dt><dt>network environment, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650782">Remote Desktop Management</a></dt><dt>Network ID, <a class="indexterm" href="ClientConfig.html#id2570446">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>network interface, <a class="indexterm" href="securing-samba.html#id2611540">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>network logon, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a>, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>network logon services, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a></dt><dt>network membership, <a class="indexterm" href="ClientConfig.html#id2568632">Technical Details</a></dt><dt>Network Monitor, <a class="indexterm" href="problems.html#id2678348">The Windows Network Monitor</a></dt><dt>Network Monitor Tools and Agent, <a class="indexterm" href="problems.html#id2678407">Installing Network Monitor on an NT Workstation</a></dt><dt>Network Neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2572785">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578147">Problem Resolution</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#id2622179">Check Samba for Driver Recognition</a></dt><dt>network neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>network policies, <a class="indexterm" href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a></dt><dt>network security, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>network segment, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a>, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>Network settings, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a></dt><dt>network sniffer, <a class="indexterm" href="passdb.html#id2581393">Advantages of Encrypted Passwords</a></dt><dt>network storage, <a class="indexterm" href="Backup.html#id2664519">BackupPC</a></dt><dt>network traffic, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>networked workstation, <a class="indexterm" href="winbind.html#id2647046">Name Service Switch</a></dt><dt>networking advocates, <a class="indexterm" href="Backup.html#id2664421">Discussion of Backup Solutions</a></dt><dt>networking environment, <a class="indexterm" href="passdb.html#id2582421">Caution Regarding LDAP and Samba</a></dt><dt>networking systems, <a class="indexterm" href="ClientConfig.html#id2571418">Common Errors</a></dt><dt>networks access, <a class="indexterm" href="speed.html#id2684288">Samba Performance is Very Slow</a></dt><dt>Networks Properties, <a class="indexterm" href="ClientConfig.html#id2570974">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#id2669954">New Parameters</a></dt><dt>newsgroup, <a class="indexterm" href="bugreport.html#id2679017">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#id2554346">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2563315">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650639">Remote Server Administration</a></dt><dt>NFS, <a class="indexterm" href="domain-member.html#id2566541">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#id2651186">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2665608">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665735">Restrictive Constraints on Distributed File Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671881">IdMap LDAP Support</a></dt><dt>NFS clients, <a class="indexterm" href="locking.html#id2609513">UNIX or NFS Client-Accessed Files</a></dt><dt>NIS, <a class="indexterm" href="ServerType.html#id2552427">Share-Level Security</a>, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2647046">Name Service Switch</a></dt><dt>NIS database, <a class="indexterm" href="winbind.html#id2647278">Pluggable Authentication Modules</a></dt><dt>nmbd, <a class="indexterm" href="install.html#id2545285">Starting Samba</a>, <a class="indexterm" href="install.html#id2545738">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2547806">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548705">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572785">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577950">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579438">Flushing the Samba NetBIOS Name Cache</a>, <a class="indexterm" href="idmapper.html#id2598947">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="winbind.html#id2647838">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2649232">Linux</a>, <a class="indexterm" href="winbind.html#id2649438">Solaris</a>, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a>, <a class="indexterm" href="problems.html#id2677898">Debugging with Samba Itself</a>, <a class="indexterm" href="speed.html#id2684192">Corrupt tdb Files</a></dt><dt>nmblookup, <a class="indexterm" href="integrate-ms-networks.html#id2662106">The NetBIOS Name Cache</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>No NetBIOS layer, <a class="indexterm" href="NetworkBrowsing.html#id2573858">TCP/IP without NetBIOS</a></dt><dt>no network logon service, <a class="indexterm" href="StandAloneServer.html#id2567320">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#id2618994">Custom Print Commands</a>, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>node-type, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>NoMachine, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>NoMachine.Com, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>non-authentication-based account management, <a class="indexterm" href="pam.html#id2658915">Anatomy of /etc/pam.d Entries</a></dt><dt>non-authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>non-LDAP</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a></dt></dl></dd><dt>non-member Windows client, <a class="indexterm" href="passdb.html#id2581598">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>non-PostScript, <a class="indexterm" href="CUPS-printing.html#id2628918">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2631958">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>non-PostScript printers, <a class="indexterm" href="CUPS-printing.html#id2629986">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2639821">Foomatic Database-Generated PPDs</a></dt><dt>nonhierarchical, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></dt><dt>nontransitive, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></dt><dt>normal color, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a></dt><dt>normal user, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></dt><dt>not domain member, <a class="indexterm" href="StandAloneServer.html#id2567320">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#id2576903">WINS Server Configuration</a></dt><dt>not stored anywhere, <a class="indexterm" href="passdb.html#id2581393">Advantages of Encrypted Passwords</a></dt><dt>not transitive, <a class="indexterm" href="InterdomainTrusts.html#id2614050">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#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>Novell eDirectory server, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>NSS, <a class="indexterm" href="StandAloneServer.html#id2567320">Background</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2586088">ldapsam</a>, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2587508">Accounts and Groups Management</a>, <a class="indexterm" href="groupmapping.html#id2589725">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#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646537">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2646861">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2647046">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2649627">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2650297">Conclusion</a></dt><dt>nsswitch.conf, <a class="indexterm" href="ServerType.html#id2552427">Share-Level Security</a></dt><dt>nss_ldap, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2600820">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>nss_winbind.so.1, <a class="indexterm" href="winbind.html#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>NT domain, <a class="indexterm" href="winbind.html#id2646537">What Winbind Provides</a></dt><dt>NT groups, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a></dt><dt>NT migration scripts, <a class="indexterm" href="passdb.html#id2586088">ldapsam</a></dt><dt>NT password, <a class="indexterm" href="passdb.html#id2584184">Listing User and Machine Accounts</a></dt><dt>NT Server Manager, <a class="indexterm" href="AccessControls.html#id2606153">Windows NT4 Workstation/Server</a></dt><dt>NT-controlled domain, <a class="indexterm" href="InterdomainTrusts.html#id2613854">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#id2580326">Backward Compatibility Account Storage Systems</a></dt><dt>NT4, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>NT4 Domain, <a class="indexterm" href="idmapper.html#id2597531">Standalone Samba Server</a></dt><dt>NT4 domain, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2646104">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#id2652884">Managing Account/User Policies</a></dt><dt>NT4 User Manager for Domains, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>NT4-style, <a class="indexterm" href="InterdomainTrusts.html#id2614050">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#id2612809">Trust Relationship Background</a></dt><dt>Nt4sp6ai.exe, <a class="indexterm" href="PolicyMgmt.html#id2652214">Windows NT4-Style Policy Files</a></dt><dt>NTConfig.POL, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2652077">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652396">Registry Spoiling</a>, <a class="indexterm" href="PolicyMgmt.html#id2652435">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652638">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652884">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2653123">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2656502">MS Windows NT4 Workstation</a>, <a class="indexterm" href="NT4Migration.html#id2673583">Samba-3 Implementation Choices</a></dt><dt>ntconfig.pol, <a class="indexterm" href="PolicyMgmt.html#id2652214">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#id2638439">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#id2638439">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTFS, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a>, <a class="indexterm" href="AccessControls.html#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>NTLMv2, <a class="indexterm" href="securing-samba.html#id2612034">NTLMv2 Security</a></dt><dt>ntlm_auth, <a class="indexterm" href="samba-pdc.html#id2554980">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#id2638439">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTUser.DAT, <a class="indexterm" href="PolicyMgmt.html#id2653123">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2656102">Mandatory Profiles</a>, <a class="indexterm" href="NT4Migration.html#id2673583">Samba-3 Implementation Choices</a></dt><dt>NTuser.DAT, <a class="indexterm" href="ProfileMgmt.html#id2654977">Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2655652">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a>, <a class="indexterm" href="NT4Migration.html#id2672936">Profile Migration/Creation</a></dt><dt>NTuser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2654977">Windows NT4 Workstation</a></dt><dt>NTUser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2656102">Mandatory Profiles</a></dt><dt>NT_STATUS_LOGON_FAILURE, <a class="indexterm" href="upgrading-to-3.0.html#id2671032">Changes in Behavior</a></dt><dt>NT_STATUS_UNSUCCESSFUL, <a class="indexterm" href="classicalprinting.html#id2621913">Running rpcclient with adddriver</a></dt><dt>null shell, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a></dt><dt>NX, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">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#id2671323">New Schema</a></dt><dt>object class declaration, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>object module dependencies, <a class="indexterm" href="winbind.html#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ObjectClass, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>ObjectClasses, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a></dt><dt>obtuse complexity, <a class="indexterm" href="NT4Migration.html#id2672695">Server Share and Directory Layout</a></dt><dt>office server, <a class="indexterm" href="FastStart.html#id2547806">Secure Read-Write File and Print Server</a></dt><dt>OID, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>old sambaAccount, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>Omni, <a class="indexterm" href="CUPS-printing.html#id2639634">Driver Development Outside</a></dt><dt>on the fly, <a class="indexterm" href="domain-member.html#id2563876">Windows NT4 Client</a></dt><dt>on-the-fly, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a></dt><dt>on-the-fly logon scripts, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>on-the-fly policy files, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>one direction, <a class="indexterm" href="InterdomainTrusts.html#id2612809">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#id2613305">Interdomain Trust Facilities</a></dt><dt>only one WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a></dt><dt>OpenGFS, <a class="indexterm" href="SambaHA.html#id2665608">The Distributed File System Challenge</a></dt><dt>OpenLDAP, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="ChangeNotes.html#id2572339">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2586336">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>OpenLDAP backend, <a class="indexterm" href="passdb.html#id2580326">Backward Compatibility Account Storage Systems</a></dt><dt>OpenSSL, <a class="indexterm" href="SWAT.html#id2674854">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#id2672084">Objectives</a></dt><dt>operating system search path, <a class="indexterm" href="SWAT.html#id2674286">Locating the SWAT File</a></dt><dt>oplock, <a class="indexterm" href="SambaHA.html#id2665608">The Distributed File System Challenge</a></dt><dt>oplock break, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2609694">Beware of Force User</a></dt><dt>oplock handling, <a class="indexterm" href="SambaHA.html#id2665735">Restrictive Constraints on Distributed File Systems</a></dt><dt>oplock mechanism, <a class="indexterm" href="locking.html#id2609782">Advanced Samba Oplocks Parameters</a></dt><dt>oplock messages, <a class="indexterm" href="SambaHA.html#id2665944">Required Modifications to Samba</a></dt><dt>oplock parameters, <a class="indexterm" href="locking.html#id2609782">Advanced Samba Oplocks Parameters</a></dt><dt>oplocks, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>oplocks disabled, <a class="indexterm" href="locking.html#id2609596">Multiuser Databases</a></dt><dt>oplocks management, <a class="indexterm" href="locking.html#id2609637">PDM Data Shares</a></dt><dt>opportunistic locking, <a class="indexterm" href="locking.html#id2608588">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>Opportunistic locking, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>optional, <a class="indexterm" href="pam.html#id2658915">Anatomy of /etc/pam.d Entries</a></dt><dt>ordinary connection, <a class="indexterm" href="InterdomainTrusts.html#id2613854">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#id2556614">Domain Control: Example Configuration</a></dt><dt>OSS/Free Software, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>other, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a></dt><dt>output duplexing, <a class="indexterm" href="CUPS-printing.html#id2630173">pstops</a></dt><dt>outside threat, <a class="indexterm" href="securing-samba.html#id2611326">Using Host-Based Protection</a></dt><dt>own home directory, <a class="indexterm" href="securing-samba.html#id2612177">Why Can Users Access Other Users' Home Directories?</a></dt><dt>ownership, <a class="indexterm" href="AccessControls.html#id2606611">Viewing File Ownership</a></dt><dt>ownership cost, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>ownership rights, <a class="indexterm" href="ProfileMgmt.html#id2654280">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#id2573222">NetBIOS over TCP/IP</a></dt><dt>package, <a class="indexterm" href="install.html#id2545478">Example Configuration</a></dt><dt>packages, <a class="indexterm" href="install.html#id2544229">Obtaining and Installing Samba</a></dt><dt>packet sniffer, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>packet trace, <a class="indexterm" href="ProfileMgmt.html#id2654280">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#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2600235">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#id2615614">Simple Print Configuration</a></dt><dt>page_log, <a class="indexterm" href="CUPS-printing.html#id2640692">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#id2567320">Background</a>, <a class="indexterm" href="passdb.html#id2580326">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#id2585589">Plaintext</a>, <a class="indexterm" href="passdb.html#id2586088">ldapsam</a>, <a class="indexterm" href="winbind.html#id2646861">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2647278">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2647686">Requirements</a>, <a class="indexterm" href="winbind.html#id2647838">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2649627">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2650297">Conclusion</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2658783">Technical Discussion</a></dt><dt>PAM authentication module, <a class="indexterm" href="pam.html#id2658836">PAM Configuration Syntax</a></dt><dt>PAM configuration, <a class="indexterm" href="winbind.html#id2647686">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#id2648323">NSS Winbind on AIX</a></dt><dt>PAM modules, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>PAM-capable, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>pam-devel, <a class="indexterm" href="winbind.html#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>PAM-enabled, <a class="indexterm" href="winbind.html#id2646537">What Winbind Provides</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>PAM-specific tokens, <a class="indexterm" href="pam.html#id2658836">PAM Configuration Syntax</a></dt><dt>pam_krb5.so, <a class="indexterm" href="pam.html#id2658152">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#id2658152">Features and Benefits</a></dt><dt>pam_mkhomedir, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>pam_ncp_auth.so, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>pam_pwdb.so, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>pam_securetty.so, <a class="indexterm" href="winbind.html#id2649793">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#id2658152">Features and Benefits</a></dt><dt>pam_smbpasswd.so, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>pam_smb_auth.so, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>pam_unix.so, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>pam_unix2.so, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>pam_userdb.so, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>pam_winbind.so, <a class="indexterm" href="winbind.html#id2647278">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2649627">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>parameters, <a class="indexterm" href="classicalprinting.html#id2616094">Rapid Configuration Validation</a></dt><dt>paranoid, <a class="indexterm" href="winbind.html#id2648871">Starting and Testing the winbindd Daemon</a></dt><dt>passdb, <a class="indexterm" href="samba-bdc.html#id2561733">Machine Accounts Keep Expiring</a></dt><dt>passdb backend, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2572218">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#id2582146">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2582999">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2584506">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2585930">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a>, <a class="indexterm" href="rights.html#id2602906">The Administrator Domain SID</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671716">New Suffix for Searching</a></dt><dt>passdb backends, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>passed across the network, <a class="indexterm" href="passdb.html#id2581393">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#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2582999">The smbpasswd Tool</a>, <a class="indexterm" href="winbind.html#id2647046">Name Service Switch</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>password, <a class="indexterm" href="samba-bdc.html#id2559363">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#id2613854">Samba as the Trusting Domain</a>, <a class="indexterm" href="pam.html#id2658915">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>plaintext, <a class="indexterm" href="samba-pdc.html#id2557624">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#id2613220">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#id2584184">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#id2560732">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#id2585589">Plaintext</a></dt><dt>password expiration, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a></dt><dt>password expired, <a class="indexterm" href="passdb.html#id2584591">Changing User Accounts</a></dt><dt>password history, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>password management, <a class="indexterm" href="winbind.html#id2647278">Pluggable Authentication Modules</a></dt><dt>password prompt, <a class="indexterm" href="passdb.html#id2581393">Advantages of Encrypted Passwords</a></dt><dt>password scheme, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>password server, <a class="indexterm" href="ServerType.html#id2553326">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2565183">Configure smb.conf</a></dt><dt>password uniqueness, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>passwords, <a class="indexterm" href="winbind.html#id2646448">Introduction</a></dt><dt>patch, <a class="indexterm" href="bugreport.html#id2679802">Patches</a></dt><dt>path specified, <a class="indexterm" href="domain-member.html#id2566863">Adding Machine to Domain Fails</a></dt><dt>pauses, <a class="indexterm" href="speed.html#id2684288">Samba Performance is Very Slow</a></dt><dt>PBM, <a class="indexterm" href="CUPS-printing.html#id2629194">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#id2628025">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628203">UNIX Printfile Conversion and GUI Basics</a>, <a class="indexterm" href="CUPS-printing.html#id2633129">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2633375">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2633768">Network PostScript RIP</a></dt><dt>pdbedit, <a class="indexterm" href="FastStart.html#id2549639">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#id2584068">User Account Management</a>, <a class="indexterm" href="passdb.html#id2584184">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2584419">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2584506">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2584591">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2585410">Account Import/Export</a>, <a class="indexterm" href="rights.html#id2602906">The Administrator Domain SID</a>, <a class="indexterm" href="PolicyMgmt.html#id2653246">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669283">Quick Migration Guide</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671128">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2673028">Steps in Migration Process</a>, <a class="indexterm" href="NT4Migration.html#id2673583">Samba-3 Implementation Choices</a></dt><dt>pdb_ldap, <a class="indexterm" href="samba-bdc.html#id2561948">Can I Do This All with LDAP?</a></dt><dt>PDC, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2552863">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2559786">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2560460">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561788">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#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2566863">Adding Machine to Domain Fails</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575350">Domain Browsing Configuration</a>, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2581393">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="passdb.html#id2585930">tdbsam</a>, <a class="indexterm" href="passdb.html#id2587856">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="groupmapping.html#id2589331">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598554">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#id2613854">Samba as the Trusting Domain</a>, <a class="indexterm" href="CUPS-printing.html#id2636133">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="winbind.html#id2646736">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2646911">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2647278">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2647509">Result Caching</a>, <a class="indexterm" href="winbind.html#id2647572">Introduction</a>, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2648871">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a>, <a class="indexterm" href="problems.html#id2678711">Getting Mailing List Help</a>, <a class="indexterm" href="speed.html#id2684192">Corrupt tdb Files</a></dt><dt>PDF, <a class="indexterm" href="CUPS-printing.html#id2626501">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2628025">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628716">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629986">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2632578">Examples for Filtering Chains</a></dt><dt>pdf, <a class="indexterm" href="CUPS-printing.html#id2629622">MIME Type Conversion Rules</a></dt><dt>PDF distilling, <a class="indexterm" href="CUPS-printing.html#id2628716">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#id2629622">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2632578">Examples for Filtering Chains</a></dt><dt>pdftosocket, <a class="indexterm" href="CUPS-printing.html#id2632578">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#id2628716">PostScript Printer Description (PPD) Specification</a></dt><dt>PDM, <a class="indexterm" href="locking.html#id2609637">PDM Data Shares</a></dt><dt>peer domain, <a class="indexterm" href="InterdomainTrusts.html#id2613514">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Peer node, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt><dt>per-share access control, <a class="indexterm" href="AccessControls.html#id2605993">Access Controls on Shares</a></dt><dt>performance, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>performance advantage, <a class="indexterm" href="locking.html#id2608588">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#id2608943">Opportunistic Locking Overview</a></dt><dt>performance improvement, <a class="indexterm" href="locking.html#id2609549">Slow and/or Unreliable Networks</a></dt><dt>performance-based, <a class="indexterm" href="passdb.html#id2585930">tdbsam</a></dt><dt>performed as root, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>perimeter firewall, <a class="indexterm" href="securing-samba.html#id2611164">Features and Benefits</a></dt><dt>permanent changes, <a class="indexterm" href="NT4Migration.html#id2673583">Samba-3 Implementation Choices</a></dt><dt>Permanent name, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt><dt>permissions, <a class="indexterm" href="securing-samba.html#id2612177">Why Can Users Access Other Users' Home Directories?</a>, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dd><dl><dt>file/directory ACLs, <a class="indexterm" href="AccessControls.html#id2606494">Managing UNIX Permissions Using NT Security Dialogs</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2604921">Share Definition Access Controls</a></dt><dt>share ACLs, <a class="indexterm" href="AccessControls.html#id2605993">Access Controls on Shares</a></dt><dt>UNIX file and directory, <a class="indexterm" href="AccessControls.html#id2603587">Features and Benefits</a></dt></dl></dd><dt>Permissions, <a class="indexterm" href="AccessControls.html#id2606258">Windows 200x/XP</a></dt><dt>permissions and controls, <a class="indexterm" href="AccessControls.html#id2603587">Features and Benefits</a></dt><dt>PGP, <a class="indexterm" href="compiling.html#id2680851">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#id2629194">MIME Types and CUPS Filters</a></dt><dt>physical locations, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>physical network transport layer, <a class="indexterm" href="integrate-ms-networks.html#id2661272">/etc/hosts</a></dt><dt>PID, <a class="indexterm" href="bugreport.html#id2679677">Attaching to a Running Process</a></dt><dt>pid directory, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></dt><dt>ping, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>pipe device, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a></dt><dt>PJL, <a class="indexterm" href="CUPS-printing.html#id2633768">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2635317">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2640551">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>PJL-header, <a class="indexterm" href="CUPS-printing.html#id2640551">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>plague network users, <a class="indexterm" href="ClientConfig.html#id2568676">TCP/IP Configuration</a></dt><dt>plain-text</dt><dd><dl><dt>passwords, <a class="indexterm" href="ServerType.html#id2553624">Password Checking</a></dt></dl></dd><dt>plaintext, <a class="indexterm" href="passdb.html#id2580326">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext authentication, <a class="indexterm" href="passdb.html#id2580326">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext password, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2561843">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#id2581078">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#id2616973">The [global] Section</a></dt><dt>Pluggable Authentication Modules (see PAM)</dt><dt>PNG, <a class="indexterm" href="CUPS-printing.html#id2628562">Ghostscript: The Software RIP for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>PNM, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>point 'n' print, <a class="indexterm" href="CUPS-printing.html#id2627425">Installation of Windows Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2635535">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2637337">Manual Driver Installation in 15 Steps</a></dt><dt>Point'n'Print, <a class="indexterm" href="classicalprinting.html#id2615079">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#id2619662">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2621776">smbclient to Confirm Driver Installation</a></dt><dt>point'n'print, <a class="indexterm" href="CUPS-printing.html#id2627712">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2636295">Installing the PostScript Driver on a Client</a></dt><dt>Poledit, <a class="indexterm" href="PolicyMgmt.html#id2652638">Administration of Windows 200x/XP Policies</a></dt><dt>poledit.exe, <a class="indexterm" href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652214">Windows NT4-Style Policy Files</a>, <a class="indexterm" href="PolicyMgmt.html#id2652638">Administration of Windows 200x/XP Policies</a></dt><dt>Policies, <a class="indexterm" href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652884">Managing Account/User Policies</a></dt><dt>policies, <a class="indexterm" href="NT4Migration.html#id2673583">Samba-3 Implementation Choices</a></dt><dt>policy editor, <a class="indexterm" href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a></dt><dt>Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2652214">Windows NT4-Style Policy Files</a></dt><dt>policy file , <a class="indexterm" href="PolicyMgmt.html#id2652884">Managing Account/User Policies</a></dt><dt>policy files, <a class="indexterm" href="domain-member.html#id2562192">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#id2576213">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#id2576213">Multiple Interfaces</a>, <a class="indexterm" href="diagnosis.html#id2676083">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#id2576213">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#id2576213">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#id2576213">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#id2615897">Verifying Configuration with testparm</a>, <a class="indexterm" href="problems.html#id2678204">Ethereal</a></dt><dt>POSIX, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2587508">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2592630">Adding or Creating a New Group</a></dt><dt>POSIX account, <a class="indexterm" href="passdb.html#id2584068">User Account Management</a>, <a class="indexterm" href="NetCommand.html#id2593951">UNIX and Windows User Management</a></dt><dt>POSIX ACLs, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a>, <a class="indexterm" href="AccessControls.html#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>POSIX ACLS, <a class="indexterm" href="NT4Migration.html#id2673583">Samba-3 Implementation Choices</a></dt><dt>POSIX identity, <a class="indexterm" href="passdb.html#id2582421">Caution Regarding LDAP and Samba</a></dt><dt>POSIX locks, <a class="indexterm" href="SambaHA.html#id2665804">Server Pool Communications</a></dt><dt>POSIX semantics, <a class="indexterm" href="SambaHA.html#id2665804">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#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a></dt><dt>posixGroup, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2587508">Accounts and Groups Management</a></dt><dt>PostScript, <a class="indexterm" href="CUPS-printing.html#id2626501">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2627834">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#id2628025">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628203">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#id2628716">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2628799">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2629986">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2630173">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2631958">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2632578">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2633375">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2633768">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2634041">CUPS: A “Magical Stone”?</a>, <a class="indexterm" href="CUPS-printing.html#id2634084">PostScript Drivers with No Major Problems, Even in Kernel6 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id26 34572">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#id2621558">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#id2641520">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#id2620170">[print$] Stanza Parameters</a></dt><dt>Power Users, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>powerful, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a></dt><dt>PPD, <a class="indexterm" href="classicalprinting.html#id2621558">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#id2628716">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2628918">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2631571">“Raw” Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2631958">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2633858">PPDs for Non-PS Printers on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2633902">PPDs for Non-PS Printers on Windows</a>, <a class="indexterm" href="CUPS-printing.html#id2634041">CUPS: A “Magical Stone”?</a>, <a class="indexterm" href="CUPS-printing.html#id2636295">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2640551">Adobe and CUPS PostScript Drivers for Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#id2641520">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#id2628799">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2631254">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2639506">The Grand Unification Achieved</a></dt><dt>PPP, <a class="indexterm" href="securing-samba.html#id2611540">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#id2556614">Domain Control: Example Configuration</a></dt><dt>prefilter, <a class="indexterm" href="CUPS-printing.html#id2630611">imagetops and imagetoraster</a></dt><dt>prefilters, <a class="indexterm" href="CUPS-printing.html#id2629986">Prefilters</a></dt><dt>primary domain controller, <a class="indexterm" href="cfgsmarts.html#id2668310">Multiple Virtual Server Hosting</a></dt><dt>primary group, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a></dt><dt>Primary Logon, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>Primary WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a></dt><dt>print, <a class="indexterm" href="classicalprinting.html#id2615897">Verifying Configuration with testparm</a></dt><dd><dl><dt>queue, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a></dt><dt>spooler, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a></dt></dl></dd><dt>print accounting, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a></dt><dt>print command, <a class="indexterm" href="classicalprinting.html#id2618374">Print Commands</a></dt><dt>print commands, <a class="indexterm" href="classicalprinting.html#id2618994">Custom Print Commands</a></dt><dt>print configuration, <a class="indexterm" href="classicalprinting.html#id2615303">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2615897">Verifying Configuration with testparm</a></dt><dt>print environment, <a class="indexterm" href="classicalprinting.html#id2615614">Simple Print Configuration</a></dt><dt>print filtering, <a class="indexterm" href="classicalprinting.html#id2615303">Technical Introduction</a></dt><dt>print job, <a class="indexterm" href="classicalprinting.html#id2618994">Custom Print Commands</a></dt><dt>print jobs, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>print processing, <a class="indexterm" href="classicalprinting.html#id2615303">Technical Introduction</a></dt><dt>print queue, <a class="indexterm" href="classicalprinting.html#id2619662">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2621776">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2622406">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2630915">CUPS Backends</a></dt><dt>print quota, <a class="indexterm" href="CUPS-printing.html#id2627834">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#id2615079">Features and Benefits</a></dt><dt>print service, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a></dt><dt>print spooling, <a class="indexterm" href="winbind.html#id2646911">Microsoft Remote Procedure Calls</a></dt><dt>print spooling system, <a class="indexterm" href="CUPS-printing.html#id2626020">Overview</a></dt><dt>print statistics, <a class="indexterm" href="CUPS-printing.html#id2627834">Advanced Intelligent Printing with PostScript Driver Download</a></dt><dt>print subsystem, <a class="indexterm" href="classicalprinting.html#id2615303">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2618374">Print Commands</a></dt><dt>print test page, <a class="indexterm" href="classicalprinting.html#id2622678">First Client Driver Installation</a></dt><dt>printcap, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2616973">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#id2626139">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#id2626139">Basic CUPS Support Configuration</a></dt><dt>printer attributes publishing, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">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#id2619832">The Obsoleted [printer$] Section</a>, <a class="indexterm" href="classicalprinting.html#id2619953">Creating the [print$] Share</a>, <a class="indexterm" href="CUPS-printing.html#id2626501">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#id2619832">The Obsoleted [printer$] Section</a></dt><dt>printer driver files, <a class="indexterm" href="classicalprinting.html#id2621776">smbclient to Confirm Driver Installation</a></dt><dt>printer drivers, <a class="indexterm" href="classicalprinting.html#id2619662">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="CUPS-printing.html#id2639506">The Grand Unification Achieved</a></dt><dt>printer icon, <a class="indexterm" href="classicalprinting.html#id2622179">Check Samba for Driver Recognition</a></dt><dt>printer management, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a></dt><dt>printer management system, <a class="indexterm" href="CUPS-printing.html#id2626020">Overview</a></dt><dt>printer migration, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a></dt><dt>printer monitor, <a class="indexterm" href="speed.html#id2684288">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#id2624873">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#id2616973">The [global] Section</a></dt><dt>printer shares , <a class="indexterm" href="classicalprinting.html#id2615897">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>printer$ share, <a class="indexterm" href="classicalprinting.html#id2619832">The Obsoleted [printer$] Section</a></dt><dt>printers, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a>, <a class="indexterm" href="StandAloneServer.html#id2567225">Features and Benefits</a></dt><dt>Printers, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>printers admin, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>Printers and Faxes, <a class="indexterm" href="classicalprinting.html#id2622179">Check Samba for Driver Recognition</a></dt><dt>printers available, <a class="indexterm" href="NetworkBrowsing.html#id2572785">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#id2616973">The [global] Section</a></dt><dt>printing behavior, <a class="indexterm" href="classicalprinting.html#id2615513">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#id2684288">Samba Performance is Very Slow</a></dt><dt>printing support, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2615303">Technical Introduction</a></dt><dt>printing system, <a class="indexterm" href="classicalprinting.html#id2615303">Technical Introduction</a></dt><dt>printing systems, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>printing-related settings, <a class="indexterm" href="classicalprinting.html#id2615897">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#id2638439">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#id2666899">Multiple Server Hosting</a></dt><dt>private groups, <a class="indexterm" href="groupmapping.html#id2589667">Warning: User Private Group Problems</a></dt><dt>private key, <a class="indexterm" href="SWAT.html#id2674854">Securing SWAT through SSL</a></dt><dt>private network, <a class="indexterm" href="securing-samba.html#id2611065">Introduction</a></dt><dt>private networks, <a class="indexterm" href="securing-samba.html#id2611326">Using Host-Based Protection</a></dt><dt>private/MACHINE.SID, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a></dt><dt>private/secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a></dt><dt>privilege, <a class="indexterm" href="groupmapping.html#id2590427">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>privilege management, <a class="indexterm" href="groupmapping.html#id2590308">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></dt><dt>privilege model, <a class="indexterm" href="rights.html#id2601488">Rights Management Capabilities</a></dt><dt>privilege-granting applications, <a class="indexterm" href="pam.html#id2658783">Technical Discussion</a></dt><dt>privileged accounts, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>privileges, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2563712">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="groupmapping.html#id2590427">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2601488">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612809">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#id2601763">Using the “net rpc rights” Utility</a></dt><dt>problem report, <a class="indexterm" href="ch47.html#id2685477">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#id2615303">Technical Introduction</a></dt><dt>Process data management, <a class="indexterm" href="locking.html#id2609637">PDM Data Shares</a></dt><dt>professional support, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>profile, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="passdb.html#id2580510">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#id2656242">Creating and Managing Group Profiles</a></dt><dt>profile contents, <a class="indexterm" href="ProfileMgmt.html#id2655652">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>profile directory, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>profile migration tool, <a class="indexterm" href="ProfileMgmt.html#id2656242">Creating and Managing Group Profiles</a></dt><dt>profile path, <a class="indexterm" href="samba-bdc.html#id2559786">Example PDC Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2654977">Windows NT4 Workstation</a></dt><dt>profile sharing, <a class="indexterm" href="ProfileMgmt.html#id2655652">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>Profile Type, <a class="indexterm" href="ProfileMgmt.html#id2654053">Disabling Roaming Profile Support</a></dt><dt>ProfilePath, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>profiles, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a></dt><dt>Profiles, <a class="indexterm" href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a></dt><dt>project, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>promiscuous mode, <a class="indexterm" href="problems.html#id2678348">The Windows Network Monitor</a></dt><dt>promote, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a></dt><dt>promoted, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></dt><dt>propagate, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a></dt><dt>Properties, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a>, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>protect directories, <a class="indexterm" href="AccessControls.html#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>protect files, <a class="indexterm" href="AccessControls.html#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>protection against attackers, <a class="indexterm" href="securing-samba.html#id2611890">Using IPC$ Share-Based Denials </a></dt><dt>protocol stack settings, <a class="indexterm" href="ClientConfig.html#id2569394">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#id2554980">Single Sign-On and Domain Security</a></dt><dt>pstops, <a class="indexterm" href="CUPS-printing.html#id2629986">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2630173">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2632578">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2640551">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>pstoraster, <a class="indexterm" href="CUPS-printing.html#id2630341">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2632241">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2640551">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#id2616094">Rapid Configuration Validation</a></dt><dt>PulseAudio, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651186">Remote Management with ThinLinc</a></dt><dt>punching, <a class="indexterm" href="CUPS-printing.html#id2630173">pstops</a></dt><dt>purchase support, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>put, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>pvcreate, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>Q</h3><dl><dt>QNX, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>qualified problem, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>queue control, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>quota controls, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt></dl></div><div class="indexdiv"><h3>R</h3><dl><dt>RAID, <a class="indexterm" href="Backup.html#id2664519">BackupPC</a></dt><dt>random machine account password, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>range, <a class="indexterm" href="NetCommand.html#id2593951">UNIX and Windows User Management</a></dt><dt>range of hosts, <a class="indexterm" href="securing-samba.html#id2611326">Using Host-Based Protection</a></dt><dt>RAP, <a class="indexterm" href="NetCommand.html#id2592429">UNIX and Windows Group Management</a></dt><dt>raster, <a class="indexterm" href="CUPS-printing.html#id2629986">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2639821">Foomatic Database-Generated PPDs</a></dt><dt>raster driver, <a class="indexterm" href="CUPS-printing.html#id2628958">The CUPS Filtering Architecture</a></dt><dt>raster drivers, <a class="indexterm" href="CUPS-printing.html#id2630341">pstoraster</a></dt><dt>raster image processor (see RIP)</dt><dt>raster images, <a class="indexterm" href="CUPS-printing.html#id2628203">UNIX Printfile Conversion and GUI Basics</a></dt><dt>rasterization, <a class="indexterm" href="CUPS-printing.html#id2630341">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2632241">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoalps, <a class="indexterm" href="CUPS-printing.html#id2630695">rasterto [printers specific]</a></dt><dt>rastertobj, <a class="indexterm" href="CUPS-printing.html#id2630695">rasterto [printers specific]</a></dt><dt>rastertoepson, <a class="indexterm" href="CUPS-printing.html#id2630695">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2632578">Examples for Filtering Chains</a></dt><dt>rastertoescp, <a class="indexterm" href="CUPS-printing.html#id2630695">rasterto [printers specific]</a></dt><dt>rastertohp, <a class="indexterm" href="CUPS-printing.html#id2630695">rasterto [printers specific]</a></dt><dt>rastertopcl, <a class="indexterm" href="CUPS-printing.html#id2630695">rasterto [printers specific]</a></dt><dt>rastertoprinter, <a class="indexterm" href="CUPS-printing.html#id2630695">rasterto [printers specific]</a></dt><dt>rastertosomething, <a class="indexterm" href="CUPS-printing.html#id2632241">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoturboprint, <a class="indexterm" href="CUPS-printing.html#id2630695">rasterto [printers specific]</a></dt><dt>raw mode, <a class="indexterm" href="CUPS-printing.html#id2631679">application/octet-stream Printing</a></dt><dt>raw print, <a class="indexterm" href="CUPS-printing.html#id2636214">cupsaddsmb Flowchart</a></dt><dt>raw printers, <a class="indexterm" href="CUPS-printing.html#id2626020">Overview</a></dt><dt>raw printing, <a class="indexterm" href="FastStart.html#id2547406">Anonymous Print Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#id2627190">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#id2554346">Features and Benefits</a></dt><dt>raw SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2573858">TCP/IP without NetBIOS</a></dt><dt>rawprinter, <a class="indexterm" href="CUPS-printing.html#id2631571">“Raw” Printing</a></dt><dt>rcp, <a class="indexterm" href="Backup.html#id2664690">Rsync</a></dt><dt>rdesktop, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>rdesktop/RDP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>read, <a class="indexterm" href="AccessControls.html#id2604255">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#id2608943">Opportunistic Locking Overview</a></dt><dt>read-only, <a class="indexterm" href="StandAloneServer.html#id2567225">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#id2598788">Backup Domain Controller</a>, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>read-only files, <a class="indexterm" href="StandAloneServer.html#id2567225">Features and Benefits</a></dt><dt>read-write access, <a class="indexterm" href="classicalprinting.html#id2619832">The Obsoleted [printer$] Section</a></dt><dt>realm, <a class="indexterm" href="ServerType.html#id2553169">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-bdc.html#id2560673">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2565183">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2600235">IDMAP Storage in LDAP Using Winbind</a></dt><dt>rebooted, <a class="indexterm" href="ClientConfig.html#id2570446">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#id2602108">Description of Privileges</a></dt><dt>recompiling, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></dt><dt>reconfiguration, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></dt><dt>record locking, <a class="indexterm" href="locking.html#id2608685">Discussion</a></dt><dt>recycle, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>recycle bin, <a class="indexterm" href="VFS.html#id2643377">Discussion</a></dt><dt>recycle directory, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>recycle:exclude, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>recycle:exclude_dir, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>recycle:keeptree, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>recycle:maxsize, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>recycle:noversions, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>recycle:repository, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>recycle:subdir_mode, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>recycle:touch, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>recycle:versions, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>Red Hat Cluster Manager, <a class="indexterm" href="SambaHA.html#id2666082">High-Availability Server Products</a></dt><dt>Red Hat Linux, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2563595">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="groupmapping.html#id2589667">Warning: User Private Group Problems</a></dt><dt>redirect, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a></dt><dt>redirection, <a class="indexterm" href="winbind.html#id2646537">What Winbind Provides</a></dt><dt>redirector, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>redundancy, <a class="indexterm" href="NetworkBrowsing.html#id2573222">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#id2611540">Using Interface Protection</a></dt><dt>regedit.exe, <a class="indexterm" href="ProfileMgmt.html#id2656351">MS Windows 9x/Me</a></dt><dt>regedt32, <a class="indexterm" href="ProfileMgmt.html#id2656502">MS Windows NT4 Workstation</a></dt><dt>regedt32.exe, <a class="indexterm" href="PolicyMgmt.html#id2653205">Windows NT4/200x</a></dt><dt>register driver files, <a class="indexterm" href="classicalprinting.html#id2621913">Running rpcclient with adddriver</a></dt><dt>register NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a></dt><dt>registered, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="classicalprinting.html#id2622179">Check Samba for Driver Recognition</a></dt><dt>registers, <a class="indexterm" href="NetworkBrowsing.html#id2575350">Domain Browsing Configuration</a></dt><dt>registry, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="locking.html#id2608588">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652077">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652435">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2656351">MS Windows 9x/Me</a></dt><dt>registry change, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>registry keys, <a class="indexterm" href="ProfileMgmt.html#id2656320">Default Profile for Windows Users</a></dt><dt>registry settings, <a class="indexterm" href="PolicyMgmt.html#id2652884">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#id2595326">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#id2585665">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#id2554346">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>Remote Access Dial-In User Service (see RADIUS)</dt><dt>remote announce, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a></dt><dt>remote browse sync, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a></dt><dt>remote desktop capabilities, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>remote desktop management, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650782">Remote Desktop Management</a></dt><dt>remote domain, <a class="indexterm" href="InterdomainTrusts.html#id2613123">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613220">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#id2650811">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#id2646911">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#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>remote segment, <a class="indexterm" href="NetworkBrowsing.html#id2576539">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>Remote X, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>Remote X protocol, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>remote-update protocol, <a class="indexterm" href="Backup.html#id2664690">Rsync</a></dt><dt>rename, <a class="indexterm" href="AccessControls.html#id2604132">Managing Directories</a></dt><dt>render, <a class="indexterm" href="CUPS-printing.html#id2627190">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>rendering, <a class="indexterm" href="CUPS-printing.html#id2632241">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>repeated intervals, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>replicate, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a></dt><dt>replicated, <a class="indexterm" href="ServerType.html#id2551752">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2560401">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2652435">MS Windows 200x/XP Professional Policies</a></dt><dt>replicated SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2652435">MS Windows 200x/XP Professional Policies</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a></dt><dd><dl><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a></dt><dt>SAM, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561788">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2561843">How Do I Replicate the smbpasswd File?</a></dt><dt>WINS, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577224">WINS Replication</a></dt></dl></dd><dt>replication protocols, <a class="indexterm" href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a></dt><dt>repository, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>requesting payment, <a class="indexterm" href="ch47.html#id2685477">Free Support</a></dt><dt>required, <a class="indexterm" href="pam.html#id2658915">Anatomy of /etc/pam.d Entries</a></dt><dt>requisite, <a class="indexterm" href="pam.html#id2658915">Anatomy of /etc/pam.d Entries</a></dt><dt>research, <a class="indexterm" href="Backup.html#id2664421">Discussion of Backup Solutions</a></dt><dt>resizing, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>resolution, <a class="indexterm" href="CUPS-printing.html#id2631254">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#id2575951">Making Samba the Domain Master</a></dt><dt>resolver functions, <a class="indexterm" href="winbind.html#id2647046">Name Service Switch</a></dt><dt>resource failover, <a class="indexterm" href="SambaHA.html#id2666082">High-Availability Server Products</a></dt><dt>resource kit, <a class="indexterm" href="PolicyMgmt.html#id2652638">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#id2611164">Features and Benefits</a></dt><dt>response, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a></dt><dt>restore, <a class="indexterm" href="tdb.html#id2679886">Features and Benefits</a></dt><dt>restrict DNS, <a class="indexterm" href="NetworkBrowsing.html#id2577660">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#id2601763">Using the “net rpc rights” Utility</a></dt><dt>RFC 1001, <a class="indexterm" href="DNSDHCP.html#id2686026">Example Configuration</a></dt><dt>RFC 1002, <a class="indexterm" href="DNSDHCP.html#id2686026">Example Configuration</a></dt><dt>RFC 1179, <a class="indexterm" href="classicalprinting.html#id2616973">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#id2586391">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#id2600820">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>RFC2830, <a class="indexterm" href="samba-bdc.html#id2560037">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#id2580510">New Account Storage Systems</a></dt><dt>rich directory backend, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a></dt><dt>RID, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2589331">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2602906">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2647433">User and Group ID Allocation</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>RID 500, <a class="indexterm" href="rights.html#id2602906">The Administrator Domain SID</a></dt><dt>RID base, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a></dt><dt>right to join domain, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>rights, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2566176">Possible Errors</a>, <a class="indexterm" href="rights.html#id2601488">Rights Management Capabilities</a></dt><dt>rights and privilege, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></dt><dt>rights and privileges, <a class="indexterm" href="groupmapping.html#id2590308">Important Administrative Information</a>, <a class="indexterm" href="rights.html#id2602906">The Administrator Domain SID</a></dt><dt>rights assigned, <a class="indexterm" href="rights.html#id2601488">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>RIP, <a class="indexterm" href="CUPS-printing.html#id2631958">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>rlogind, <a class="indexterm" href="pam.html#id2658915">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#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="ProfileMgmt.html#id2653565">Features and Benefits</a>, <a class="indexterm" href="ProfileMgmt.html#id2654053">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>rogue machine, <a class="indexterm" href="NetworkBrowsing.html#id2579438">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#id2563712">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="ClientConfig.html#id2570446">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#id2602906">The Administrator Domain SID</a></dt><dt>root user, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>rotate, <a class="indexterm" href="CUPS-printing.html#id2628203">UNIX Printfile Conversion and GUI Basics</a></dt><dt>RPC, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2653614">Roaming Profiles</a></dt><dt>RPC calls, <a class="indexterm" href="winbind.html#id2650297">Conclusion</a>, <a class="indexterm" href="SambaHA.html#id2665407">The Front-End Challenge</a></dt><dt>RPC modules, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>rpc.lockd, <a class="indexterm" href="locking.html#id2608685">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#id2621002">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2622406">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2638296">Troubleshooting Revisited</a>, <a class="indexterm" href="PolicyMgmt.html#id2653246">Samba PDC</a></dt><dd><dl><dt>adddriver, <a class="indexterm" href="CUPS-printing.html#id2635675">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2635867">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2636530">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2636876">Understanding the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2637113">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2637337">Manual Driver Installation in 15 Steps</a></dt><dt>enumdrivers, <a class="indexterm" href="CUPS-printing.html#id2636530">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2637337">Manual Driver Installation in 15 Steps</a></dt><dt>enumports, <a class="indexterm" href="CUPS-printing.html#id2636530">Installing PostScript Driver Files Manually Using rpcclient</a></dt><dt>enumprinters, <a class="indexterm" href="CUPS-printing.html#id2636530">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2637113">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2637337">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2638296">Troubleshooting Revisited</a></dt><dt>getdriver, <a class="indexterm" href="CUPS-printing.html#id2636981">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2637337">Manual Driver Installation in 15 Steps</a></dt><dt>getprinter, <a class="indexterm" href="CUPS-printing.html#id2636981">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2637337">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2638296">Troubleshooting Revisited</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2635017">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2635675">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2635867">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2636530">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2637113">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2637337">Manual Driver Installation in 15 Steps</a></dt></dl></dd><dt>rsh, <a class="indexterm" href="Backup.html#id2664519">BackupPC</a></dt><dt>rsync, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561843">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#id2585665">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2664519">BackupPC</a>, <a class="indexterm" href="Backup.html#id2664690">Rsync</a>, <a class="indexterm" href="compiling.html#id2680777">Accessing the Samba Sources via rsync and ftp</a></dt><dt>rsyncd, <a class="indexterm" href="Backup.html#id2664519">BackupPC</a></dt><dt>runas, <a class="indexterm" href="classicalprinting.html#id2623374">Always Make First Client Connection as root or “printer admin”</a></dt><dt>rundll32, <a class="indexterm" href="classicalprinting.html#id2623255">Additional Client Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2623568">Setting Default Print Options for Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2637337">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651597">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#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2561733">Machine Accounts Keep Expiring</a>, <a class="indexterm" href="samba-bdc.html#id2561788">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2561843">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a>, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2580326">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2581598">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="winbind.html#id2647509">Result Caching</a></dt><dd><dl><dt>delta file, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2559363">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#id2582146">Comments Regarding LDAP</a></dt><dd><dl><dt>LDAP, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a></dt><dt>ldapsam, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2580510">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#id2586088">ldapsam</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2580290">Features and Benefits</a></dt><dt>non-LDAP, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a></dt><dt>smbpasswd, <a class="indexterm" href="passdb.html#id2580290">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a></dt><dt>tdbsam, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2585930">tdbsam</a></dt></dl></dd><dt>Samba 1.9.17, <a class="indexterm" href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a></dt><dt>Samba account, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a></dt><dt>Samba administrator, <a class="indexterm" href="winbind.html#id2647572">Introduction</a></dt><dt>Samba backend database, <a class="indexterm" href="domain-member.html#id2566863">Adding Machine to Domain Fails</a></dt><dt>Samba daemons, <a class="indexterm" href="domain-member.html#id2564166">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#id2664377">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#id2581598">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>Samba SAM account, <a class="indexterm" href="domain-member.html#id2566863">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#id2580510">New Account Storage Systems</a></dt><dt>Samba security, <a class="indexterm" href="securing-samba.html#id2611164">Features and Benefits</a></dt><dt>Samba-2.2.x LDAP schema, <a class="indexterm" href="passdb.html#id2580326">Backward Compatibility Account Storage Systems</a></dt><dt>Samba-3-compatible LDAP backend, <a class="indexterm" href="upgrading-to-3.0.html#id2669283">Quick Migration Guide</a></dt><dt>Samba-PDC-LDAP-HOWTO, <a class="indexterm" href="passdb.html#id2586088">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#id2645801">vscan</a></dt><dt>samba.schema, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>sambaDomain, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>sambaGroupMapping, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>sambaHomeDrive, <a class="indexterm" href="passdb.html#id2587856">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaHomePath, <a class="indexterm" href="passdb.html#id2587856">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaIdmapEntry, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>sambaLogonScript, <a class="indexterm" href="passdb.html#id2587856">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaNTPassword, <a class="indexterm" href="passdb.html#id2587621">Security and sambaSamAccount</a></dt><dt>sambaProfilePath, <a class="indexterm" href="passdb.html#id2587856">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaSAMAccount, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2584419">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2584506">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2584591">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#id2585930">tdbsam</a></dt><dt>sambaSamAccount, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2587508">Accounts and Groups Management</a>, <a class="indexterm" href="passdb.html#id2587856">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>sambaSAMAccount, <a class="indexterm" href="passdb.html#id2587621">Security and sambaSamAccount</a></dt><dt>sambaSID, <a class="indexterm" href="ChangeNotes.html#id2572339">LDAP Changes in Samba-3.0.23</a></dt><dt>sambaUNIXIdPool, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>SambaXP conference, <a class="indexterm" href="SambaHA.html#id2665125">Technical Discussion</a></dt><dt>samdb interface, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a></dt><dt>same domain/workgroup, <a class="indexterm" href="cfgsmarts.html#id2668310">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#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2585930">tdbsam</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612737">Features and Benefits</a></dt><dt>scalable, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>scalable backend, <a class="indexterm" href="InterdomainTrusts.html#id2612737">Features and Benefits</a></dt><dt>scalable coherent interface (see SCI)</dt><dt>scale, <a class="indexterm" href="CUPS-printing.html#id2628203">UNIX Printfile Conversion and GUI Basics</a></dt><dt>scanner module, <a class="indexterm" href="VFS.html#id2643377">Discussion</a></dt><dt>schannel, <a class="indexterm" href="samba-pdc.html#id2558703">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>schema, <a class="indexterm" href="idmapper.html#id2600820">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>schema file, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a></dt><dt>scp, <a class="indexterm" href="Backup.html#id2664690">Rsync</a></dt><dt>script, <a class="indexterm" href="domain-member.html#id2566863">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#id2577950">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2582421">Caution Regarding LDAP and Samba</a></dt><dt>SCSI, <a class="indexterm" href="SambaHA.html#id2666082">High-Availability Server Products</a></dt><dt>SeAddUsersPrivilege, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601488">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>SeAssignPrimaryTokenPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeAuditPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeBackupPrivilege, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeChangeNotifyPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>Seclib, <a class="indexterm" href="AccessControls.html#id2606611">Viewing File Ownership</a></dt><dt>secondary controller, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>SeCreateGlobalPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePagefilePrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePermanentPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreateTokenPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>secret, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2566541">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#id2586898">Initialize the LDAP Database</a>, <a class="indexterm" href="CUPS-printing.html#id2638439">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>section name, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a></dt><dt>secure, <a class="indexterm" href="StandAloneServer.html#id2567225">Features and Benefits</a></dt><dt>secure access, <a class="indexterm" href="samba-pdc.html#id2554980">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#id2587621">Security and sambaSamAccount</a></dt><dt>secured networks, <a class="indexterm" href="securing-samba.html#id2611065">Introduction</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2552079">Samba Security Modes</a>, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="securing-samba.html#id2611065">Introduction</a>, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>controllers, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a></dt><dt>modes, <a class="indexterm" href="ServerType.html#id2551752">Features and Benefits</a></dt><dt>settings, <a class="indexterm" href="install.html#id2545478">Example Configuration</a></dt></dl></dd><dt>security = user, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>security account, <a class="indexterm" href="NetCommand.html#id2592053">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#id2612809">Trust Relationship Background</a></dt><dt>security credentials, <a class="indexterm" href="idmapper.html#id2598788">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613087">Native MS Windows NT4 Trusts Configuration</a></dt><dt>security domain, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></dt><dt>security domains, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></dt><dt>security flaw, <a class="indexterm" href="securing-samba.html#id2612177">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security hole, <a class="indexterm" href="securing-samba.html#id2611890">Using IPC$ Share-Based Denials </a></dt><dt>security identifier, <a class="indexterm" href="NetCommand.html#id2595326">Managing Security Identifiers (SIDS)</a> (see SID)</dt><dt>security level, <a class="indexterm" href="ServerType.html#id2553326">Server Security (User Level Security)</a></dt><dt>security levels, <a class="indexterm" href="ServerType.html#id2552079">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#id2558018">Security Mode and Master Browsers</a></dt><dt>Security Mode, <a class="indexterm" href="ServerType.html#id2552079">Samba Security Modes</a></dt><dt>security modes, <a class="indexterm" href="ServerType.html#id2552079">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#id2612177">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security settings, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>security structure, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></dt><dt>security vulnerability, <a class="indexterm" href="securing-samba.html#id2612089">Upgrading Samba</a></dt><dt>security-aware, <a class="indexterm" href="CUPS-printing.html#id2631679">application/octet-stream Printing</a></dt><dt>SeDebugPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeDiskOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601488">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>SeEnableDelegationPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeImpersonatePrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseBasePriorityPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseQuotaPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLoadDriverPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLockMemoryPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeMachineAccountPrivilege, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601488">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeManageVolumePrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>separate instances, <a class="indexterm" href="cfgsmarts.html#id2666899">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#id2616973">The [global] Section</a></dt><dt>separate workgroups, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>SePrintOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601488">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>SeProfileSingleProcessPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRemoteShutdownPrivilege, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601488">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRestorePrivilege, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>server failure, <a class="indexterm" href="SambaHA.html#id2665288">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#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563315">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650639">Remote Server Administration</a></dt><dt>Server Manager for Domains, <a class="indexterm" href="domain-member.html#id2563315">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#id2665608">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665735">Restrictive Constraints on Distributed File Systems</a></dt><dt>Server Type, <a class="indexterm" href="ServerType.html#id2551919">Server Types</a></dt><dd><dl><dt>Domain Controller, <a class="indexterm" href="FastStart.html#id2549558">Domain Controller</a></dt><dt>Domain Member, <a class="indexterm" href="FastStart.html#id2548634">Domain Member Server</a>, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a></dt><dt>Stand-alone, <a class="indexterm" href="FastStart.html#id2546714">Standalone Server</a></dt></dl></dd><dt>server type, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a></dt><dd><dl><dt>domain member, <a class="indexterm" href="ServerType.html#id2552863">Example Configuration</a></dt></dl></dd><dt>Server Types, <a class="indexterm" href="idmapper.html#id2597506">Samba Server Deployment Types and IDMAP</a></dt><dt>server-mode, <a class="indexterm" href="ServerType.html#id2553888">What Makes Samba a Domain Controller?</a></dt><dt>service name, <a class="indexterm" href="install.html#id2545478">Example Configuration</a></dt><dt>service-level, <a class="indexterm" href="classicalprinting.html#id2615513">Printing-Related Configuration Parameters</a>, <a class="indexterm" href="classicalprinting.html#id2616973">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#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeShutdownPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>session, <a class="indexterm" href="pam.html#id2658915">Anatomy of /etc/pam.d Entries</a></dt><dt>session services, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a></dt><dt>session setup, <a class="indexterm" href="ServerType.html#id2552253">User Level Security</a>, <a class="indexterm" href="ServerType.html#id2553326">Server Security (User Level Security)</a></dt><dt>sessionid.tdb, <a class="indexterm" href="CUPS-printing.html#id2638439">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>SessionSetupAndX, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>SeSyncAgentPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemEnvironmentPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemProfilePrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemtimePrivilege, <a class="indexterm" href="rights.html#id2602419">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#id2616973">The [global] Section</a></dt><dt>set user id (see SUID)</dt><dt>SeTakeOwnershipPrivilege, <a class="indexterm" href="NetCommand.html#id2594363">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2601488">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeTcbPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2636704">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2637113">Requirements for adddriver and setdriver to Succeed</a></dt><dt>SetPrinter(), <a class="indexterm" href="CUPS-printing.html#id2636704">A Check of the rpcclient man Page</a></dt><dt>setting up directories, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a></dt><dt>SeUndockPrivilege, <a class="indexterm" href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>severely impaired, <a class="indexterm" href="NetworkBrowsing.html#id2573858">TCP/IP without NetBIOS</a></dt><dt>SFU, <a class="indexterm" href="idmapper.html#id2601090">IDMAP, Active Directory, and MS Services for UNIX 3.5</a></dt><dt>SFU 3.5, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a></dt><dt>SGI-RGB, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>SGID, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a></dt><dt>shadow, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a></dt><dt>shadow copies, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>shadow password file, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>shadow utilities, <a class="indexterm" href="groupmapping.html#id2588916">Features and Benefits</a></dt><dt>shadow_copy, <a class="indexterm" href="VFS.html#id2644810">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>shadow_copy module, <a class="indexterm" href="VFS.html#id2644810">shadow_copy</a></dt><dt>share, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>share access, <a class="indexterm" href="AccessControls.html#id2605993">Access Controls on Shares</a></dt><dt>share ACLs, <a class="indexterm" href="NT4Migration.html#id2673583">Samba-3 Implementation Choices</a></dt><dt>share management, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a></dt><dt>share modes, <a class="indexterm" href="SambaHA.html#id2665608">The Distributed File System Challenge</a></dt><dt>share permissions, <a class="indexterm" href="AccessControls.html#id2606153">Windows NT4 Workstation/Server</a></dt><dt>Share Permissions, <a class="indexterm" href="AccessControls.html#id2606258">Windows 200x/XP</a></dt><dt>share settings, <a class="indexterm" href="AccessControls.html#id2603587">Features and Benefits</a></dt><dt>share stanza controls, <a class="indexterm" href="NT4Migration.html#id2673583">Samba-3 Implementation Choices</a></dt><dt>share-level, <a class="indexterm" href="ServerType.html#id2552079">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2552427">Share-Level Security</a>, <a class="indexterm" href="msdfs.html#id2614436">Features and Benefits</a></dt><dt>share-level ACLs, <a class="indexterm" href="groupmapping.html#id2590427">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>share-mode, <a class="indexterm" href="StandAloneServer.html#id2567225">Features and Benefits</a></dt><dt>share-mode security, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a></dt><dt>share-mode server, <a class="indexterm" href="StandAloneServer.html#id2567225">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#id2572785">What Is Browsing?</a></dt><dt>shares and files, <a class="indexterm" href="winbind.html#id2647686">Requirements</a></dt><dt>share_info.tdb, <a class="indexterm" href="AccessControls.html#id2605993">Access Controls on Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2638439">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>Sharing, <a class="indexterm" href="AccessControls.html#id2606258">Windows 200x/XP</a></dt><dt>shell scripts, <a class="indexterm" href="classicalprinting.html#id2618374">Print Commands</a></dt><dt>shift, <a class="indexterm" href="CUPS-printing.html#id2628203">UNIX Printfile Conversion and GUI Basics</a></dt><dt>Shift_JIS, <a class="indexterm" href="unicode.html#id2663202">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>shortcuts, <a class="indexterm" href="ClientConfig.html#id2568676">TCP/IP Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>Shortcuts, <a class="indexterm" href="AccessControls.html#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>show-stopper-type, <a class="indexterm" href="NT4Migration.html#id2672049">Planning and Getting Started</a></dt><dt>SID, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2558461">The System Cannot Log You On (C000019B)</a>, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2566541">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2572218">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#id2581598">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="passdb.html#id2582558">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#id2588916">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2595326">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2599645">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2601488">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2602906">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646736">Handling of Foreign SIDs</a>, <a class="indexterm" href="ProfileMgmt.html#id2655944">Side Bar Notes</a>, <a class="indexterm" href="ProfileMgmt.html#id2656037">Get SID</a>, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a>, <a class="indexterm" href="NT4Migration.html#id2672936">Profile Migration/Creation</a></dt><dt>SID management, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a></dt><dt>SID-to-GID, <a class="indexterm" href="groupmapping.html#id2588916">Features and Benefits</a></dt><dt>SIDs, <a class="indexterm" href="NT4Migration.html#id2673583">Samba-3 Implementation Choices</a></dt><dt>signing, <a class="indexterm" href="samba-pdc.html#id2558703">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>simple access controls, <a class="indexterm" href="NT4Migration.html#id2672695">Server Share and Directory Layout</a></dt><dt>simple configuration, <a class="indexterm" href="install.html#id2545478">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#id2580510">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#id2615614">Simple Print Configuration</a></dt><dt>simplest</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2545478">Example Configuration</a></dt></dl></dd><dt>simplicity, <a class="indexterm" href="StandAloneServer.html#id2567225">Features and Benefits</a></dt><dt>Simplicity is king, <a class="indexterm" href="NT4Migration.html#id2672695">Server Share and Directory Layout</a></dt><dt>single DHCP server, <a class="indexterm" href="ClientConfig.html#id2569941">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#id2665407">The Front-End Challenge</a></dt><dt>single sign-on, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a> (see SSO)</dt><dt>Single Sign-On, <a class="indexterm" href="CUPS-printing.html#id2635017">Caveats to Be Considered</a></dt><dt>single-byte charsets, <a class="indexterm" href="unicode.html#id2662901">What Are Charsets and Unicode?</a></dt><dt>single-logon, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a></dt><dt>single-sign-on, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>single-user mode, <a class="indexterm" href="winbind.html#id2647686">Requirements</a></dt><dt>slapadd, <a class="indexterm" href="passdb.html#id2586898">Initialize the LDAP Database</a></dt><dt>slapd, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a></dt><dt>slapd.conf, <a class="indexterm" href="ChangeNotes.html#id2572339">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2587621">Security and sambaSamAccount</a></dt><dt>slapd.pem, <a class="indexterm" href="samba-bdc.html#id2560037">LDAP Configuration Notes</a></dt><dt>slapindex, <a class="indexterm" href="ChangeNotes.html#id2572339">LDAP Changes in Samba-3.0.23</a></dt><dt>slappasswd, <a class="indexterm" href="passdb.html#id2586898">Initialize the LDAP Database</a></dt><dt>slave servers, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>slow browsing, <a class="indexterm" href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a></dt><dt>slow network, <a class="indexterm" href="speed.html#id2684101">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>slow network browsing, <a class="indexterm" href="NetworkBrowsing.html#id2579806">Invalid Cached Share References Affects Network Browsing</a></dt><dt>slow performance, <a class="indexterm" href="speed.html#id2684288">Samba Performance is Very Slow</a></dt><dt>smart printers, <a class="indexterm" href="CUPS-printing.html#id2626020">Overview</a></dt><dt>SMB, <a class="indexterm" href="ServerType.html#id2553326">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2567099">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="StandAloneServer.html#id2567320">Background</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572601">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577863">Technical Overview of Browsing</a>, <a class="indexterm" href="securing-samba.html#id2611540">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#id2661671">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="Backup.html#id2664519">BackupPC</a>, <a class="indexterm" href="SambaHA.html#id2665407">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2665804">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#id2581393">Advantages of Encrypted Passwords</a></dt><dt>SMB locks, <a class="indexterm" href="SambaHA.html#id2665804">Server Pool Communications</a></dt><dt>SMB name, <a class="indexterm" href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a></dt><dt>SMB networking, <a class="indexterm" href="problems.html#id2677846">Diagnostics Tools</a></dt><dt>SMB password, <a class="indexterm" href="passdb.html#id2582999">The smbpasswd Tool</a></dt><dt>SMB Password, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>SMB password encryption, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>smb ports, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>SMB printers, <a class="indexterm" href="CUPS-printing.html#id2642430">Administrator Cannot Install Printers for All Local Users</a></dt><dt>SMB requests, <a class="indexterm" href="SambaHA.html#id2665502">Demultiplexing SMB Requests</a></dt><dt>SMB semantics, <a class="indexterm" href="SambaHA.html#id2665608">The Distributed File System Challenge</a></dt><dt>SMB server, <a class="indexterm" href="passdb.html#id2581393">Advantages of Encrypted Passwords</a></dt><dt>SMB Server, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>SMB services, <a class="indexterm" href="SambaHA.html#id2665735">Restrictive Constraints on Distributed File Systems</a></dt><dt>SMB signing, <a class="indexterm" href="domain-member.html#id2567099">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>SMB state information, <a class="indexterm" href="SambaHA.html#id2665502">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#id2667296">Multiple Virtual Server Personalities</a></dt><dt>smb.conf, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>SMB/CIFS, <a class="indexterm" href="samba-bdc.html#id2560460">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2567099">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a>, <a class="indexterm" href="unicode.html#id2662901">What Are Charsets and Unicode?</a></dt><dt>SMB/CIFS server, <a class="indexterm" href="passdb.html#id2585535">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#id2621558">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2621776">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="Backup.html#id2664519">BackupPC</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a>, <a class="indexterm" href="problems.html#id2677898">Debugging with Samba Itself</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2545285">Starting Samba</a>, <a class="indexterm" href="install.html#id2545478">Example Configuration</a>, <a class="indexterm" href="install.html#id2545738">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2547806">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548705">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2587083">Configuring Samba</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598947">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a>, <a class="indexterm" href="classicalprinting.html#id2615897">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2616094">Rapid Configuration Validation</a>, <a class="indexterm" href="VFS.html#id2644037">extd_audit</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2647838">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2649232">Linux</a>, <a class="indexterm" href="winbind.html#id2649438">Solaris</a>, <a class="indexterm" href="SambaHA.html#id2665804">Server Pool Communications</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="problems.html#id2677898">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#id2591260">Sample smb.conf Add Group Script</a></dt><dt>smbHome, <a class="indexterm" href="passdb.html#id2587856">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>smbldap-groupadd, <a class="indexterm" href="NetCommand.html#id2592630">Adding or Creating a New Group</a></dt><dt>smbldap-tools, <a class="indexterm" href="passdb.html#id2586088">ldapsam</a></dt><dt>smbpasswd, <a class="indexterm" href="ServerType.html#id2552863">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561843">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#id2565183">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2566541">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2572218">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#id2580326">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2582999">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2584068">User Account Management</a>, <a class="indexterm" href="passdb.html#id2585410">Account Import/Export</a>, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2586088">ldapsam</a>, <a class="indexterm" href="passdb.html#id2586391">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2586898">Initialize the LDAP Database</a>, <a class="indexterm" href="idmapper.html#id2597593">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#id2653246">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671128">Passdb Backends and Authentication</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2671323">New Schema</a></dt><dt>smbpasswd format, <a class="indexterm" href="passdb.html#id2584184">Listing User and Machine Accounts</a></dt><dt>smbpasswd plaintext database, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a></dt><dt>SMBsessetupX, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a></dt><dt>smbspool, <a class="indexterm" href="CUPS-printing.html#id2641520">Printing from CUPS to Windows-Attached Printers</a></dt><dt>smbstatus, <a class="indexterm" href="CUPS-printing.html#id2642237">Avoid Being Connected to the Samba Server as the Wrong User</a>, <a class="indexterm" href="bugreport.html#id2679677">Attaching to a Running Process</a></dt><dt>SMBtconX, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a></dt><dt>smbusers, <a class="indexterm" href="securing-samba.html#id2611480">User-Based Protection</a></dt><dt>SMS, <a class="indexterm" href="problems.html#id2678348">The Windows Network Monitor</a></dt><dt>Snapshots, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>sniffer, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="problems.html#id2677846">Diagnostics Tools</a></dt><dt>socket, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></dt><dt>socket address, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></dt><dt>SOFTQ printing system, <a class="indexterm" href="classicalprinting.html#id2616973">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#id2649627">Configure Winbind and PAM</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651186">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>Solaris 9, <a class="indexterm" href="winbind.html#id2649438">Solaris</a></dt><dt>source code, <a class="indexterm" href="install.html#id2545478">Example Configuration</a></dt><dt>space character, <a class="indexterm" href="groupmapping.html#id2591572">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#id2620170">[print$] Stanza Parameters</a></dt><dt>special sections, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>special stanza, <a class="indexterm" href="classicalprinting.html#id2620170">[print$] Stanza Parameters</a></dt><dt>specific restrictions, <a class="indexterm" href="AccessControls.html#id2605993">Access Controls on Shares</a></dt><dt>Specify an IP address, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a></dt><dt>spinning process, <a class="indexterm" href="bugreport.html#id2679677">Attaching to a Running Process</a></dt><dt>spool, <a class="indexterm" href="classicalprinting.html#id2615897">Verifying Configuration with testparm</a></dt><dd><dl><dt>directory, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a></dt></dl></dd><dt>spool files, <a class="indexterm" href="classicalprinting.html#id2618994">Custom Print Commands</a></dt><dt>spooled file, <a class="indexterm" href="classicalprinting.html#id2615303">Technical Introduction</a></dt><dt>spooler., <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a></dt><dt>spooling, <a class="indexterm" href="classicalprinting.html#id2618994">Custom Print Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2627140">Central Spooling vs. “Peer-to-Peer” Printing</a></dt><dd><dl><dt>central, <a class="indexterm" href="CUPS-printing.html#id2627140">Central Spooling vs. “Peer-to-Peer” Printing</a></dt><dt>peer-to-peer, <a class="indexterm" href="CUPS-printing.html#id2627140">Central Spooling vs. “Peer-to-Peer” Printing</a></dt></dl></dd><dt>spooling path, <a class="indexterm" href="classicalprinting.html#id2615897">Verifying Configuration with testparm</a></dt><dt>spooling-only, <a class="indexterm" href="CUPS-printing.html#id2627190">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#id2572158">Passdb Changes</a></dt><dt>SQUID, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>SRV records, <a class="indexterm" href="domain-member.html#id2565374">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#id2661070">Background Information</a></dt><dt>SrvMgr.exe, <a class="indexterm" href="domain-member.html#id2563315">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>srvmgr.exe, <a class="indexterm" href="domain-member.html#id2563315">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>SRVTOOLS.EXE, <a class="indexterm" href="domain-member.html#id2563315">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650639">Remote Server Administration</a></dt><dt>ssh, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561843">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2664519">BackupPC</a></dt><dt>SSH, <a class="indexterm" href="classicalprinting.html#id2621776">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651186">Remote Management with ThinLinc</a></dt><dt>SSL, <a class="indexterm" href="SWAT.html#id2674854">Securing SWAT through SSL</a></dt><dt>SSO, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2582146">Comments Regarding LDAP</a></dt><dt>stability, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>stack trace, <a class="indexterm" href="bugreport.html#id2679544">Internal Errors</a></dt><dt>stale network links, <a class="indexterm" href="NetworkBrowsing.html#id2579806">Invalid Cached Share References Affects Network Browsing</a></dt><dt>stand-alone server, <a class="indexterm" href="idmapper.html#id2597531">Standalone Samba Server</a></dt><dt>standalone, <a class="indexterm" href="ServerType.html#id2551919">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></dt><dt>standalone filter, <a class="indexterm" href="CUPS-printing.html#id2630341">pstoraster</a></dt><dt>standalone server, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a>, <a class="indexterm" href="StandAloneServer.html#id2567225">Features and Benefits</a>, <a class="indexterm" href="StandAloneServer.html#id2567320">Background</a>, <a class="indexterm" href="passdb.html#id2584419">Adding User Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2672494">Domain Layout</a></dt><dt>standard confirmation, <a class="indexterm" href="InterdomainTrusts.html#id2613123">Creating an NT4 Domain Trust</a></dt><dt>stanza, <a class="indexterm" href="install.html#id2544319">Configuration File Syntax</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>stapling, <a class="indexterm" href="CUPS-printing.html#id2630173">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#id2545285">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2547806">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548705">Example Configuration</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2545285">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2547806">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2548705">Example Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2545285">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2548705">Example Configuration</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a></dt></dl></dd><dt>startsmb, <a class="indexterm" href="compiling.html#id2681717">Alternative: Starting smbd as a Daemon</a></dt><dt>StartTLS, <a class="indexterm" href="passdb.html#id2587621">Security and sambaSamAccount</a></dt><dt>startup</dt><dd><dl><dt>process, <a class="indexterm" href="install.html#id2545285">Starting Samba</a></dt></dl></dd><dt>startup script, <a class="indexterm" href="winbind.html#id2648871">Starting and Testing the winbindd Daemon</a></dt><dt>state, <a class="indexterm" href="SambaHA.html#id2665288">Why Is This So Hard?</a></dt><dt>state information, <a class="indexterm" href="SambaHA.html#id2665288">Why Is This So Hard?</a></dt><dt>state of knowledge, <a class="indexterm" href="SambaHA.html#id2665004">Features and Benefits</a></dt><dt>static WINS entries, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt><dt>status32 codes, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>sticky bit, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a>, <a class="indexterm" href="NT4Migration.html#id2672695">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#id2582999">The smbpasswd Tool</a></dt><dt>stphoto2.ppd, <a class="indexterm" href="CUPS-printing.html#id2632578">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#id2674072">Features and Benefits</a></dt><dt>strptime, <a class="indexterm" href="passdb.html#id2584591">Changing User Accounts</a></dt><dt>stunnel, <a class="indexterm" href="SWAT.html#id2674854">Securing SWAT through SSL</a></dt><dt>su, <a class="indexterm" href="pam.html#id2658915">Anatomy of /etc/pam.d Entries</a></dt><dt>subnet mask, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>subnets, <a class="indexterm" href="NetworkBrowsing.html#id2573222">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#id2685477">Free Support</a></dt><dt>subsuffix parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2671716">New Suffix for Searching</a></dt><dt>Subversion, <a class="indexterm" href="compiling.html#id2680544">Introduction</a>, <a class="indexterm" href="compiling.html#id2680634">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#id2672084">Objectives</a></dt><dt>sufficient, <a class="indexterm" href="pam.html#id2658915">Anatomy of /etc/pam.d Entries</a></dt><dt>suffixes, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>SUID, <a class="indexterm" href="AccessControls.html#id2604255">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#id2658152">Features and Benefits</a></dt><dt>Sun Solaris, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>SUN-Raster, <a class="indexterm" href="CUPS-printing.html#id2629194">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#id2672084">Objectives</a></dt><dt>SVN</dt><dd><dl><dt>web, <a class="indexterm" href="compiling.html#id2680599">Access via ViewCVS</a></dt></dl></dd><dt>SVRTOOLS.EXE, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a></dt><dt>SWAT, <a class="indexterm" href="install.html#id2544274">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#id2545921">SWAT</a>, <a class="indexterm" href="SWAT.html#id2674216">Validate SWAT Installation</a>, <a class="indexterm" href="SWAT.html#id2674286">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#id2674854">Securing SWAT through SSL</a></dt></dl></dd><dt>SWAT binary support, <a class="indexterm" href="SWAT.html#id2674216">Validate SWAT Installation</a></dt><dt>swat command-line options, <a class="indexterm" href="SWAT.html#id2674286">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#id2614436">Features and Benefits</a></dt><dt>synchronization, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronization problems, <a class="indexterm" href="winbind.html#id2646448">Introduction</a></dt><dt>synchronize, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576539">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronized, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a></dt><dt>syntax tolerates spelling errors, <a class="indexterm" href="classicalprinting.html#id2615614">Simple Print Configuration</a></dt><dt>system access controls, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a></dt><dt>system accounts, <a class="indexterm" href="passdb.html#id2584068">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#id2592831">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#id2651888">Creating and Managing System Policies</a></dt><dt>System Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2652638">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2656351">MS Windows 9x/Me</a></dt><dt>system security, <a class="indexterm" href="groupmapping.html#id2590427">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>system tools, <a class="indexterm" href="Backup.html#id2664377">Features and Benefits</a></dt><dt>SYSV, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2652435">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#id2675790">Assumptions</a></dt><dt>take ownership, <a class="indexterm" href="rights.html#id2602108">Description of Privileges</a></dt><dt>Take Ownership, <a class="indexterm" href="AccessControls.html#id2606611">Viewing File Ownership</a></dt><dt>tape, <a class="indexterm" href="NT4Migration.html#id2672695">Server Share and Directory Layout</a></dt><dt>tar, <a class="indexterm" href="Backup.html#id2664519">BackupPC</a></dt><dt>tarball, <a class="indexterm" href="install.html#id2545478">Example Configuration</a></dt><dt>tattoo effect, <a class="indexterm" href="NT4Migration.html#id2673583">Samba-3 Implementation Choices</a></dt><dt>TCP, <a class="indexterm" href="NetworkBrowsing.html#id2576213">Multiple Interfaces</a>, <a class="indexterm" href="SambaHA.html#id2665288">Why Is This So Hard?</a></dt><dt>TCP data streams, <a class="indexterm" href="SambaHA.html#id2665407">The Front-End Challenge</a></dt><dt>TCP failover, <a class="indexterm" href="SambaHA.html#id2665288">Why Is This So Hard?</a></dt><dt>TCP port, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a></dt><dt>TCP port 139, <a class="indexterm" href="integrate-ms-networks.html#id2661070">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>TCP port 445, <a class="indexterm" href="integrate-ms-networks.html#id2661070">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dt>tcp ports, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a></dt><dt>TCP/IP, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572601">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a></dt><dt>TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a></dt><dt>TCP/IP configuration panel, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a></dt><dt>TCP/IP protocol configuration, <a class="indexterm" href="ClientConfig.html#id2568632">Technical Details</a></dt><dt>TCP/IP protocol settings, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a></dt><dt>TCP/IP protocol stack, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a></dt><dt>TCP/IP-only, <a class="indexterm" href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a></dt><dt>tcpdump, <a class="indexterm" href="problems.html#id2678154">Tcpdump</a></dt><dt>TDB, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a>, <a class="indexterm" href="classicalprinting.html#id2622521">Running rpcclient with setdriver</a>, <a class="indexterm" href="CUPS-printing.html#id2638439">The Printing *.tdb Files</a>, <a class="indexterm" href="CUPS-printing.html#id2638642">Trivial Database Files</a>, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></dt><dd><dl><dt>backing up (see tdbbackup)</dt></dl></dd><dt>tdb, <a class="indexterm" href="winbind.html#id2647433">User and Group ID Allocation</a>, <a class="indexterm" href="SambaHA.html#id2665804">Server Pool Communications</a>, <a class="indexterm" href="tdb.html#id2679886">Features and Benefits</a></dt><dt>tdb data files, <a class="indexterm" href="upgrading-to-3.0.html#id2670680">TDB Data Files</a></dt><dt>TDB database, <a class="indexterm" href="classicalprinting.html#id2621913">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#id2670680">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#id2670680">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#id2605993">Access Controls on Shares</a></dt><dt>tdbbackup, <a class="indexterm" href="CUPS-printing.html#id2638826">Using tdbbackup</a>, <a class="indexterm" href="speed.html#id2684192">Corrupt tdb Files</a></dt><dt>tdbdump, <a class="indexterm" href="AccessControls.html#id2605993">Access Controls on Shares</a></dt><dt>tdbsam, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2572218">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#id2584184">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2585930">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>tdbsam databases, <a class="indexterm" href="passdb.html#id2585535">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#id2581534">Advantages of Non-Encrypted Passwords</a></dt><dt>telnet logins, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>template, <a class="indexterm" href="ProfileMgmt.html#id2656242">Creating and Managing Group Profiles</a></dt><dt>temporary location, <a class="indexterm" href="classicalprinting.html#id2618374">Print Commands</a></dt><dt>terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651186">Remote Management with ThinLinc</a></dt><dt>Terminal Server, <a class="indexterm" href="SambaHA.html#id2665502">Demultiplexing SMB Requests</a></dt><dt>Testing Server Setup, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a></dt><dt>testparm, <a class="indexterm" href="install.html#id2545738">Test Your Config File with testparm</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="classicalprinting.html#id2615614">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2615897">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2616094">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2616494">Extended Printing Configuration</a>, <a class="indexterm" href="diagnosis.html#id2675790">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a>, <a class="indexterm" href="problems.html#id2677898">Debugging with Samba Itself</a></dt><dt>tethereal, <a class="indexterm" href="problems.html#id2678154">Tcpdump</a></dt><dt>text/plain, <a class="indexterm" href="CUPS-printing.html#id2629622">MIME Type Conversion Rules</a></dt><dt>texttops, <a class="indexterm" href="CUPS-printing.html#id2629622">MIME Type Conversion Rules</a></dt><dt>thin client, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651186">Remote Management with ThinLinc</a></dt><dt>ThinLinc, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651186">Remote Management with ThinLinc</a></dt><dt>tid, <a class="indexterm" href="SambaHA.html#id2665502">Demultiplexing SMB Requests</a></dt><dt>TIFF, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>TightVNC, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651186">Remote Management with ThinLinc</a></dt><dt>time difference, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a></dt><dt>time format, <a class="indexterm" href="passdb.html#id2584591">Changing User Accounts</a></dt><dt>time-to-live (see TTL)</dt><dt>tool, <a class="indexterm" href="AccessControls.html#id2606258">Windows 200x/XP</a></dt><dt>tools, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2582421">Caution Regarding LDAP and Samba</a></dt><dt>tools\reskit\netadmin\poledit, <a class="indexterm" href="PolicyMgmt.html#id2652077">Windows 9x/ME Policies</a></dt><dt>traditional printing, <a class="indexterm" href="classicalprinting.html#id2618994">Custom Print Commands</a></dt><dt>training course, <a class="indexterm" href="Backup.html#id2664421">Discussion of Backup Solutions</a></dt><dt>transfer differences, <a class="indexterm" href="Backup.html#id2664690">Rsync</a></dt><dt>transformation, <a class="indexterm" href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></dt><dt>transitive, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></dt><dt>transparent access, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a></dt><dt>transparently reconnected, <a class="indexterm" href="SambaHA.html#id2665159">The Ultimate Goal</a></dt><dt>transport connection loss, <a class="indexterm" href="locking.html#id2608943">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#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></dt><dt>trivial database, <a class="indexterm" href="passdb.html#id2580510">New Account Storage Systems</a> (see TDB)</dt><dt>Trivial Database, <a class="indexterm" href="tdb.html#id2679886">Features and Benefits</a></dt><dt>troubleshoot, <a class="indexterm" href="classicalprinting.html#id2616094">Rapid Configuration Validation</a></dt><dt>troubleshooting, <a class="indexterm" href="CUPS-printing.html#id2641520">Printing from CUPS to Windows-Attached Printers</a></dt><dt>Tru64 UNIX, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>trust, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="ServerType.html#id2552634">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#id2614050">NT4-Style Domain Trusts with Windows 2000</a></dt><dd><dl><dt>interdomain, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a></dt><dt>machine, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a></dt></dl></dd><dt>trust account password, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a></dt><dt>trust accounts, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a></dt><dt>trust established, <a class="indexterm" href="InterdomainTrusts.html#id2613305">Interdomain Trust Facilities</a></dt><dt>trust relationship, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613220">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613305">Interdomain Trust Facilities</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613514">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2614050">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#id2612737">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613123">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>trusted, <a class="indexterm" href="NetworkBrowsing.html#id2578569">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#id2589725">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#id2612809">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613220">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613854">Samba as the Trusting Domain</a>, <a class="indexterm" href="winbind.html#id2647046">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#id2612809">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613220">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#id2612809">Trust Relationship Background</a></dt><dt>TTL, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt><dt>turn oplocks off, <a class="indexterm" href="locking.html#id2609782">Advanced Samba Oplocks Parameters</a></dt><dt>turnkey solution, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a></dt><dt>two-up, <a class="indexterm" href="CUPS-printing.html#id2632578">Examples for Filtering Chains</a></dt><dt>two-way</dt><dd><dl><dt>propagation, <a class="indexterm" href="samba-bdc.html#id2558887">Features and Benefits</a></dt></dl></dd><dt>two-way trust, <a class="indexterm" href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613087">Native MS Windows NT4 Trusts Configuration</a>, <a class="indexterm" href="InterdomainTrusts.html#id2613305">Interdomain Trust Facilities</a></dt></dl></div><div class="indexdiv"><h3>U</h3><dl><dt>UCS-2, <a class="indexterm" href="unicode.html#id2663202">Japanese Charsets</a></dt><dt>UDP, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574416">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#id2576213">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a></dt><dt>UDP port 137, <a class="indexterm" href="integrate-ms-networks.html#id2661070">Background Information</a></dt><dt>udp ports, <a class="indexterm" href="winbind.html#id2648634">Join the Samba Server to the PDC Domain</a></dt><dt>UDP unicast, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a></dt><dt>UID, <a class="indexterm" href="samba-bdc.html#id2561233">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#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2566541">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#id2581598">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#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2584184">Listing User and Machine Accounts</a>, <a class="indexterm" href="groupmapping.html#id2588916">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592831">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="NetCommand.html#id2593951">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598554">Primary Domain Controller</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646736">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2648871">Starting and Testing the winbindd Daemon</a></dt><dt>uid, <a class="indexterm" href="passdb.html#id2586626">OpenLDAP Configuration</a></dt><dt>UID numbers, <a class="indexterm" href="idmapper.html#id2597593">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#id2621002">Identifying Driver Files</a></dt><dt>unexpected.tdb, <a class="indexterm" href="CUPS-printing.html#id2638439">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>unicast, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a></dt><dt>unicode, <a class="indexterm" href="unicode.html#id2662901">What Are Charsets and Unicode?</a></dt><dt>Unicode, <a class="indexterm" href="unicode.html#id2663035">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>Unicode UTF-8, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>unified logon, <a class="indexterm" href="winbind.html#id2646448">Introduction</a></dt><dt>UNIX, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dd><dl><dt>server, <a class="indexterm" href="ServerType.html#id2551752">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#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563595">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>unix charset, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>UNIX Domain Socket, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a></dt><dt>UNIX domain socket, <a class="indexterm" href="winbind.html#id2646861">How Winbind Works</a></dt><dt>UNIX file system access controls, <a class="indexterm" href="AccessControls.html#id2603587">Features and Benefits</a></dt><dt>UNIX group, <a class="indexterm" href="NetCommand.html#id2592831">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#id2646537">What Winbind Provides</a></dt><dt>UNIX home directories, <a class="indexterm" href="securing-samba.html#id2612177">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#id2647433">User and Group ID Allocation</a></dt><dt>UNIX locking, <a class="indexterm" href="locking.html#id2608685">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#id2673583">Samba-3 Implementation Choices</a></dt><dt>UNIX printer, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>UNIX printing, <a class="indexterm" href="classicalprinting.html#id2615303">Technical Introduction</a></dt><dt>UNIX system account, <a class="indexterm" href="domain-member.html#id2566863">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#id2664377">Features and Benefits</a></dt><dt>UNIX user identifier (see UID)</dt><dt>UNIX users, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2646537">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#id2567320">Background</a></dt><dt>UNIX/Linux group, <a class="indexterm" href="groupmapping.html#id2589667">Warning: User Private Group Problems</a></dt><dt>UNIX/Linux user account, <a class="indexterm" href="NetCommand.html#id2593951">UNIX and Windows User Management</a></dt><dt>unlink calls, <a class="indexterm" href="VFS.html#id2644363">recycle</a></dt><dt>unlinked, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a></dt><dt>unmapped groups, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a></dt><dt>unmapped users, <a class="indexterm" href="ChangeNotes.html#id2571727">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#id2642397">Windows 200x/XP Local Security Policies</a></dt><dt>unstoppable services, <a class="indexterm" href="SambaHA.html#id2665159">The Ultimate Goal</a></dt><dt>unsupported encryption, <a class="indexterm" href="domain-member.html#id2566176">Possible Errors</a></dt><dt>unsupported software, <a class="indexterm" href="ch47.html#id2685695">Commercial Support</a></dt><dt>updates, <a class="indexterm" href="securing-samba.html#id2612089">Upgrading Samba</a></dt><dt>upload drivers, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a></dt><dt>uploaded driver, <a class="indexterm" href="classicalprinting.html#id2616973">The [global] Section</a></dt><dt>uploaded drivers, <a class="indexterm" href="classicalprinting.html#id2619662">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>uploading, <a class="indexterm" href="classicalprinting.html#id2619662">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>upper-case, <a class="indexterm" href="ServerType.html#id2552253">User Level Security</a></dt><dt>uppercase, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2566863">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#id2591572">Adding Groups Fails</a></dt><dt>USB, <a class="indexterm" href="CUPS-printing.html#id2632578">Examples for Filtering Chains</a></dt><dt>use computer anywhere, <a class="indexterm" href="unicode.html#id2662849">Features and Benefits</a></dt><dt>user, <a class="indexterm" href="ChangeNotes.html#id2571727">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a></dt><dt>user access management, <a class="indexterm" href="domain-member.html#id2562192">Features and Benefits</a></dt><dt>user account, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2584068">User Account Management</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="NetCommand.html#id2593951">UNIX and Windows User Management</a></dt><dd><dl><dt>Adding/Deleting, <a class="indexterm" href="passdb.html#id2582999">The smbpasswd Tool</a></dt></dl></dd><dt>user account database, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></dt><dt>user accounts, <a class="indexterm" href="passdb.html#id2582421">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="idmapper.html#id2597593">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#id2587508">Accounts and Groups Management</a></dt></dl></dd><dt>user and group, <a class="indexterm" href="winbind.html#id2646537">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#id2585665">smbpasswd: Encrypted Password Database</a></dt><dt>user authentication, <a class="indexterm" href="winbind.html#id2646911">Microsoft Remote Procedure Calls</a></dt><dt>user database, <a class="indexterm" href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2585589">Plaintext</a></dt><dt>user encoded, <a class="indexterm" href="NetCommand.html#id2595326">Managing Security Identifiers (SIDS)</a></dt><dt>user groups, <a class="indexterm" href="ch47.html#id2685477">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#id2582999">The smbpasswd Tool</a>, <a class="indexterm" href="NetCommand.html#id2592053">Overview</a>, <a class="indexterm" href="NetCommand.html#id2592429">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#id2587508">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#id2613854">Samba as the Trusting Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650639">Remote Server Administration</a>, <a class="indexterm" href="ProfileMgmt.html#id2656242">Creating and Managing Group Profiles</a></dt><dt>User Manager for Domains, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650639">Remote Server Administration</a></dt><dt>user or group, <a class="indexterm" href="rights.html#id2601763">Using the “net rpc rights” Utility</a></dt><dt>user profiles, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>User Rights and Privileges, <a class="indexterm" href="rights.html#id2602906">The Administrator Domain SID</a></dt><dt>user-level, <a class="indexterm" href="ServerType.html#id2552079">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2552253">User Level Security</a></dt><dt>User-level access control, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>user-level security, <a class="indexterm" href="passdb.html#id2581393">Advantages of Encrypted Passwords</a></dt><dt>user-mode security, <a class="indexterm" href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a></dt><dt>user.DAT, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2655652">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>user.MAN, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>User.MAN, <a class="indexterm" href="ProfileMgmt.html#id2656102">Mandatory Profiles</a></dt><dt>useradd, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2563595">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>username, <a class="indexterm" href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></dt><dt>username and password, <a class="indexterm" href="ClientConfig.html#id2570446">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>username map, <a class="indexterm" href="NetCommand.html#id2594279">User Mapping</a></dt><dt>userPassword, <a class="indexterm" href="passdb.html#id2586898">Initialize the LDAP Database</a></dt><dt>users, <a class="indexterm" href="PolicyMgmt.html#id2651782">Features and Benefits</a></dt><dt>UsrMgr.exe, <a class="indexterm" href="domain-member.html#id2563315">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>UTF-8, <a class="indexterm" href="unicode.html#id2663035">Samba and Charsets</a>, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>UTF-8 encoding, <a class="indexterm" href="SWAT.html#id2675005">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#id2611890">Using IPC$ Share-Based Denials </a></dt><dt>valid users, <a class="indexterm" href="diagnosis.html#id2676083">The Tests</a></dt><dt>validate, <a class="indexterm" href="install.html#id2545738">Test Your Config File with testparm</a>, <a class="indexterm" href="diagnosis.html#id2675751">Introduction</a></dt><dt>validate every backup, <a class="indexterm" href="NT4Migration.html#id2672695">Server Share and Directory Layout</a></dt><dt>validation, <a class="indexterm" href="samba-pdc.html#id2554980">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#id2627190">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>verifiable, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a></dt><dt>verify, <a class="indexterm" href="classicalprinting.html#id2616094">Rapid Configuration Validation</a></dt><dt>version control, <a class="indexterm" href="VFS.html#id2644810">shadow_copy</a></dt><dt>VFS, <a class="indexterm" href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a>, <a class="indexterm" href="VFS.html#id2643377">Discussion</a></dt><dt>VFS module, <a class="indexterm" href="VFS.html#id2644810">shadow_copy</a>, <a class="indexterm" href="ProfileMgmt.html#id2656102">Mandatory Profiles</a></dt><dt>VFS modules, <a class="indexterm" href="VFS.html#id2643377">Discussion</a>, <a class="indexterm" href="VFS.html#id2645716">VFS Modules Available Elsewhere</a></dt><dt>vgcreate, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>vgdisplay, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>vipw, <a class="indexterm" href="samba-pdc.html#id2558297">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2562879">Manual Creation of Machine Trust Accounts</a></dt><dt>Virtual File System (see VFS)</dt><dt>virtual server, <a class="indexterm" href="SambaHA.html#id2665407">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2666002">A Simple Solution</a></dt><dt>virus scanner, <a class="indexterm" href="VFS.html#id2643377">Discussion</a></dt><dt>Visual Studio, <a class="indexterm" href="CUPS-printing.html#id2634084">PostScript Drivers with No Major Problems, Even in Kernel7 Mode</a></dt><dt>vital task, <a class="indexterm" href="SambaHA.html#id26 65004">Features and Benefits</a></dt><dt>VNC/RFB, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>volume group, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>volunteers, <a class="indexterm" href="problems.html#id2678711">Getting Mailing List Help</a></dt><dt>vscan, <a class="indexterm" href="VFS.html#id2645801">vscan</a></dt><dt>vuid, <a class="indexterm" href="SambaHA.html#id2665502">Demultiplexing SMB Requests</a></dt></dl></div><div class="indexdiv"><h3>W</h3><dl><dt>W32X86, <a class="indexterm" href="classicalprinting.html#id2621002">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2634084">PostScript Drivers with No Major Problems, Even in Kernel8 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id26 35017">Caveats to Be Considered</a></dt><dt>W32X86/2, <a class="indexterm" href="CUPS-printing.html#id2628799">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#id2609549">Slow and/or Unreliable Networks</a></dt><dt>wbinfo, <a class="indexterm" href="winbind.html#id2648871">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#id2579606">Browsing of Shares and Directories is Very Slow</a></dt><dt>Welcome, <a class="indexterm" href="ClientConfig.html#id2570446">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>well known RID, <a class="indexterm" href="rights.html#id2602906">The Administrator Domain SID</a></dt><dt>well-controlled network, <a class="indexterm" href="NT4Migration.html#id2672695">Server Share and Directory Layout</a></dt><dt>well-known RID, <a class="indexterm" href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a></dt><dt>wide-area network bandwidth, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>win election, <a class="indexterm" href="NetworkBrowsing.html#id2575951">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#id2621002">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2621413">Obtaining Driver Files from Windows Client [print$] Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2635017">Caveats to Be Considered</a></dt><dt>winbind, <a class="indexterm" href="domain-member.html#id2564901">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2598860">Examples of IDMAP Backend Usage</a>, <a class="indexterm" href="idmapper.html#id2598947">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2648436">Configure smb.conf</a></dt><dt>Winbind, <a class="indexterm" href="StandAloneServer.html#id2567320">Background</a>, <a class="indexterm" href="winbind.html#id2646690">Target Uses</a>, <a class="indexterm" href="winbind.html#id2646998">Microsoft Active Directory Services</a>, <a class="indexterm" href="winbind.html#id2647278">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2647433">User and Group ID Allocation</a>, <a class="indexterm" href="winbind.html#id2647509">Result Caching</a>, <a class="indexterm" href="winbind.html#id2647572">Introduction</a>, <a class="indexterm" href="winbind.html#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2648323">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2648871">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2649793">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2650297">Conclusion</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt><dt>Winbind architecture, <a class="indexterm" href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></dt><dt>Winbind hooks, <a class="indexterm" href="winbind.html#id2646537">What Winbind Provides</a></dt><dt>Winbind services, <a class="indexterm" href="winbind.html#id2648871">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#id2650139">Solaris-Specific Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2545285">Starting Samba</a>, <a class="indexterm" href="install.html#id2545738">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2548705">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2561233">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2572218">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="groupmapping.html#id2588916">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2593951">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2646104">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2646861">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2647686">Requirements</a>, <a class="indexterm" href="winbind.html#id2647838">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2647925">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2648436">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2648871">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2649438">Solaris</a>, <a class="indexterm" href="winbind.html#id2649627">Configure Winbind and PAM</a>, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></dt><dt>winbindd daemon, <a class="indexterm" href="winbind.html#id2649232">Linux</a></dt><dt>Windows, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="unicode.html#id2663342">Basic Parameter Setting</a></dt><dt>Windows 2000, <a class="indexterm" href="domain-member.html#id2565374">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#id2612809">Trust Relationship Background</a></dt><dt>Windows 2000 Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a></dt><dt>Windows 2000 server, <a class="indexterm" href="InterdomainTrusts.html#id2614050">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>Windows 2003, <a class="indexterm" href="domain-member.html#id2565374">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2567099">I Can't Join a Windows 2003 PDC</a></dt><dt>Windows 200x/XP, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a>, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a></dt><dt>Windows 9x/Me, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650639">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#id2646537">What Winbind Provides</a></dt><dt>Windows client, <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows client failover, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>Windows domain, <a class="indexterm" href="upgrading-to-3.0.html#id2671032">Changes in Behavior</a></dt><dt>Windows Explorer, <a class="indexterm" href="NetworkBrowsing.html#id2578147">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2621002">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#id2589667">Warning: User Private Group Problems</a>, <a class="indexterm" href="NetCommand.html#id2592831">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#id2602906">The Administrator Domain SID</a></dt><dt>Windows groups, <a class="indexterm" href="NetCommand.html#id2592831">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#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>Windows Me TCP/IP, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a></dt><dt>Windows Millennium, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a></dt><dt>Windows Millennium edition (Me) TCP/IP, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a></dt><dt>Windows network clients, <a class="indexterm" href="NetworkBrowsing.html#id2572601">Features and Benefits</a></dt><dt>Windows NT domain name, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows NT PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2641520">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#id2622179">Check Samba for Driver Recognition</a></dt><dt>Windows NT/200x, <a class="indexterm" href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a>, <a class="indexterm" href="winbind.html#id2647572">Introduction</a></dt><dt>Windows NT/200x/XP, <a class="indexterm" href="classicalprinting.html#id2616973">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#id2570446">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2571418">Common Errors</a></dt><dt>Windows NT3.10, <a class="indexterm" href="samba-bdc.html#id2559293">Essential Background Information</a></dt><dt>Windows NT4, <a class="indexterm" href="AccessControls.html#id2606153">Windows NT4 Workstation/Server</a>, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a></dt><dt>Windows NT4 domains, <a class="indexterm" href="InterdomainTrusts.html#id2613305">Interdomain Trust Facilities</a></dt><dt>Windows NT4 Server, <a class="indexterm" href="InterdomainTrusts.html#id2613514">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Windows NT4/200X, <a class="indexterm" href="passdb.html#id2582558">LDAP Directories and Windows Computer Accounts</a></dt><dt>Windows NT4/200x, <a class="indexterm" href="groupmapping.html#id2589331">Discussion</a></dt><dt>Windows NT4/200x/XP, <a class="indexterm" href="samba-bdc.html#id2560607">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="AccessControls.html#id2606258">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#id2639190">690 “Perfect” Printers</a></dt><dt>Windows privilege model, <a class="indexterm" href="rights.html#id2601488">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#id2654280">Windows 9x/Me Profile Setup</a></dt><dd><dl><dt>default profile locations, <a class="indexterm" href="ProfileMgmt.html#id2656502">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2657065">MS Windows 200x/XP</a></dt><dt>profile path, <a class="indexterm" href="ProfileMgmt.html#id2654280">Windows 9x/Me Profile Setup</a></dt><dt>roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2654053">Disabling Roaming Profile Support</a></dt></dl></dd><dt>Windows Resource Kit, <a class="indexterm" href="ProfileMgmt.html#id2654053">Disabling Roaming Profile Support</a></dt><dt>Windows Security Identifiers (see SID)</dt><dt>Windows Terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></dt><dt>Windows Terminal Server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2651186">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#id2593951">UNIX and Windows User Management</a></dt><dt>Windows workstation., <a class="indexterm" href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows XP Home, <a class="indexterm" href="passdb.html#id2581078">Important Notes About Security</a></dt><dt>Windows XP Home edition, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2557585">The Special Case of MS Windows XP Home Edition</a>, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows XP Home Edition, <a class="indexterm" href="ProfileMgmt.html#id2657065">MS Windows 200x/XP</a></dt><dt>Windows XP Professional, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="classicalprinting.html#id2615079">Features and Benefits</a></dt><dt>Windows XP Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a></dt><dt>Windows XP TCP/IP, <a class="indexterm" href="ClientConfig.html#id2568751">MS Windows XP Professional</a></dt><dt>Windows95/98/ME, <a class="indexterm" href="classicalprinting.html#id2622179">Check Samba for Driver Recognition</a></dt><dt>winnt.adm, <a class="indexterm" href="PolicyMgmt.html#id2652214">Windows NT4-Style Policy Files</a></dt><dt>WINS, <a class="indexterm" href="samba-pdc.html#id2554346">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2555600">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2560460">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2564166">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#id2568751">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2569394">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572601">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2572785">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2573222">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575350">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575951">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577863">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577950">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2578569">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2662420">WINS Lookup</a>, <a class="indexterm" href="DNSDHCP.html#id2686026">Example Configuration</a></dt><dt>wins, <a class="indexterm" href="integrate-ms-networks.html#id2661548">/etc/nsswitch.conf</a></dt><dt>WINS Configuration, <a class="indexterm" href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS lookup, <a class="indexterm" href="domain-member.html#id2564166">Joining an NT4-type Domain with Samba-3</a></dt><dt>WINS replication, <a class="indexterm" href="NetworkBrowsing.html#id2577224">WINS Replication</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt><dt>WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2572785">What Is Browsing?</a></dt><dt>WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575951">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2577950">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS server address, <a class="indexterm" href="NetworkBrowsing.html#id2574416">How Browsing Functions</a></dt><dt>WINS server settings, <a class="indexterm" href="ClientConfig.html#id2569941">MS Windows Me</a></dt><dt>WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a></dt><dt>WINS service, <a class="indexterm" href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a></dt><dt>WINS Support, <a class="indexterm" href="NetworkBrowsing.html#id2572785">What Is Browsing?</a></dt><dt>wins.dat, <a class="indexterm" href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></dt><dt>without Administrator account, <a class="indexterm" href="rights.html#id2602906">The Administrator Domain SID</a></dt><dt>without ADS, <a class="indexterm" href="NT4Migration.html#id2672084">Objectives</a></dt><dt>work-flow protocol, <a class="indexterm" href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></dt><dt>workgroup, <a class="indexterm" href="ServerType.html#id2553326">Server Security (User Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2556104">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2557624">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2575951">Making Samba the Domain Master</a>, <a class="indexterm" href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2666899">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>membership, <a class="indexterm" href="samba-pdc.html#id2556104">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#id2604255">File and Directory Access Control</a></dt><dt>write, <a class="indexterm" href="AccessControls.html#id2604255">File and Directory Access Control</a></dt><dt>write access, <a class="indexterm" href="AccessControls.html#id2604667">Protecting Directories and Files from Deletion</a></dt><dt>Write caching, <a class="indexterm" href="locking.html#id2608943">Opportunistic Locking Overview</a></dt><dt>write changes, <a class="indexterm" href="idmapper.html#id2598788">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#id2628025">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#id26 28025">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628203">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#id2644997">Shadow Copy Setup</a></dt><dt>xfsprogs, <a class="indexterm" href="VFS.html#id2644997">Shadow Copy Setup</a></dt><dt>xinetd, <a class="indexterm" href="SWAT.html#id2674216">Validate SWAT Installation</a>, <a class="indexterm" href="compiling.html#id2681497">Starting from inetd.conf</a> (see inetd)</dt><dt>XML, <a class="indexterm" href="ChangeNotes.html#id2572158">Passdb Changes</a></dt><dt>XML-based datasets, <a class="indexterm" href="CUPS-printing.html#id2639821">Foomatic Database-Generated PPDs</a></dt><dt>xpp, <a class="indexterm" href="CUPS-printing.html#id2639821">Foomatic Database-Generated PPDs</a></dt><dt>Xprint, <a class="indexterm" href="CUPS-printing.html#id2628025">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2628203">UNIX Printfile Conversion and GUI Basics</a></dt><dt>xxxxBSD, <a class="indexterm" href="pam.html#id2658152">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>Y</h3><dl><dt>yppasswd, <a class="indexterm" href="passdb.html#id2582999">The smbpasswd Tool</a></dt></dl></div><div class="indexdiv"><h3>Z</h3><dl><dt>Zero Administration Kit, <a class="indexterm" href="PolicyMgmt.html#id2652214">Windows NT4-Style Policy Files</a></dt><dt>zero-based broadcast, <a class="indexterm" href="NetworkBrowsing.html#id2576191">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.74.0"><link rel="home" 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="id2695449"></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#id2641987">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2643264">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2644307">Manual Driver Installation in 15 Steps</a></dt><dt>$, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a></dt><dt>%i macro, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>%L, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>%PDF, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>%SystemRoot%\System32\config, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></dt><dt>../source/nsswitch, <a class="indexterm" href="winbind.html#id2656602">Configure Winbind and PAM</a></dt><dt>.ai, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>.AppleDouble, <a class="indexterm" href="VFS.html#id2651733">netatalk</a></dt><dt>.eps, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>.pdf, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>.PDS extension, <a class="indexterm" href="ProfileMgmt.html#id2661954">Windows NT4 Workstation</a></dt><dt>.profiles, <a class="indexterm" href="ProfileMgmt.html#id2660796">Windows 9x/Me User Profiles</a></dt><dt>.ps, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>.recycle, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>/bin/false, <a class="indexterm" href="ServerType.html#id2559864">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#id2651971">Shadow Copy Setup</a></dt><dt>/etc/cups/, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>/etc/cups/mime.convs, <a class="indexterm" href="CUPS-printing.html#id2634156">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#id2636590">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2638648">application/octet-stream Printing</a></dt><dt>/etc/cups/mime.types, <a class="indexterm" href="CUPS-printing.html#id2634156">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#id2638648">application/octet-stream Printing</a></dt><dt>/etc/fstab, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>/etc/group, <a class="indexterm" href="ServerType.html#id2559457">Share-Level Security</a>, <a class="indexterm" href="groupmapping.html#id2596254">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2598186">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a>, <a class="indexterm" href="Portability.html#id2689096">HPUX</a></dt><dt>/etc/groups, <a class="indexterm" href="pam.html#id2665894">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/host.conf, <a class="indexterm" href="integrate-ms-networks.html#id2668184">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668482">/etc/host.conf</a></dt><dt>/etc/hosts, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668184">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668257">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>/etc/hosts>, <a class="indexterm" href="integrate-ms-networks.html#id2668257">/etc/hosts</a></dt><dt>/etc/inetd.conf, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="compiling.html#id2688492">Starting from inetd.conf</a></dt><dt>/etc/init.d/samba, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="winbind.html#id2656208">Linux</a></dt><dt>/etc/init.d/samba.server, <a class="indexterm" href="winbind.html#id2656413">Solaris</a></dt><dt>/etc/init.d/smb, <a class="indexterm" href="winbind.html#id2656208">Linux</a></dt><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573089">Possible Errors</a>, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2607167">IDMAP Storage in LDAP Using Winbind</a></dt><dt>/etc/ldap.conf, <a class="indexterm" href="idmapper.html#id2607167">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2607752">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>/etc/logingroup, <a class="indexterm" href="Portability.html#id2689096">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#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605879">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2607752">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="winbind.html#id2654021">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668184">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668533">/etc/nsswitch.conf</a></dt><dt>/etc/openldap/slapd.conf, <a class="indexterm" href="FastStart.html#id2557719">The Primary Domain Controller</a></dt><dt>/etc/openldap/sldap.conf, <a class="indexterm" href="passdb.html#id2594430">Accounts and Groups Management</a></dt><dt>/etc/pam.conf, <a class="indexterm" href="winbind.html#id2657115">Solaris-Specific Configuration</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2665761">Technical Discussion</a>, <a class="indexterm" href="pam.html#id2665894">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/pam.d, <a class="indexterm" href="winbind.html#id2654662">Requirements</a>, <a class="indexterm" href="winbind.html#id2654814">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2656602">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>/etc/pam.d/, <a class="indexterm" href="winbind.html#id2654253">Pluggable Authentication Modules</a>, <a class="indexterm" href="pam.html#id2665761">Technical Discussion</a></dt><dt>/etc/pam.d/ftp, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/login, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/samba, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/passwd, <a class="indexterm" href="ServerType.html#id2559457">Share-Level Security</a>, <a class="indexterm" href="ServerType.html#id2559864">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2565206">$ 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#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570625">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2573776">Adding Machine to Domain Fails</a>, <a class="indexterm" href="StandAloneServer.html#id2574233">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#id2587243">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2592510">Plaintext</a>, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="groupmapping.html#id2597350">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="idmapper.html#id2604524">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#id2653079">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2655847">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>/etc/printcap, <a class="indexterm" href="CUPS-printing.html#id2633103">Basic CUPS Support Configuration</a></dt><dt>/etc/resolv.conf, <a class="indexterm" href="integrate-ms-networks.html#id2668184">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="diagnosis.html#id2682784">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>/etc/samba, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2675301">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>/etc/samba/scripts, <a class="indexterm" href="NetCommand.html#id2600583">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>/etc/samba/secrets.tdb, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>/etc/samba/smb.conf, <a class="indexterm" href="install.html#id2551976">Configuring Samba (smb.conf)</a></dt><dt>/etc/samba/smbpasswd, <a class="indexterm" href="passdb.html#id2592510">Plaintext</a></dt><dt>/etc/samba/smbusers, <a class="indexterm" href="NetCommand.html#id2601203">User Mapping</a></dt><dt>/etc/shadow, <a class="indexterm" href="StandAloneServer.html#id2574233">Background</a>, <a class="indexterm" href="passdb.html#id2587243">Backward Compatibility Account Storage Systems</a></dt><dt>/etc/smbpasswd, <a class="indexterm" href="passdb.html#id2592510">Plaintext</a></dt><dt>/etc/ssl/certs/slapd.pem, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a></dt><dt>/etc/xinetd.d, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/xinetd.d/telnet, <a class="indexterm" href="winbind.html#id2656769">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#id2654021">Name Service Switch</a></dt><dt>/lib/libnss_files.so, <a class="indexterm" href="winbind.html#id2654021">Name Service Switch</a></dt><dt>/lib/security, <a class="indexterm" href="winbind.html#id2656602">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2665815">PAM Configuration Syntax</a></dt><dt>/lib/security/, <a class="indexterm" href="winbind.html#id2654253">Pluggable Authentication Modules</a></dt><dt>/opt/samba/bin, <a class="indexterm" href="SWAT.html#id2681279">Locating the SWAT File</a></dt><dt>/tmp, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a></dt><dt>/usr/bin/openssl, <a class="indexterm" href="SWAT.html#id2681846">Securing SWAT through SSL</a></dt><dt>/usr/lib/samba/vfs, <a class="indexterm" href="VFS.html#id2650350">Discussion</a></dt><dt>/usr/lib/security, <a class="indexterm" href="winbind.html#id2655298">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2656602">Configure Winbind and PAM</a></dt><dt>/usr/lib/security/methods.cfg, <a class="indexterm" href="winbind.html#id2655298">NSS Winbind on AIX</a></dt><dt>/usr/local/lib, <a class="indexterm" href="winbind.html#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>/usr/local/samba, <a class="indexterm" href="winbind.html#id2655847">Starting and Testing the winbindd Daemon</a></dt><dt>/usr/local/samba/bin, <a class="indexterm" href="winbind.html#id2656208">Linux</a>, <a class="indexterm" href="winbind.html#id2656413">Solaris</a>, <a class="indexterm" href="SWAT.html#id2681279">Locating the SWAT File</a></dt><dt>/usr/local/samba/lib, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>/usr/local/samba/lib/vfs, <a class="indexterm" href="VFS.html#id2650350">Discussion</a></dt><dt>/usr/local/samba/private/secrets.tdb, <a class="indexterm" href="domain-member.html#id2571079">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#id2612937">Access Controls on Shares</a>, <a class="indexterm" href="diagnosis.html#id2682784">Assumptions</a></dt><dt>/usr/local/samba/var/locks, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt><dt>/usr/sbin, <a class="indexterm" href="SWAT.html#id2681279">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#id2691189">Corrupt tdb Files</a></dt><dt>/var/log/samba, <a class="indexterm" href="diagnosis.html#id2682784">Assumptions</a></dt><dt>/var/run/samba, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt><dt>/var/spool/cups/, <a class="indexterm" href="CUPS-printing.html#id2648144">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#id2648144">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>250-user limit, <a class="indexterm" href="passdb.html#id2592852">tdbsam</a></dt><dt>3.0.11, <a class="indexterm" href="rights.html#id2609839">The Administrator Domain SID</a></dt><dt>4,500 user accounts, <a class="indexterm" href="passdb.html#id2592852">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#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>>Domain User Manager, <a class="indexterm" href="InterdomainTrusts.html#id2620080">Creating an NT4 Domain Trust</a></dt><dt>\\%L\%U\.profiles, <a class="indexterm" href="ProfileMgmt.html#id2660796">Windows 9x/Me User Profiles</a></dt><dt>\\SERVER, <a class="indexterm" href="NetworkBrowsing.html#id2585064">Problem Resolution</a></dt><dt>_kerberos.REALM.NAME, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></dt><dt>_kerberos._udp, <a class="indexterm" href="domain-member.html#id2573382">Notes</a></dt><dt>_ldap._tcp, <a class="indexterm" href="domain-member.html#id2573382">Notes</a></dt><dt>_ldap._tcp.pdc._msdcs.quenya.org, <a class="indexterm" href="samba-bdc.html#id2567584">NetBIOS Over TCP/IP Disabled</a></dt></dl></div><div class="indexdiv"><h3></h3><dl><dt>, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="install.html#id2553100">Example Configuration</a>, <a class="indexterm" href="FastStart.html#anon-ro">Anonymous Read-Only Document Server</a>, <a class="indexterm" href="FastStart.html#id2554657">Anonymous Read-Write Document Server</a>, <a class="indexterm" href="FastStart.html#id2554869">Anonymous Print Server</a>, <a class="indexterm" href="FastStart.html#id2555234">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556052">Example Configuration</a>, <a class="indexterm" href="FastStart.html#id2556901">Example: Engineering Office</a>, <a class="indexterm" href="FastStart.html#id2557719">The Primary Domain Controller</a>, <a class="indexterm" href="FastStart.html#id2558335">Backup Domain Controller</a>, <a class="indexterm" href="ServerType.html#id2559419">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2559616">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2559864">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2560216">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2560464">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2560562">Password Checking</a>, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564384">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2566696">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570508">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570871">Samba Client</a>, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2572097">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573454">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#id2582267">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583129">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583315">Use of the Remote Announce Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583455">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584578">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#id2594006">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2598186">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="NetCommand.html#id2600583">Managing Nest Groups on Workstations from the Samba Server</a>, <a class="indexterm" href="idmapper.html#id2605879">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2607167">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2607752">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="rights.html#id2608696">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#id2614073">Interaction with the Standard Samba create mask Parameters</a>, <a class="indexterm" href="AccessControls.html#id2614939">Users Cannot Write to a Public Share</a>, <a class="indexterm" href="AccessControls.html#id2615308">MS Word with Samba Changes Owner of File</a>, <a class="indexterm" href="locking.html#id2616990">Disabling Oplocks</a>, <a class="indexterm" href="locking.html#id2617085">Disabling Kernel Oplocks</a>, <a class="indexterm" href="securing-samba.html#id2618120">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2618283">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2618437">User-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2618496">Using Interface Protection</a>, <a class="indexterm" href="securing-samba.html#id2618847">Using IPC$ Share-Based Denials </a>, <a class="indexterm" href="securing-samba.html#id2619134">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#id2621402">Features and Benefits</a>, <a class="indexterm" href="msdfs.html#id2621847">MSDFS UNIX Path Is Case-Critical</a>, <a class="indexterm" href="classicalprinting.html#id2622580">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2623061">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2623461">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2625962">Custom Print Commands</a>, <a class="indexterm" href="classicalprinting.html#id2626923">Creating the [print$] Share</a>, <a class="indexterm" href="classicalprinting.html#id2627972">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2633467">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2633711">More Complex CUPS smb.conf Settings</a>, <a class="indexterm" href="CUPS-printing.html#id2640466">From Windows Clients to a CUPS/Samba Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2641260">Prepare Your smb.conf for cupsaddsmb</a>, <a class="indexterm" href="VFS.html#id2650350">Discussion</a>, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2655412">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2656208">Linux</a>, <a class="indexterm" href="winbind.html#id2657115">Solaris-Specific Configuration</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="ProfileMgmt.html#id2660656">NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2660796">Windows 9x/Me User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2660954">Mixed Windows Windows 9x/Me and NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2664791">Changing the Default Profile</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669092">The NetBIOS Name Cache</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669412">WINS Lookup</a>, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a>, <a class="indexterm" href="unicode.html#id2670985">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#id2674287">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2675301">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678872">IdMap LDAP Support</a>, <a class="indexterm" href="diagnosis.html#id2682784">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a>, <a class="indexterm" href="bugreport.html#id2686336">Debugging-Specific Operations</a>, <a class="indexterm" href="Other-Clients.html#id2690378">Windows 2000 Service Pack 2</a> (see SSO)</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a></dt><dt>logon</dt><dd><dl><dt>service, <a class="indexterm" href="samba-bdc.html#id2566203">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#id2575588">TCP/IP Configuration</a></dt><dt>aborting shutdown, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>accept connections, <a class="indexterm" href="securing-samba.html#id2618496">Using Interface Protection</a></dt><dt>access, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a></dt><dt>Access, <a class="indexterm" href="rights.html#id2608696">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#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="StandAloneServer.html#id2574233">Background</a>, <a class="indexterm" href="AccessControls.html#id2612937">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#id2577886">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#id2679686">Server Share and Directory Layout</a></dt><dt>access controls, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="AccessControls.html#id2610520">Features and Benefits</a>, <a class="indexterm" href="AccessControls.html#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>Access Controls, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>access denied, <a class="indexterm" href="securing-samba.html#id2618847">Using IPC$ Share-Based Denials </a></dt><dt>access policies, <a class="indexterm" href="passdb.html#id2592170">Domain Account Policy Managment</a></dt><dt>access rights, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></dt><dt>account, <a class="indexterm" href="install.html#id2553100">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2570625">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="pam.html#id2665894">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a></dt><dt>database, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>backends, <a class="indexterm" href="ServerType.html#id2558828">Features and Benefits</a></dt></dl></dd></dl></dd><dt>account access controls, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a></dt><dt>account attributes, <a class="indexterm" href="idmapper.html#id2605485">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#id2593820">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#id2659861">Managing Account/User Policies</a></dt><dt>account database, <a class="indexterm" href="passdb.html#id2592457">Password Backends</a></dt><dt>account deleted, <a class="indexterm" href="passdb.html#id2591425">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#id2591103">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#id2592332">Account Import/Export</a></dt><dt>account information, <a class="indexterm" href="samba-bdc.html#id2566273">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#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="NetCommand.html#id2600875">UNIX and Windows User Management</a></dt><dt>account information database, <a class="indexterm" href="passdb.html#id2588514">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>account management, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a></dt><dt>account name, <a class="indexterm" href="idmapper.html#id2604524">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#id2563011">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#id2659861">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#id2678119">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#id2596648">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#id2654547">Introduction</a></dt><dt>ACL, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2594543">Security and sambaSamAccount</a>, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a>, <a class="indexterm" href="securing-samba.html#id2618120">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#id2626801">The Obsoleted [printer$] Section</a></dt><dd><dl><dt>File System, <a class="indexterm" href="AccessControls.html#id2611189">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#id2610520">Features and Benefits</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2610520">Features and Benefits</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2610520">Features and Benefits</a></dt></dl></dd><dt>ACLs on share, <a class="indexterm" href="AccessControls.html#id2613202">Windows 200x/XP</a></dt><dt>ACLs on shares, <a class="indexterm" href="AccessControls.html#id2610520">Features and Benefits</a></dt><dt>across network segments, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>active directory, <a class="indexterm" href="ServerType.html#id2558828">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2564264">Samba ADS Domain Control</a></dt><dt>Active Directory, <a class="indexterm" href="samba-bdc.html#id2567313">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#id2599354">UNIX and Windows Group Management</a>, <a class="indexterm" href="idmapper.html#id2604462">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606577">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#id2679075">Objectives</a></dt><dt>AD4UNIX, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>ADAM, <a class="indexterm" href="idmapper.html#id2607167">IDMAP Storage in LDAP Using Winbind</a></dt><dt>add a user account, <a class="indexterm" href="passdb.html#id2591338">Adding User Accounts</a></dt><dt>add client machines, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>add domain users and groups to a local group, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>add drivers, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>add machine script, <a class="indexterm" href="domain-member.html#id2570508">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678023">Changes in Behavior</a></dt><dt>Add Printer Wizard, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2623941">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#id2634678">Driver Upload Methods</a></dt><dt>add user script, <a class="indexterm" href="passdb.html#id2590986">User Account Management</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678023">Changes in Behavior</a></dt><dt>add/delete/change share, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>adddriver, <a class="indexterm" href="classicalprinting.html#id2628524">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2628880">Running rpcclient with adddriver</a>, <a class="indexterm" href="classicalprinting.html#id2629373">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2643673">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2645265">Troubleshooting Revisited</a></dt><dt>additional driver, <a class="indexterm" href="classicalprinting.html#id2630216">Additional Client Driver Installation</a></dt><dt>additional privileges, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>addmem, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>AddPrinterDriver(), <a class="indexterm" href="CUPS-printing.html#id2643673">A Check of the rpcclient man Page</a></dt><dt>admincfg.exe, <a class="indexterm" href="Other-Clients.html#id2690141">Configuring Windows for Workgroups Password Handling</a></dt><dt>administrative actions, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>administrative duties, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a></dt><dt>administrative privileges, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a></dt><dt>administrative responsibilities, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></dt><dt>administrative rights, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>administrative rights and privileges, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Administrative Templates, <a class="indexterm" href="PolicyMgmt.html#id2659412">MS Windows 200x/XP Professional Policies</a></dt><dt>Administrator, <a class="indexterm" href="groupmapping.html#id2596254">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2597232">Important Administrative Information</a>, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a></dt><dt>administrator account, <a class="indexterm" href="domain-member.html#id2570625">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2570788">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#id2573382">Notes</a></dt><dt>Administrator%password, <a class="indexterm" href="domain-member.html#id2571079">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#id2641052">PostScript Drivers with No Major Problems, Even in Kernel 2 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2646476">The Grand Unification Achieved</a></dt><dt>Adobe driver, <a class="indexterm" href="CUPS-printing.html#id2642286">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>Adobe driver files, <a class="indexterm" href="CUPS-printing.html#id2641780">Recognizing Different Driver Files</a></dt><dt>Adobe PostScript, <a class="indexterm" href="CUPS-printing.html#id2641987">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2647521">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>Adobe PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2643264">Installing the PostScript Driver on a Client</a></dt><dt>Adobe PPD, <a class="indexterm" href="CUPS-printing.html#id2645915">CUPS Print Drivers from Linuxprinting.org</a></dt><dt>Adobe specifications, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a></dt><dt>ADS, <a class="indexterm" href="ServerType.html#id2560144">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2569104">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#id2571079">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2572097">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2572288">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#id2580775">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2594430">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2599273">Administrative Tasks and Methods</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2607167">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#id2619694">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621016">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#id2653079">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2654484">Result Caching</a>, <a class="indexterm" href="PolicyMgmt.html#id2658759">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2659412">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659861">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660288">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2664042">MS Windows 200x/XP</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668056">Background Information</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678119">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a>, <a class="indexterm" href="DNSDHCP.html#id2692846">Features and Benefits</a> (see Active Directory)</dt><dt>ADS DC, <a class="indexterm" href="domain-member.html#id2572097">Configure smb.conf</a></dt><dt>ADS domain, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606166">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#id2605485">Primary Domain Controller</a></dt><dt>Advanced TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a></dt><dt>advantages, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>affect users, <a class="indexterm" href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a></dt><dt>affordable power, <a class="indexterm" href="SambaHA.html#id2672149">The Ultimate Goal</a></dt><dt>AFPL, <a class="indexterm" href="CUPS-printing.html#id2635529">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dt>AFPL Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2637311">pstoraster</a></dt><dt>AFS, <a class="indexterm" href="SambaHA.html#id2672598">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#id2623941">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2655298">NSS Winbind on AIX</a></dt><dt>algorithmic mapping, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a></dt><dt>alias group, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>allow access, <a class="indexterm" href="securing-samba.html#id2618283">Using Host-Based Protection</a></dt><dt>allow trusted domains, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a></dt><dt>already exists, <a class="indexterm" href="domain-member.html#id2573700">Cannot Add Machine Back to Domain</a></dt><dt>alternative solution, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>Amanda, <a class="indexterm" href="Backup.html#id2671850">Amanda</a></dt><dt>analyzes data, <a class="indexterm" href="problems.html#id2684841">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#id2554869">Anonymous Print Server</a></dt><dt>read-write server, <a class="indexterm" href="FastStart.html#id2554657">Anonymous Read-Write Document Server</a></dt></dl></dd><dt>anonymous access, <a class="indexterm" href="NetworkBrowsing.html#id2585064">Problem Resolution</a></dt><dt>anonymous file server, <a class="indexterm" href="cfgsmarts.html#id2674287">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#id2689096">HPUX</a></dt><dt>anticipate failure, <a class="indexterm" href="SambaHA.html#id2671994">Features and Benefits</a></dt><dt>API, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a></dt><dt>Appliances, <a class="indexterm" href="winbind.html#id2653665">Target Uses</a></dt><dt>application servers, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a></dt><dt>application/cups.vnd-postscript, <a class="indexterm" href="CUPS-printing.html#id2642286">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#id2636590">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2638648">application/octet-stream Printing</a></dt><dt>application/pdf, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2636590">MIME Type Conversion Rules</a></dt><dt>application/postscript, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2636590">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2636955">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2637143">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2642286">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>application/vnd.cups-postscript, <a class="indexterm" href="CUPS-printing.html#id2636955">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2637143">pstops</a></dt><dt>application/vnd.cups-raster, <a class="indexterm" href="CUPS-printing.html#id2638927">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#id2636590">MIME Type Conversion Rules</a></dt><dt>apt-get, <a class="indexterm" href="VFS.html#id2651971">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#id2589063">Comments Regarding LDAP</a></dt><dt>ARP/RARP, <a class="indexterm" href="integrate-ms-networks.html#id2668257">/etc/hosts</a></dt><dt>ASCII, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a>, <a class="indexterm" href="unicode.html#id2669892">What Are Charsets and Unicode?</a>, <a class="indexterm" href="unicode.html#id2670197">Japanese Charsets</a></dt><dt>ASCII text, <a class="indexterm" href="CUPS-printing.html#id2636955">Prefilters</a></dt><dt>assign rights, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>assigned RID, <a class="indexterm" href="groupmapping.html#id2596254">Discussion</a></dt><dt>assistance, <a class="indexterm" href="ch47.html#id2692475">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#id2684893">Debugging with Samba Itself</a></dt><dt>attribute, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a></dt><dt>attributes, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>audit file access, <a class="indexterm" href="VFS.html#id2650751">audit</a></dt><dt>audit module, <a class="indexterm" href="VFS.html#id2651009">extd_audit</a></dt><dt>auth, <a class="indexterm" href="pam.html#id2665894">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#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticate users, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticated, <a class="indexterm" href="domain-member.html#id2572097">Configure smb.conf</a></dt><dt>authenticating server, <a class="indexterm" href="ProfileMgmt.html#id2663480">MS Windows NT4 Workstation</a></dt><dt>authentication, <a class="indexterm" href="ServerType.html#id2558828">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2592332">Account Import/Export</a>, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="winbind.html#id2656602">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2665130">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#id2561886">Single Sign-On and Domain Security</a></dt><dt>authentication architecture, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>authentication backend, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>authentication control, <a class="indexterm" href="winbind.html#id2654547">Introduction</a></dt><dt>authentication database, <a class="indexterm" href="InterdomainTrusts.html#id2619694">Features and Benefits</a></dt><dt>authentication management, <a class="indexterm" href="winbind.html#id2654253">Pluggable Authentication Modules</a></dt><dt>authentication mechanisms, <a class="indexterm" href="winbind.html#id2654547">Introduction</a></dt><dt>authentication methods, <a class="indexterm" href="winbind.html#id2654253">Pluggable Authentication Modules</a></dt><dt>authentication module API, <a class="indexterm" href="winbind.html#id2655298">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#id2571815">Why Is This Better Than security = server?</a></dt><dt>authentication server, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></dt><dt>authentication service, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>authentication system, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>authenticatior, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a></dt><dt>authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>authoritive, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a></dt><dt>authorization, <a class="indexterm" href="winbind.html#id2654253">Pluggable Authentication Modules</a></dt><dt>auto-reconnect, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>autogen.sh, <a class="indexterm" href="compiling.html#id2687984">Building the Binaries</a></dt><dt>autogenerated printcap, <a class="indexterm" href="classicalprinting.html#id2625418">Default UNIX System Printing Commands</a></dt><dt>automatic account creation, <a class="indexterm" href="domain-member.html#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>automatic mapping, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>automatic reconnects, <a class="indexterm" href="passdb.html#id2588310">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#id2600583">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>autotyping, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>AUXILIARY, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>auxiliary members, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>availability, <a class="indexterm" href="SambaHA.html#id2671994">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679075">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#id2631835">Samba and Printer Ports</a></dt><dt>available printerd, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>available rights, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>average print run, <a class="indexterm" href="CUPS-printing.html#id2634800">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#id2580138">NetBIOS over TCP/IP</a></dt><dt>back up, <a class="indexterm" href="winbind.html#id2654662">Requirements</a></dt><dt>backed up, <a class="indexterm" href="NT4Migration.html#id2679686">Server Share and Directory Layout</a></dt><dt>backend, <a class="indexterm" href="SambaHA.html#id2672598">The Distributed File System Challenge</a></dt><dt>backend authentication, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>backend database, <a class="indexterm" href="samba-pdc.html#id2562506">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#id2573776">Adding Machine to Domain Fails</a></dt><dt>backend failures, <a class="indexterm" href="SambaHA.html#id2673073">High-Availability Server Products</a></dt><dt>backend file system pool, <a class="indexterm" href="SambaHA.html#id2672725">Restrictive Constraints on Distributed File Systems</a></dt><dt>backends, <a class="indexterm" href="ChangeNotes.html#id2579071">Passdb Changes</a>, <a class="indexterm" href="CUPS-printing.html#id2648491">Printing from CUPS to Windows-Attached Printers</a></dt><dt>backup, <a class="indexterm" href="Backup.html#id2671368">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679686">Server Share and Directory Layout</a>, <a class="indexterm" href="tdb.html#id2686880">Features and Benefits</a></dt><dt>backup domain controller, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>backup solution, <a class="indexterm" href="Backup.html#id2671412">Discussion of Backup Solutions</a></dt><dt>BackupPC, <a class="indexterm" href="Backup.html#id2671510">BackupPC</a></dt><dt>bad hardware, <a class="indexterm" href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad logon attempts, <a class="indexterm" href="passdb.html#id2591510">Changing User Accounts</a></dt><dt>Bad networking hardware, <a class="indexterm" href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad password, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>banner pages, <a class="indexterm" href="CUPS-printing.html#id2642286">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2642504">Run cupsaddsmb (Quiet Mode)</a></dt><dt>barriers, <a class="indexterm" href="securing-samba.html#id2618022">Introduction</a></dt><dt>Batch Oplock, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>BDC, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2559864">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2567313">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568700">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2588310">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#id2592852">tdbsam</a>, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2605720">Backup Domain Controller</a>, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2680020">Steps in Migration Process</a></dt><dt>BDCs, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>behavior approximately same, <a class="indexterm" href="upgrading-to-3.0.html#id2676274">Quick Migration Guide</a></dt><dt>between domains, <a class="indexterm" href="InterdomainTrusts.html#id2620471">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#id2587426">New Account Storage Systems</a></dt><dt>BIND, <a class="indexterm" href="DNSDHCP.html#id2693116">Dynamic DNS</a></dt><dt>bind interfaces only, <a class="indexterm" href="cfgsmarts.html#id2673890">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#id2692846">Features and Benefits</a></dt><dt>bindery-enabled, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>block device, <a class="indexterm" href="AccessControls.html#id2611189">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#id2671899">BOBS: Browseable Online Backup System</a></dt><dt>bogus, <a class="indexterm" href="ServerType.html#id2560464">Example Configuration</a></dt><dt>boot disk`, <a class="indexterm" href="winbind.html#id2654662">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#id2581334">How Browsing Functions</a></dt><dt>brlock.tdb, <a class="indexterm" href="CUPS-printing.html#id2645408">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>broadcast, <a class="indexterm" href="samba-bdc.html#id2567371">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>broadcast address, <a class="indexterm" href="NetworkBrowsing.html#id2585064">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2683077">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#id2580138">NetBIOS over TCP/IP</a></dt><dt>broadcast messaging, <a class="indexterm" href="samba-bdc.html#id2567462">How Does a Workstation find its Domain Controller?</a></dt><dt>Broadcast node, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt><dt>broadcast request, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a></dt><dt>broadcast traffic, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a></dt><dt>broadcast-based, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>broadcast-based name resolution, <a class="indexterm" href="domain-member.html#id2571079">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#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>browse across subnet, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a></dt><dt>browse list, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585487">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#id2581334">How Browsing Functions</a></dt><dt>browse list management, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579698">What Is Browsing?</a></dt><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2582868">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>browse resources, <a class="indexterm" href="NetworkBrowsing.html#id2585064">Problem Resolution</a></dt><dt>browse server resources, <a class="indexterm" href="NetworkBrowsing.html#id2585064">Problem Resolution</a></dt><dt>browse shares, <a class="indexterm" href="securing-samba.html#id2618847">Using IPC$ Share-Based Denials </a></dt><dt>browse.dat, <a class="indexterm" href="NetworkBrowsing.html#id2585064">Problem Resolution</a></dt><dt>browseable, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>browser election, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>browser elections, <a class="indexterm" href="NetworkBrowsing.html#id2582267">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#id2650001">Print Queue Called lp Mishandles Print Jobs</a></dt><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579698">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582868">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584868">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#id2585316">Cross-Subnet Browsing</a></dt><dt>browsing another subnet, <a class="indexterm" href="NetworkBrowsing.html#id2584868">Browsing Support in Samba</a></dt><dt>browsing intrinsics, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a></dt><dt>browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586329">Common Errors</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586476">I Get an "Unable to browse the network" Error</a></dt><dt>BSD, <a class="indexterm" href="samba-pdc.html#id2565206">$ Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a></dt><dt>BSD Printing, <a class="indexterm" href="classicalprinting.html#id2622580">Simple Print Configuration</a></dt><dt>BSD-style printing, <a class="indexterm" href="classicalprinting.html#id2623461">Extended Printing Configuration</a></dt><dt>bug report, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>bug reports, <a class="indexterm" href="bugreport.html#id2686011">Introduction</a></dt><dt>Bugzilla, <a class="indexterm" href="bugreport.html#id2686011">Introduction</a></dt><dt>built-in commands, <a class="indexterm" href="classicalprinting.html#id2625962">Custom Print Commands</a></dt><dt>bypasses privilege, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>byte ranges, <a class="indexterm" href="locking.html#id2615632">Discussion</a></dt><dt>byte-range lock, <a class="indexterm" href="locking.html#id2615632">Discussion</a></dt><dt>byte-range locking, <a class="indexterm" href="locking.html#id2615632">Discussion</a>, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt></dl></div><div class="indexdiv"><h3>C</h3><dl><dt>c:\winnt\inf, <a class="indexterm" href="PolicyMgmt.html#id2659191">Windows NT4-Style Policy Files</a></dt><dt>C:\WinNT\System32\config, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></dt><dt>cached</dt><dd><dl><dt>password, <a class="indexterm" href="ServerType.html#id2560562">Password Checking</a></dt></dl></dd><dt>cached encrypted password, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>cached in memory, <a class="indexterm" href="passdb.html#id2588450">Advantages of Non-Encrypted Passwords</a></dt><dt>cached local file, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>cached locally, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>cached references, <a class="indexterm" href="NetworkBrowsing.html#id2586723">Invalid Cached Share References Affects Network Browsing</a></dt><dt>caching, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>caching reads, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>caching scheme, <a class="indexterm" href="winbind.html#id2654484">Result Caching</a></dt><dt>caching writes, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>called name, <a class="indexterm" href="securing-samba.html#id2618283">Using Host-Based Protection</a></dt><dt>cannot join domain, <a class="indexterm" href="ClientConfig.html#id2578330">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#id2670197">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a>, <a class="indexterm" href="Other-Clients.html#id2689667">Macintosh Clients</a></dt><dt>cap-share, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>capability to delete, <a class="indexterm" href="AccessControls.html#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>CAP_LINUX_IMMUTABLE, <a class="indexterm" href="AccessControls.html#id2611601">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#id2665815">PAM Configuration Syntax</a></dt><dt>case-insensitive, <a class="indexterm" href="ServerType.html#id2559294">User Level Security</a>, <a class="indexterm" href="classicalprinting.html#id2622580">Simple Print Configuration</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>case-preserving, <a class="indexterm" href="ServerType.html#id2559294">User Level Security</a></dt><dt>central environment, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>centralized</dt><dd><dl><dt>authentication, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt></dl></dd><dt>centralized identity management, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>centrally managed, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>certificate, <a class="indexterm" href="SWAT.html#id2681846">Securing SWAT through SSL</a></dt><dt>Certificate Authority (see CA)</dt><dt>cfdisk, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>challenge/response mechanis, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>change capabilities, <a class="indexterm" href="passdb.html#id2589916">The smbpasswd Tool</a></dt><dt>change motivations, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>change password, <a class="indexterm" href="domain-member.html#id2573382">Notes</a></dt><dt>change passwords, <a class="indexterm" href="passdb.html#id2589916">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#id2569791">Manual Creation of Machine Trust Accounts</a></dt><dt>character device, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a></dt><dt>character set, <a class="indexterm" href="unicode.html#id2669892">What Are Charsets and Unicode?</a></dt><dt>character sets, <a class="indexterm" href="unicode.html#id2670030">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>charset, <a class="indexterm" href="unicode.html#id2669892">What Are Charsets and Unicode?</a></dt><dt>charset conversion, <a class="indexterm" href="unicode.html#id2670166">Conversion from Old Names</a></dt><dt>chattr, <a class="indexterm" href="AccessControls.html#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>check for locks, <a class="indexterm" href="locking.html#id2615632">Discussion</a></dt><dt>check logs, <a class="indexterm" href="domain-member.html#id2573776">Adding Machine to Domain Fails</a></dt><dt>checksum-search, <a class="indexterm" href="Backup.html#id2671681">Rsync</a></dt><dt>chmod, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>chown, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="AccessControls.html#id2613556">Viewing File Ownership</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>chpass, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a></dt><dt>CIFS, <a class="indexterm" href="domain-member.html#id2573454">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#id2671994">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2672279">Why Is This So Hard?</a></dt><dt>Citrix, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658163">Remote Management with ThinLinc</a></dt><dt>clear purpose preferred, <a class="indexterm" href="Backup.html#id2671412">Discussion of Backup Solutions</a></dt><dt>clear-text, <a class="indexterm" href="ServerType.html#id2560562">Password Checking</a>, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2594543">Security and sambaSamAccount</a></dt><dt>clear-text passwords, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>client client instructions, <a class="indexterm" href="ClientConfig.html#id2575484">Features and Benefits</a></dt><dt>Client for Microsoft Networks, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Client for Novell Networks, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>client-server mode, <a class="indexterm" href="passdb.html#id2589916">The smbpasswd Tool</a></dt><dt>client-side caching, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>client-side data caching, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2616594">PDM Data Shares</a></dt><dt>clock skew, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></dt><dt>cluster servers, <a class="indexterm" href="SambaHA.html#id2672398">The Front-End Challenge</a></dt><dt>clustered file server, <a class="indexterm" href="SambaHA.html#id2672149">The Ultimate Goal</a></dt><dt>Clustered smbds, <a class="indexterm" href="SambaHA.html#id2672794">Server Pool Communications</a></dt><dt>clustering technologies, <a class="indexterm" href="SambaHA.html#id2672149">The Ultimate Goal</a></dt><dt>cluttering, <a class="indexterm" href="bugreport.html#id2686336">Debugging-Specific Operations</a></dt><dt>cmd, <a class="indexterm" href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>cmd shell, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>CN, <a class="indexterm" href="samba-bdc.html#id2566948">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#id2692475">Free Support</a></dt><dt>codepages, <a class="indexterm" href="unicode.html#id2669841">Features and Benefits</a></dt><dt>collating, <a class="indexterm" href="NetworkBrowsing.html#id2582868">Making Samba the Domain Master</a></dt><dt>collisions, <a class="indexterm" href="speed.html#id2691097">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>color, <a class="indexterm" href="CUPS-printing.html#id2635170">UNIX Printfile Conversion and GUI Basics</a></dt><dt>COM1:, <a class="indexterm" href="classicalprinting.html#id2631835">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#id2608696">Using the net rpc rights Utility</a></dt><dt>commenting out setting, <a class="indexterm" href="classicalprinting.html#id2623061">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#id2692694">Commercial Support</a></dt><dt>commit the settings, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a></dt><dt>Common Internet Filesystem (see CIFS)</dt><dt>Common restrictions, <a class="indexterm" href="PolicyMgmt.html#id2659861">Managing Account/User Policies</a></dt><dt>Common UNIX Printing System (see CUPS)</dt><dt>common.adm, <a class="indexterm" href="PolicyMgmt.html#id2659191">Windows NT4-Style Policy Files</a></dt><dt>comp.protocols.smb, <a class="indexterm" href="bugreport.html#id2686011">Introduction</a></dt><dt>compatible, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a>, <a class="indexterm" href="Portability.html">Portability</a></dt><dt>compile, <a class="indexterm" href="install.html#id2551936">Obtaining and Installing Samba</a></dt><dt>compile-time options, <a class="indexterm" href="classicalprinting.html#id2623061">Rapid Configuration Validation</a></dt><dt>complex file name space, <a class="indexterm" href="SambaHA.html#id2672992">A Simple Solution</a></dt><dt>complex organization, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>complexity, <a class="indexterm" href="StandAloneServer.html#id2574434">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#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>complicated problem, <a class="indexterm" href="SambaHA.html#id2672492">Demultiplexing SMB Requests</a></dt><dt>comprehensive documentation, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></dt><dt>Computer Account, <a class="indexterm" href="domain-member.html#id2570788">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#id2589476">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#id2612937">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2613202">Windows 200x/XP</a></dt><dt>Computer Name, <a class="indexterm" href="ClientConfig.html#id2577360">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>computer name, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a></dt><dt>concurrent access, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>Conectiva, <a class="indexterm" href="CUPS-printing.html#id2646708">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>config.cache, <a class="indexterm" href="domain-member.html#id2573089">Possible Errors</a></dt><dt>CONFIG.POL, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a></dt><dt>Config.POL, <a class="indexterm" href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659054">Windows 9x/ME Policies</a></dt><dt>configuration</dt><dd><dl><dt>documentation, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a></dt></dl></dd><dt>configuration files, <a class="indexterm" href="SWAT.html#id2681065">Features and Benefits</a></dt><dt>configuration problem, <a class="indexterm" href="bugreport.html#id2686011">Introduction</a></dt><dt>configuration syntax, <a class="indexterm" href="classicalprinting.html#id2622580">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#id2575417">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#id2577360">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>configure, <a class="indexterm" href="compiling.html#id2687984">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#id2618496">Using Interface Protection</a></dt><dt>confirm the password, <a class="indexterm" href="InterdomainTrusts.html#id2620820">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#id2672149">The Ultimate Goal</a></dt><dt>connection resources, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a></dt><dt>connections, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>connections.tdb, <a class="indexterm" href="CUPS-printing.html#id2645408">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#id2656769">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#id2673073">High-Availability Server Products</a></dt><dt>contribute, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></dt><dt>Control Panel, <a class="indexterm" href="ClientConfig.html#id2577360">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#id2562506">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#id2657787">Remote Management from NoMachine.Com</a></dt><dt>core files, <a class="indexterm" href="bugreport.html#id2686538">Internal Errors</a></dt><dt>core graphic engine, <a class="indexterm" href="CUPS-printing.html#id2634992">Windows Drivers, GDI, and EMF</a></dt><dt>core values, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>corrupted file, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>cosine.schema, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a></dt><dt>country of origin, <a class="indexterm" href="ch47.html#id2692694">Commercial Support</a></dt><dt>CP850, <a class="indexterm" href="unicode.html#id2670030">Samba and Charsets</a></dt><dt>CP932, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>cracker, <a class="indexterm" href="securing-samba.html#id2618496">Using Interface Protection</a></dt><dt>create, <a class="indexterm" href="AccessControls.html#id2611066">Managing Directories</a></dt><dt>Create a Computer Account, <a class="indexterm" href="domain-member.html#id2570788">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#id2570625">Windows 200x/XP Professional Client</a></dt><dt>create machine trust account, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>create partition, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>Create the Computer Account, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></dt><dt>create user accounts, <a class="indexterm" href="StandAloneServer.html#id2574233">Background</a></dt><dt>create volume, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>credentials, <a class="indexterm" href="ServerType.html#id2559294">User Level Security</a>, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2577360">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="NetCommand.html#id2601286">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#id2567518">NetBIOS Over TCP/IP Enabled</a></dt><dt>critical aspects of configuration, <a class="indexterm" href="ClientConfig.html#id2575484">Features and Benefits</a></dt><dt>crle, <a class="indexterm" href="winbind.html#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>cron, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a></dt><dt>cross post, <a class="indexterm" href="problems.html#id2685705">Getting Mailing List Help</a></dt><dt>cross-segment browsing, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>cross-subnet browsing, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>CUPS, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2622269">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2623461">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a>, <a class="indexterm" href="CUPS-printing.html#id2632924">Features and Benefits</a>, <a class="indexterm" href="CUPS-printing.html#id2632984">Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2633103">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2635766">Using Windows-Formatted Vendor PPDs</a></dt><dd><dl><dt>Page Accounting, <a class="indexterm" href="CUPS-printing.html#id2647391">Page Accounting with CUPS</a></dt><dt>quotas, <a class="indexterm" href="CUPS-printing.html#id2647427">Setting Up Quotas</a></dt></dl></dd><dt>CUPS API, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2625418">Default UNIX System Printing Commands</a></dt><dt>CUPS backends, <a class="indexterm" href="CUPS-printing.html#id2637884">CUPS Backends</a></dt><dt>CUPS filtering, <a class="indexterm" href="CUPS-printing.html#id2635886">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2635925">The CUPS Filtering Architecture</a></dt><dt>CUPS filtering chain, <a class="indexterm" href="CUPS-printing.html#id2637884">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#id2641987">Caveats to Be Considered</a></dt><dt>CUPS PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2642286">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#id2635925">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2637311">pstoraster</a></dt><dt>CUPS-PPD, <a class="indexterm" href="CUPS-printing.html#id2646320">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>cups.hlp, <a class="indexterm" href="CUPS-printing.html#id2641987">Caveats to Be Considered</a></dt><dt>cupsaddsmb, <a class="indexterm" href="CUPS-printing.html#id2634678">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2641162">cupsaddsmb: The Unknown Utility</a>, <a class="indexterm" href="CUPS-printing.html#id2641987">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2642504">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2642644">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2642836">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2643102">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="CUPS-printing.html#id2643183">cupsaddsmb Flowchart</a>, <a class="indexterm" href="CUPS-printing.html#id2643264">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2644082">Requirements for adddriver and setdriver to Succeed</a></dt><dt>cupsd.conf, <a class="indexterm" href="classicalprinting.html#id2625418">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2633103">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2638471">mime.convs</a>, <a class="indexterm" href="CUPS-printing.html#id2648144">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2635766">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2635925">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2639210">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2645915">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2646320">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>currupted, <a class="indexterm" href="tdb.html#id2686880">Features and Benefits</a></dt><dt>custom scripts, <a class="indexterm" href="passdb.html#id2592586">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#id2625962">Custom Print Commands</a></dt></dl></div><div class="indexdiv"><h3>D</h3><dl><dt>daemon, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2654662">Requirements</a>, <a class="indexterm" href="compiling.html#id2688712">Alternative: Starting smbd as a Daemon</a></dt><dt>daemon running, <a class="indexterm" href="winbind.html#id2655847">Starting and Testing the winbindd Daemon</a></dt><dt>daemons, <a class="indexterm" href="winbind.html#id2656558">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#id2615890">Opportunistic Locking Overview</a></dt><dt>data corruption, <a class="indexterm" href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="locking.html#id2616470">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#id2622269">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#id2676274">Quick Migration Guide</a></dt><dt>DatabaseFS, <a class="indexterm" href="VFS.html#id2652716">DatabaseFS</a></dt><dt>DAVE, <a class="indexterm" href="Other-Clients.html#id2689667">Macintosh Clients</a></dt><dt>dbx, <a class="indexterm" href="bugreport.html#id2686538">Internal Errors</a></dt><dt>DCE RPC, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a></dt><dt>DDK, <a class="indexterm" href="CUPS-printing.html#id2641052">PostScript Drivers with No Major Problems, Even in Kernel 3 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2641541">CUPS PostScript Driver for Windows NT/200x/XP</a></dt><dt>DDNS, <a class="indexterm" href="NetworkBrowsing.html#id2580775">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#id2668056">Background Information</a></dt><dt>de-multiplex, <a class="indexterm" href="SambaHA.html#id2672398">The Front-End Challenge</a></dt><dt>de-multiplexing, <a class="indexterm" href="SambaHA.html#id2672492">Demultiplexing SMB Requests</a></dt><dt>Debian, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>Debian Sarge, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>debug, <a class="indexterm" href="bugreport.html#id2686538">Internal Errors</a></dt><dt>debug level, <a class="indexterm" href="problems.html#id2684893">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a></dt><dt>debugging, <a class="indexterm" href="problems.html#id2684893">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2686336">Debugging-Specific Operations</a></dt><dt>debugging passwords, <a class="indexterm" href="problems.html#id2684893">Debugging with Samba Itself</a></dt><dt>debugging problems, <a class="indexterm" href="problems.html#id2684893">Debugging with Samba Itself</a></dt><dt>dedicated heartbeat, <a class="indexterm" href="SambaHA.html#id2673073">High-Availability Server Products</a></dt><dt>dedicated print server, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a></dt><dt>default accounts, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a></dt><dt>default aliases, <a class="indexterm" href="groupmapping.html#id2597472">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#id2573382">Notes</a></dt><dt>default gateways, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a></dt><dt>default groups, <a class="indexterm" href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a></dt><dt>default mapping, <a class="indexterm" href="ChangeNotes.html#id2579131">Group Mapping Changes in Samba-3.0.23</a></dt><dt>default mappings, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a></dt><dt>default print command, <a class="indexterm" href="classicalprinting.html#id2625418">Default UNIX System Printing Commands</a></dt><dt>default print commands, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>default printer, <a class="indexterm" href="classicalprinting.html#id2625962">Custom Print Commands</a></dt><dt>default printing, <a class="indexterm" href="CUPS-printing.html#id2632924">Features and Benefits</a></dt><dt>default profile, <a class="indexterm" href="ProfileMgmt.html#id2663298">Default Profile for Windows Users</a>, <a class="indexterm" href="ProfileMgmt.html#id2664791">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#id2655847">Starting and Testing the winbindd Daemon</a></dt><dt>Default User, <a class="indexterm" href="ProfileMgmt.html#id2664042">MS Windows 200x/XP</a></dt><dt>default users, <a class="indexterm" href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a></dt><dt>defective hardware, <a class="indexterm" href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a></dt><dt>deferred open, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>defined shares, <a class="indexterm" href="securing-samba.html#id2619134">Why Can Users Access Other Users' Home Directories?</a></dt><dt>delegate administrative privileges, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></dt><dt>delegated, <a class="indexterm" href="groupmapping.html#id2597232">Important Administrative Information</a></dt><dt>delegation, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></dt><dt>delete, <a class="indexterm" href="AccessControls.html#id2611066">Managing Directories</a></dt><dt>delete a file, <a class="indexterm" href="AccessControls.html#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>delete roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2664042">MS Windows 200x/XP</a></dt><dt>delete user script, <a class="indexterm" href="passdb.html#id2591425">Deleting Accounts</a></dt><dt>deleted files, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>deleted parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2676773">Removed Parameters</a></dt><dt>delmem, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>demote, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a></dt><dt>demoted, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></dt><dt>denial of service, <a class="indexterm" href="securing-samba.html#id2618496">Using Interface Protection</a></dt><dt>deny, <a class="indexterm" href="securing-samba.html#id2618847">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#id2615632">Discussion</a></dt><dt>deny-none, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>DENY_ALL, <a class="indexterm" href="locking.html#id2615632">Discussion</a></dt><dt>DENY_DOS, <a class="indexterm" href="locking.html#id2615632">Discussion</a></dt><dt>DENY_FCB, <a class="indexterm" href="locking.html#id2615632">Discussion</a></dt><dt>DENY_NONE, <a class="indexterm" href="locking.html#id2615632">Discussion</a></dt><dt>DENY_READ, <a class="indexterm" href="locking.html#id2615632">Discussion</a></dt><dt>DENY_WRITE, <a class="indexterm" href="locking.html#id2615632">Discussion</a></dt><dt>deployment, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>deployment guidelines, <a class="indexterm" href="passdb.html#id2589338">Caution Regarding LDAP and Samba</a></dt><dt>DES-CBC-CRC, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></dt><dt>DES-CBC-MD5, <a class="indexterm" href="domain-member.html#id2572288">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#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>desktop cache, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>desktop profile, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></dt><dt>desktop profiles, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2602249">Managing Security Identifiers (SIDS)</a></dt><dt>deterents, <a class="indexterm" href="securing-samba.html#id2618022">Introduction</a></dt><dt>development libraries, <a class="indexterm" href="winbind.html#id2654662">Requirements</a></dt><dt>devfsd package, <a class="indexterm" href="VFS.html#id2651971">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#id2638927">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>DFS, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a> (see MS-DFS, Distributed File Systems)</dt><dt>DFS junction, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>DFS links, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>DFS root, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>DFS server, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>DFS tree, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>DFS-aware, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>DFS-aware clients, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>DHCP, <a class="indexterm" href="ClientConfig.html#id2575588">TCP/IP Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668056">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2692846">Features and Benefits</a></dt><dt>DHCP servers, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>DHCP-enabled, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a></dt><dt>DHCP-enabled operation, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a></dt><dt>diagnostic, <a class="indexterm" href="idmapper.html#id2607167">IDMAP Storage in LDAP Using Winbind</a></dt><dt>diagnostic tools, <a class="indexterm" href="problems.html#id2684893">Debugging with Samba Itself</a></dt><dt>diff, <a class="indexterm" href="bugreport.html#id2686797">Patches</a></dt><dt>differences, <a class="indexterm" href="Backup.html#id2671681">Rsync</a></dt><dt>different resources, <a class="indexterm" href="cfgsmarts.html#id2674287">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#id2676274">Quick Migration Guide</a></dt><dt>dir, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>direct internet access, <a class="indexterm" href="securing-samba.html#id2618022">Introduction</a></dt><dt>directory, <a class="indexterm" href="samba-bdc.html#id2567313">Active Directory Domain Control</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="idmapper.html#id2605720">Backup Domain Controller</a></dt><dt>directory access control, <a class="indexterm" href="groupmapping.html#id2596648">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#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>directory schema, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a></dt><dt>Directory Separators, <a class="indexterm" href="AccessControls.html#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>directory server, <a class="indexterm" href="passdb.html#id2593010">ldapsam</a></dt><dt>directory_mode, <a class="indexterm" href="VFS.html#id2651336">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#id2615535">Features and Benefits</a></dt><dt>disable roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2661031">Disabling Roaming Profile Support</a></dt><dt>disabling oplocks, <a class="indexterm" href="locking.html#id2616594">PDM Data Shares</a></dt><dt>disass, <a class="indexterm" href="bugreport.html#id2686538">Internal Errors</a></dt><dt>disaster recovery, <a class="indexterm" href="NT4Migration.html#id2679686">Server Share and Directory Layout</a></dt><dt>disconnect a connection, <a class="indexterm" href="ProfileMgmt.html#id2660656">NT4/200x User Profiles</a></dt><dt>disk, <a class="indexterm" href="passdb.html#id2588310">Advantages of Encrypted Passwords</a></dt><dt>disk space, <a class="indexterm" href="NT4Migration.html#id2679686">Server Share and Directory Layout</a></dt><dt>disparate information systems, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>display PostScript, <a class="indexterm" href="CUPS-printing.html#id2635170">UNIX Printfile Conversion and GUI Basics</a></dt><dt>displayName, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a></dt><dt>distort, <a class="indexterm" href="CUPS-printing.html#id2635170">UNIX Printfile Conversion and GUI Basics</a></dt><dt>distribute authentication systems, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>distributed, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a></dt><dt>distributed account, <a class="indexterm" href="passdb.html#id2587426">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#id2672149">The Ultimate Goal</a> (see DFS)</dt><dt>Distributed File Systems, <a class="indexterm" href="SambaHA.html#id2672598">The Distributed File System Challenge</a></dt><dt>distributed file systems, <a class="indexterm" href="SambaHA.html#id2672598">The Distributed File System Challenge</a></dt><dt>distributed locking protocol, <a class="indexterm" href="SambaHA.html#id2672992">A Simple Solution</a></dt><dt>distribution, <a class="indexterm" href="install.html#id2553100">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>dithering algorithm, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a></dt><dt>DMB, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2567371">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582267">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#id2582868">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>DMB for a workgroup, <a class="indexterm" href="NetworkBrowsing.html#id2584868">Browsing Support in Samba</a></dt><dt>DMC, <a class="indexterm" href="idmapper.html#id2605791">Examples of IDMAP Backend Usage</a></dt><dt>DMS, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="idmapper.html#id2605791">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#id2566948">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#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567462">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2567584">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2572097">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579515">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580775">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html#id2593820">Initialize the LDAP Database</a>, <a class="indexterm" href="winbind.html#id2654021">Name Service Switch</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668056">Background Information</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669384">DNS Lookup</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a>, <a class="indexterm" href="DNSDHCP.html#id2692846">Features and Benefits</a>, <a class="indexterm" href="DNSDHCP.html#id2693025">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#id2668056">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2693116">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#id2586523">Browsing of Shares and Directories is Very Slow</a></dt><dt>DNS lookup, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></dt><dt>DNS name resolution, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>dns proxy, <a class="indexterm" href="diagnosis.html#id2682784">Assumptions</a></dt><dt>DNS server, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>DNS server access, <a class="indexterm" href="diagnosis.html#id2682784">Assumptions</a></dt><dt>DNS server settings, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a></dt><dt>DNS servers, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>DNS zon, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></dt><dt>DNS/LDAP/ADS, <a class="indexterm" href="NetworkBrowsing.html#id2584781">Technical Overview of Browsing</a></dt><dt>document design, <a class="indexterm" href="NT4Migration.html#id2679686">Server Share and Directory Layout</a></dt><dt>documentation, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="SWAT.html#id2681065">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#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2591338">Adding User Accounts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a></dt><dd><dl><dt>control, <a class="indexterm" href="ServerType.html#id2558987">Server Types</a></dt><dd><dl><dt>role, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a></dt></dl></dd><dt>controller, <a class="indexterm" href="ServerType.html#id2558828">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html">Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a></dt><dd><dl><dt>convert, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a></dt><dt>hierarchy, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a></dt></dl></dd><dt>controllers, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2599354">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a></dt></dl></dd><dt>member, <a class="indexterm" href="ServerType.html#id2558987">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a></dt><dd><dl><dt>server, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a></dt></dl></dd><dt>member server, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>protocols, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="samba-pdc.html#id2561252">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#id2592170">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#id2609839">The Administrator Domain SID</a></dt><dt>Domain Admins, <a class="indexterm" href="ChangeNotes.html#id2579131">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2596254">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2597232">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>Domain Admins group, <a class="indexterm" href="groupmapping.html#id2596254">Discussion</a></dt><dt>domain authentication, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a></dt><dt>domain context, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>domain control, <a class="indexterm" href="samba-pdc.html#id2562486">Basics of Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2568602">Common Errors</a>, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2604524">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#id2558987">Server Types</a></dt><dt>primary, <a class="indexterm" href="ServerType.html#id2558987">Server Types</a></dt></dl></dd><dt>domain control database (see SAM)</dt><dt>domain controller, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2566203">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567313">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567518">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#id2653512">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2680020">Steps in Migration Process</a></dt><dt>Domain Controller, <a class="indexterm" href="CUPS-printing.html#id2641987">Caveats to Be Considered</a></dt><dt>domain controllers, <a class="indexterm" href="samba-pdc.html#id2564264">Samba ADS Domain Control</a>, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="PolicyMgmt.html#id2659412">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#id2676444">New Features in Samba-3.0.x</a></dt><dt>domain environment, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>domain global, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global group, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global groups, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain global user, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global users, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain group, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a></dt><dt>domain group settings, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain groups, <a class="indexterm" href="ChangeNotes.html#id2579131">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#id2597472">Default Users, Groups, and Relative Identifiers</a></dt><dt>Domain Groups, <a class="indexterm" href="passdb.html#id2594430">Accounts and Groups Management</a></dt><dt>Domain Guests, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain information, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>domain join, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a>, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a></dt><dt>domain joining, <a class="indexterm" href="ClientConfig.html#id2577360">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain logon, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564317">Domain and Network Logon Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564336">Domain Network Logon Service</a>, <a class="indexterm" href="samba-bdc.html#id2566696">Example PDC Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>domain logon server, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>domain logons, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584868">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>domain management tools, <a class="indexterm" href="domain-member.html#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>domain master, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584868">Browsing Support in Samba</a></dt><dt>domain member, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2570625">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2573660">Common Errors</a>, <a class="indexterm" href="ClientConfig.html#id2577360">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2596254">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="winbind.html#id2653711">Handling of Foreign SIDs</a>, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>Domain Member, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dd><dl><dt>joining, <a class="indexterm" href="ServerType.html#id2559864">Example Configuration</a></dt></dl></dd><dt>domain member client, <a class="indexterm" href="groupmapping.html#id2597232">Important Administrative Information</a></dt><dt>Domain Member Client (see DMC)</dt><dt>domain member server, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580775">TCP/IP without NetBIOS</a>, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a></dt><dt>Domain Member Server (see DMS)</dt><dt>domain member servers, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="groupmapping.html#id2596648">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#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain members, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582267">Domain Browsing Configuration</a>, <a class="indexterm" href="winbind.html#id2654547">Introduction</a></dt><dt>domain membership, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2563522">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#id2577886">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#id2653711">Handling of Foreign SIDs</a></dt><dt>domain policies, <a class="indexterm" href="PolicyMgmt.html#id2659191">Windows NT4-Style Policy Files</a></dt><dt>domain radio button, <a class="indexterm" href="ClientConfig.html#id2577360">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain security, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2569104">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#id2571079">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a>, <a class="indexterm" href="ClientConfig.html#id2577360">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2664042">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#id2597350">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>domain SID, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2602249">Managing Security Identifiers (SIDS)</a></dt><dt>domain trust, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620080">Creating an NT4 Domain Trust</a></dt><dt>domain user, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653512">What Winbind Provides</a></dt><dt>domain user accounts, <a class="indexterm" href="NetCommand.html#id2599354">UNIX and Windows Group Management</a></dt><dt>domain user manager, <a class="indexterm" href="passdb.html#id2590986">User Account Management</a></dt><dt>Domain User Manager, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2597350">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="PolicyMgmt.html#id2659861">Managing Account/User Policies</a></dt><dt>Domain Users, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain users, <a class="indexterm" href="winbind.html#id2654662">Requirements</a>, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2657273">Conclusion</a></dt><dt>Domain Users group, <a class="indexterm" href="groupmapping.html#id2598584">Adding Domain Users to the Workstation Power Users Group</a></dt><dt>domain-level, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a></dt><dt>domain-level security, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>domain-wide browse list, <a class="indexterm" href="NetworkBrowsing.html#id2582868">Making Samba the Domain Master</a></dt><dt>DOMAIN<1B>, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a></dt><dt>DOMAIN<1C>, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a></dt><dt>DOMAIN<1D>, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a></dt><dt>draft, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a></dt><dt>Drive Identification, <a class="indexterm" href="AccessControls.html#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>driver, <a class="indexterm" href="classicalprinting.html#id2622864">Verifying Configuration with testparm</a></dt><dt>driver CDROM, <a class="indexterm" href="classicalprinting.html#id2627972">Identifying Driver Files</a></dt><dt>driver download, <a class="indexterm" href="classicalprinting.html#id2627139">[print$] Stanza Parameters</a></dt><dt>Driver File, <a class="indexterm" href="classicalprinting.html#id2627972">Identifying Driver Files</a></dt><dt>driver files, <a class="indexterm" href="classicalprinting.html#id2627972">Identifying Driver Files</a></dt><dt>Driver Path, <a class="indexterm" href="classicalprinting.html#id2627972">Identifying Driver Files</a></dt><dt>dual-daemon winbindd, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>due diligence, <a class="indexterm" href="Backup.html#id2671412">Discussion of Backup Solutions</a></dt><dt>duplex, <a class="indexterm" href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a></dt><dt>duplex printing, <a class="indexterm" href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a></dt><dt>duplicate, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a></dt><dt>duplication of information, <a class="indexterm" href="winbind.html#id2653423">Introduction</a></dt><dt>DVI, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2636955">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#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>dynamic registration files, <a class="indexterm" href="DNSDHCP.html#id2693116">Dynamic DNS</a></dt><dt>Dynamic SMB servers, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>dynamically loadable library modules, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>E</h3><dl><dt>e-Directory, <a class="indexterm" href="samba-pdc.html#id2561886">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#id2611189">File and Directory Access Control</a></dt><dt>economically wise, <a class="indexterm" href="SambaHA.html#id2671994">Features and Benefits</a></dt><dt>eDirectory, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>editreg, <a class="indexterm" href="PolicyMgmt.html#id2660101">Samba Editreg Toolset</a></dt><dt>efficient authentication, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>election, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582267">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#id2581334">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#id2634992">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2640209">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2640343">Driver Execution on the Server</a></dt><dt>enables clients to print, <a class="indexterm" href="classicalprinting.html#id2622580">Simple Print Configuration</a></dt><dt>enables NetBIOS over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>encapsulating, <a class="indexterm" href="NetworkBrowsing.html#id2580138">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#id2563522">Domain Control: Example Configuration</a></dt><dt>encrypted, <a class="indexterm" href="ServerType.html#id2558828">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2560562">Password Checking</a>, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>encrypted password, <a class="indexterm" href="passdb.html#id2588310">Advantages of Encrypted Passwords</a></dt><dt>encrypted passwords, <a class="indexterm" href="ServerType.html#id2560562">Password Checking</a>, <a class="indexterm" href="passdb.html#id2587207">Features and Benefits</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2588310">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="ProfileMgmt.html#id2662728">Profile Migration from Windows NT4/200x Server to Samba</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678119">Passdb Backends and Authentication</a></dt><dt>encrypted session, <a class="indexterm" href="passdb.html#id2594543">Security and sambaSamAccount</a></dt><dt>encryption, <a class="indexterm" href="ServerType.html#id2560287">Server Security (User Level Security)</a></dt><dt>encryption key, <a class="indexterm" href="domain-member.html#id2570625">Windows 200x/XP Professional Client</a></dt><dt>encryption types, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573382">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#id2670197">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2681998">Enabling SWAT Internationalization Support</a></dt><dt>Enhanced MetaFile (see EMF)</dt><dt>enterprise, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a></dt><dt>enumdrivers, <a class="indexterm" href="classicalprinting.html#id2627972">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2643673">A Check of the rpcclient man Page</a></dt><dt>enumerate domain groups, <a class="indexterm" href="winbind.html#id2653887">Microsoft Remote Procedure Calls</a></dt><dt>enumerate domain users, <a class="indexterm" href="winbind.html#id2653887">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#id2643673">A Check of the rpcclient man Page</a></dt><dt>environment variables, <a class="indexterm" href="classicalprinting.html#id2625962">Custom Print Commands</a></dt><dt>EPM (see ESP meta packager)</dt><dt>Epson Stylus, <a class="indexterm" href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a></dt><dt>Epson Stylus inkjet, <a class="indexterm" href="CUPS-printing.html#id2646791">Foomatic Database-Generated PPDs</a></dt><dt>equivalence, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>equivalent rights and privileges, <a class="indexterm" href="rights.html#id2609839">The Administrator Domain SID</a></dt><dt>error message, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a>, <a class="indexterm" href="classicalprinting.html#id2628880">Running rpcclient with adddriver</a></dt><dt>error messages, <a class="indexterm" href="diagnosis.html#id2682784">Assumptions</a></dt><dt>errors that can afflict, <a class="indexterm" href="ClientConfig.html#id2578330">Common Errors</a></dt><dt>ESC/P, <a class="indexterm" href="CUPS-printing.html#id2640343">Driver Execution on the Server</a></dt><dt>ESP, <a class="indexterm" href="CUPS-printing.html#id2635529">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dd><dl><dt>Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2635925">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2639210">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>meta packager, <a class="indexterm" href="CUPS-printing.html#id2641541">CUPS PostScript Driver for Windows NT/200x/XP</a></dt><dt>Print Pro, <a class="indexterm" href="CUPS-printing.html#id2639975">Sources of CUPS Drivers/PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2641924">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></dt></dl></dd><dt>ESP Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2635925">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#id2661258">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2685149">Tcpdump</a>, <a class="indexterm" href="problems.html#id2685199">Ethereal</a>, <a class="indexterm" href="problems.html#id2685342">The Windows Network Monitor</a></dt><dt>Ethernet adapters, <a class="indexterm" href="securing-samba.html#id2618496">Using Interface Protection</a></dt><dt>EUC-JP, <a class="indexterm" href="unicode.html#id2670197">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>eucJP-ms locale, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>Event Viewer, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657615">Remote Server Administration</a></dt><dt>Everyone - Full Control, <a class="indexterm" href="AccessControls.html#id2612937">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#id2651783">shadow_copy</a></dt><dt>examples, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>examples/LDAP, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a></dt><dt>execute, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a></dt><dt>existing LDAP DIT, <a class="indexterm" href="passdb.html#id2589338">Caution Regarding LDAP and Samba</a></dt><dt>expands control abilities, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a></dt><dt>expired password, <a class="indexterm" href="passdb.html#id2591510">Changing User Accounts</a></dt><dt>explicit trust, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></dt><dt>explicitly set, <a class="indexterm" href="classicalprinting.html#id2623061">Rapid Configuration Validation</a></dt><dt>exploit opportunities, <a class="indexterm" href="PolicyMgmt.html#id2658759">Features and Benefits</a></dt><dt>exploitation, <a class="indexterm" href="securing-samba.html#id2618496">Using Interface Protection</a></dt><dt>exported file system, <a class="indexterm" href="SambaHA.html#id2672992">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#id2651009">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#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>Extended BSD Printing, <a class="indexterm" href="classicalprinting.html#id2623461">Extended Printing Configuration</a></dt><dt>extended characters, <a class="indexterm" href="unicode.html#id2669892">What Are Charsets and Unicode?</a></dt><dt>extended protocol, <a class="indexterm" href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a></dt><dt>extended SAM, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a></dt><dt>extra machine, <a class="indexterm" href="cfgsmarts.html#id2675301">Multiple Virtual Server Hosting</a></dt></dl></div><div class="indexdiv"><h3>F</h3><dl><dt>fail, <a class="indexterm" href="SambaHA.html#id2671994">Features and Benefits</a></dt><dt>failed join, <a class="indexterm" href="idmapper.html#id2605879">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2606577">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#id2673073">High-Availability Server Products</a></dt><dt>failover process, <a class="indexterm" href="SambaHA.html#id2673073">High-Availability Server Products</a></dt><dt>failover servers, <a class="indexterm" href="SambaHA.html#id2672992">A Simple Solution</a></dt><dt>fails, <a class="indexterm" href="domain-member.html#id2573776">Adding Machine to Domain Fails</a></dt><dt>failure, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a></dt><dt>failure semantics, <a class="indexterm" href="SambaHA.html#id2672935">Required Modifications to Samba</a></dt><dt>fake-permissions module, <a class="indexterm" href="ProfileMgmt.html#id2663080">Mandatory Profiles</a></dt><dt>fake_permissions, <a class="indexterm" href="samba-pdc.html#id2563522">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#id2663080">Mandatory Profiles</a></dt><dt>fdisk, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>Federated Identity Management (see FIM)</dt><dt>federated organizations, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>federated-identity, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>Fiber Channel, <a class="indexterm" href="SambaHA.html#id2673073">High-Availability Server Products</a></dt><dt>fickle, <a class="indexterm" href="NetworkBrowsing.html#id2579515">Features and Benefits</a></dt><dt>fid, <a class="indexterm" href="SambaHA.html#id2672492">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#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>file ownership, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a></dt><dt>file serving, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a></dt><dt>File System, <a class="indexterm" href="AccessControls.html#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dd><dl><dt>case sensitivity, <a class="indexterm" href="AccessControls.html#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>feature comparison, <a class="indexterm" href="AccessControls.html#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>UNIX, <a class="indexterm" href="AccessControls.html#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></dt></dl></dd><dt>file system capabilities, <a class="indexterm" href="AccessControls.html#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>FILE:, <a class="indexterm" href="classicalprinting.html#id2631835">Samba and Printer Ports</a></dt><dt>filemanager, <a class="indexterm" href="NetworkBrowsing.html#id2585064">Problem Resolution</a></dt><dt>filename mangling, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>filter, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>Filter Oplock, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>FilterLimit, <a class="indexterm" href="CUPS-printing.html#id2638471">mime.convs</a></dt><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>FIM, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>firewall, <a class="indexterm" href="securing-samba.html#id2618022">Introduction</a>, <a class="indexterm" href="securing-samba.html#id2618496">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2683077">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#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a></dt><dt>fixed IP addresses, <a class="indexterm" href="ClientConfig.html#id2575588">TCP/IP Configuration</a></dt><dt>flush local locks, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>flush name cache, <a class="indexterm" href="NetworkBrowsing.html#id2586355">Flushing the Samba NetBIOS Name Cache</a></dt><dt>foomatic, <a class="indexterm" href="CUPS-printing.html#id2635766">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2635925">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2639210">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2646091">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2646239">Foomatic's Strange Name</a></dt><dt>Foomatic database, <a class="indexterm" href="CUPS-printing.html#id2646791">Foomatic Database-Generated PPDs</a></dt><dt>Foomatic Printer, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a></dt><dt>Foomatic tutorial, <a class="indexterm" href="CUPS-printing.html#id2646476">The Grand Unification Achieved</a></dt><dt>foomatic-rip, <a class="indexterm" href="CUPS-printing.html#id2635925">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2639210">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2645915">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2646091">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2646476">The Grand Unification Achieved</a></dt><dt>Foomatic/cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2639210">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#id2582868">Making Samba the Domain Master</a></dt><dt>forced synchronization, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a></dt><dt>foreign domain, <a class="indexterm" href="passdb.html#id2588514">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>foreign SID, <a class="indexterm" href="winbind.html#id2653711">Handling of Foreign SIDs</a></dt><dt>foreign user, <a class="indexterm" href="winbind.html#id2653711">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#id2691097">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#id2692475">Free Support</a></dt><dt>FreeBSD, <a class="indexterm" href="samba-pdc.html#id2565206">$ Cannot Be Included in Machine Name</a>, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>freezing, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>French, <a class="indexterm" href="SWAT.html#id2681998">Enabling SWAT Internationalization Support</a></dt><dt>front-end virtual server, <a class="indexterm" href="SambaHA.html#id2672398">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672492">Demultiplexing SMB Requests</a></dt><dt>frustrating experience, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a></dt><dt>FTP, <a class="indexterm" href="passdb.html#id2588450">Advantages of Non-Encrypted Passwords</a></dt><dt>ftp, <a class="indexterm" href="Backup.html#id2671681">Rsync</a>, <a class="indexterm" href="compiling.html#id2687771">Accessing the Samba Sources via rsync and ftp</a></dt><dt>ftp access, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp service, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp services, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftpd, <a class="indexterm" href="pam.html#id2665894">Anatomy of /etc/pam.d Entries</a></dt><dt>full rights, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>functional components, <a class="indexterm" href="bugreport.html#id2686336">Debugging-Specific Operations</a></dt><dt>functionality, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt></dl></div><div class="indexdiv"><h3>G</h3><dl><dt>gateway address, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a></dt><dt>gcc, <a class="indexterm" href="problems.html#id2684893">Debugging with Samba Itself</a>, <a class="indexterm" href="Portability.html#id2689096">HPUX</a></dt><dt>gdb, <a class="indexterm" href="problems.html#id2684893">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2686538">Internal Errors</a>, <a class="indexterm" href="bugreport.html#id2686672">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#id2634992">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2640209">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2640343">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#id2636161">MIME Types and CUPS Filters</a></dt><dt>generic raster, <a class="indexterm" href="CUPS-printing.html#id2637311">pstoraster</a></dt><dt>generic raster format, <a class="indexterm" href="CUPS-printing.html#id2635925">The CUPS Filtering Architecture</a></dt><dt>genlogon.pl, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658348">Network Logon Script Magic</a></dt><dt>Gentoo, <a class="indexterm" href="speed.html#id2691097">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>Germany, <a class="indexterm" href="SambaHA.html#id2672115">Technical Discussion</a></dt><dt>get, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>getdriver, <a class="indexterm" href="classicalprinting.html#id2627972">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2628524">Installing Driver Files into [print$]</a></dt><dt>getdriverdir, <a class="indexterm" href="CUPS-printing.html#id2643673">A Check of the rpcclient man Page</a></dt><dt>getent, <a class="indexterm" href="NetCommand.html#id2599554">Adding or Creating a New Group</a>, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2655847">Starting and Testing the winbindd Daemon</a></dt><dt>getent group demo, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>gethostbyname() function call, <a class="indexterm" href="NetworkBrowsing.html#id2584578">Name Resolution Order</a></dt><dt>getpwnam, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>getpwnam() call, <a class="indexterm" href="upgrading-to-3.0.html#id2678023">Changes in Behavior</a></dt><dt>GetSID.exe, <a class="indexterm" href="ProfileMgmt.html#id2663015">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#id2635529">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#id2635925">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2638927">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#id2568144">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2573454">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2579071">Passdb Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2579131">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#id2595838">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653711">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2655847">Starting and Testing the winbindd Daemon</a></dt><dt>GID numbers, <a class="indexterm" href="idmapper.html#id2604524">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#id2636161">MIME Types and CUPS Filters</a></dt><dt>global print command, <a class="indexterm" href="classicalprinting.html#id2625962">Custom Print Commands</a></dt><dt>global right, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>global section, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>Global support, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>global-level, <a class="indexterm" href="classicalprinting.html#id2622480">Printing-Related Configuration Parameters</a></dt><dt>GNOME, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>GNU Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2635925">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2637311">pstoraster</a></dt><dt>GNU GPL, <a class="indexterm" href="Backup.html#id2671510">BackupPC</a></dt><dt>GNU tar, <a class="indexterm" href="Backup.html#id2671850">Amanda</a></dt><dt>GNU/Linux, <a class="indexterm" href="VFS.html#id2650350">Discussion</a></dt><dt>GPG, <a class="indexterm" href="compiling.html#id2687846">Verifying Samba's PGP Signature</a></dt><dt>GPL, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>gpolmig.exe, <a class="indexterm" href="PolicyMgmt.html#id2659616">Administration of Windows 200x/XP Policies</a></dt><dt>GPOs, <a class="indexterm" href="PolicyMgmt.html#id2658759">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2659412">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659616">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659861">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660288">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2664042">MS Windows 200x/XP</a></dt><dt>grace time, <a class="indexterm" href="passdb.html#id2591510">Changing User Accounts</a></dt><dt>grant rights, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>graphical objects, <a class="indexterm" href="CUPS-printing.html#id2635170">UNIX Printfile Conversion and GUI Basics</a></dt><dt>graphically illustrated client configuration, <a class="indexterm" href="ClientConfig.html#id2575484">Features and Benefits</a></dt><dt>grayscale, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a></dt><dt>greater scalability, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a></dt><dt>greatest mistake, <a class="indexterm" href="StandAloneServer.html#id2575417">Common Errors</a></dt><dt>grep, <a class="indexterm" href="winbind.html#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>group, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a></dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a></dt><dt>mapping, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a></dt></dl></dd><dt>group account, <a class="indexterm" href="groupmapping.html#id2597232">Important Administrative Information</a>, <a class="indexterm" href="idmapper.html#id2605720">Backup Domain Controller</a></dt><dt>group accounts, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2589338">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="groupmapping.html#id2595838">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2596591">Warning: User Private Group Problems</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>group management, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599354">UNIX and Windows Group Management</a></dt><dt>group mapping, <a class="indexterm" href="ChangeNotes.html#id2578638">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#id2579131">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2595838">Features and Benefits</a></dt><dt>group membership, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>group ownership, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a></dt><dt>group permissions, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a>, <a class="indexterm" href="NT4Migration.html#id2679686">Server Share and Directory Layout</a></dt><dt>Group Policies, <a class="indexterm" href="PolicyMgmt.html#id2658759">Features and Benefits</a></dt><dt>group policies, <a class="indexterm" href="PolicyMgmt.html#id2658759">Features and Benefits</a></dt><dt>group policy, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a></dt><dt>Group Policy, <a class="indexterm" href="PolicyMgmt.html#id2659054">Windows 9x/ME Policies</a></dt><dt>Group Policy Container (see GPC)</dt><dt>Group Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2659054">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660183">Windows NT4/200x</a>, <a class="indexterm" href="NT4Migration.html#id2680575">Samba-3 Implementation Choices</a></dt><dt>Group Policy Objects, <a class="indexterm" href="NT4Migration.html#id2679075">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#id2596254">Discussion</a></dt><dt>group profiles, <a class="indexterm" href="ProfileMgmt.html#id2663220">Creating and Managing Group Profiles</a></dt><dt>group SID, <a class="indexterm" href="NetCommand.html#id2602249">Managing Security Identifiers (SIDS)</a></dt><dt>groupadd, <a class="indexterm" href="groupmapping.html#id2595838">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2598186">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="groupmapping.html#id2598497">Adding Groups Fails</a></dt><dt>groupadd limitations, <a class="indexterm" href="groupmapping.html#id2598186">Sample smb.conf Add Group Script</a></dt><dt>groupdel, <a class="indexterm" href="groupmapping.html#id2595838">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#id2595838">Features and Benefits</a></dt><dt>grouppol.inf, <a class="indexterm" href="PolicyMgmt.html#id2659054">Windows 9x/ME Policies</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2599354">UNIX and Windows Group Management</a>, <a class="indexterm" href="PolicyMgmt.html#id2658759">Features and Benefits</a></dt><dd><dl><dt>domain, <a class="indexterm" href="groupmapping.html#id2596254">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#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt></dl></dd><dt>groups of users, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></dt><dt>growing, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>GSSAPI, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>gtklp, <a class="indexterm" href="CUPS-printing.html#id2646791">Foomatic Database-Generated PPDs</a></dt><dt>guest, <a class="indexterm" href="samba-pdc.html#id2563522">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#id2585064">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2625962">Custom Print Commands</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>GUI, <a class="indexterm" href="CUPS-printing.html#id2632984">Overview</a></dt><dt>Gutenprint, <a class="indexterm" href="CUPS-printing.html#id2637665">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2646604">Driver Development Outside</a></dt></dl></div><div class="indexdiv"><h3>H</h3><dl><dt>h-node, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>harvesting password hashes, <a class="indexterm" href="passdb.html#id2594543">Security and sambaSamAccount</a></dt><dt>hashed password equivalent, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>headers files, <a class="indexterm" href="domain-member.html#id2573089">Possible Errors</a></dt><dt>Heimdal, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>Heimdal kerberos, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2607167">IDMAP Storage in LDAP Using Winbind</a></dt><dt>help, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>help command, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>heterogeneous computing, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a></dt><dt>HEX, <a class="indexterm" href="unicode.html#id2670197">Japanese Charsets</a></dt><dt>hi-res photo, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a></dt><dt>high availability, <a class="indexterm" href="SambaHA.html#id2671994">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#id2615890">Opportunistic Locking Overview</a></dt><dt>high-availability services, <a class="indexterm" href="SambaHA.html#id2673073">High-Availability Server Products</a></dt><dt>high-speed server interconnect, <a class="indexterm" href="SambaHA.html#id2672992">A Simple Solution</a></dt><dt>higher availability, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>HKEY_CURRENT_USER, <a class="indexterm" href="ProfileMgmt.html#id2663480">MS Windows NT4 Workstation</a></dt><dt>HKEY_LOCAL_MACHINE, <a class="indexterm" href="PolicyMgmt.html#id2659373">Registry Spoiling</a></dt><dt>holy grail, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a></dt><dt>home directories, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a>, <a class="indexterm" href="winbind.html#id2655847">Starting and Testing the winbindd Daemon</a></dt><dt>home directory, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a></dt><dt>home directory template, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>home drive, <a class="indexterm" href="samba-bdc.html#id2566696">Example PDC Configuration</a></dt><dt>host multiple servers, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>host security, <a class="indexterm" href="securing-samba.html#id2618120">Features and Benefits</a></dt><dt>host-based protection, <a class="indexterm" href="securing-samba.html#id2618120">Features and Benefits</a></dt><dt>hostname, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></dt><dt>hosts allow, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>hosts deny, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>house-keeping, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>HOWTO documents, <a class="indexterm" href="passdb.html#id2589338">Caution Regarding LDAP and Samba</a></dt><dt>HP JetDirect, <a class="indexterm" href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a></dt><dt>HP Photosmart, <a class="indexterm" href="CUPS-printing.html#id2646791">Foomatic Database-Generated PPDs</a></dt><dt>HP-GL, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>HP-GL., <a class="indexterm" href="CUPS-printing.html#id2636955">Prefilters</a></dt><dt>hpgltops, <a class="indexterm" href="CUPS-printing.html#id2636590">MIME Type Conversion Rules</a></dt><dt>HPIJS, <a class="indexterm" href="CUPS-printing.html#id2646604">Driver Development Outside</a></dt><dt>HPUX, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>http, <a class="indexterm" href="Backup.html#id2671681">Rsync</a></dt><dt>hybrid, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>Hybrid node, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt></dl></div><div class="indexdiv"><h3>I</h3><dl><dt>IANA, <a class="indexterm" href="CUPS-printing.html#id2637311">pstoraster</a></dt><dt>ID mapping, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>ID mapping database, <a class="indexterm" href="winbind.html#id2654408">User and Group ID Allocation</a></dt><dt>ID range, <a class="indexterm" href="groupmapping.html#id2595838">Features and Benefits</a></dt><dt>IDEALX, <a class="indexterm" href="passdb.html#id2593010">ldapsam</a></dt><dt>Identification, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>identify, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a></dt><dt>identity, <a class="indexterm" href="idmapper.html#id2604462">Standalone Samba Server</a></dt><dt>identity information, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>identity management, <a class="indexterm" href="samba-pdc.html#id2561886">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#id2561886">Single Sign-On and Domain Security</a></dt></dl></dd><dt>identity resolution, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a></dt><dt>IDMAP, <a class="indexterm" href="ChangeNotes.html#id2579131">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2595838">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604462">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a></dt><dt>idmap, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>idmap backend, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678872">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#id2588514">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a></dt><dt>idmap GID, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">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#id2588514">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2595838">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a></dt><dt>idmap UID, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">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#id2678314">New Schema</a></dt><dt>idmap_rid, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a></dt><dt>IETF, <a class="indexterm" href="CUPS-printing.html#id2632984">Overview</a></dt><dt>ifconfig, <a class="indexterm" href="compiling.html#id2688492">Starting from inetd.conf</a>, <a class="indexterm" href="speed.html#id2691097">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>ignore connection, <a class="indexterm" href="securing-samba.html#id2618496">Using Interface Protection</a></dt><dt>imagetoraster, <a class="indexterm" href="CUPS-printing.html#id2637580">imagetops and imagetoraster</a></dt><dt>immutible, <a class="indexterm" href="AccessControls.html#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>impersonate, <a class="indexterm" href="passdb.html#id2594543">Security and sambaSamAccount</a></dt><dt>implementing oplocks, <a class="indexterm" href="locking.html#id2616739">Advanced Samba Oplocks Parameters</a></dt><dt>Implicit Classes, <a class="indexterm" href="CUPS-printing.html#id2650001">Print Queue Called lp Mishandles Print Jobs</a></dt><dt>important announcements, <a class="indexterm" href="securing-samba.html#id2619045">Upgrading Samba</a></dt><dt>Imprints, <a class="indexterm" href="classicalprinting.html#id2631982">The Imprints Toolset</a></dt><dt>imprints, <a class="indexterm" href="CUPS-printing.html#id2634678">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#id2574233">Background</a>, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></dt><dt>individual domain user, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>individual section, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>inetd, <a class="indexterm" href="SWAT.html#id2681209">Validate SWAT Installation</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a>, <a class="indexterm" href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a>, <a class="indexterm" href="compiling.html#id2688492">Starting from inetd.conf</a></dt><dt>inetd.conf, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>inetorgperson.schema, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a></dt><dt>inf file, <a class="indexterm" href="classicalprinting.html#id2627972">Identifying Driver Files</a></dt><dt>infrastructure, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a>, <a class="indexterm" href="winbind.html#id2653665">Target Uses</a></dt><dt>inheritance, <a class="indexterm" href="AccessControls.html#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>inherits rights, <a class="indexterm" href="groupmapping.html#id2596254">Discussion</a></dt><dt>initdb.ldif, <a class="indexterm" href="FastStart.html#id2557719">The Primary Domain Controller</a></dt><dt>initGroups.sh, <a class="indexterm" href="FastStart.html#id2556901">Example: Engineering Office</a>, <a class="indexterm" href="groupmapping.html#id2598357">Script to Configure Group Mapping</a>, <a class="indexterm" href="NT4Migration.html#id2680020">Steps in Migration Process</a></dt><dt>inktype, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a></dt><dt>insecure, <a class="indexterm" href="StandAloneServer.html#id2574139">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2618283">Using Host-Based Protection</a></dt><dt>inspire simplicity, <a class="indexterm" href="StandAloneServer.html#id2574434">Example Configuration</a></dt><dt>inspired structure, <a class="indexterm" href="SambaHA.html#id2672115">Technical Discussion</a></dt><dt>install drivers, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2626632">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>interactive help, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>interdomain</dt><dd><dl><dt>trust</dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a></dt></dl></dd><dt>trustrs, <a class="indexterm" href="ServerType.html#id2558828">Features and Benefits</a></dt></dl></dd><dt>interdomain connection, <a class="indexterm" href="InterdomainTrusts.html#id2620820">Samba as the Trusting Domain</a></dt><dt>interdomain trust, <a class="indexterm" href="InterdomainTrusts.html#id2620471">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621016">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#id2589338">Caution Regarding LDAP and Samba</a></dt><dt>interdomain trusts, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619694">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#id2620177">Completing an NT4 Domain Trust</a></dt><dt>creating, <a class="indexterm" href="InterdomainTrusts.html#id2620044">Native MS Windows NT4 Trusts Configuration</a></dt><dt>Facilities, <a class="indexterm" href="InterdomainTrusts.html#id2620262">Interdomain Trust Facilities</a></dt></dl></dd><dt>interface, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a></dt><dt>interface scripts, <a class="indexterm" href="passdb.html#id2590986">User Account Management</a></dt><dt>interface-based exclusion, <a class="indexterm" href="securing-samba.html#id2618120">Features and Benefits</a></dt><dt>interfaces, <a class="indexterm" href="securing-samba.html#id2618496">Using Interface Protection</a>, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></dt><dt>intermediate information, <a class="indexterm" href="passdb.html#id2589338">Caution Regarding LDAP and Samba</a></dt><dt>intermediate tools, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>internal ordering, <a class="indexterm" href="SWAT.html#id2681065">Features and Benefits</a></dt><dt>internationalization support, <a class="indexterm" href="SWAT.html#id2681190">Guidelines and Technical Tips</a></dt><dt>Internet, <a class="indexterm" href="securing-samba.html#id2618283">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2618496">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#id2576854">MS Windows Me</a></dt><dt>Internetworking Packet Exchange (see IPX)</dt><dt>internetworking super daemon, <a class="indexterm" href="SWAT.html#id2681065">Features and Benefits</a></dt><dt>interoperability, <a class="indexterm" href="ServerType.html#id2558828">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561886">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#id2653079">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2672725">Restrictive Constraints on Distributed File Systems</a></dt><dt>intolerance, <a class="indexterm" href="SambaHA.html#id2671994">Features and Benefits</a></dt><dt>invalid shell, <a class="indexterm" href="ServerType.html#id2559864">Example Configuration</a></dt><dt>invalid users, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>IP address, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>IP address automatically, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a></dt><dt>IP addresses, <a class="indexterm" href="integrate-ms-networks.html#id2668257">/etc/hosts</a></dt><dt>IP aliases, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a></dt><dt>IPC$, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585064">Problem Resolution</a>, <a class="indexterm" href="securing-samba.html#id2618847">Using IPC$ Share-Based Denials </a></dt><dt>IPC$ connections, <a class="indexterm" href="SambaHA.html#id2672398">The Front-End Challenge</a></dt><dt>ipchains, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>ipconfig, <a class="indexterm" href="NetworkBrowsing.html#id2580775">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#id2642836">Understanding cupsaddsmb</a></dt><dt>IPP client, <a class="indexterm" href="CUPS-printing.html#id2649401">Administrator Cannot Install Printers for All Local Users</a></dt><dt>iptables, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>IPX, <a class="indexterm" href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a></dt><dt>IRC, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>IRIX, <a class="indexterm" href="VFS.html#id2650350">Discussion</a>, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>ISC</dt><dd><dl><dt>DHCP, <a class="indexterm" href="DNSDHCP.html#id2692846">Features and Benefits</a></dt><dt>DNS, <a class="indexterm" href="DNSDHCP.html#id2692846">Features and Benefits</a></dt></dl></dd><dt>ISC DHCP server, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576854">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#id2668056">Background Information</a></dt></dl></div><div class="indexdiv"><h3>J</h3><dl><dt>Japanese, <a class="indexterm" href="unicode.html#id2670197">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2681998">Enabling SWAT Internationalization Support</a></dt><dt>Japanese locale, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>Japanese UNIX, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>Java, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658163">Remote Management with ThinLinc</a>, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>JIS X 0208, <a class="indexterm" href="unicode.html#id2670197">Japanese Charsets</a></dt><dt>join, <a class="indexterm" href="idmapper.html#id2605879">NT4-Style Domains (Includes Samba Domains)</a></dt><dt>join client, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>join domain, <a class="indexterm" href="samba-pdc.html#id2565307">Joining Domain Fails Because of Existing Machine Account</a></dt><dt>join the ADS domain, <a class="indexterm" href="domain-member.html#id2571079">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#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>join the machine, <a class="indexterm" href="domain-member.html#id2570788">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#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>joining domain, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a></dt><dt>joining the domain, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>JPEG, <a class="indexterm" href="CUPS-printing.html#id2636161">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#id2617847">Additional Reading</a></dt><dt>KB 224992, <a class="indexterm" href="locking.html#id2617847">Additional Reading</a></dt><dt>KB 296264, <a class="indexterm" href="locking.html#id2617847">Additional Reading</a></dt><dt>KB 811492, <a class="indexterm" href="locking.html#id2617816">Long Delays Deleting Files over Network with XP SP1</a></dt><dt>KB 812937, <a class="indexterm" href="locking.html#id2617791">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#id2572288">Configure /etc/krb5.conf</a></dt><dt>KDE, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>KDE konqueror, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>KDE session, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>KDEPrint, <a class="indexterm" href="CUPS-printing.html#id2632984">Overview</a></dt><dt>kerberos, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2606166">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#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573089">Possible Errors</a>, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2653974">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678119">Passdb Backends and Authentication</a></dt><dd><dl><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2572288">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#id2688492">Starting from inetd.conf</a></dt><dt>kinit, <a class="indexterm" href="domain-member.html#id2572288">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#id2573089">Possible Errors</a></dt><dt>kixstart, <a class="indexterm" href="NT4Migration.html#id2679860">Logon Scripts</a></dt><dt>kprinter, <a class="indexterm" href="CUPS-printing.html#id2646791">Foomatic Database-Generated PPDs</a></dt><dt>KRB, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a></dt><dt>KRB5, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></dt><dt>krb5.conf, <a class="indexterm" href="domain-member.html#id2572288">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#id2658163">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2673073">High-Availability Server Products</a>, <a class="indexterm" href="problems.html#id2684841">Diagnostics Tools</a></dt><dt>LanMan, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566203">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#id2563011">Preparing for Domain Control</a></dt><dt>LanMan passwords, <a class="indexterm" href="passdb.html#id2587243">Backward Compatibility Account Storage Systems</a></dt><dt>LanManager, <a class="indexterm" href="ServerType.html#id2559294">User Level Security</a>, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>LanManager-compatible, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a></dt><dt>LanManger password, <a class="indexterm" href="passdb.html#id2591103">Listing User and Machine Accounts</a></dt><dt>laptops, <a class="indexterm" href="Backup.html#id2671510">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#id2606577">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#id2619766">Trust Relationship Background</a></dt><dt>last change time, <a class="indexterm" href="passdb.html#id2591103">Listing User and Machine Accounts</a></dt><dt>latency, <a class="indexterm" href="locking.html#id2616505">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#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568755">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="samba-bdc.html#id2568860">Can I Do This All with LDAP?</a>, <a class="indexterm" href="domain-member.html#id2569104">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#id2573454">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#id2587426">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2587995">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#id2589063">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2589338">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2593010">ldapsam</a>, <a class="indexterm" href="passdb.html#id2593258">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593820">Initialize the LDAP Database</a>, <a class="indexterm" href="passdb.html#id2594006">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605720">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619694">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619766">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#id2653974">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678119">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dd><dl><dt>directories, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>master, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a></dt><dt>server, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a></dt><dt>slave, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a></dt></dl></dd><dt>LDAP administration password, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a></dt><dt>LDAP administrative password, <a class="indexterm" href="domain-member.html#id2573454">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>LDAP backend, <a class="indexterm" href="StandAloneServer.html#id2574233">Background</a>, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676274">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#id2568144">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2593820">Initialize the LDAP Database</a>, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>LDAP deployment, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>LDAP directory, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2593010">ldapsam</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>ldap group suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678706">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#id2573454">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678706">New Suffix for Searching</a></dt><dt>ldap machine suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2678706">New Suffix for Searching</a></dt><dt>LDAP queries, <a class="indexterm" href="upgrading-to-3.0.html#id2678706">New Suffix for Searching</a></dt><dt>LDAP redirects, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>LDAP schema, <a class="indexterm" href="ChangeNotes.html#id2579252">LDAP Changes in Samba-3.0.23</a></dt><dt>LDAP server, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>ldap suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678706">New Suffix for Searching</a></dt><dt>ldap user suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2678706">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#id2589476">LDAP Directories and Windows Computer Accounts</a></dt><dt>LDAP/Kerberos, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>LDAPS, <a class="indexterm" href="passdb.html#id2594543">Security and sambaSamAccount</a></dt><dt>ldapsam, <a class="indexterm" href="samba-pdc.html#id2563522">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#id2592586">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2593010">ldapsam</a>, <a class="indexterm" href="passdb.html#id2593258">Supported LDAP Servers</a>, <a class="indexterm" href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2587243">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>ldapsearch, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>LDAPv3, <a class="indexterm" href="passdb.html#id2594543">Security and sambaSamAccount</a></dt><dt>ldconfig, <a class="indexterm" href="winbind.html#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ldd, <a class="indexterm" href="CUPS-printing.html#id2633218">Linking smbd with libcups.so</a></dt><dt>LDIF, <a class="indexterm" href="passdb.html#id2593820">Initialize the LDAP Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>LDIF file, <a class="indexterm" href="passdb.html#id2593820">Initialize the LDAP Database</a></dt><dt>legacy systems, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>legal UNIX system account name, <a class="indexterm" href="domain-member.html#id2573776">Adding Machine to Domain Fails</a></dt><dt>Level1 Oplock, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>Level1 oplock, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>Level2 Oplock, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>LGPL, <a class="indexterm" href="passdb.html#id2593010">ldapsam</a></dt><dt>libcups, <a class="indexterm" href="classicalprinting.html#id2625418">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2633218">Linking smbd with libcups.so</a></dt><dt>libcups.so, <a class="indexterm" href="CUPS-printing.html#id2633218">Linking smbd with libcups.so</a></dt><dt>libcups.so.2, <a class="indexterm" href="CUPS-printing.html#id2633218">Linking smbd with libcups.so</a></dt><dt>Liberty Alliance, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>libiconv, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>libnss_winbind, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>libnss_winbind.so, <a class="indexterm" href="winbind.html#id2654021">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2654900">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#id2668533">/etc/nsswitch.conf</a></dt><dt>libraries, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></dt><dt>licensing, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>limitations, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></dt><dt>linewidth, <a class="indexterm" href="CUPS-printing.html#id2635170">UNIX Printfile Conversion and GUI Basics</a></dt><dt>link loader configuration, <a class="indexterm" href="winbind.html#id2654900">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#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>soft, <a class="indexterm" href="AccessControls.html#id2610729">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#id2658163">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>Linux High Availability project, <a class="indexterm" href="SambaHA.html#id2673073">High-Availability Server Products</a></dt><dt>Linux LVM, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>Linux LVM partition, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>LinuxKongress2002, <a class="indexterm" href="CUPS-printing.html#id2646476">The Grand Unification Achieved</a></dt><dt>Linuxprinting.org, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2645915">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2646604">Driver Development Outside</a></dt><dt>list of domain controllers, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>listen for connections, <a class="indexterm" href="securing-samba.html#id2618496">Using Interface Protection</a></dt><dt>listen own socket, <a class="indexterm" href="cfgsmarts.html#id2673890">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#id2592586">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2594543">Security and sambaSamAccount</a></dt><dt>LMB, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582267">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#id2582868">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583455">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584868">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a> (see Local Master Browser)</dt><dt>LMHOSTS, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669185">The LMHOSTS File</a></dt><dt>lmhosts, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a></dt><dt>load balancing, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>loaded modules, <a class="indexterm" href="VFS.html#id2650312">Features and Benefits</a></dt><dt>loading printer drivers, <a class="indexterm" href="classicalprinting.html#id2625047">Any [my_printer_name] Section</a></dt><dt>local</dt><dd><dl><dt>groups, <a class="indexterm" href="NetCommand.html#id2599354">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a></dt></dl></dd></dl></dd><dt>local access permissions, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>local accounts, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>local administrative privileges, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Local Area Connection, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a></dt><dt>Local Area Connection Properties, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a></dt><dt>local authentication, <a class="indexterm" href="StandAloneServer.html#id2574233">Background</a></dt><dt>local authentication database, <a class="indexterm" href="StandAloneServer.html#id2574233">Background</a></dt><dt>local cache, <a class="indexterm" href="integrate-ms-networks.html#id2669092">The NetBIOS Name Cache</a></dt><dt>local disk, <a class="indexterm" href="Backup.html#id2671510">BackupPC</a></dt><dt>local domain, <a class="indexterm" href="winbind.html#id2653711">Handling of Foreign SIDs</a></dt><dt>local group, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>local groups, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2654021">Name Service Switch</a></dt><dt>Local Machine Trust Account, <a class="indexterm" href="samba-bdc.html#id2568645">Machine Accounts Keep Expiring</a></dt><dt>Local Master Browser, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582267">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583315">Use of the Remote Announce Parameter</a></dt><dt>local master browser (see LMB)</dt><dt>local names, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>local print driver, <a class="indexterm" href="classicalprinting.html#id2627139">[print$] Stanza Parameters</a></dt><dt>local profile, <a class="indexterm" href="ProfileMgmt.html#id2661031">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>local profiles, <a class="indexterm" href="ProfileMgmt.html#id2660542">Features and Benefits</a></dt><dt>local registry values, <a class="indexterm" href="PolicyMgmt.html#id2659412">MS Windows 200x/XP Professional Policies</a></dt><dt>Local security policies, <a class="indexterm" href="CUPS-printing.html#id2649368">Windows 200x/XP Local Security Policies</a></dt><dt>local smbpasswd file, <a class="indexterm" href="StandAloneServer.html#id2574233">Background</a></dt><dt>local spool area, <a class="indexterm" href="classicalprinting.html#id2622269">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#id2622269">Technical Introduction</a></dt><dt>local UNIX groups, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a></dt><dt>local user, <a class="indexterm" href="idmapper.html#id2604462">Standalone Samba Server</a>, <a class="indexterm" href="winbind.html#id2656558">Restarting</a></dt><dt>local user account, <a class="indexterm" href="passdb.html#id2588514">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>local users, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2654021">Name Service Switch</a></dt><dt>locale, <a class="indexterm" href="SWAT.html#id2681998">Enabling SWAT Internationalization Support</a></dt><dt>localhost, <a class="indexterm" href="securing-samba.html#id2618283">Using Host-Based Protection</a></dt><dt>locally known UID, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a></dt><dt>locate domain controller, <a class="indexterm" href="samba-bdc.html#id2567462">How Does a Workstation find its Domain Controller?</a></dt><dt>Lock caching, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>lock directory, <a class="indexterm" href="cfgsmarts.html#id2673890">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#id2591510">Changing User Accounts</a></dt><dt>locking, <a class="indexterm" href="locking.html">File and Record Locking</a>, <a class="indexterm" href="locking.html#id2615535">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2615632">Discussion</a>, <a class="indexterm" href="SambaHA.html#id2672598">The Distributed File System Challenge</a></dt><dt>locking protocol, <a class="indexterm" href="locking.html#id2615535">Features and Benefits</a></dt><dt>locking semantics, <a class="indexterm" href="locking.html#id2615535">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2615632">Discussion</a></dt><dt>locking.tdb, <a class="indexterm" href="CUPS-printing.html#id2645408">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>lockout, <a class="indexterm" href="ServerType.html#id2560464">Example Configuration</a></dt><dt>log files, <a class="indexterm" href="diagnosis.html#id2682784">Assumptions</a></dt><dd><dl><dt>monitoring, <a class="indexterm" href="diagnosis.html#id2682784">Assumptions</a></dt></dl></dd><dt>log level, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a>, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2684893">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#id2585064">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>logging, <a class="indexterm" href="VFS.html#id2651166">Configuration of Auditing</a>, <a class="indexterm" href="bugreport.html#id2686336">Debugging-Specific Operations</a></dt><dt>logical directories, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>Logical Link Control (see LLC)</dt><dt>logical volume, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>Logical Volume Manager (see LVM)</dt><dt>Login, <a class="indexterm" href="passdb.html#id2588450">Advantages of Non-Encrypted Passwords</a></dt><dt>login, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>login id, <a class="indexterm" href="passdb.html#id2591103">Listing User and Machine Accounts</a></dt><dt>login name, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>login shells, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>LoginID, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>logon, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a></dt><dt>logon authentication, <a class="indexterm" href="samba-bdc.html#id2567584">NetBIOS Over TCP/IP Disabled</a></dt><dt>logon drive, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a></dt><dt>logon home, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2660796">Windows 9x/Me User Profiles</a></dt><dt>logon name, <a class="indexterm" href="NetCommand.html#id2601203">User Mapping</a></dt><dt>logon path, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a></dt><dt>logon processing, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a></dt><dt>logon requests, <a class="indexterm" href="samba-bdc.html#id2566203">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2567518">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="samba-bdc.html#id2568700">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></dt><dt>logon script, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a></dt><dt>Logon Scripts, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>Logon scripts, <a class="indexterm" href="NT4Migration.html#id2679860">Logon Scripts</a></dt><dt>logon server, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2663480">MS Windows NT4 Workstation</a></dt><dt>logons, <a class="indexterm" href="ProfileMgmt.html#id2660656">NT4/200x User Profiles</a></dt><dt>lookups, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a></dt><dt>loopback adapter, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>loopback interface, <a class="indexterm" href="securing-samba.html#id2618496">Using Interface Protection</a>, <a class="indexterm" href="Portability.html#id2689381">Red Hat Linux</a></dt><dt>lower-case, <a class="indexterm" href="ServerType.html#id2559294">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#id2622864">Verifying Configuration with testparm</a>, <a class="indexterm" href="CUPS-printing.html#id2650001">Print Queue Called lp Mishandles Print Jobs</a></dt><dt>lpadmin, <a class="indexterm" href="CUPS-printing.html#id2638540">Raw Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2640098">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2645915">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2647427">Setting Up Quotas</a></dt><dt>LPD, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>lpinfo, <a class="indexterm" href="CUPS-printing.html#id2637884">CUPS Backends</a></dt><dt>lpq cache time, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>lpq command, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>LPRNG, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>lpstat, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="CUPS-printing.html#id2645265">Troubleshooting Revisited</a></dt><dt>LPT1:, <a class="indexterm" href="classicalprinting.html#id2631835">Samba and Printer Ports</a></dt><dt>LsaEnumTrustedDomains, <a class="indexterm" href="problems.html#id2684893">Debugging with Samba Itself</a></dt><dt>LTSP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>Lustre, <a class="indexterm" href="SambaHA.html#id2672598">The Distributed File System Challenge</a></dt><dt>lvcreate, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>LVM, <a class="indexterm" href="VFS.html#id2651783">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>LVM snapshots, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>LVM volume, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>lvm10 package, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>M</h3><dl><dt>m-node, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>MAC address, <a class="indexterm" href="integrate-ms-networks.html#id2668257">/etc/hosts</a></dt><dt>MAC Addresses, <a class="indexterm" href="integrate-ms-networks.html#id2668257">/etc/hosts</a></dt><dt>Mac OS X , <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>machine, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>machine account, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2592852">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#id2571079">Joining an NT4-type Domain with Samba-3</a></dt></dl></dd><dt>machine accounts, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2589476">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#id2566273">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#id2668257">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a></dt><dt>Machine Policy Objects, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>machine SID, <a class="indexterm" href="NetCommand.html#id2602249">Managing Security Identifiers (SIDS)</a></dt><dt>machine trust account, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2564533">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#id2570625">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#id2573700">Cannot Add Machine Back to Domain</a></dt><dd><dl><dt>create privilege, <a class="indexterm" href="domain-member.html#id2570625">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#id2563011">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#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570788">Windows NT4 Client</a></dt><dd><dl><dt>creation, <a class="indexterm" href="domain-member.html#id2570508">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>password, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a></dt><dt>UNIX account, <a class="indexterm" href="domain-member.html#id2570508">On-the-Fly Creation of Machine Trust Accounts</a></dt></dl></dd><dt>Machine Trust Accounts, <a class="indexterm" href="samba-bdc.html#id2568645">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#id2568755">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="domain-member.html#id2573660">Common Errors</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2589338">Caution Regarding LDAP and Samba</a></dt><dt>machine_name, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a></dt><dt>machine_nickname, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a></dt><dt>Macintosh, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>macros, <a class="indexterm" href="classicalprinting.html#id2625962">Custom Print Commands</a></dt><dt>mail, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>mailing list, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>mailing lists, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>maintaining ids, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>major changes, <a class="indexterm" href="upgrading-to-3.0.html#id2677644">New Functionality</a></dt><dt>make, <a class="indexterm" href="integrate-ms-networks.html#id2668533">/etc/nsswitch.conf</a>, <a class="indexterm" href="compiling.html#id2687984">Building the Binaries</a></dt><dt>man, <a class="indexterm" href="SWAT.html#id2681065">Features and Benefits</a></dt><dt>man page, <a class="indexterm" href="winbind.html#id2655412">Configure smb.conf</a></dt><dt>man pages, <a class="indexterm" href="NetCommand.html#id2598978">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#id2622046">Features and Benefits</a></dt><dt>manage groups, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></dt><dt>manage printers, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></dt><dt>manage privileges, <a class="indexterm" href="rights.html#id2608421">Rights Management Capabilities</a></dt><dt>manage roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2660542">Features and Benefits</a></dt><dt>manage share permissions, <a class="indexterm" href="AccessControls.html#id2613097">Windows NT4 Workstation/Server</a></dt><dt>manage share-level ACL, <a class="indexterm" href="groupmapping.html#id2597350">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>manage shares, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></dt><dt>manage users, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></dt><dt>manageability, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>Manageability, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>managed by humans, <a class="indexterm" href="SambaHA.html#id2671994">Features and Benefits</a></dt><dt>management bottleneck, <a class="indexterm" href="locking.html#id2616553">Multiuser Databases</a></dt><dt>management costs, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>management overheads, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>management procedures, <a class="indexterm" href="samba-pdc.html#id2561886">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#id2608696">Using the net rpc rights Utility</a></dt><dt>mandatory profiles, <a class="indexterm" href="ProfileMgmt.html#id2663080">Mandatory Profiles</a></dt><dt>Mandrake, <a class="indexterm" href="CUPS-printing.html#id2646708">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>Mandriva, <a class="indexterm" href="CUPS-printing.html#id2646708">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#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a></dt><dt>manually configured, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a></dt><dt>manually configured DNS settings, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a></dt><dt>map, <a class="indexterm" href="domain-member.html#id2570625">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="NT4Migration.html#id2679971">User and Group Accounts</a></dt><dt>mapped, <a class="indexterm" href="groupmapping.html#id2597232">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping, <a class="indexterm" href="passdb.html#id2588514">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping home directory, <a class="indexterm" href="securing-samba.html#id2619134">Why Can Users Access Other Users' Home Directories?</a></dt><dt>mapping printer driver, <a class="indexterm" href="classicalprinting.html#id2629487">Running rpcclient with setdriver</a></dt><dt>mappings, <a class="indexterm" href="domain-member.html#id2573454">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>maps UNIX users and groups, <a class="indexterm" href="domain-member.html#id2573454">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#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>master server, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>master smb.conf, <a class="indexterm" href="cfgsmarts.html#id2675301">Multiple Virtual Server Hosting</a></dt><dt>MasterAnnouncement, <a class="indexterm" href="NetworkBrowsing.html#id2585487">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#id2691189">Corrupt tdb Files</a></dt><dt>Meccano set, <a class="indexterm" href="Backup.html#id2671412">Discussion of Backup Solutions</a></dt><dt>mechanism, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>media type, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a></dt><dt>member, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>member machine, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>memory, <a class="indexterm" href="passdb.html#id2588310">Advantages of Encrypted Passwords</a></dt><dt>messages.tdb, <a class="indexterm" href="CUPS-printing.html#id2645408">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>messaging systems, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>Meta node, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt><dt>meta-directory, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>meta-service, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>meta-services, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>Microsoft Active Directory, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>Microsoft Developer Network CDs, <a class="indexterm" href="problems.html#id2685342">The Windows Network Monitor</a></dt><dt>Microsoft driver, <a class="indexterm" href="CUPS-printing.html#id2641052">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#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>Microsoft Wolfpack, <a class="indexterm" href="SambaHA.html#id2673073">High-Availability Server Products</a></dt><dt>middle-ware, <a class="indexterm" href="passdb.html#id2589063">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#id2679971">User and Group Accounts</a></dt><dt>migrate group, <a class="indexterm" href="NT4Migration.html#id2679971">User and Group Accounts</a></dt><dt>migrate user, <a class="indexterm" href="NT4Migration.html#id2679971">User and Group Accounts</a></dt><dt>migrating, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>migration, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>migration plan, <a class="indexterm" href="NT4Migration.html#id2679040">Planning and Getting Started</a></dt><dt>migration process, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>MIME, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2636590">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2636798">Filtering Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2638648">application/octet-stream Printing</a></dt><dd><dl><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>raw, <a class="indexterm" href="FastStart.html#id2554869">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#id2635925">The CUPS Filtering Architecture</a></dt><dt>MIME recognition, <a class="indexterm" href="CUPS-printing.html#id2635925">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#id2635925">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2636955">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2638648">application/octet-stream Printing</a></dt><dt>mime.types, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>minimal</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt></dl></dd><dt>minimal configuration, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>minimum security control, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a></dt><dt>misconfigurations, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a></dt><dt>misconfigured settings, <a class="indexterm" href="classicalprinting.html#id2622580">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#id2615890">Opportunistic Locking Overview</a>, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a></dt><dt>MIT, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a></dt><dt>MIT kerberos, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2607167">IDMAP Storage in LDAP Using Winbind</a></dt><dt>MIT Kerberos, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>mixed mode, <a class="indexterm" href="ServerType.html#id2560144">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621016">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>mixed profile, <a class="indexterm" href="ProfileMgmt.html#id2660954">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#id2651971">Shadow Copy Setup</a></dt><dt>mkfs.xfs, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>MMC, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2595838">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a>, <a class="indexterm" href="AccessControls.html#id2612937">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2613202">Windows 200x/XP</a>, <a class="indexterm" href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660183">Windows NT4/200x</a>, <a class="indexterm" href="ProfileMgmt.html#id2661031">Disabling Roaming Profile Support</a></dt><dt>MMC snap-in, <a class="indexterm" href="PolicyMgmt.html#id2659616">Administration of Windows 200x/XP Policies</a></dt><dt>modem/ISDN, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>moderately secure, <a class="indexterm" href="securing-samba.html#id2618120">Features and Benefits</a></dt><dt>modprobe, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>module, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>modules, <a class="indexterm" href="VFS.html#id2650312">Features and Benefits</a>, <a class="indexterm" href="VFS.html#id2650350">Discussion</a></dt><dt>more than one protocol, <a class="indexterm" href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a></dt><dt>mount, <a class="indexterm" href="ServerType.html#id2559457">Share-Level Security</a>, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>mouse-over, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>moveuser.exe, <a class="indexterm" href="ProfileMgmt.html#id2662973">moveuser.exe</a></dt><dt>MS DCE RPC, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a></dt><dt>MS Windows 2000, <a class="indexterm" href="samba-bdc.html#id2567313">Active Directory Domain Control</a></dt><dt>MS Windows NT4/200x, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a></dt><dt>MS Windows SID, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>MS WINS, <a class="indexterm" href="NetworkBrowsing.html#id2579515">Features and Benefits</a></dt><dt>MS-DFS, <a class="indexterm" href="SambaHA.html#id2673213">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#id2580138">NetBIOS over TCP/IP</a></dt><dt>msdfs links, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>msg, <a class="indexterm" href="SWAT.html#id2681998">Enabling SWAT Internationalization Support</a></dt><dt>msg file, <a class="indexterm" href="SWAT.html#id2681998">Enabling SWAT Internationalization Support</a></dt><dt>MSRPC, <a class="indexterm" href="winbind.html#id2653887">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2654021">Name Service Switch</a></dt><dt>multibyte character sets, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>multibyte charsets, <a class="indexterm" href="unicode.html#id2669892">What Are Charsets and Unicode?</a></dt><dt>multiple backends, <a class="indexterm" href="passdb.html#id2592457">Password Backends</a></dt><dt>multiple domains, <a class="indexterm" href="NT4Migration.html#id2679485">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#id2650350">Discussion</a></dt><dt>multiple network interfaces, <a class="indexterm" href="NetworkBrowsing.html#id2583129">Multiple Interfaces</a></dt><dt>multiple network segments, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>multiple personality, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>multiple server hosting, <a class="indexterm" href="cfgsmarts.html#id2673890">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#id2673890">Multiple Server Hosting</a></dt><dt>multiple universal naming convention provider (see MUP)</dt><dt>multiple VFS, <a class="indexterm" href="VFS.html#id2650350">Discussion</a></dt><dt>multiple virtual servers, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>multiple Windows workgroups or domains, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a></dt><dt>multiple WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>Multiuser databases, <a class="indexterm" href="locking.html#id2616553">Multiuser Databases</a></dt><dt>mutual assistance, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>mutually exclusive options, <a class="indexterm" href="NetworkBrowsing.html#id2579698">What Is Browsing?</a></dt><dt>My Network Places, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585064">Problem Resolution</a></dt><dt>Myrinet, <a class="indexterm" href="SambaHA.html#id2672880">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#id2581334">How Browsing Functions</a></dt><dt>n-memory buffer, <a class="indexterm" href="integrate-ms-networks.html#id2669092">The NetBIOS Name Cache</a></dt><dt>name conflict, <a class="indexterm" href="classicalprinting.html#id2625047">Any [my_printer_name] Section</a></dt><dt>name lookup, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669092">The NetBIOS Name Cache</a></dt><dt>name lookups, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a></dt><dt>name registration, <a class="indexterm" href="samba-bdc.html#id2567371">What Qualifies a Domain Controller on the Network?</a></dt><dt>name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2579698">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584781">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586329">Common Errors</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668257">/etc/hosts</a>, <a class="indexterm" href="diagnosis.html#id2682784">Assumptions</a></dt><dt>name resolution across routed networks, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a></dt><dt>name resolve order, <a class="indexterm" href="NetworkBrowsing.html#id2584578">Name Resolution Order</a></dt><dt>name service switch (see NSS)</dt><dt>name-to-address, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a></dt><dt>nameserv.h, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt><dt>name_type, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584578">Name Resolution Order</a></dt><dt>native ACLs, <a class="indexterm" href="AccessControls.html#id2610520">Features and Benefits</a></dt><dt>native dump, <a class="indexterm" href="Backup.html#id2671850">Amanda</a></dt><dt>native member, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a></dt><dt>native mode, <a class="indexterm" href="ServerType.html#id2560144">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="winbind.html#id2653974">Microsoft Active Directory Services</a></dt><dt>NBT, <a class="indexterm" href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a></dt><dt>nbtstat, <a class="indexterm" href="domain-member.html#id2573700">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669092">The NetBIOS Name Cache</a></dt><dt>necessary rights, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>negotiate, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>negotiating the charset, <a class="indexterm" href="unicode.html#id2669892">What Are Charsets and Unicode?</a></dt><dt>nested group, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Nested Group Support, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>nested groups, <a class="indexterm" href="groupmapping.html#id2596648">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#id2598978">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599273">Administrative Tasks and Methods</a>, <a class="indexterm" href="NetCommand.html#id2599354">UNIX and Windows Group Management</a>, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dd><dl><dt>ads, <a class="indexterm" href="NetCommand.html#id2599354">UNIX and Windows Group Management</a></dt><dd><dl><dt>join, <a class="indexterm" href="domain-member.html#id2571079">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#id2601646">Machine Trust Accounts</a>, <a class="indexterm" href="idmapper.html#id2606166">ADS Domains</a></dt><dt>leave, <a class="indexterm" href="NetCommand.html#id2601646">Machine Trust Accounts</a></dt><dt>printer info, <a class="indexterm" href="NetCommand.html#id2603705">Printers and ADS</a></dt><dt>printer publish, <a class="indexterm" href="NetCommand.html#id2603705">Printers and ADS</a></dt><dt>printer remove, <a class="indexterm" href="NetCommand.html#id2603705">Printers and ADS</a></dt><dt>printer search, <a class="indexterm" href="NetCommand.html#id2603705">Printers and ADS</a></dt><dt>status, <a class="indexterm" href="NetCommand.html#id2601646">Machine Trust Accounts</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2601646">Machine Trust Accounts</a></dt></dl></dd><dt>getlocalsid, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2602249">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>groupmap, <a class="indexterm" href="FastStart.html#id2556901">Example: Engineering Office</a>, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2595838">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2598097">Example Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2680020">Steps in Migration Process</a></dt><dd><dl><dt>add, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a></dt><dt>delete, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a></dt><dt>list, <a class="indexterm" href="groupmapping.html#id2598097">Example Configuration</a>, <a class="indexterm" href="NetCommand.html#id2599554">Adding or Creating a New Group</a></dt><dt>modify, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a></dt></dl></dd><dt>localgroup, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>rap, <a class="indexterm" href="NetCommand.html#id2599354">UNIX and Windows Group Management</a></dt><dd><dl><dt>session, <a class="indexterm" href="NetCommand.html#id2603639">Session and Connection Management</a></dt></dl></dd><dt>rpc, <a class="indexterm" href="FastStart.html#id2556052">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2559864">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2599354">UNIX and Windows Group Management</a></dt><dd><dl><dt>getsid, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2602249">Managing Security Identifiers (SIDS)</a></dt><dt>group, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2599554">Adding or Creating a New Group</a></dt><dt>group add, <a class="indexterm" href="NetCommand.html#id2599554">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#id2600583">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>group delete, <a class="indexterm" href="NetCommand.html#id2600064">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#id2599554">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#id2600104">Rename Group Accounts</a></dt><dt>info, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a>, <a class="indexterm" href="ProfileMgmt.html#id2662922">Side Bar Notes</a></dt><dt>join, <a class="indexterm" href="ServerType.html#id2559864">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetCommand.html#id2601646">Machine Trust Accounts</a>, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="NT4Migration.html#id2680020">Steps in Migration Process</a></dt><dt>join bdc, <a class="indexterm" href="NetCommand.html#id2601646">Machine Trust Accounts</a></dt><dt>join member, <a class="indexterm" href="NetCommand.html#id2601646">Machine Trust Accounts</a></dt><dt>list, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>printer migrate drivers, <a class="indexterm" href="NetCommand.html#id2603364">Printer Migration</a></dt><dt>printer migrate forms, <a class="indexterm" href="NetCommand.html#id2603364">Printer Migration</a></dt><dt>printer migrate printers, <a class="indexterm" href="NetCommand.html#id2603364">Printer Migration</a></dt><dt>printer migrate security, <a class="indexterm" href="NetCommand.html#id2603364">Printer Migration</a></dt><dt>printer migrate settings, <a class="indexterm" href="NetCommand.html#id2603364">Printer Migration</a></dt><dt>right list accounts, <a class="indexterm" href="NetCommand.html#id2602851">Share Migration</a></dt><dt>rights grant, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>rights list, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></dt><dt>rights list accounts, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></dt><dt>share add, <a class="indexterm" href="NetCommand.html#id2602523">Creating, Editing, and Removing Shares</a></dt><dt>share delete, <a class="indexterm" href="NetCommand.html#id2602523">Creating, Editing, and Removing Shares</a></dt><dt>share migrate, <a class="indexterm" href="NetCommand.html#id2602851">Share Migration</a></dt><dt>share migrate all, <a class="indexterm" href="NetCommand.html#id2603305">Simultaneous Share and File Migration</a></dt><dt>share migrate files, <a class="indexterm" href="NetCommand.html#id2603047">File and Directory Migration</a></dt><dt>share migrate security, <a class="indexterm" href="NetCommand.html#id2603262">Share-ACL Migration</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2601646">Machine Trust Accounts</a></dt><dt>trustdom add, <a class="indexterm" href="NetCommand.html#id2602015">Interdomain Trusts</a></dt><dt>trustdom establish, <a class="indexterm" href="NetCommand.html#id2602015">Interdomain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620820">Samba as the Trusting Domain</a></dt><dt>trustdom list, <a class="indexterm" href="NetCommand.html#id2602015">Interdomain Trusts</a></dt><dt>trustdom revoke, <a class="indexterm" href="NetCommand.html#id2602015">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#id2601086">Deletion of User Accounts</a>, <a class="indexterm" href="NetCommand.html#id2601646">Machine Trust Accounts</a></dt><dt>user info, <a class="indexterm" href="NetCommand.html#id2601134">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#id2601134">Managing User Accounts</a></dt><dt>vampire, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2602741">Share, Directory, and File Migration</a>, <a class="indexterm" href="NT4Migration.html#id2680020">Steps in Migration Process</a></dt></dl></dd><dt>setlocalsid, <a class="indexterm" href="NetCommand.html#id2602249">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#id2660223">Samba PDC</a></dt><dt>net command, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>net getlocalsid, <a class="indexterm" href="rights.html#id2609839">The Administrator Domain SID</a></dt><dt>net groupmap, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>net rpc user add, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>net tool, <a class="indexterm" href="upgrading-to-3.0.html#id2678119">Passdb Backends and Authentication</a></dt><dt>net use, <a class="indexterm" href="classicalprinting.html#id2631412">Error Message: Cannot connect under a different Name</a></dt><dt>net use /home, <a class="indexterm" href="ProfileMgmt.html#id2660796">Windows 9x/Me User Profiles</a></dt><dt>net use lpt1:, <a class="indexterm" href="CUPS-printing.html#id2643264">Installing the PostScript Driver on a Client</a></dt><dt>net view, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>netatalk, <a class="indexterm" href="VFS.html#id2651733">netatalk</a></dt><dt>NetAtalk, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>Netatalk, <a class="indexterm" href="Other-Clients.html#id2689667">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#id2559649">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2567371">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2567462">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579515">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580775">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584781">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#id2668657">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669092">The NetBIOS Name Cache</a></dt><dd><dl><dt>brooadcast, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a></dt><dt>name, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>netbios alias, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>netbios aliases, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS broadcast, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>NetBIOS disabled, <a class="indexterm" href="NetworkBrowsing.html#id2579515">Features and Benefits</a></dt><dt>NetBIOS flags, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt><dt>NetBIOS name, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a>, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>netbios name, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></dt><dt>NetBIOS name cache, <a class="indexterm" href="domain-member.html#id2573700">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586355">Flushing the Samba NetBIOS Name Cache</a></dt><dt>NetBIOS name length, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a></dt><dt>NetBIOS name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>NetBIOS Name Server (see NBNS)</dt><dt>NetBIOS name type, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a></dt><dt>NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2584578">Name Resolution Order</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668533">/etc/nsswitch.conf</a></dt><dt>NetBIOS network interface, <a class="indexterm" href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a></dt><dt>NetBIOS networking, <a class="indexterm" href="NetworkBrowsing.html#id2579515">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#id2579515">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584781">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668056">Background Information</a></dt><dt>NetBIOS over TCP/IP disabled, <a class="indexterm" href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a></dt><dt>NetBIOS-less, <a class="indexterm" href="NetworkBrowsing.html#id2580775">TCP/IP without NetBIOS</a>, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS-less SMB, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>NetBIOSless SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>NetBT, <a class="indexterm" href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a></dt><dt>netlogon, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a></dt><dt>NETLOGON, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659412">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659861">Managing Account/User Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2663480">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2664042">MS Windows 200x/XP</a></dt><dt>Netlogon, <a class="indexterm" href="samba-bdc.html#id2566203">Essential Background Information</a></dt><dt>NetLogon service, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a></dt><dt>netlogon share, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2680020">Steps in Migration Process</a></dt><dt>Netmon, <a class="indexterm" href="problems.html#id2685342">The Windows Network Monitor</a></dt><dt>Netmon., <a class="indexterm" href="problems.html#id2685402">Installing Network Monitor on an NT Workstation</a></dt><dt>netmon.exe, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>NetSAMLogon, <a class="indexterm" href="ProfileMgmt.html#id2660592">Roaming Profiles</a></dt><dt>Netscape's Directory Server, <a class="indexterm" href="passdb.html#id2593258">Supported LDAP Servers</a></dt><dt>NetServerEnum2, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>NetUserGetInfo, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2660592">Roaming Profiles</a></dt><dt>NetWare, <a class="indexterm" href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a></dt><dt>NetWare Bindery, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>NetWare Core Protocol-based server, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>NetWkstaUserLogon, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a></dt><dt>network</dt><dd><dl><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a></dt><dt>logon, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a></dt><dd><dl><dt>service, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a></dt></dl></dd><dt>performance, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a></dt><dt>wide-area, <a class="indexterm" href="samba-bdc.html#id2566273">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#id2566273">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#id2679686">Server Share and Directory Layout</a></dt><dt>network analyzer, <a class="indexterm" href="problems.html#id2684841">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#id2679485">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#id2575664">MS Windows XP Professional</a></dt><dt>Network Bridge Configuration, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a></dt><dt>network browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2582868">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a></dt><dt>network client, <a class="indexterm" href="ClientConfig.html#id2575484">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>network clients, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a></dt><dt>network configuration problems, <a class="indexterm" href="ClientConfig.html#id2575588">TCP/IP Configuration</a></dt><dt>network difficulty, <a class="indexterm" href="ClientConfig.html#id2575484">Features and Benefits</a></dt><dt>network environment, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657758">Remote Desktop Management</a></dt><dt>Network ID, <a class="indexterm" href="ClientConfig.html#id2577360">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>network interface, <a class="indexterm" href="securing-samba.html#id2618496">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>network logon, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a>, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>network logon services, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a></dt><dt>network membership, <a class="indexterm" href="ClientConfig.html#id2575545">Technical Details</a></dt><dt>Network Monitor, <a class="indexterm" href="problems.html#id2685342">The Windows Network Monitor</a></dt><dt>Network Monitor Tools and Agent, <a class="indexterm" href="problems.html#id2685402">Installing Network Monitor on an NT Workstation</a></dt><dt>Network Neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2579698">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585064">Problem Resolution</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#id2629146">Check Samba for Driver Recognition</a></dt><dt>network neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>network policies, <a class="indexterm" href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a></dt><dt>network security, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>network segment, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a>, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>Network settings, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a></dt><dt>network sniffer, <a class="indexterm" href="passdb.html#id2588310">Advantages of Encrypted Passwords</a></dt><dt>network storage, <a class="indexterm" href="Backup.html#id2671510">BackupPC</a></dt><dt>network traffic, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>networked workstation, <a class="indexterm" href="winbind.html#id2654021">Name Service Switch</a></dt><dt>networking advocates, <a class="indexterm" href="Backup.html#id2671412">Discussion of Backup Solutions</a></dt><dt>networking environment, <a class="indexterm" href="passdb.html#id2589338">Caution Regarding LDAP and Samba</a></dt><dt>networking systems, <a class="indexterm" href="ClientConfig.html#id2578330">Common Errors</a></dt><dt>networks access, <a class="indexterm" href="speed.html#id2691284">Samba Performance is Very Slow</a></dt><dt>Networks Properties, <a class="indexterm" href="ClientConfig.html#id2577886">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#id2676944">New Parameters</a></dt><dt>newsgroup, <a class="indexterm" href="bugreport.html#id2686011">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#id2561252">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657615">Remote Server Administration</a></dt><dt>NFS, <a class="indexterm" href="domain-member.html#id2573454">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#id2658163">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2672598">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672725">Restrictive Constraints on Distributed File Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678872">IdMap LDAP Support</a></dt><dt>NFS clients, <a class="indexterm" href="locking.html#id2616470">UNIX or NFS Client-Accessed Files</a></dt><dt>NIS, <a class="indexterm" href="ServerType.html#id2559457">Share-Level Security</a>, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2654021">Name Service Switch</a></dt><dt>NIS database, <a class="indexterm" href="winbind.html#id2654253">Pluggable Authentication Modules</a></dt><dt>nmbd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2555234">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556052">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579698">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584868">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586355">Flushing the Samba NetBIOS Name Cache</a>, <a class="indexterm" href="idmapper.html#id2605879">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="winbind.html#id2654814">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2656208">Linux</a>, <a class="indexterm" href="winbind.html#id2656413">Solaris</a>, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a>, <a class="indexterm" href="problems.html#id2684893">Debugging with Samba Itself</a>, <a class="indexterm" href="speed.html#id2691189">Corrupt tdb Files</a></dt><dt>nmblookup, <a class="indexterm" href="integrate-ms-networks.html#id2669092">The NetBIOS Name Cache</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>No NetBIOS layer, <a class="indexterm" href="NetworkBrowsing.html#id2580775">TCP/IP without NetBIOS</a></dt><dt>no network logon service, <a class="indexterm" href="StandAloneServer.html#id2574233">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#id2625962">Custom Print Commands</a>, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>node-type, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>NoMachine, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>NoMachine.Com, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>non-authentication-based account management, <a class="indexterm" href="pam.html#id2665894">Anatomy of /etc/pam.d Entries</a></dt><dt>non-authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>non-LDAP</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a></dt></dl></dd><dt>non-member Windows client, <a class="indexterm" href="passdb.html#id2588514">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>non-PostScript, <a class="indexterm" href="CUPS-printing.html#id2635886">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2638927">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>non-PostScript printers, <a class="indexterm" href="CUPS-printing.html#id2636955">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2646791">Foomatic Database-Generated PPDs</a></dt><dt>nonhierarchical, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></dt><dt>nontransitive, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></dt><dt>normal color, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a></dt><dt>normal user, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></dt><dt>not domain member, <a class="indexterm" href="StandAloneServer.html#id2574233">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#id2583820">WINS Server Configuration</a></dt><dt>not stored anywhere, <a class="indexterm" href="passdb.html#id2588310">Advantages of Encrypted Passwords</a></dt><dt>not transitive, <a class="indexterm" href="InterdomainTrusts.html#id2621016">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#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>Novell eDirectory server, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>NSS, <a class="indexterm" href="StandAloneServer.html#id2574233">Background</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2593010">ldapsam</a>, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2594430">Accounts and Groups Management</a>, <a class="indexterm" href="groupmapping.html#id2596648">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#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653512">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2653836">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2654021">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2656602">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2657273">Conclusion</a></dt><dt>nsswitch.conf, <a class="indexterm" href="ServerType.html#id2559457">Share-Level Security</a></dt><dt>nss_ldap, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2607752">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>nss_winbind.so.1, <a class="indexterm" href="winbind.html#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>NT domain, <a class="indexterm" href="winbind.html#id2653512">What Winbind Provides</a></dt><dt>NT groups, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a></dt><dt>NT migration scripts, <a class="indexterm" href="passdb.html#id2593010">ldapsam</a></dt><dt>NT password, <a class="indexterm" href="passdb.html#id2591103">Listing User and Machine Accounts</a></dt><dt>NT Server Manager, <a class="indexterm" href="AccessControls.html#id2613097">Windows NT4 Workstation/Server</a></dt><dt>NT-controlled domain, <a class="indexterm" href="InterdomainTrusts.html#id2620820">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#id2587243">Backward Compatibility Account Storage Systems</a></dt><dt>NT4, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>NT4 Domain, <a class="indexterm" href="idmapper.html#id2604462">Standalone Samba Server</a></dt><dt>NT4 domain, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2653079">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#id2659861">Managing Account/User Policies</a></dt><dt>NT4 User Manager for Domains, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>NT4-style, <a class="indexterm" href="InterdomainTrusts.html#id2621016">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#id2619766">Trust Relationship Background</a></dt><dt>Nt4sp6ai.exe, <a class="indexterm" href="PolicyMgmt.html#id2659191">Windows NT4-Style Policy Files</a></dt><dt>NTConfig.POL, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2659054">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659373">Registry Spoiling</a>, <a class="indexterm" href="PolicyMgmt.html#id2659412">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659616">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659861">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660101">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2663480">MS Windows NT4 Workstation</a>, <a class="indexterm" href="NT4Migration.html#id2680575">Samba-3 Implementation Choices</a></dt><dt>ntconfig.pol, <a class="indexterm" href="PolicyMgmt.html#id2659191">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#id2645408">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#id2645408">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTFS, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a>, <a class="indexterm" href="AccessControls.html#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>NTLMv2, <a class="indexterm" href="securing-samba.html#id2618991">NTLMv2 Security</a></dt><dt>ntlm_auth, <a class="indexterm" href="samba-pdc.html#id2561886">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#id2645408">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTUser.DAT, <a class="indexterm" href="PolicyMgmt.html#id2660101">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2663080">Mandatory Profiles</a>, <a class="indexterm" href="NT4Migration.html#id2680575">Samba-3 Implementation Choices</a></dt><dt>NTuser.DAT, <a class="indexterm" href="ProfileMgmt.html#id2661954">Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2662629">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a>, <a class="indexterm" href="NT4Migration.html#id2679927">Profile Migration/Creation</a></dt><dt>NTuser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2661954">Windows NT4 Workstation</a></dt><dt>NTUser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2663080">Mandatory Profiles</a></dt><dt>NT_STATUS_LOGON_FAILURE, <a class="indexterm" href="upgrading-to-3.0.html#id2678023">Changes in Behavior</a></dt><dt>NT_STATUS_UNSUCCESSFUL, <a class="indexterm" href="classicalprinting.html#id2628880">Running rpcclient with adddriver</a></dt><dt>null shell, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a></dt><dt>NX, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">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#id2678314">New Schema</a></dt><dt>object class declaration, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>object module dependencies, <a class="indexterm" href="winbind.html#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ObjectClass, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>ObjectClasses, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a></dt><dt>obtuse complexity, <a class="indexterm" href="NT4Migration.html#id2679686">Server Share and Directory Layout</a></dt><dt>office server, <a class="indexterm" href="FastStart.html#id2555234">Secure Read-Write File and Print Server</a></dt><dt>OID, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>old sambaAccount, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>Omni, <a class="indexterm" href="CUPS-printing.html#id2646604">Driver Development Outside</a></dt><dt>on the fly, <a class="indexterm" href="domain-member.html#id2570788">Windows NT4 Client</a></dt><dt>on-the-fly, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a></dt><dt>on-the-fly logon scripts, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>on-the-fly policy files, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>one direction, <a class="indexterm" href="InterdomainTrusts.html#id2619766">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#id2620262">Interdomain Trust Facilities</a></dt><dt>only one WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a></dt><dt>OpenGFS, <a class="indexterm" href="SambaHA.html#id2672598">The Distributed File System Challenge</a></dt><dt>OpenLDAP, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="ChangeNotes.html#id2579252">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2593258">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>OpenLDAP backend, <a class="indexterm" href="passdb.html#id2587243">Backward Compatibility Account Storage Systems</a></dt><dt>OpenSSL, <a class="indexterm" href="SWAT.html#id2681846">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#id2679075">Objectives</a></dt><dt>operating system search path, <a class="indexterm" href="SWAT.html#id2681279">Locating the SWAT File</a></dt><dt>oplock, <a class="indexterm" href="SambaHA.html#id2672598">The Distributed File System Challenge</a></dt><dt>oplock break, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2616651">Beware of Force User</a></dt><dt>oplock handling, <a class="indexterm" href="SambaHA.html#id2672725">Restrictive Constraints on Distributed File Systems</a></dt><dt>oplock mechanism, <a class="indexterm" href="locking.html#id2616739">Advanced Samba Oplocks Parameters</a></dt><dt>oplock messages, <a class="indexterm" href="SambaHA.html#id2672935">Required Modifications to Samba</a></dt><dt>oplock parameters, <a class="indexterm" href="locking.html#id2616739">Advanced Samba Oplocks Parameters</a></dt><dt>oplocks, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>oplocks disabled, <a class="indexterm" href="locking.html#id2616553">Multiuser Databases</a></dt><dt>oplocks management, <a class="indexterm" href="locking.html#id2616594">PDM Data Shares</a></dt><dt>opportunistic locking, <a class="indexterm" href="locking.html#id2615535">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>Opportunistic locking, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>optional, <a class="indexterm" href="pam.html#id2665894">Anatomy of /etc/pam.d Entries</a></dt><dt>ordinary connection, <a class="indexterm" href="InterdomainTrusts.html#id2620820">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#id2563522">Domain Control: Example Configuration</a></dt><dt>OSS/Free Software, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>other, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a></dt><dt>output duplexing, <a class="indexterm" href="CUPS-printing.html#id2637143">pstops</a></dt><dt>outside threat, <a class="indexterm" href="securing-samba.html#id2618283">Using Host-Based Protection</a></dt><dt>own home directory, <a class="indexterm" href="securing-samba.html#id2619134">Why Can Users Access Other Users' Home Directories?</a></dt><dt>ownership, <a class="indexterm" href="AccessControls.html#id2613556">Viewing File Ownership</a></dt><dt>ownership cost, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>ownership rights, <a class="indexterm" href="ProfileMgmt.html#id2661258">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#id2580138">NetBIOS over TCP/IP</a></dt><dt>package, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>packages, <a class="indexterm" href="install.html#id2551936">Obtaining and Installing Samba</a></dt><dt>packet sniffer, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>packet trace, <a class="indexterm" href="ProfileMgmt.html#id2661258">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#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2607167">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#id2622580">Simple Print Configuration</a></dt><dt>page_log, <a class="indexterm" href="CUPS-printing.html#id2647662">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#id2574233">Background</a>, <a class="indexterm" href="passdb.html#id2587243">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#id2592510">Plaintext</a>, <a class="indexterm" href="passdb.html#id2593010">ldapsam</a>, <a class="indexterm" href="winbind.html#id2653836">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2654253">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2654662">Requirements</a>, <a class="indexterm" href="winbind.html#id2654814">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2656602">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2657273">Conclusion</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2665761">Technical Discussion</a></dt><dt>PAM authentication module, <a class="indexterm" href="pam.html#id2665815">PAM Configuration Syntax</a></dt><dt>PAM configuration, <a class="indexterm" href="winbind.html#id2654662">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#id2655298">NSS Winbind on AIX</a></dt><dt>PAM modules, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>PAM-capable, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>pam-devel, <a class="indexterm" href="winbind.html#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>PAM-enabled, <a class="indexterm" href="winbind.html#id2653512">What Winbind Provides</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>PAM-specific tokens, <a class="indexterm" href="pam.html#id2665815">PAM Configuration Syntax</a></dt><dt>pam_krb5.so, <a class="indexterm" href="pam.html#id2665130">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#id2665130">Features and Benefits</a></dt><dt>pam_mkhomedir, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>pam_ncp_auth.so, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>pam_pwdb.so, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>pam_securetty.so, <a class="indexterm" href="winbind.html#id2656769">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#id2665130">Features and Benefits</a></dt><dt>pam_smbpasswd.so, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>pam_smb_auth.so, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>pam_unix.so, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>pam_unix2.so, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>pam_userdb.so, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>pam_winbind.so, <a class="indexterm" href="winbind.html#id2654253">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2656602">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>parameters, <a class="indexterm" href="classicalprinting.html#id2623061">Rapid Configuration Validation</a></dt><dt>paranoid, <a class="indexterm" href="winbind.html#id2655847">Starting and Testing the winbindd Daemon</a></dt><dt>passdb, <a class="indexterm" href="samba-bdc.html#id2568645">Machine Accounts Keep Expiring</a></dt><dt>passdb backend, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2579131">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#id2589063">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2589916">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2591425">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2592852">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a>, <a class="indexterm" href="rights.html#id2609839">The Administrator Domain SID</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678706">New Suffix for Searching</a></dt><dt>passdb backends, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>passed across the network, <a class="indexterm" href="passdb.html#id2588310">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#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2589916">The smbpasswd Tool</a>, <a class="indexterm" href="winbind.html#id2654021">Name Service Switch</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>password, <a class="indexterm" href="samba-bdc.html#id2566273">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#id2620820">Samba as the Trusting Domain</a>, <a class="indexterm" href="pam.html#id2665894">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>plaintext, <a class="indexterm" href="samba-pdc.html#id2564533">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#id2620177">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#id2591103">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#id2567643">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#id2592510">Plaintext</a></dt><dt>password expiration, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a></dt><dt>password expired, <a class="indexterm" href="passdb.html#id2591510">Changing User Accounts</a></dt><dt>password history, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>password management, <a class="indexterm" href="winbind.html#id2654253">Pluggable Authentication Modules</a></dt><dt>password prompt, <a class="indexterm" href="passdb.html#id2588310">Advantages of Encrypted Passwords</a></dt><dt>password scheme, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>password server, <a class="indexterm" href="ServerType.html#id2560287">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2572097">Configure smb.conf</a></dt><dt>password uniqueness, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>passwords, <a class="indexterm" href="winbind.html#id2653423">Introduction</a></dt><dt>patch, <a class="indexterm" href="bugreport.html#id2686797">Patches</a></dt><dt>path specified, <a class="indexterm" href="domain-member.html#id2573776">Adding Machine to Domain Fails</a></dt><dt>pauses, <a class="indexterm" href="speed.html#id2691284">Samba Performance is Very Slow</a></dt><dt>PBM, <a class="indexterm" href="CUPS-printing.html#id2636161">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#id2634992">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635170">UNIX Printfile Conversion and GUI Basics</a>, <a class="indexterm" href="CUPS-printing.html#id2640098">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2640343">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2640735">Network PostScript RIP</a></dt><dt>pdbedit, <a class="indexterm" href="FastStart.html#id2556901">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#id2590986">User Account Management</a>, <a class="indexterm" href="passdb.html#id2591103">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2591338">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2591425">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2591510">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2592332">Account Import/Export</a>, <a class="indexterm" href="rights.html#id2609839">The Administrator Domain SID</a>, <a class="indexterm" href="PolicyMgmt.html#id2660223">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676274">Quick Migration Guide</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678119">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2680020">Steps in Migration Process</a>, <a class="indexterm" href="NT4Migration.html#id2680575">Samba-3 Implementation Choices</a></dt><dt>pdb_ldap, <a class="indexterm" href="samba-bdc.html#id2568860">Can I Do This All with LDAP?</a></dt><dt>PDC, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2559864">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2566696">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2567371">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568700">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#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2573776">Adding Machine to Domain Fails</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582267">Domain Browsing Configuration</a>, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2588310">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="passdb.html#id2592852">tdbsam</a>, <a class="indexterm" href="passdb.html#id2594779">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="groupmapping.html#id2596254">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605485">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#id2620820">Samba as the Trusting Domain</a>, <a class="indexterm" href="CUPS-printing.html#id2643102">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="winbind.html#id2653711">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2653887">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2654253">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2654484">Result Caching</a>, <a class="indexterm" href="winbind.html#id2654547">Introduction</a>, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2655847">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a>, <a class="indexterm" href="problems.html#id2685705">Getting Mailing List Help</a>, <a class="indexterm" href="speed.html#id2691189">Corrupt tdb Files</a></dt><dt>PDF, <a class="indexterm" href="CUPS-printing.html#id2633467">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2634992">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635683">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2636955">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a></dt><dt>pdf, <a class="indexterm" href="CUPS-printing.html#id2636590">MIME Type Conversion Rules</a></dt><dt>PDF distilling, <a class="indexterm" href="CUPS-printing.html#id2635683">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#id2636590">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a></dt><dt>pdftosocket, <a class="indexterm" href="CUPS-printing.html#id2639547">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#id2635683">PostScript Printer Description (PPD) Specification</a></dt><dt>PDM, <a class="indexterm" href="locking.html#id2616594">PDM Data Shares</a></dt><dt>peer domain, <a class="indexterm" href="InterdomainTrusts.html#id2620471">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Peer node, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt><dt>per-share access control, <a class="indexterm" href="AccessControls.html#id2612937">Access Controls on Shares</a></dt><dt>performance, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>performance advantage, <a class="indexterm" href="locking.html#id2615535">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#id2615890">Opportunistic Locking Overview</a></dt><dt>performance improvement, <a class="indexterm" href="locking.html#id2616505">Slow and/or Unreliable Networks</a></dt><dt>performance-based, <a class="indexterm" href="passdb.html#id2592852">tdbsam</a></dt><dt>performed as root, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>perimeter firewall, <a class="indexterm" href="securing-samba.html#id2618120">Features and Benefits</a></dt><dt>permanent changes, <a class="indexterm" href="NT4Migration.html#id2680575">Samba-3 Implementation Choices</a></dt><dt>Permanent name, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt><dt>permissions, <a class="indexterm" href="securing-samba.html#id2619134">Why Can Users Access Other Users' Home Directories?</a>, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dd><dl><dt>file/directory ACLs, <a class="indexterm" href="AccessControls.html#id2613439">Managing UNIX Permissions Using NT Security Dialogs</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2611855">Share Definition Access Controls</a></dt><dt>share ACLs, <a class="indexterm" href="AccessControls.html#id2612937">Access Controls on Shares</a></dt><dt>UNIX file and directory, <a class="indexterm" href="AccessControls.html#id2610520">Features and Benefits</a></dt></dl></dd><dt>Permissions, <a class="indexterm" href="AccessControls.html#id2613202">Windows 200x/XP</a></dt><dt>permissions and controls, <a class="indexterm" href="AccessControls.html#id2610520">Features and Benefits</a></dt><dt>PGP, <a class="indexterm" href="compiling.html#id2687846">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#id2636161">MIME Types and CUPS Filters</a></dt><dt>physical locations, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>physical network transport layer, <a class="indexterm" href="integrate-ms-networks.html#id2668257">/etc/hosts</a></dt><dt>PID, <a class="indexterm" href="bugreport.html#id2686672">Attaching to a Running Process</a></dt><dt>pid directory, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></dt><dt>ping, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>pipe device, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a></dt><dt>PJL, <a class="indexterm" href="CUPS-printing.html#id2640735">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2642286">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2647521">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>PJL-header, <a class="indexterm" href="CUPS-printing.html#id2647521">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>plague network users, <a class="indexterm" href="ClientConfig.html#id2575588">TCP/IP Configuration</a></dt><dt>plain-text</dt><dd><dl><dt>passwords, <a class="indexterm" href="ServerType.html#id2560562">Password Checking</a></dt></dl></dd><dt>plaintext, <a class="indexterm" href="passdb.html#id2587243">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext authentication, <a class="indexterm" href="passdb.html#id2587243">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext password, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2568755">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#id2587995">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#id2623941">The [global] Section</a></dt><dt>Pluggable Authentication Modules (see PAM)</dt><dt>PNG, <a class="indexterm" href="CUPS-printing.html#id2635529">Ghostscript: The Software RIP for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>PNM, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>point 'n' print, <a class="indexterm" href="CUPS-printing.html#id2634391">Installation of Windows Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2642504">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2644307">Manual Driver Installation in 15 Steps</a></dt><dt>Point'n'Print, <a class="indexterm" href="classicalprinting.html#id2622046">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#id2626632">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2628743">smbclient to Confirm Driver Installation</a></dt><dt>point'n'print, <a class="indexterm" href="CUPS-printing.html#id2634678">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2643264">Installing the PostScript Driver on a Client</a></dt><dt>Poledit, <a class="indexterm" href="PolicyMgmt.html#id2659616">Administration of Windows 200x/XP Policies</a></dt><dt>poledit.exe, <a class="indexterm" href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659191">Windows NT4-Style Policy Files</a>, <a class="indexterm" href="PolicyMgmt.html#id2659616">Administration of Windows 200x/XP Policies</a></dt><dt>Policies, <a class="indexterm" href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659861">Managing Account/User Policies</a></dt><dt>policies, <a class="indexterm" href="NT4Migration.html#id2680575">Samba-3 Implementation Choices</a></dt><dt>policy editor, <a class="indexterm" href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a></dt><dt>Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2659191">Windows NT4-Style Policy Files</a></dt><dt>policy file , <a class="indexterm" href="PolicyMgmt.html#id2659861">Managing Account/User Policies</a></dt><dt>policy files, <a class="indexterm" href="domain-member.html#id2569104">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#id2583129">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#id2583129">Multiple Interfaces</a>, <a class="indexterm" href="diagnosis.html#id2683077">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#id2583129">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#id2583129">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#id2583129">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#id2622864">Verifying Configuration with testparm</a>, <a class="indexterm" href="problems.html#id2685199">Ethereal</a></dt><dt>POSIX, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2594430">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2599554">Adding or Creating a New Group</a></dt><dt>POSIX account, <a class="indexterm" href="passdb.html#id2590986">User Account Management</a>, <a class="indexterm" href="NetCommand.html#id2600875">UNIX and Windows User Management</a></dt><dt>POSIX ACLs, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a>, <a class="indexterm" href="AccessControls.html#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>POSIX ACLS, <a class="indexterm" href="NT4Migration.html#id2680575">Samba-3 Implementation Choices</a></dt><dt>POSIX identity, <a class="indexterm" href="passdb.html#id2589338">Caution Regarding LDAP and Samba</a></dt><dt>POSIX locks, <a class="indexterm" href="SambaHA.html#id2672794">Server Pool Communications</a></dt><dt>POSIX semantics, <a class="indexterm" href="SambaHA.html#id2672794">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#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a></dt><dt>posixGroup, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2594430">Accounts and Groups Management</a></dt><dt>PostScript, <a class="indexterm" href="CUPS-printing.html#id2633467">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2634800">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#id2634992">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635170">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#id2635683">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2635766">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2636955">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2637143">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2638927">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2640343">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2640735">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2641009">CUPS: A Magical Stone?</a>, <a class="indexterm" href="CUPS-printing.html#id2641052">PostScript Drivers with No Major Problems, Even in Kernel 6 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2641541">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#id2628524">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#id2648491">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#id2627139">[print$] Stanza Parameters</a></dt><dt>Power Users, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>powerful, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a></dt><dt>PPD, <a class="indexterm" href="classicalprinting.html#id2628524">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#id2635683">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2635886">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2638540">Raw Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2638927">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2640826">PPDs for Non-PS Printers on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2640870">PPDs for Non-PS Printers on Windows</a>, <a class="indexterm" href="CUPS-printing.html#id2641009">CUPS: A Magical Stone?</a>, <a class="indexterm" href="CUPS-printing.html#id2643264">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2647521">Adobe and CUPS PostScript Drivers for Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#id2648491">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#id2635766">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2646476">The Grand Unification Achieved</a></dt><dt>PPP, <a class="indexterm" href="securing-samba.html#id2618496">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#id2563522">Domain Control: Example Configuration</a></dt><dt>prefilter, <a class="indexterm" href="CUPS-printing.html#id2637580">imagetops and imagetoraster</a></dt><dt>prefilters, <a class="indexterm" href="CUPS-printing.html#id2636955">Prefilters</a></dt><dt>primary domain controller, <a class="indexterm" href="cfgsmarts.html#id2675301">Multiple Virtual Server Hosting</a></dt><dt>primary group, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a></dt><dt>Primary Logon, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>Primary WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a></dt><dt>print, <a class="indexterm" href="classicalprinting.html#id2622864">Verifying Configuration with testparm</a></dt><dd><dl><dt>queue, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>spooler, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt></dl></dd><dt>print accounting, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a></dt><dt>print command, <a class="indexterm" href="classicalprinting.html#id2625342">Print Commands</a></dt><dt>print commands, <a class="indexterm" href="classicalprinting.html#id2625962">Custom Print Commands</a></dt><dt>print configuration, <a class="indexterm" href="classicalprinting.html#id2622269">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2622864">Verifying Configuration with testparm</a></dt><dt>print environment, <a class="indexterm" href="classicalprinting.html#id2622580">Simple Print Configuration</a></dt><dt>print filtering, <a class="indexterm" href="classicalprinting.html#id2622269">Technical Introduction</a></dt><dt>print job, <a class="indexterm" href="classicalprinting.html#id2625962">Custom Print Commands</a></dt><dt>print jobs, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>print processing, <a class="indexterm" href="classicalprinting.html#id2622269">Technical Introduction</a></dt><dt>print queue, <a class="indexterm" href="classicalprinting.html#id2626632">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2628743">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2629373">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2637884">CUPS Backends</a></dt><dt>print quota, <a class="indexterm" href="CUPS-printing.html#id2634800">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#id2622046">Features and Benefits</a></dt><dt>print service, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a></dt><dt>print spooling, <a class="indexterm" href="winbind.html#id2653887">Microsoft Remote Procedure Calls</a></dt><dt>print spooling system, <a class="indexterm" href="CUPS-printing.html#id2632984">Overview</a></dt><dt>print statistics, <a class="indexterm" href="CUPS-printing.html#id2634800">Advanced Intelligent Printing with PostScript Driver Download</a></dt><dt>print subsystem, <a class="indexterm" href="classicalprinting.html#id2622269">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2625342">Print Commands</a></dt><dt>print test page, <a class="indexterm" href="classicalprinting.html#id2629645">First Client Driver Installation</a></dt><dt>printcap, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2623941">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#id2633103">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#id2633103">Basic CUPS Support Configuration</a></dt><dt>printer attributes publishing, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">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#id2626801">The Obsoleted [printer$] Section</a>, <a class="indexterm" href="classicalprinting.html#id2626923">Creating the [print$] Share</a>, <a class="indexterm" href="CUPS-printing.html#id2633467">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#id2626801">The Obsoleted [printer$] Section</a></dt><dt>printer driver files, <a class="indexterm" href="classicalprinting.html#id2628743">smbclient to Confirm Driver Installation</a></dt><dt>printer drivers, <a class="indexterm" href="classicalprinting.html#id2626632">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="CUPS-printing.html#id2646476">The Grand Unification Achieved</a></dt><dt>printer icon, <a class="indexterm" href="classicalprinting.html#id2629146">Check Samba for Driver Recognition</a></dt><dt>printer management, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a></dt><dt>printer management system, <a class="indexterm" href="CUPS-printing.html#id2632984">Overview</a></dt><dt>printer migration, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a></dt><dt>printer monitor, <a class="indexterm" href="speed.html#id2691284">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#id2631835">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#id2623941">The [global] Section</a></dt><dt>printer shares , <a class="indexterm" href="classicalprinting.html#id2622864">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>printer$ share, <a class="indexterm" href="classicalprinting.html#id2626801">The Obsoleted [printer$] Section</a></dt><dt>printers, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="StandAloneServer.html#id2574139">Features and Benefits</a></dt><dt>Printers, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>printers admin, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>Printers and Faxes, <a class="indexterm" href="classicalprinting.html#id2629146">Check Samba for Driver Recognition</a></dt><dt>printers available, <a class="indexterm" href="NetworkBrowsing.html#id2579698">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#id2623941">The [global] Section</a></dt><dt>printing behavior, <a class="indexterm" href="classicalprinting.html#id2622480">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#id2691284">Samba Performance is Very Slow</a></dt><dt>printing support, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2622269">Technical Introduction</a></dt><dt>printing system, <a class="indexterm" href="classicalprinting.html#id2622269">Technical Introduction</a></dt><dt>printing systems, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>printing-related settings, <a class="indexterm" href="classicalprinting.html#id2622864">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#id2645408">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#id2673890">Multiple Server Hosting</a></dt><dt>private groups, <a class="indexterm" href="groupmapping.html#id2596591">Warning: User Private Group Problems</a></dt><dt>private key, <a class="indexterm" href="SWAT.html#id2681846">Securing SWAT through SSL</a></dt><dt>private network, <a class="indexterm" href="securing-samba.html#id2618022">Introduction</a></dt><dt>private networks, <a class="indexterm" href="securing-samba.html#id2618283">Using Host-Based Protection</a></dt><dt>private/MACHINE.SID, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a></dt><dt>private/secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a></dt><dt>privilege, <a class="indexterm" href="groupmapping.html#id2597350">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>privilege management, <a class="indexterm" href="groupmapping.html#id2597232">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></dt><dt>privilege model, <a class="indexterm" href="rights.html#id2608421">Rights Management Capabilities</a></dt><dt>privilege-granting applications, <a class="indexterm" href="pam.html#id2665761">Technical Discussion</a></dt><dt>privileged accounts, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>privileges, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2570625">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="groupmapping.html#id2597350">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2608421">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619766">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#id2608696">Using the net rpc rights Utility</a></dt><dt>problem report, <a class="indexterm" href="ch47.html#id2692475">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#id2622269">Technical Introduction</a></dt><dt>Process data management, <a class="indexterm" href="locking.html#id2616594">PDM Data Shares</a></dt><dt>professional support, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>profile, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="passdb.html#id2587426">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#id2663220">Creating and Managing Group Profiles</a></dt><dt>profile contents, <a class="indexterm" href="ProfileMgmt.html#id2662629">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>profile directory, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>profile migration tool, <a class="indexterm" href="ProfileMgmt.html#id2663220">Creating and Managing Group Profiles</a></dt><dt>profile path, <a class="indexterm" href="samba-bdc.html#id2566696">Example PDC Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2661954">Windows NT4 Workstation</a></dt><dt>profile sharing, <a class="indexterm" href="ProfileMgmt.html#id2662629">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>Profile Type, <a class="indexterm" href="ProfileMgmt.html#id2661031">Disabling Roaming Profile Support</a></dt><dt>ProfilePath, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>profiles, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a></dt><dt>Profiles, <a class="indexterm" href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a></dt><dt>project, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>promiscuous mode, <a class="indexterm" href="problems.html#id2685342">The Windows Network Monitor</a></dt><dt>promote, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a></dt><dt>promoted, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></dt><dt>propagate, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a></dt><dt>Properties, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a>, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>protect directories, <a class="indexterm" href="AccessControls.html#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>protect files, <a class="indexterm" href="AccessControls.html#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>protection against attackers, <a class="indexterm" href="securing-samba.html#id2618847">Using IPC$ Share-Based Denials </a></dt><dt>protocol stack settings, <a class="indexterm" href="ClientConfig.html#id2576307">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#id2561886">Single Sign-On and Domain Security</a></dt><dt>pstops, <a class="indexterm" href="CUPS-printing.html#id2636955">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2637143">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2647521">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>pstoraster, <a class="indexterm" href="CUPS-printing.html#id2637311">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2639210">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2647521">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#id2623061">Rapid Configuration Validation</a></dt><dt>PulseAudio, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658163">Remote Management with ThinLinc</a></dt><dt>punching, <a class="indexterm" href="CUPS-printing.html#id2637143">pstops</a></dt><dt>purchase support, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>put, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>pvcreate, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>Q</h3><dl><dt>QNX, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>qualified problem, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>queue control, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>quota controls, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt></dl></div><div class="indexdiv"><h3>R</h3><dl><dt>RAID, <a class="indexterm" href="Backup.html#id2671510">BackupPC</a></dt><dt>random machine account password, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>range, <a class="indexterm" href="NetCommand.html#id2600875">UNIX and Windows User Management</a></dt><dt>range of hosts, <a class="indexterm" href="securing-samba.html#id2618283">Using Host-Based Protection</a></dt><dt>RAP, <a class="indexterm" href="NetCommand.html#id2599354">UNIX and Windows Group Management</a></dt><dt>raster, <a class="indexterm" href="CUPS-printing.html#id2636955">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2646791">Foomatic Database-Generated PPDs</a></dt><dt>raster driver, <a class="indexterm" href="CUPS-printing.html#id2635925">The CUPS Filtering Architecture</a></dt><dt>raster drivers, <a class="indexterm" href="CUPS-printing.html#id2637311">pstoraster</a></dt><dt>raster image processor (see RIP)</dt><dt>raster images, <a class="indexterm" href="CUPS-printing.html#id2635170">UNIX Printfile Conversion and GUI Basics</a></dt><dt>rasterization, <a class="indexterm" href="CUPS-printing.html#id2637311">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2639210">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoalps, <a class="indexterm" href="CUPS-printing.html#id2637665">rasterto [printers specific]</a></dt><dt>rastertobj, <a class="indexterm" href="CUPS-printing.html#id2637665">rasterto [printers specific]</a></dt><dt>rastertoepson, <a class="indexterm" href="CUPS-printing.html#id2637665">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a></dt><dt>rastertoescp, <a class="indexterm" href="CUPS-printing.html#id2637665">rasterto [printers specific]</a></dt><dt>rastertohp, <a class="indexterm" href="CUPS-printing.html#id2637665">rasterto [printers specific]</a></dt><dt>rastertopcl, <a class="indexterm" href="CUPS-printing.html#id2637665">rasterto [printers specific]</a></dt><dt>rastertoprinter, <a class="indexterm" href="CUPS-printing.html#id2637665">rasterto [printers specific]</a></dt><dt>rastertosomething, <a class="indexterm" href="CUPS-printing.html#id2639210">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoturboprint, <a class="indexterm" href="CUPS-printing.html#id2637665">rasterto [printers specific]</a></dt><dt>raw mode, <a class="indexterm" href="CUPS-printing.html#id2638648">application/octet-stream Printing</a></dt><dt>raw print, <a class="indexterm" href="CUPS-printing.html#id2643183">cupsaddsmb Flowchart</a></dt><dt>raw printers, <a class="indexterm" href="CUPS-printing.html#id2632984">Overview</a></dt><dt>raw printing, <a class="indexterm" href="FastStart.html#id2554869">Anonymous Print Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#id2634156">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#id2561252">Features and Benefits</a></dt><dt>raw SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2580775">TCP/IP without NetBIOS</a></dt><dt>rawprinter, <a class="indexterm" href="CUPS-printing.html#id2638540">Raw Printing</a></dt><dt>rcp, <a class="indexterm" href="Backup.html#id2671681">Rsync</a></dt><dt>rdesktop, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>rdesktop/RDP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>read, <a class="indexterm" href="AccessControls.html#id2611189">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#id2615890">Opportunistic Locking Overview</a></dt><dt>read-only, <a class="indexterm" href="StandAloneServer.html#id2574139">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#id2605720">Backup Domain Controller</a>, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>read-only files, <a class="indexterm" href="StandAloneServer.html#id2574139">Features and Benefits</a></dt><dt>read-write access, <a class="indexterm" href="classicalprinting.html#id2626801">The Obsoleted [printer$] Section</a></dt><dt>realm, <a class="indexterm" href="ServerType.html#id2560144">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-bdc.html#id2567584">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2572097">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2607167">IDMAP Storage in LDAP Using Winbind</a></dt><dt>rebooted, <a class="indexterm" href="ClientConfig.html#id2577360">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#id2609041">Description of Privileges</a></dt><dt>recompiling, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></dt><dt>reconfiguration, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></dt><dt>record locking, <a class="indexterm" href="locking.html#id2615632">Discussion</a></dt><dt>recycle, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>recycle bin, <a class="indexterm" href="VFS.html#id2650350">Discussion</a></dt><dt>recycle directory, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>recycle:exclude, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>recycle:exclude_dir, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>recycle:keeptree, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>recycle:maxsize, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>recycle:noversions, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>recycle:repository, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>recycle:subdir_mode, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>recycle:touch, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>recycle:versions, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>Red Hat Cluster Manager, <a class="indexterm" href="SambaHA.html#id2673073">High-Availability Server Products</a></dt><dt>Red Hat Linux, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2570508">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="groupmapping.html#id2596591">Warning: User Private Group Problems</a></dt><dt>redirect, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a></dt><dt>redirection, <a class="indexterm" href="winbind.html#id2653512">What Winbind Provides</a></dt><dt>redirector, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>redundancy, <a class="indexterm" href="NetworkBrowsing.html#id2580138">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#id2618496">Using Interface Protection</a></dt><dt>regedit.exe, <a class="indexterm" href="ProfileMgmt.html#id2663329">MS Windows 9x/Me</a></dt><dt>regedt32, <a class="indexterm" href="ProfileMgmt.html#id2663480">MS Windows NT4 Workstation</a></dt><dt>regedt32.exe, <a class="indexterm" href="PolicyMgmt.html#id2660183">Windows NT4/200x</a></dt><dt>register driver files, <a class="indexterm" href="classicalprinting.html#id2628880">Running rpcclient with adddriver</a></dt><dt>register NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a></dt><dt>registered, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="classicalprinting.html#id2629146">Check Samba for Driver Recognition</a></dt><dt>registers, <a class="indexterm" href="NetworkBrowsing.html#id2582267">Domain Browsing Configuration</a></dt><dt>registry, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="locking.html#id2615535">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659054">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659412">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2663329">MS Windows 9x/Me</a></dt><dt>registry change, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>registry keys, <a class="indexterm" href="ProfileMgmt.html#id2663298">Default Profile for Windows Users</a></dt><dt>registry settings, <a class="indexterm" href="PolicyMgmt.html#id2659861">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#id2602249">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#id2592586">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#id2561252">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>Remote Access Dial-In User Service (see RADIUS)</dt><dt>remote announce, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a></dt><dt>remote browse sync, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a></dt><dt>remote desktop capabilities, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>remote desktop management, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657758">Remote Desktop Management</a></dt><dt>remote domain, <a class="indexterm" href="InterdomainTrusts.html#id2620080">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620177">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#id2657787">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#id2653887">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#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>remote segment, <a class="indexterm" href="NetworkBrowsing.html#id2583455">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>Remote X, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>Remote X protocol, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>remote-update protocol, <a class="indexterm" href="Backup.html#id2671681">Rsync</a></dt><dt>rename, <a class="indexterm" href="AccessControls.html#id2611066">Managing Directories</a></dt><dt>render, <a class="indexterm" href="CUPS-printing.html#id2634156">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>rendering, <a class="indexterm" href="CUPS-printing.html#id2639210">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>repeated intervals, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>replicate, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a></dt><dt>replicated, <a class="indexterm" href="ServerType.html#id2558828">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2567313">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2659412">MS Windows 200x/XP Professional Policies</a></dt><dt>replicated SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2659412">MS Windows 200x/XP Professional Policies</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a></dt><dd><dl><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a></dt><dt>SAM, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568700">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2568755">How Do I Replicate the smbpasswd File?</a></dt><dt>WINS, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584141">WINS Replication</a></dt></dl></dd><dt>replication protocols, <a class="indexterm" href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a></dt><dt>repository, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>requesting payment, <a class="indexterm" href="ch47.html#id2692475">Free Support</a></dt><dt>required, <a class="indexterm" href="pam.html#id2665894">Anatomy of /etc/pam.d Entries</a></dt><dt>requisite, <a class="indexterm" href="pam.html#id2665894">Anatomy of /etc/pam.d Entries</a></dt><dt>research, <a class="indexterm" href="Backup.html#id2671412">Discussion of Backup Solutions</a></dt><dt>resizing, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>resolution, <a class="indexterm" href="CUPS-printing.html#id2638223">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#id2582868">Making Samba the Domain Master</a></dt><dt>resolver functions, <a class="indexterm" href="winbind.html#id2654021">Name Service Switch</a></dt><dt>resource failover, <a class="indexterm" href="SambaHA.html#id2673073">High-Availability Server Products</a></dt><dt>resource kit, <a class="indexterm" href="PolicyMgmt.html#id2659616">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#id2618120">Features and Benefits</a></dt><dt>response, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a></dt><dt>restore, <a class="indexterm" href="tdb.html#id2686880">Features and Benefits</a></dt><dt>restrict DNS, <a class="indexterm" href="NetworkBrowsing.html#id2584578">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#id2608696">Using the net rpc rights Utility</a></dt><dt>RFC 1001, <a class="indexterm" href="DNSDHCP.html#id2693025">Example Configuration</a></dt><dt>RFC 1002, <a class="indexterm" href="DNSDHCP.html#id2693025">Example Configuration</a></dt><dt>RFC 1179, <a class="indexterm" href="classicalprinting.html#id2623941">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#id2593313">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#id2607752">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>RFC2830, <a class="indexterm" href="samba-bdc.html#id2566948">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#id2587426">New Account Storage Systems</a></dt><dt>rich directory backend, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a></dt><dt>RID, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2596254">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2609839">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2654408">User and Group ID Allocation</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>RID 500, <a class="indexterm" href="rights.html#id2609839">The Administrator Domain SID</a></dt><dt>RID base, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a></dt><dt>right to join domain, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>rights, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2573089">Possible Errors</a>, <a class="indexterm" href="rights.html#id2608421">Rights Management Capabilities</a></dt><dt>rights and privilege, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></dt><dt>rights and privileges, <a class="indexterm" href="groupmapping.html#id2597232">Important Administrative Information</a>, <a class="indexterm" href="rights.html#id2609839">The Administrator Domain SID</a></dt><dt>rights assigned, <a class="indexterm" href="rights.html#id2608421">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>RIP, <a class="indexterm" href="CUPS-printing.html#id2638927">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>rlogind, <a class="indexterm" href="pam.html#id2665894">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#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="ProfileMgmt.html#id2660542">Features and Benefits</a>, <a class="indexterm" href="ProfileMgmt.html#id2661031">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>rogue machine, <a class="indexterm" href="NetworkBrowsing.html#id2586355">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#id2570625">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="ClientConfig.html#id2577360">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#id2609839">The Administrator Domain SID</a></dt><dt>root user, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>rotate, <a class="indexterm" href="CUPS-printing.html#id2635170">UNIX Printfile Conversion and GUI Basics</a></dt><dt>RPC, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2660592">Roaming Profiles</a></dt><dt>RPC calls, <a class="indexterm" href="winbind.html#id2657273">Conclusion</a>, <a class="indexterm" href="SambaHA.html#id2672398">The Front-End Challenge</a></dt><dt>RPC modules, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>rpc.lockd, <a class="indexterm" href="locking.html#id2615632">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#id2627972">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2629373">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2645265">Troubleshooting Revisited</a>, <a class="indexterm" href="PolicyMgmt.html#id2660223">Samba PDC</a></dt><dd><dl><dt>adddriver, <a class="indexterm" href="CUPS-printing.html#id2642644">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2642836">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2643499">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2643845">Understanding the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2644082">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2644307">Manual Driver Installation in 15 Steps</a></dt><dt>enumdrivers, <a class="indexterm" href="CUPS-printing.html#id2643499">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2644307">Manual Driver Installation in 15 Steps</a></dt><dt>enumports, <a class="indexterm" href="CUPS-printing.html#id2643499">Installing PostScript Driver Files Manually Using rpcclient</a></dt><dt>enumprinters, <a class="indexterm" href="CUPS-printing.html#id2643499">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2644082">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2644307">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2645265">Troubleshooting Revisited</a></dt><dt>getdriver, <a class="indexterm" href="CUPS-printing.html#id2643950">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2644307">Manual Driver Installation in 15 Steps</a></dt><dt>getprinter, <a class="indexterm" href="CUPS-printing.html#id2643950">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2644307">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2645265">Troubleshooting Revisited</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2641987">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2642644">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2642836">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2643499">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2644082">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2644307">Manual Driver Installation in 15 Steps</a></dt></dl></dd><dt>rsh, <a class="indexterm" href="Backup.html#id2671510">BackupPC</a></dt><dt>rsync, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568755">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#id2592586">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2671510">BackupPC</a>, <a class="indexterm" href="Backup.html#id2671681">Rsync</a>, <a class="indexterm" href="compiling.html#id2687771">Accessing the Samba Sources via rsync and ftp</a></dt><dt>rsyncd, <a class="indexterm" href="Backup.html#id2671510">BackupPC</a></dt><dt>runas, <a class="indexterm" href="classicalprinting.html#id2630335">Always Make First Client Connection as root or printer admin</a></dt><dt>rundll32, <a class="indexterm" href="classicalprinting.html#id2630216">Additional Client Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2630529">Setting Default Print Options for Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2644307">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658573">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#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2568645">Machine Accounts Keep Expiring</a>, <a class="indexterm" href="samba-bdc.html#id2568700">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2568755">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a>, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2587243">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2588514">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="winbind.html#id2654484">Result Caching</a></dt><dd><dl><dt>delta file, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2566273">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#id2589063">Comments Regarding LDAP</a></dt><dd><dl><dt>LDAP, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a></dt><dt>ldapsam, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2587426">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#id2593010">ldapsam</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2587207">Features and Benefits</a></dt><dt>non-LDAP, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a></dt><dt>smbpasswd, <a class="indexterm" href="passdb.html#id2587207">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a></dt><dt>tdbsam, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2592852">tdbsam</a></dt></dl></dd><dt>Samba 1.9.17, <a class="indexterm" href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a></dt><dt>Samba account, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a></dt><dt>Samba administrator, <a class="indexterm" href="winbind.html#id2654547">Introduction</a></dt><dt>Samba backend database, <a class="indexterm" href="domain-member.html#id2573776">Adding Machine to Domain Fails</a></dt><dt>Samba daemons, <a class="indexterm" href="domain-member.html#id2571079">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#id2671368">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#id2588514">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>Samba SAM account, <a class="indexterm" href="domain-member.html#id2573776">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#id2587426">New Account Storage Systems</a></dt><dt>Samba security, <a class="indexterm" href="securing-samba.html#id2618120">Features and Benefits</a></dt><dt>Samba-2.2.x LDAP schema, <a class="indexterm" href="passdb.html#id2587243">Backward Compatibility Account Storage Systems</a></dt><dt>Samba-3-compatible LDAP backend, <a class="indexterm" href="upgrading-to-3.0.html#id2676274">Quick Migration Guide</a></dt><dt>Samba-PDC-LDAP-HOWTO, <a class="indexterm" href="passdb.html#id2593010">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#id2652776">vscan</a></dt><dt>samba.schema, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>sambaDomain, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>sambaGroupMapping, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>sambaHomeDrive, <a class="indexterm" href="passdb.html#id2594779">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaHomePath, <a class="indexterm" href="passdb.html#id2594779">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaIdmapEntry, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>sambaLogonScript, <a class="indexterm" href="passdb.html#id2594779">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaNTPassword, <a class="indexterm" href="passdb.html#id2594543">Security and sambaSamAccount</a></dt><dt>sambaProfilePath, <a class="indexterm" href="passdb.html#id2594779">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaSAMAccount, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2591338">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2591425">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2591510">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#id2592852">tdbsam</a></dt><dt>sambaSamAccount, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2594430">Accounts and Groups Management</a>, <a class="indexterm" href="passdb.html#id2594779">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>sambaSAMAccount, <a class="indexterm" href="passdb.html#id2594543">Security and sambaSamAccount</a></dt><dt>sambaSID, <a class="indexterm" href="ChangeNotes.html#id2579252">LDAP Changes in Samba-3.0.23</a></dt><dt>sambaUNIXIdPool, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>SambaXP conference, <a class="indexterm" href="SambaHA.html#id2672115">Technical Discussion</a></dt><dt>samdb interface, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a></dt><dt>same domain/workgroup, <a class="indexterm" href="cfgsmarts.html#id2675301">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#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2592852">tdbsam</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619694">Features and Benefits</a></dt><dt>scalable, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>scalable backend, <a class="indexterm" href="InterdomainTrusts.html#id2619694">Features and Benefits</a></dt><dt>scalable coherent interface (see SCI)</dt><dt>scale, <a class="indexterm" href="CUPS-printing.html#id2635170">UNIX Printfile Conversion and GUI Basics</a></dt><dt>scanner module, <a class="indexterm" href="VFS.html#id2650350">Discussion</a></dt><dt>schannel, <a class="indexterm" href="samba-pdc.html#id2565614">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>schema, <a class="indexterm" href="idmapper.html#id2607752">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>schema file, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a></dt><dt>scp, <a class="indexterm" href="Backup.html#id2671681">Rsync</a></dt><dt>script, <a class="indexterm" href="domain-member.html#id2573776">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#id2584868">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2589338">Caution Regarding LDAP and Samba</a></dt><dt>SCSI, <a class="indexterm" href="SambaHA.html#id2673073">High-Availability Server Products</a></dt><dt>SeAddUsersPrivilege, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608421">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>SeAssignPrimaryTokenPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeAuditPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeBackupPrivilege, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeChangeNotifyPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>Seclib, <a class="indexterm" href="AccessControls.html#id2613556">Viewing File Ownership</a></dt><dt>secondary controller, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>SeCreateGlobalPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePagefilePrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePermanentPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreateTokenPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>secret, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2573454">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#id2593820">Initialize the LDAP Database</a>, <a class="indexterm" href="CUPS-printing.html#id2645408">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>section name, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>secure, <a class="indexterm" href="StandAloneServer.html#id2574139">Features and Benefits</a></dt><dt>secure access, <a class="indexterm" href="samba-pdc.html#id2561886">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#id2594543">Security and sambaSamAccount</a></dt><dt>secured networks, <a class="indexterm" href="securing-samba.html#id2618022">Introduction</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2559132">Samba Security Modes</a>, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="securing-samba.html#id2618022">Introduction</a>, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>controllers, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a></dt><dt>modes, <a class="indexterm" href="ServerType.html#id2558828">Features and Benefits</a></dt><dt>settings, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt></dl></dd><dt>security = user, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>security account, <a class="indexterm" href="NetCommand.html#id2598978">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#id2619766">Trust Relationship Background</a></dt><dt>security credentials, <a class="indexterm" href="idmapper.html#id2605720">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620044">Native MS Windows NT4 Trusts Configuration</a></dt><dt>security domain, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></dt><dt>security domains, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></dt><dt>security flaw, <a class="indexterm" href="securing-samba.html#id2619134">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security hole, <a class="indexterm" href="securing-samba.html#id2618847">Using IPC$ Share-Based Denials </a></dt><dt>security identifier, <a class="indexterm" href="NetCommand.html#id2602249">Managing Security Identifiers (SIDS)</a> (see SID)</dt><dt>security level, <a class="indexterm" href="ServerType.html#id2560287">Server Security (User Level Security)</a></dt><dt>security levels, <a class="indexterm" href="ServerType.html#id2559132">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#id2564928">Security Mode and Master Browsers</a></dt><dt>Security Mode, <a class="indexterm" href="ServerType.html#id2559132">Samba Security Modes</a></dt><dt>security modes, <a class="indexterm" href="ServerType.html#id2559132">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#id2619134">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security settings, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>security structure, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></dt><dt>security vulnerability, <a class="indexterm" href="securing-samba.html#id2619045">Upgrading Samba</a></dt><dt>security-aware, <a class="indexterm" href="CUPS-printing.html#id2638648">application/octet-stream Printing</a></dt><dt>SeDebugPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeDiskOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608421">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>SeEnableDelegationPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeImpersonatePrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseBasePriorityPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseQuotaPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLoadDriverPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLockMemoryPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeMachineAccountPrivilege, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608421">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeManageVolumePrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>separate instances, <a class="indexterm" href="cfgsmarts.html#id2673890">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#id2623941">The [global] Section</a></dt><dt>separate workgroups, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>SePrintOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608421">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>SeProfileSingleProcessPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRemoteShutdownPrivilege, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608421">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRestorePrivilege, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>server failure, <a class="indexterm" href="SambaHA.html#id2672279">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#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657615">Remote Server Administration</a></dt><dt>Server Manager for Domains, <a class="indexterm" href="domain-member.html#id2570227">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#id2672598">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672725">Restrictive Constraints on Distributed File Systems</a></dt><dt>Server Type, <a class="indexterm" href="ServerType.html#id2558987">Server Types</a></dt><dd><dl><dt>Domain Controller, <a class="indexterm" href="FastStart.html#id2556821">Domain Controller</a></dt><dt>Domain Member, <a class="indexterm" href="FastStart.html#id2555983">Domain Member Server</a>, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a></dt><dt>Stand-alone, <a class="indexterm" href="FastStart.html#id2554242">Standalone Server</a></dt></dl></dd><dt>server type, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a></dt><dd><dl><dt>domain member, <a class="indexterm" href="ServerType.html#id2559864">Example Configuration</a></dt></dl></dd><dt>Server Types, <a class="indexterm" href="idmapper.html#id2604437">Samba Server Deployment Types and IDMAP</a></dt><dt>server-mode, <a class="indexterm" href="ServerType.html#id2560804">What Makes Samba a Domain Controller?</a></dt><dt>service name, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>service-level, <a class="indexterm" href="classicalprinting.html#id2622480">Printing-Related Configuration Parameters</a>, <a class="indexterm" href="classicalprinting.html#id2623941">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#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeShutdownPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>session, <a class="indexterm" href="pam.html#id2665894">Anatomy of /etc/pam.d Entries</a></dt><dt>session services, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a></dt><dt>session setup, <a class="indexterm" href="ServerType.html#id2559294">User Level Security</a>, <a class="indexterm" href="ServerType.html#id2560287">Server Security (User Level Security)</a></dt><dt>sessionid.tdb, <a class="indexterm" href="CUPS-printing.html#id2645408">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>SessionSetupAndX, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>SeSyncAgentPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemEnvironmentPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemProfilePrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemtimePrivilege, <a class="indexterm" href="rights.html#id2609351">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#id2623941">The [global] Section</a></dt><dt>set user id (see SUID)</dt><dt>SeTakeOwnershipPrivilege, <a class="indexterm" href="NetCommand.html#id2601286">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608421">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeTcbPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2643673">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2644082">Requirements for adddriver and setdriver to Succeed</a></dt><dt>SetPrinter(), <a class="indexterm" href="CUPS-printing.html#id2643673">A Check of the rpcclient man Page</a></dt><dt>setting up directories, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a></dt><dt>SeUndockPrivilege, <a class="indexterm" href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>severely impaired, <a class="indexterm" href="NetworkBrowsing.html#id2580775">TCP/IP without NetBIOS</a></dt><dt>SFU, <a class="indexterm" href="idmapper.html#id2608022">IDMAP, Active Directory, and MS Services for UNIX 3.5</a></dt><dt>SFU 3.5, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a></dt><dt>SGI-RGB, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>SGID, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a></dt><dt>shadow, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a></dt><dt>shadow copies, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>shadow password file, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>shadow utilities, <a class="indexterm" href="groupmapping.html#id2595838">Features and Benefits</a></dt><dt>shadow_copy, <a class="indexterm" href="VFS.html#id2651783">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>shadow_copy module, <a class="indexterm" href="VFS.html#id2651783">shadow_copy</a></dt><dt>share, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>share access, <a class="indexterm" href="AccessControls.html#id2612937">Access Controls on Shares</a></dt><dt>share ACLs, <a class="indexterm" href="NT4Migration.html#id2680575">Samba-3 Implementation Choices</a></dt><dt>share management, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a></dt><dt>share modes, <a class="indexterm" href="SambaHA.html#id2672598">The Distributed File System Challenge</a></dt><dt>share permissions, <a class="indexterm" href="AccessControls.html#id2613097">Windows NT4 Workstation/Server</a></dt><dt>Share Permissions, <a class="indexterm" href="AccessControls.html#id2613202">Windows 200x/XP</a></dt><dt>share settings, <a class="indexterm" href="AccessControls.html#id2610520">Features and Benefits</a></dt><dt>share stanza controls, <a class="indexterm" href="NT4Migration.html#id2680575">Samba-3 Implementation Choices</a></dt><dt>share-level, <a class="indexterm" href="ServerType.html#id2559132">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2559457">Share-Level Security</a>, <a class="indexterm" href="msdfs.html#id2621402">Features and Benefits</a></dt><dt>share-level ACLs, <a class="indexterm" href="groupmapping.html#id2597350">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>share-mode, <a class="indexterm" href="StandAloneServer.html#id2574139">Features and Benefits</a></dt><dt>share-mode security, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a></dt><dt>share-mode server, <a class="indexterm" href="StandAloneServer.html#id2574139">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#id2579698">What Is Browsing?</a></dt><dt>shares and files, <a class="indexterm" href="winbind.html#id2654662">Requirements</a></dt><dt>share_info.tdb, <a class="indexterm" href="AccessControls.html#id2612937">Access Controls on Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2645408">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>Sharing, <a class="indexterm" href="AccessControls.html#id2613202">Windows 200x/XP</a></dt><dt>shell scripts, <a class="indexterm" href="classicalprinting.html#id2625342">Print Commands</a></dt><dt>shift, <a class="indexterm" href="CUPS-printing.html#id2635170">UNIX Printfile Conversion and GUI Basics</a></dt><dt>Shift_JIS, <a class="indexterm" href="unicode.html#id2670197">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>shortcuts, <a class="indexterm" href="ClientConfig.html#id2575588">TCP/IP Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>Shortcuts, <a class="indexterm" href="AccessControls.html#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>show-stopper-type, <a class="indexterm" href="NT4Migration.html#id2679040">Planning and Getting Started</a></dt><dt>SID, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2565372">The System Cannot Log You On (C000019B)</a>, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2573454">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2579131">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#id2588514">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="passdb.html#id2589476">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#id2595838">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2602249">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2606577">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2608421">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609839">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653711">Handling of Foreign SIDs</a>, <a class="indexterm" href="ProfileMgmt.html#id2662922">Side Bar Notes</a>, <a class="indexterm" href="ProfileMgmt.html#id2663015">Get SID</a>, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a>, <a class="indexterm" href="NT4Migration.html#id2679927">Profile Migration/Creation</a></dt><dt>SID management, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a></dt><dt>SID-to-GID, <a class="indexterm" href="groupmapping.html#id2595838">Features and Benefits</a></dt><dt>SIDs, <a class="indexterm" href="NT4Migration.html#id2680575">Samba-3 Implementation Choices</a></dt><dt>signing, <a class="indexterm" href="samba-pdc.html#id2565614">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>simple access controls, <a class="indexterm" href="NT4Migration.html#id2679686">Server Share and Directory Layout</a></dt><dt>simple configuration, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>simple guide, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>Simple Object Access Protocol (see SOAP)</dt><dt>simple operation, <a class="indexterm" href="passdb.html#id2587426">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#id2622580">Simple Print Configuration</a></dt><dt>simplest</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt></dl></dd><dt>simplicity, <a class="indexterm" href="StandAloneServer.html#id2574139">Features and Benefits</a></dt><dt>Simplicity is king, <a class="indexterm" href="NT4Migration.html#id2679686">Server Share and Directory Layout</a></dt><dt>single DHCP server, <a class="indexterm" href="ClientConfig.html#id2576854">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#id2672398">The Front-End Challenge</a></dt><dt>single sign-on, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a> (see SSO)</dt><dt>Single Sign-On, <a class="indexterm" href="CUPS-printing.html#id2641987">Caveats to Be Considered</a></dt><dt>single-byte charsets, <a class="indexterm" href="unicode.html#id2669892">What Are Charsets and Unicode?</a></dt><dt>single-logon, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a></dt><dt>single-sign-on, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>single-user mode, <a class="indexterm" href="winbind.html#id2654662">Requirements</a></dt><dt>slapadd, <a class="indexterm" href="passdb.html#id2593820">Initialize the LDAP Database</a></dt><dt>slapd, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a></dt><dt>slapd.conf, <a class="indexterm" href="ChangeNotes.html#id2579252">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2594543">Security and sambaSamAccount</a></dt><dt>slapd.pem, <a class="indexterm" href="samba-bdc.html#id2566948">LDAP Configuration Notes</a></dt><dt>slapindex, <a class="indexterm" href="ChangeNotes.html#id2579252">LDAP Changes in Samba-3.0.23</a></dt><dt>slappasswd, <a class="indexterm" href="passdb.html#id2593820">Initialize the LDAP Database</a></dt><dt>slave servers, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>slow browsing, <a class="indexterm" href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a></dt><dt>slow network, <a class="indexterm" href="speed.html#id2691097">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>slow network browsing, <a class="indexterm" href="NetworkBrowsing.html#id2586723">Invalid Cached Share References Affects Network Browsing</a></dt><dt>slow performance, <a class="indexterm" href="speed.html#id2691284">Samba Performance is Very Slow</a></dt><dt>smart printers, <a class="indexterm" href="CUPS-printing.html#id2632984">Overview</a></dt><dt>SMB, <a class="indexterm" href="ServerType.html#id2560287">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2574012">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="StandAloneServer.html#id2574233">Background</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579515">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584781">Technical Overview of Browsing</a>, <a class="indexterm" href="securing-samba.html#id2618496">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#id2668657">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="Backup.html#id2671510">BackupPC</a>, <a class="indexterm" href="SambaHA.html#id2672398">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672794">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#id2588310">Advantages of Encrypted Passwords</a></dt><dt>SMB locks, <a class="indexterm" href="SambaHA.html#id2672794">Server Pool Communications</a></dt><dt>SMB name, <a class="indexterm" href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a></dt><dt>SMB networking, <a class="indexterm" href="problems.html#id2684841">Diagnostics Tools</a></dt><dt>SMB password, <a class="indexterm" href="passdb.html#id2589916">The smbpasswd Tool</a></dt><dt>SMB Password, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>SMB password encryption, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>smb ports, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>SMB printers, <a class="indexterm" href="CUPS-printing.html#id2649401">Administrator Cannot Install Printers for All Local Users</a></dt><dt>SMB requests, <a class="indexterm" href="SambaHA.html#id2672492">Demultiplexing SMB Requests</a></dt><dt>SMB semantics, <a class="indexterm" href="SambaHA.html#id2672598">The Distributed File System Challenge</a></dt><dt>SMB server, <a class="indexterm" href="passdb.html#id2588310">Advantages of Encrypted Passwords</a></dt><dt>SMB Server, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>SMB services, <a class="indexterm" href="SambaHA.html#id2672725">Restrictive Constraints on Distributed File Systems</a></dt><dt>SMB signing, <a class="indexterm" href="domain-member.html#id2574012">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>SMB state information, <a class="indexterm" href="SambaHA.html#id2672492">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#id2674287">Multiple Virtual Server Personalities</a></dt><dt>smb.conf, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>SMB/CIFS, <a class="indexterm" href="samba-bdc.html#id2567371">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2574012">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a>, <a class="indexterm" href="unicode.html#id2669892">What Are Charsets and Unicode?</a></dt><dt>SMB/CIFS server, <a class="indexterm" href="passdb.html#id2592457">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#id2628524">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2628743">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="Backup.html#id2671510">BackupPC</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a>, <a class="indexterm" href="problems.html#id2684893">Debugging with Samba Itself</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="install.html#id2553100">Example Configuration</a>, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2555234">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556052">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2594006">Configuring Samba</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605879">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a>, <a class="indexterm" href="classicalprinting.html#id2622864">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2623061">Rapid Configuration Validation</a>, <a class="indexterm" href="VFS.html#id2651009">extd_audit</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2654814">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2656208">Linux</a>, <a class="indexterm" href="winbind.html#id2656413">Solaris</a>, <a class="indexterm" href="SambaHA.html#id2672794">Server Pool Communications</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="problems.html#id2684893">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#id2598186">Sample smb.conf Add Group Script</a></dt><dt>smbHome, <a class="indexterm" href="passdb.html#id2594779">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>smbldap-groupadd, <a class="indexterm" href="NetCommand.html#id2599554">Adding or Creating a New Group</a></dt><dt>smbldap-tools, <a class="indexterm" href="passdb.html#id2593010">ldapsam</a></dt><dt>smbpasswd, <a class="indexterm" href="ServerType.html#id2559864">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568755">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#id2572097">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2573454">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2579131">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#id2587243">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2589916">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2590986">User Account Management</a>, <a class="indexterm" href="passdb.html#id2592332">Account Import/Export</a>, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2593010">ldapsam</a>, <a class="indexterm" href="passdb.html#id2593313">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593820">Initialize the LDAP Database</a>, <a class="indexterm" href="idmapper.html#id2604524">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#id2660223">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678119">Passdb Backends and Authentication</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678314">New Schema</a></dt><dt>smbpasswd format, <a class="indexterm" href="passdb.html#id2591103">Listing User and Machine Accounts</a></dt><dt>smbpasswd plaintext database, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a></dt><dt>SMBsessetupX, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a></dt><dt>smbspool, <a class="indexterm" href="CUPS-printing.html#id2648491">Printing from CUPS to Windows-Attached Printers</a></dt><dt>smbstatus, <a class="indexterm" href="CUPS-printing.html#id2649209">Avoid Being Connected to the Samba Server as the Wrong User</a>, <a class="indexterm" href="bugreport.html#id2686672">Attaching to a Running Process</a></dt><dt>SMBtconX, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a></dt><dt>smbusers, <a class="indexterm" href="securing-samba.html#id2618437">User-Based Protection</a></dt><dt>SMS, <a class="indexterm" href="problems.html#id2685342">The Windows Network Monitor</a></dt><dt>Snapshots, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>sniffer, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="problems.html#id2684841">Diagnostics Tools</a></dt><dt>socket, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></dt><dt>socket address, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></dt><dt>SOFTQ printing system, <a class="indexterm" href="classicalprinting.html#id2623941">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#id2656602">Configure Winbind and PAM</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658163">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>Solaris 9, <a class="indexterm" href="winbind.html#id2656413">Solaris</a></dt><dt>source code, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>space character, <a class="indexterm" href="groupmapping.html#id2598497">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#id2627139">[print$] Stanza Parameters</a></dt><dt>special sections, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>special stanza, <a class="indexterm" href="classicalprinting.html#id2627139">[print$] Stanza Parameters</a></dt><dt>specific restrictions, <a class="indexterm" href="AccessControls.html#id2612937">Access Controls on Shares</a></dt><dt>Specify an IP address, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a></dt><dt>spinning process, <a class="indexterm" href="bugreport.html#id2686672">Attaching to a Running Process</a></dt><dt>spool, <a class="indexterm" href="classicalprinting.html#id2622864">Verifying Configuration with testparm</a></dt><dd><dl><dt>directory, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt></dl></dd><dt>spool files, <a class="indexterm" href="classicalprinting.html#id2625962">Custom Print Commands</a></dt><dt>spooled file, <a class="indexterm" href="classicalprinting.html#id2622269">Technical Introduction</a></dt><dt>spooler., <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>spooling, <a class="indexterm" href="classicalprinting.html#id2625962">Custom Print Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2634106">Central Spooling vs. Peer-to-Peer Printing</a></dt><dd><dl><dt>central, <a class="indexterm" href="CUPS-printing.html#id2634106">Central Spooling vs. Peer-to-Peer Printing</a></dt><dt>peer-to-peer, <a class="indexterm" href="CUPS-printing.html#id2634106">Central Spooling vs. Peer-to-Peer Printing</a></dt></dl></dd><dt>spooling path, <a class="indexterm" href="classicalprinting.html#id2622864">Verifying Configuration with testparm</a></dt><dt>spooling-only, <a class="indexterm" href="CUPS-printing.html#id2634156">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#id2579071">Passdb Changes</a></dt><dt>SQUID, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>SRV records, <a class="indexterm" href="domain-member.html#id2572288">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#id2668056">Background Information</a></dt><dt>SrvMgr.exe, <a class="indexterm" href="domain-member.html#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>srvmgr.exe, <a class="indexterm" href="domain-member.html#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>SRVTOOLS.EXE, <a class="indexterm" href="domain-member.html#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657615">Remote Server Administration</a></dt><dt>ssh, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568755">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2671510">BackupPC</a></dt><dt>SSH, <a class="indexterm" href="classicalprinting.html#id2628743">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658163">Remote Management with ThinLinc</a></dt><dt>SSL, <a class="indexterm" href="SWAT.html#id2681846">Securing SWAT through SSL</a></dt><dt>SSO, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2589063">Comments Regarding LDAP</a></dt><dt>stability, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>stack trace, <a class="indexterm" href="bugreport.html#id2686538">Internal Errors</a></dt><dt>stale network links, <a class="indexterm" href="NetworkBrowsing.html#id2586723">Invalid Cached Share References Affects Network Browsing</a></dt><dt>stand-alone server, <a class="indexterm" href="idmapper.html#id2604462">Standalone Samba Server</a></dt><dt>standalone, <a class="indexterm" href="ServerType.html#id2558987">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></dt><dt>standalone filter, <a class="indexterm" href="CUPS-printing.html#id2637311">pstoraster</a></dt><dt>standalone server, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a>, <a class="indexterm" href="StandAloneServer.html#id2574139">Features and Benefits</a>, <a class="indexterm" href="StandAloneServer.html#id2574233">Background</a>, <a class="indexterm" href="passdb.html#id2591338">Adding User Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679485">Domain Layout</a></dt><dt>standard confirmation, <a class="indexterm" href="InterdomainTrusts.html#id2620080">Creating an NT4 Domain Trust</a></dt><dt>stanza, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>stapling, <a class="indexterm" href="CUPS-printing.html#id2637143">pstops</a></dt><dt>StartDocPrinter, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>starting samba</dt><dd><dl><dt>nmbd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2555234">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556052">Example Configuration</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2555234">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556052">Example Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2556052">Example Configuration</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a></dt></dl></dd><dt>startsmb, <a class="indexterm" href="compiling.html#id2688712">Alternative: Starting smbd as a Daemon</a></dt><dt>StartTLS, <a class="indexterm" href="passdb.html#id2594543">Security and sambaSamAccount</a></dt><dt>startup</dt><dd><dl><dt>process, <a class="indexterm" href="install.html#id2552921">Starting Samba</a></dt></dl></dd><dt>startup script, <a class="indexterm" href="winbind.html#id2655847">Starting and Testing the winbindd Daemon</a></dt><dt>state, <a class="indexterm" href="SambaHA.html#id2672279">Why Is This So Hard?</a></dt><dt>state information, <a class="indexterm" href="SambaHA.html#id2672279">Why Is This So Hard?</a></dt><dt>state of knowledge, <a class="indexterm" href="SambaHA.html#id2671994">Features and Benefits</a></dt><dt>static WINS entries, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt><dt>status32 codes, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>sticky bit, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a>, <a class="indexterm" href="NT4Migration.html#id2679686">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#id2589916">The smbpasswd Tool</a></dt><dt>stphoto2.ppd, <a class="indexterm" href="CUPS-printing.html#id2639547">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#id2681065">Features and Benefits</a></dt><dt>strptime, <a class="indexterm" href="passdb.html#id2591510">Changing User Accounts</a></dt><dt>stunnel, <a class="indexterm" href="SWAT.html#id2681846">Securing SWAT through SSL</a></dt><dt>su, <a class="indexterm" href="pam.html#id2665894">Anatomy of /etc/pam.d Entries</a></dt><dt>subnet mask, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>subnets, <a class="indexterm" href="NetworkBrowsing.html#id2580138">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#id2692475">Free Support</a></dt><dt>subsuffix parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2678706">New Suffix for Searching</a></dt><dt>Subversion, <a class="indexterm" href="compiling.html#id2687538">Introduction</a>, <a class="indexterm" href="compiling.html#id2687629">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#id2679075">Objectives</a></dt><dt>sufficient, <a class="indexterm" href="pam.html#id2665894">Anatomy of /etc/pam.d Entries</a></dt><dt>suffixes, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>SUID, <a class="indexterm" href="AccessControls.html#id2611189">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#id2665130">Features and Benefits</a></dt><dt>Sun Solaris, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>SUN-Raster, <a class="indexterm" href="CUPS-printing.html#id2636161">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#id2679075">Objectives</a></dt><dt>SVN</dt><dd><dl><dt>web, <a class="indexterm" href="compiling.html#id2687593">Access via ViewCVS</a></dt></dl></dd><dt>SVRTOOLS.EXE, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a></dt><dt>SWAT, <a class="indexterm" href="install.html#id2551976">Configuring Samba (smb.conf)</a>, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>swat, <a class="indexterm" href="install.html#id2553503">SWAT</a>, <a class="indexterm" href="SWAT.html#id2681209">Validate SWAT Installation</a>, <a class="indexterm" href="SWAT.html#id2681279">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#id2681846">Securing SWAT through SSL</a></dt></dl></dd><dt>SWAT binary support, <a class="indexterm" href="SWAT.html#id2681209">Validate SWAT Installation</a></dt><dt>swat command-line options, <a class="indexterm" href="SWAT.html#id2681279">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#id2621402">Features and Benefits</a></dt><dt>synchronization, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronization problems, <a class="indexterm" href="winbind.html#id2653423">Introduction</a></dt><dt>synchronize, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583455">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronized, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a></dt><dt>syntax tolerates spelling errors, <a class="indexterm" href="classicalprinting.html#id2622580">Simple Print Configuration</a></dt><dt>system access controls, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a></dt><dt>system accounts, <a class="indexterm" href="passdb.html#id2590986">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#id2599756">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#id2658865">Creating and Managing System Policies</a></dt><dt>System Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659616">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2663329">MS Windows 9x/Me</a></dt><dt>system security, <a class="indexterm" href="groupmapping.html#id2597350">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>system tools, <a class="indexterm" href="Backup.html#id2671368">Features and Benefits</a></dt><dt>SYSV, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2659412">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#id2682784">Assumptions</a></dt><dt>take ownership, <a class="indexterm" href="rights.html#id2609041">Description of Privileges</a></dt><dt>Take Ownership, <a class="indexterm" href="AccessControls.html#id2613556">Viewing File Ownership</a></dt><dt>tape, <a class="indexterm" href="NT4Migration.html#id2679686">Server Share and Directory Layout</a></dt><dt>tar, <a class="indexterm" href="Backup.html#id2671510">BackupPC</a></dt><dt>tarball, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>tattoo effect, <a class="indexterm" href="NT4Migration.html#id2680575">Samba-3 Implementation Choices</a></dt><dt>TCP, <a class="indexterm" href="NetworkBrowsing.html#id2583129">Multiple Interfaces</a>, <a class="indexterm" href="SambaHA.html#id2672279">Why Is This So Hard?</a></dt><dt>TCP data streams, <a class="indexterm" href="SambaHA.html#id2672398">The Front-End Challenge</a></dt><dt>TCP failover, <a class="indexterm" href="SambaHA.html#id2672279">Why Is This So Hard?</a></dt><dt>TCP port, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a></dt><dt>TCP port 139, <a class="indexterm" href="integrate-ms-networks.html#id2668056">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>TCP port 445, <a class="indexterm" href="integrate-ms-networks.html#id2668056">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dt>tcp ports, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a></dt><dt>TCP/IP, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579515">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a></dt><dt>TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a></dt><dt>TCP/IP configuration panel, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a></dt><dt>TCP/IP protocol configuration, <a class="indexterm" href="ClientConfig.html#id2575545">Technical Details</a></dt><dt>TCP/IP protocol settings, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a></dt><dt>TCP/IP protocol stack, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a></dt><dt>TCP/IP-only, <a class="indexterm" href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a></dt><dt>tcpdump, <a class="indexterm" href="problems.html#id2685149">Tcpdump</a></dt><dt>TDB, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a>, <a class="indexterm" href="classicalprinting.html#id2629487">Running rpcclient with setdriver</a>, <a class="indexterm" href="CUPS-printing.html#id2645408">The Printing *.tdb Files</a>, <a class="indexterm" href="CUPS-printing.html#id2645611">Trivial Database Files</a>, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></dt><dd><dl><dt>backing up (see tdbbackup)</dt></dl></dd><dt>tdb, <a class="indexterm" href="winbind.html#id2654408">User and Group ID Allocation</a>, <a class="indexterm" href="SambaHA.html#id2672794">Server Pool Communications</a>, <a class="indexterm" href="tdb.html#id2686880">Features and Benefits</a></dt><dt>tdb data files, <a class="indexterm" href="upgrading-to-3.0.html#id2677671">TDB Data Files</a></dt><dt>TDB database, <a class="indexterm" href="classicalprinting.html#id2628880">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#id2677671">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#id2677671">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#id2612937">Access Controls on Shares</a></dt><dt>tdbbackup, <a class="indexterm" href="CUPS-printing.html#id2645796">Using tdbbackup</a>, <a class="indexterm" href="speed.html#id2691189">Corrupt tdb Files</a></dt><dt>tdbdump, <a class="indexterm" href="AccessControls.html#id2612937">Access Controls on Shares</a></dt><dt>tdbsam, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2579131">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#id2591103">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2592852">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>tdbsam databases, <a class="indexterm" href="passdb.html#id2592457">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#id2588450">Advantages of Non-Encrypted Passwords</a></dt><dt>telnet logins, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>template, <a class="indexterm" href="ProfileMgmt.html#id2663220">Creating and Managing Group Profiles</a></dt><dt>temporary location, <a class="indexterm" href="classicalprinting.html#id2625342">Print Commands</a></dt><dt>terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658163">Remote Management with ThinLinc</a></dt><dt>Terminal Server, <a class="indexterm" href="SambaHA.html#id2672492">Demultiplexing SMB Requests</a></dt><dt>Testing Server Setup, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></dt><dt>testparm, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="classicalprinting.html#id2622580">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2622864">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2623061">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2623461">Extended Printing Configuration</a>, <a class="indexterm" href="diagnosis.html#id2682784">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a>, <a class="indexterm" href="problems.html#id2684893">Debugging with Samba Itself</a></dt><dt>tethereal, <a class="indexterm" href="problems.html#id2685149">Tcpdump</a></dt><dt>text/plain, <a class="indexterm" href="CUPS-printing.html#id2636590">MIME Type Conversion Rules</a></dt><dt>texttops, <a class="indexterm" href="CUPS-printing.html#id2636590">MIME Type Conversion Rules</a></dt><dt>thin client, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658163">Remote Management with ThinLinc</a></dt><dt>ThinLinc, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658163">Remote Management with ThinLinc</a></dt><dt>tid, <a class="indexterm" href="SambaHA.html#id2672492">Demultiplexing SMB Requests</a></dt><dt>TIFF, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>TightVNC, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658163">Remote Management with ThinLinc</a></dt><dt>time difference, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></dt><dt>time format, <a class="indexterm" href="passdb.html#id2591510">Changing User Accounts</a></dt><dt>time-to-live (see TTL)</dt><dt>tool, <a class="indexterm" href="AccessControls.html#id2613202">Windows 200x/XP</a></dt><dt>tools, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2589338">Caution Regarding LDAP and Samba</a></dt><dt>tools\reskit\netadmin\poledit, <a class="indexterm" href="PolicyMgmt.html#id2659054">Windows 9x/ME Policies</a></dt><dt>traditional printing, <a class="indexterm" href="classicalprinting.html#id2625962">Custom Print Commands</a></dt><dt>training course, <a class="indexterm" href="Backup.html#id2671412">Discussion of Backup Solutions</a></dt><dt>transfer differences, <a class="indexterm" href="Backup.html#id2671681">Rsync</a></dt><dt>transformation, <a class="indexterm" href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></dt><dt>transitive, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></dt><dt>transparent access, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a></dt><dt>transparently reconnected, <a class="indexterm" href="SambaHA.html#id2672149">The Ultimate Goal</a></dt><dt>transport connection loss, <a class="indexterm" href="locking.html#id2615890">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#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></dt><dt>trivial database, <a class="indexterm" href="passdb.html#id2587426">New Account Storage Systems</a> (see TDB)</dt><dt>Trivial Database, <a class="indexterm" href="tdb.html#id2686880">Features and Benefits</a></dt><dt>troubleshoot, <a class="indexterm" href="classicalprinting.html#id2623061">Rapid Configuration Validation</a></dt><dt>troubleshooting, <a class="indexterm" href="CUPS-printing.html#id2648491">Printing from CUPS to Windows-Attached Printers</a></dt><dt>Tru64 UNIX, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>trust, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="ServerType.html#id2559649">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#id2621016">NT4-Style Domain Trusts with Windows 2000</a></dt><dd><dl><dt>interdomain, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a></dt><dt>machine, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a></dt></dl></dd><dt>trust account password, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a></dt><dt>trust accounts, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a></dt><dt>trust established, <a class="indexterm" href="InterdomainTrusts.html#id2620262">Interdomain Trust Facilities</a></dt><dt>trust relationship, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620177">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620262">Interdomain Trust Facilities</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620471">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621016">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#id2619694">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620080">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>trusted, <a class="indexterm" href="NetworkBrowsing.html#id2585487">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#id2596648">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#id2619766">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620177">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620820">Samba as the Trusting Domain</a>, <a class="indexterm" href="winbind.html#id2654021">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#id2619766">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620177">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#id2619766">Trust Relationship Background</a></dt><dt>TTL, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt><dt>turn oplocks off, <a class="indexterm" href="locking.html#id2616739">Advanced Samba Oplocks Parameters</a></dt><dt>turnkey solution, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a></dt><dt>two-up, <a class="indexterm" href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a></dt><dt>two-way</dt><dd><dl><dt>propagation, <a class="indexterm" href="samba-bdc.html#id2565798">Features and Benefits</a></dt></dl></dd><dt>two-way trust, <a class="indexterm" href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620044">Native MS Windows NT4 Trusts Configuration</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620262">Interdomain Trust Facilities</a></dt></dl></div><div class="indexdiv"><h3>U</h3><dl><dt>UCS-2, <a class="indexterm" href="unicode.html#id2670197">Japanese Charsets</a></dt><dt>UDP, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581334">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#id2583129">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a></dt><dt>UDP port 137, <a class="indexterm" href="integrate-ms-networks.html#id2668056">Background Information</a></dt><dt>udp ports, <a class="indexterm" href="winbind.html#id2655609">Join the Samba Server to the PDC Domain</a></dt><dt>UDP unicast, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a></dt><dt>UID, <a class="indexterm" href="samba-bdc.html#id2568144">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#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2573454">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#id2588514">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#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2591103">Listing User and Machine Accounts</a>, <a class="indexterm" href="groupmapping.html#id2595838">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599756">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="NetCommand.html#id2600875">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605485">Primary Domain Controller</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653711">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2655847">Starting and Testing the winbindd Daemon</a></dt><dt>uid, <a class="indexterm" href="passdb.html#id2593548">OpenLDAP Configuration</a></dt><dt>UID numbers, <a class="indexterm" href="idmapper.html#id2604524">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#id2627972">Identifying Driver Files</a></dt><dt>unexpected.tdb, <a class="indexterm" href="CUPS-printing.html#id2645408">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>unicast, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a></dt><dt>unicode, <a class="indexterm" href="unicode.html#id2669892">What Are Charsets and Unicode?</a></dt><dt>Unicode, <a class="indexterm" href="unicode.html#id2670030">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>Unicode UTF-8, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>unified logon, <a class="indexterm" href="winbind.html#id2653423">Introduction</a></dt><dt>UNIX, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dd><dl><dt>server, <a class="indexterm" href="ServerType.html#id2558828">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#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570508">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>unix charset, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>UNIX Domain Socket, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a></dt><dt>UNIX domain socket, <a class="indexterm" href="winbind.html#id2653836">How Winbind Works</a></dt><dt>UNIX file system access controls, <a class="indexterm" href="AccessControls.html#id2610520">Features and Benefits</a></dt><dt>UNIX group, <a class="indexterm" href="NetCommand.html#id2599756">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#id2653512">What Winbind Provides</a></dt><dt>UNIX home directories, <a class="indexterm" href="securing-samba.html#id2619134">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#id2654408">User and Group ID Allocation</a></dt><dt>UNIX locking, <a class="indexterm" href="locking.html#id2615632">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#id2680575">Samba-3 Implementation Choices</a></dt><dt>UNIX printer, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>UNIX printing, <a class="indexterm" href="classicalprinting.html#id2622269">Technical Introduction</a></dt><dt>UNIX system account, <a class="indexterm" href="domain-member.html#id2573776">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#id2671368">Features and Benefits</a></dt><dt>UNIX user identifier (see UID)</dt><dt>UNIX users, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2653512">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#id2574233">Background</a></dt><dt>UNIX/Linux group, <a class="indexterm" href="groupmapping.html#id2596591">Warning: User Private Group Problems</a></dt><dt>UNIX/Linux user account, <a class="indexterm" href="NetCommand.html#id2600875">UNIX and Windows User Management</a></dt><dt>unlink calls, <a class="indexterm" href="VFS.html#id2651336">recycle</a></dt><dt>unlinked, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a></dt><dt>unmapped groups, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a></dt><dt>unmapped users, <a class="indexterm" href="ChangeNotes.html#id2578638">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#id2649368">Windows 200x/XP Local Security Policies</a></dt><dt>unstoppable services, <a class="indexterm" href="SambaHA.html#id2672149">The Ultimate Goal</a></dt><dt>unsupported encryption, <a class="indexterm" href="domain-member.html#id2573089">Possible Errors</a></dt><dt>unsupported software, <a class="indexterm" href="ch47.html#id2692694">Commercial Support</a></dt><dt>updates, <a class="indexterm" href="securing-samba.html#id2619045">Upgrading Samba</a></dt><dt>upload drivers, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a></dt><dt>uploaded driver, <a class="indexterm" href="classicalprinting.html#id2623941">The [global] Section</a></dt><dt>uploaded drivers, <a class="indexterm" href="classicalprinting.html#id2626632">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>uploading, <a class="indexterm" href="classicalprinting.html#id2626632">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>upper-case, <a class="indexterm" href="ServerType.html#id2559294">User Level Security</a></dt><dt>uppercase, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573776">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#id2598497">Adding Groups Fails</a></dt><dt>USB, <a class="indexterm" href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a></dt><dt>use computer anywhere, <a class="indexterm" href="unicode.html#id2669841">Features and Benefits</a></dt><dt>user, <a class="indexterm" href="ChangeNotes.html#id2578638">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a></dt><dt>user access management, <a class="indexterm" href="domain-member.html#id2569104">Features and Benefits</a></dt><dt>user account, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2590986">User Account Management</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="NetCommand.html#id2600875">UNIX and Windows User Management</a></dt><dd><dl><dt>Adding/Deleting, <a class="indexterm" href="passdb.html#id2589916">The smbpasswd Tool</a></dt></dl></dd><dt>user account database, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></dt><dt>user accounts, <a class="indexterm" href="passdb.html#id2589338">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="idmapper.html#id2604524">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#id2594430">Accounts and Groups Management</a></dt></dl></dd><dt>user and group, <a class="indexterm" href="winbind.html#id2653512">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#id2592586">smbpasswd: Encrypted Password Database</a></dt><dt>user authentication, <a class="indexterm" href="winbind.html#id2653887">Microsoft Remote Procedure Calls</a></dt><dt>user database, <a class="indexterm" href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2592510">Plaintext</a></dt><dt>user encoded, <a class="indexterm" href="NetCommand.html#id2602249">Managing Security Identifiers (SIDS)</a></dt><dt>user groups, <a class="indexterm" href="ch47.html#id2692475">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#id2589916">The smbpasswd Tool</a>, <a class="indexterm" href="NetCommand.html#id2598978">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599354">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#id2594430">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#id2620820">Samba as the Trusting Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657615">Remote Server Administration</a>, <a class="indexterm" href="ProfileMgmt.html#id2663220">Creating and Managing Group Profiles</a></dt><dt>User Manager for Domains, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657615">Remote Server Administration</a></dt><dt>user or group, <a class="indexterm" href="rights.html#id2608696">Using the net rpc rights Utility</a></dt><dt>user profiles, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>User Rights and Privileges, <a class="indexterm" href="rights.html#id2609839">The Administrator Domain SID</a></dt><dt>user-level, <a class="indexterm" href="ServerType.html#id2559132">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2559294">User Level Security</a></dt><dt>User-level access control, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>user-level security, <a class="indexterm" href="passdb.html#id2588310">Advantages of Encrypted Passwords</a></dt><dt>user-mode security, <a class="indexterm" href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a></dt><dt>user.DAT, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2662629">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>user.MAN, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>User.MAN, <a class="indexterm" href="ProfileMgmt.html#id2663080">Mandatory Profiles</a></dt><dt>useradd, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570508">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>username, <a class="indexterm" href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></dt><dt>username and password, <a class="indexterm" href="ClientConfig.html#id2577360">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>username map, <a class="indexterm" href="NetCommand.html#id2601203">User Mapping</a></dt><dt>userPassword, <a class="indexterm" href="passdb.html#id2593820">Initialize the LDAP Database</a></dt><dt>users, <a class="indexterm" href="PolicyMgmt.html#id2658759">Features and Benefits</a></dt><dt>UsrMgr.exe, <a class="indexterm" href="domain-member.html#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>UTF-8, <a class="indexterm" href="unicode.html#id2670030">Samba and Charsets</a>, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>UTF-8 encoding, <a class="indexterm" href="SWAT.html#id2681998">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#id2618847">Using IPC$ Share-Based Denials </a></dt><dt>valid users, <a class="indexterm" href="diagnosis.html#id2683077">The Tests</a></dt><dt>validate, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="diagnosis.html#id2682745">Introduction</a></dt><dt>validate every backup, <a class="indexterm" href="NT4Migration.html#id2679686">Server Share and Directory Layout</a></dt><dt>validation, <a class="indexterm" href="samba-pdc.html#id2561886">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#id2634156">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>verifiable, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a></dt><dt>verify, <a class="indexterm" href="classicalprinting.html#id2623061">Rapid Configuration Validation</a></dt><dt>version control, <a class="indexterm" href="VFS.html#id2651783">shadow_copy</a></dt><dt>VFS, <a class="indexterm" href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a>, <a class="indexterm" href="VFS.html#id2650350">Discussion</a></dt><dt>VFS module, <a class="indexterm" href="VFS.html#id2651783">shadow_copy</a>, <a class="indexterm" href="ProfileMgmt.html#id2663080">Mandatory Profiles</a></dt><dt>VFS modules, <a class="indexterm" href="VFS.html#id2650350">Discussion</a>, <a class="indexterm" href="VFS.html#id2652691">VFS Modules Available Elsewhere</a></dt><dt>vgcreate, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>vgdisplay, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>vipw, <a class="indexterm" href="samba-pdc.html#id2565206">$ Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2569791">Manual Creation of Machine Trust Accounts</a></dt><dt>Virtual File System (see VFS)</dt><dt>virtual server, <a class="indexterm" href="SambaHA.html#id2672398">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672992">A Simple Solution</a></dt><dt>virus scanner, <a class="indexterm" href="VFS.html#id2650350">Discussion</a></dt><dt>Visual Studio, <a class="indexterm" href="CUPS-printing.html#id2641052">PostScript Drivers with No Major Problems, Even in Kernel 7 Mode</a></dt><dt>vital task, <a class="indexterm" href="SambaHA.html#id2671994">Features and Benefits</a></dt><dt>VNC/RFB, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>volume group, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>volunteers, <a class="indexterm" href="problems.html#id2685705">Getting Mailing List Help</a></dt><dt>vscan, <a class="indexterm" href="VFS.html#id2652776">vscan</a></dt><dt>vuid, <a class="indexterm" href="SambaHA.html#id2672492">Demultiplexing SMB Requests</a></dt></dl></div><div class="indexdiv"><h3>W</h3><dl><dt>W32X86, <a class="indexterm" href="classicalprinting.html#id2627972">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2641052">PostScript Drivers with No Major Problems, Even in Kernel 8 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2641987">Caveats to Be Considered</a></dt><dt>W32X86/2, <a class="indexterm" href="CUPS-printing.html#id2635766">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#id2616505">Slow and/or Unreliable Networks</a></dt><dt>wbinfo, <a class="indexterm" href="winbind.html#id2655847">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#id2586523">Browsing of Shares and Directories is Very Slow</a></dt><dt>Welcome, <a class="indexterm" href="ClientConfig.html#id2577360">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>well known RID, <a class="indexterm" href="rights.html#id2609839">The Administrator Domain SID</a></dt><dt>well-controlled network, <a class="indexterm" href="NT4Migration.html#id2679686">Server Share and Directory Layout</a></dt><dt>well-known RID, <a class="indexterm" href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a></dt><dt>wide-area network bandwidth, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>win election, <a class="indexterm" href="NetworkBrowsing.html#id2582868">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#id2627972">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2628378">Obtaining Driver Files from Windows Client [print$] Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2641987">Caveats to Be Considered</a></dt><dt>winbind, <a class="indexterm" href="domain-member.html#id2571815">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605791">Examples of IDMAP Backend Usage</a>, <a class="indexterm" href="idmapper.html#id2605879">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2655412">Configure smb.conf</a></dt><dt>Winbind, <a class="indexterm" href="StandAloneServer.html#id2574233">Background</a>, <a class="indexterm" href="winbind.html#id2653665">Target Uses</a>, <a class="indexterm" href="winbind.html#id2653974">Microsoft Active Directory Services</a>, <a class="indexterm" href="winbind.html#id2654253">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2654408">User and Group ID Allocation</a>, <a class="indexterm" href="winbind.html#id2654484">Result Caching</a>, <a class="indexterm" href="winbind.html#id2654547">Introduction</a>, <a class="indexterm" href="winbind.html#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2655298">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2655847">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2656769">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2657273">Conclusion</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt><dt>Winbind architecture, <a class="indexterm" href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></dt><dt>Winbind hooks, <a class="indexterm" href="winbind.html#id2653512">What Winbind Provides</a></dt><dt>Winbind services, <a class="indexterm" href="winbind.html#id2655847">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#id2657115">Solaris-Specific Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2556052">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568144">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2579131">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="groupmapping.html#id2595838">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2600875">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2653079">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653836">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2654662">Requirements</a>, <a class="indexterm" href="winbind.html#id2654814">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2654900">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2655412">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2655847">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2656413">Solaris</a>, <a class="indexterm" href="winbind.html#id2656602">Configure Winbind and PAM</a>, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></dt><dt>winbindd daemon, <a class="indexterm" href="winbind.html#id2656208">Linux</a></dt><dt>Windows, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="unicode.html#id2670337">Basic Parameter Setting</a></dt><dt>Windows 2000, <a class="indexterm" href="domain-member.html#id2572288">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#id2619766">Trust Relationship Background</a></dt><dt>Windows 2000 Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a></dt><dt>Windows 2000 server, <a class="indexterm" href="InterdomainTrusts.html#id2621016">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>Windows 2003, <a class="indexterm" href="domain-member.html#id2572288">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2574012">I Can't Join a Windows 2003 PDC</a></dt><dt>Windows 200x/XP, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a>, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a></dt><dt>Windows 9x/Me, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657615">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#id2653512">What Winbind Provides</a></dt><dt>Windows client, <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows client failover, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>Windows domain, <a class="indexterm" href="upgrading-to-3.0.html#id2678023">Changes in Behavior</a></dt><dt>Windows Explorer, <a class="indexterm" href="NetworkBrowsing.html#id2585064">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2627972">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#id2596591">Warning: User Private Group Problems</a>, <a class="indexterm" href="NetCommand.html#id2599756">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#id2609839">The Administrator Domain SID</a></dt><dt>Windows groups, <a class="indexterm" href="NetCommand.html#id2599756">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#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>Windows Me TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a></dt><dt>Windows Millennium, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a></dt><dt>Windows Millennium edition (Me) TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a></dt><dt>Windows network clients, <a class="indexterm" href="NetworkBrowsing.html#id2579515">Features and Benefits</a></dt><dt>Windows NT domain name, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows NT PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2648491">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#id2629146">Check Samba for Driver Recognition</a></dt><dt>Windows NT/200x, <a class="indexterm" href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a>, <a class="indexterm" href="winbind.html#id2654547">Introduction</a></dt><dt>Windows NT/200x/XP, <a class="indexterm" href="classicalprinting.html#id2623941">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#id2577360">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2578330">Common Errors</a></dt><dt>Windows NT3.10, <a class="indexterm" href="samba-bdc.html#id2566203">Essential Background Information</a></dt><dt>Windows NT4, <a class="indexterm" href="AccessControls.html#id2613097">Windows NT4 Workstation/Server</a>, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a></dt><dt>Windows NT4 domains, <a class="indexterm" href="InterdomainTrusts.html#id2620262">Interdomain Trust Facilities</a></dt><dt>Windows NT4 Server, <a class="indexterm" href="InterdomainTrusts.html#id2620471">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Windows NT4/200X, <a class="indexterm" href="passdb.html#id2589476">LDAP Directories and Windows Computer Accounts</a></dt><dt>Windows NT4/200x, <a class="indexterm" href="groupmapping.html#id2596254">Discussion</a></dt><dt>Windows NT4/200x/XP, <a class="indexterm" href="samba-bdc.html#id2567518">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="AccessControls.html#id2613202">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#id2646160">690 Perfect Printers</a></dt><dt>Windows privilege model, <a class="indexterm" href="rights.html#id2608421">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#id2661258">Windows 9x/Me Profile Setup</a></dt><dd><dl><dt>default profile locations, <a class="indexterm" href="ProfileMgmt.html#id2663480">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2664042">MS Windows 200x/XP</a></dt><dt>profile path, <a class="indexterm" href="ProfileMgmt.html#id2661258">Windows 9x/Me Profile Setup</a></dt><dt>roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2661031">Disabling Roaming Profile Support</a></dt></dl></dd><dt>Windows Resource Kit, <a class="indexterm" href="ProfileMgmt.html#id2661031">Disabling Roaming Profile Support</a></dt><dt>Windows Security Identifiers (see SID)</dt><dt>Windows Terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></dt><dt>Windows Terminal Server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658163">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#id2600875">UNIX and Windows User Management</a></dt><dt>Windows workstation., <a class="indexterm" href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows XP Home, <a class="indexterm" href="passdb.html#id2587995">Important Notes About Security</a></dt><dt>Windows XP Home edition, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2564494">The Special Case of MS Windows XP Home Edition</a>, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows XP Home Edition, <a class="indexterm" href="ProfileMgmt.html#id2664042">MS Windows 200x/XP</a></dt><dt>Windows XP Professional, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="classicalprinting.html#id2622046">Features and Benefits</a></dt><dt>Windows XP Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a></dt><dt>Windows XP TCP/IP, <a class="indexterm" href="ClientConfig.html#id2575664">MS Windows XP Professional</a></dt><dt>Windows95/98/ME, <a class="indexterm" href="classicalprinting.html#id2629146">Check Samba for Driver Recognition</a></dt><dt>winnt.adm, <a class="indexterm" href="PolicyMgmt.html#id2659191">Windows NT4-Style Policy Files</a></dt><dt>WINS, <a class="indexterm" href="samba-pdc.html#id2561252">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2562506">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567371">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2571079">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#id2575664">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576307">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579515">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579698">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580138">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582267">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582868">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584781">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584868">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585487">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669412">WINS Lookup</a>, <a class="indexterm" href="DNSDHCP.html#id2693025">Example Configuration</a></dt><dt>wins, <a class="indexterm" href="integrate-ms-networks.html#id2668533">/etc/nsswitch.conf</a></dt><dt>WINS Configuration, <a class="indexterm" href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS lookup, <a class="indexterm" href="domain-member.html#id2571079">Joining an NT4-type Domain with Samba-3</a></dt><dt>WINS replication, <a class="indexterm" href="NetworkBrowsing.html#id2584141">WINS Replication</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt><dt>WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2579698">What Is Browsing?</a></dt><dt>WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582868">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584868">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS server address, <a class="indexterm" href="NetworkBrowsing.html#id2581334">How Browsing Functions</a></dt><dt>WINS server settings, <a class="indexterm" href="ClientConfig.html#id2576854">MS Windows Me</a></dt><dt>WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a></dt><dt>WINS service, <a class="indexterm" href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a></dt><dt>WINS Support, <a class="indexterm" href="NetworkBrowsing.html#id2579698">What Is Browsing?</a></dt><dt>wins.dat, <a class="indexterm" href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></dt><dt>without Administrator account, <a class="indexterm" href="rights.html#id2609839">The Administrator Domain SID</a></dt><dt>without ADS, <a class="indexterm" href="NT4Migration.html#id2679075">Objectives</a></dt><dt>work-flow protocol, <a class="indexterm" href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></dt><dt>workgroup, <a class="indexterm" href="ServerType.html#id2560287">Server Security (User Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2563011">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2564533">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582868">Making Samba the Domain Master</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2673890">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>membership, <a class="indexterm" href="samba-pdc.html#id2563011">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#id2611189">File and Directory Access Control</a></dt><dt>write, <a class="indexterm" href="AccessControls.html#id2611189">File and Directory Access Control</a></dt><dt>write access, <a class="indexterm" href="AccessControls.html#id2611601">Protecting Directories and Files from Deletion</a></dt><dt>Write caching, <a class="indexterm" href="locking.html#id2615890">Opportunistic Locking Overview</a></dt><dt>write changes, <a class="indexterm" href="idmapper.html#id2605720">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#id2634992">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#id2634992">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635170">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#id2651971">Shadow Copy Setup</a></dt><dt>xfsprogs, <a class="indexterm" href="VFS.html#id2651971">Shadow Copy Setup</a></dt><dt>xinetd, <a class="indexterm" href="SWAT.html#id2681209">Validate SWAT Installation</a>, <a class="indexterm" href="compiling.html#id2688492">Starting from inetd.conf</a> (see inetd)</dt><dt>XML, <a class="indexterm" href="ChangeNotes.html#id2579071">Passdb Changes</a></dt><dt>XML-based datasets, <a class="indexterm" href="CUPS-printing.html#id2646791">Foomatic Database-Generated PPDs</a></dt><dt>xpp, <a class="indexterm" href="CUPS-printing.html#id2646791">Foomatic Database-Generated PPDs</a></dt><dt>Xprint, <a class="indexterm" href="CUPS-printing.html#id2634992">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635170">UNIX Printfile Conversion and GUI Basics</a></dt><dt>xxxxBSD, <a class="indexterm" href="pam.html#id2665130">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>Y</h3><dl><dt>yppasswd, <a class="indexterm" href="passdb.html#id2589916">The smbpasswd Tool</a></dt></dl></div><div class="indexdiv"><h3>Z</h3><dl><dt>Zero Administration Kit, <a class="indexterm" href="PolicyMgmt.html#id2659191">Windows NT4-Style Policy Files</a></dt><dt>zero-based broadcast, <a class="indexterm" href="NetworkBrowsing.html#id2583108">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
r226 r231 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.7 3.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="id26 66361"></a>3 <a class="indexterm" name="id26 66368"></a>4 <a class="indexterm" name="id26 66375"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 33. Handling Large Directories</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="id2673351"></a> 3 <a class="indexterm" name="id2673358"></a> 4 <a class="indexterm" name="id2673365"></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="id26 66389"></a>9 <a class="indexterm" name="id26 66396"></a>8 <a class="indexterm" name="id2673379"></a> 9 <a class="indexterm" name="id2673386"></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="id26 66413"></a>16 <a class="indexterm" name="id26 66420"></a>15 <a class="indexterm" name="id2673404"></a> 16 <a class="indexterm" name="id2673410"></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="id26 66433"></a>20 <a class="indexterm" name="id2673423"></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="id26 66461"></a><em class="parameter"><code>path = /data/manyfilesdir</code></em></td></tr><tr><td><a class="indexterm" name="id2666472"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2666484"></a><em class="parameter"><code>case sensitive = True</code></em></td></tr><tr><td><a class="indexterm" name="id2666496"></a><em class="parameter"><code>default case = upper</code></em></td></tr><tr><td><a class="indexterm" name="id2666508"></a><em class="parameter"><code>preserve case = no</code></em></td></tr><tr><td><a class="indexterm" name="id2666520"></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="id2673451"></a><em class="parameter"><code>path = /data/manyfilesdir</code></em></td></tr><tr><td><a class="indexterm" name="id2673463"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2673474"></a><em class="parameter"><code>case sensitive = True</code></em></td></tr><tr><td><a class="indexterm" name="id2673486"></a><em class="parameter"><code>default case = upper</code></em></td></tr><tr><td><a class="indexterm" name="id2673498"></a><em class="parameter"><code>preserve case = no</code></em></td></tr><tr><td><a class="indexterm" name="id2673510"></a><em class="parameter"><code>short preserve case = no</code></em></td></tr></table><p> 25 25 </p><p> 26 <a class="indexterm" name="id26 66535"></a>27 <a class="indexterm" name="id26 66542"></a>28 <a class="indexterm" name="id26 66548"></a>26 <a class="indexterm" name="id2673525"></a> 27 <a class="indexterm" name="id2673532"></a> 28 <a class="indexterm" name="id2673539"></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="id26 66569"></a>35 <a class="indexterm" name="id26 66575"></a>36 <a class="indexterm" name="id26 66582"></a>37 The secret to this is really in the <a class="link" href="smb.conf.5.html#CASESENSITIVE" >case sensitive = True</a>34 <a class="indexterm" name="id2673559"></a> 35 <a class="indexterm" name="id2673566"></a> 36 <a class="indexterm" name="id2673572"></a> 37 The secret to this is really in the <a class="link" href="smb.conf.5.html#CASESENSITIVE" target="_top">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 39 39 called <code class="filename">FOO</code>, and it cannot be found by a simple stat call, then smbd will return file not … … 42 42 <span class="application">smbd</span>. 43 43 </p><p> 44 <a class="indexterm" name="id26 66629"></a>45 <a class="indexterm" name="id26 66636"></a>46 <a class="indexterm" name="id26 66642"></a>44 <a class="indexterm" name="id2673619"></a> 45 <a class="indexterm" name="id2673626"></a> 46 <a class="indexterm" name="id2673633"></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
r226 r231 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.7 3.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#id2608588">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2608685">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2608943">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2609928">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610022">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610436">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610623">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610645">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610711">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2610736">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610804">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610834">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610859">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610890">Additional Reading</a></span></dt></dl></div><p>2 <a class="indexterm" name="id26 08578"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">HP Oplocks Usage Recommendations Whitepaper</span> <span class="surname">Roseme</span></h3><div class="affiliation"><span class="orgname">HP Oplocks Usage Recommendations Whitepaper<br></span><div class="address"><p><code class="email"><<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#id2615535">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2615632">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2615890">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2616885">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2616979">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617393">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617580">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617602">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617668">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2617693">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617761">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617791">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617816">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617847">Additional Reading</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2615524"></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="id26 08588"></a>Features and Benefits</h2></div></div></div><p>6 <a class="indexterm" name="id26 08596"></a>5 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2615535"></a>Features and Benefits</h2></div></div></div><p> 6 <a class="indexterm" name="id2615543"></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="id26 08608"></a>10 <a class="indexterm" name="id2615555"></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="id26 08624"></a>15 <a class="indexterm" name="id26 08631"></a>16 <a class="indexterm" name="id26 08638"></a>14 <a class="indexterm" name="id2615571"></a> 15 <a class="indexterm" name="id2615578"></a> 16 <a class="indexterm" name="id2615585"></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="id26 08657"></a>26 <a class="indexterm" name="id2615604"></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="id26 08673"></a>31 <a class="indexterm" name="id2615619"></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="id26 08685"></a>Discussion</h2></div></div></div><p>35 <a class="indexterm" name="id26 08693"></a>36 <a class="indexterm" name="id26 08700"></a>34 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2615632"></a>Discussion</h2></div></div></div><p> 35 <a class="indexterm" name="id2615639"></a> 36 <a class="indexterm" name="id2615646"></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="id26 08720"></a>43 <a class="indexterm" name="id26 08727"></a>44 <a class="indexterm" name="id26 08734"></a>45 <a class="indexterm" name="id26 08741"></a>46 <a class="indexterm" name="id26 08748"></a>42 <a class="indexterm" name="id2615667"></a> 43 <a class="indexterm" name="id2615674"></a> 44 <a class="indexterm" name="id2615681"></a> 45 <a class="indexterm" name="id2615688"></a> 46 <a class="indexterm" name="id2615695"></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="id26 08768"></a>57 <a class="indexterm" name="id26 08775"></a>56 <a class="indexterm" name="id2615715"></a> 57 <a class="indexterm" name="id2615722"></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="id26 08790"></a>64 <a class="indexterm" name="id26 08797"></a>63 <a class="indexterm" name="id2615737"></a> 64 <a class="indexterm" name="id2615744"></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 … … 68 68 independently supposed to make locking calls before reads and writes if locking is 69 69 important to them. By default, Samba only makes locking calls when explicitly asked 70 to by a client, but if you set <a class="link" href="smb.conf.5.html#STRICTLOCKING" >strict locking = yes</a>, it70 to by a client, but if you set <a class="link" href="smb.conf.5.html#STRICTLOCKING" target="_top">strict locking = yes</a>, it 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="id26 08839"></a>73 <a class="indexterm" name="id2615785"></a> 74 74 You can also disable byte-range locking completely by using 75 <a class="link" href="smb.conf.5.html#LOCKING" >locking = no</a>.75 <a class="link" href="smb.conf.5.html#LOCKING" target="_top">locking = no</a>. 76 76 This is useful for those shares that do not support locking or do not need it 77 77 (such as CD-ROMs). In this case, Samba fakes the return codes of locking calls to 78 78 tell clients that everything is okay. 79 79 </p><p> 80 <a class="indexterm" name="id26 08866"></a>81 <a class="indexterm" name="id26 08872"></a>82 <a class="indexterm" name="id26 08879"></a>83 <a class="indexterm" name="id26 08886"></a>84 <a class="indexterm" name="id26 08893"></a>85 <a class="indexterm" name="id26 08900"></a>86 <a class="indexterm" name="id26 08906"></a>80 <a class="indexterm" name="id2615813"></a> 81 <a class="indexterm" name="id2615819"></a> 82 <a class="indexterm" name="id2615826"></a> 83 <a class="indexterm" name="id2615833"></a> 84 <a class="indexterm" name="id2615839"></a> 85 <a class="indexterm" name="id2615846"></a> 86 <a class="indexterm" name="id2615852"></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="id26 08943"></a>Opportunistic Locking Overview</h3></div></div></div><p>94 <a class="indexterm" name="id26 08951"></a>95 <a class="indexterm" name="id26 08958"></a>96 <a class="indexterm" name="id26 08965"></a>93 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2615890"></a>Opportunistic Locking Overview</h3></div></div></div><p> 94 <a class="indexterm" name="id2615898"></a> 95 <a class="indexterm" name="id2615905"></a> 96 <a class="indexterm" name="id2615912"></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="id26 08988"></a>103 <a class="indexterm" name="id2615935"></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="id26 09007"></a>106 <a class="indexterm" name="id2615954"></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="id26 09025"></a>109 <a class="indexterm" name="id2615972"></a> 110 110 The client caches application locks locally, eliminating network latency. 111 111 </p></dd></dl></div><p> 112 <a class="indexterm" name="id26 09039"></a>113 <a class="indexterm" name="id26 09046"></a>114 <a class="indexterm" name="id26 09053"></a>112 <a class="indexterm" name="id2615986"></a> 113 <a class="indexterm" name="id2615993"></a> 114 <a class="indexterm" name="id2616000"></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="id26 09084"></a>121 <a class="indexterm" name="id26 09090"></a>122 <a class="indexterm" name="id26 09097"></a>123 <a class="indexterm" name="id26 09104"></a>120 <a class="indexterm" name="id2616031"></a> 121 <a class="indexterm" name="id2616037"></a> 122 <a class="indexterm" name="id2616044"></a> 123 <a class="indexterm" name="id2616051"></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="id26 09120"></a>132 <a class="indexterm" name="id26 09127"></a>133 <a class="indexterm" name="id26 09134"></a>134 <a class="indexterm" name="id26 09140"></a>131 <a class="indexterm" name="id2616067"></a> 132 <a class="indexterm" name="id2616074"></a> 133 <a class="indexterm" name="id2616081"></a> 134 <a class="indexterm" name="id2616088"></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="id26 09179"></a>149 <a class="indexterm" name="id26 09186"></a>150 <a class="indexterm" name="id26 09193"></a>148 <a class="indexterm" name="id2616126"></a> 149 <a class="indexterm" name="id2616133"></a> 150 <a class="indexterm" name="id2616140"></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="id26 09213"></a>155 <a class="indexterm" name="id2616160"></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="id26 09232"></a>158 <a class="indexterm" name="id2616179"></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="id26 09246"></a>162 <a class="indexterm" name="id2616193"></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="id26 09262"></a>170 <a class="indexterm" name="id26 09269"></a>171 <a class="indexterm" name="id26 09276"></a>172 <a class="indexterm" name="id26 09283"></a>169 <a class="indexterm" name="id2616209"></a> 170 <a class="indexterm" name="id2616216"></a> 171 <a class="indexterm" name="id2616223"></a> 172 <a class="indexterm" name="id2616230"></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="id26 09305"></a>182 <a class="indexterm" name="id2616252"></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="id26 09330"></a>192 <a class="indexterm" name="id2616277"></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="id26 09348"></a>200 <a class="indexterm" name="id26 09355"></a>199 <a class="indexterm" name="id2616295"></a> 200 <a class="indexterm" name="id2616302"></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="id26 09375"></a>211 <a class="indexterm" name="id2616331"></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="id26 09397"></a>226 <a class="indexterm" name="id26 09404"></a>225 <a class="indexterm" name="id2616354"></a> 226 <a class="indexterm" name="id2616361"></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="id26 09432"></a>237 <a class="indexterm" name="id26 09438"></a>238 <a class="indexterm" name="id26 09444"></a>236 <a class="indexterm" name="id2616388"></a> 237 <a class="indexterm" name="id2616394"></a> 238 <a class="indexterm" name="id2616401"></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="id26 09469"></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="id2616426"></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="id26 09489"></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="id2616446"></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="id26 09513"></a>UNIX or NFS Client-Accessed Files</h4></div></div></div><p>275 <a class="indexterm" name="id26 09521"></a>276 <a class="indexterm" name="id26 09528"></a>274 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616470"></a>UNIX or NFS Client-Accessed Files</h4></div></div></div><p> 275 <a class="indexterm" name="id2616478"></a> 276 <a class="indexterm" name="id2616485"></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="id26 09549"></a>Slow and/or Unreliable Networks</h4></div></div></div><p>287 <a class="indexterm" name="id26 09557"></a>288 <a class="indexterm" name="id26 09564"></a>289 <a class="indexterm" name="id26 09570"></a>286 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616505"></a>Slow and/or Unreliable Networks</h4></div></div></div><p> 287 <a class="indexterm" name="id2616513"></a> 288 <a class="indexterm" name="id2616520"></a> 289 <a class="indexterm" name="id2616527"></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="id26 09596"></a>Multiuser Databases</h4></div></div></div><p>305 <a class="indexterm" name="id26 09604"></a>306 <a class="indexterm" name="id26 09611"></a>307 <a class="indexterm" name="id26 09618"></a>304 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616553"></a>Multiuser Databases</h4></div></div></div><p> 305 <a class="indexterm" name="id2616561"></a> 306 <a class="indexterm" name="id2616568"></a> 307 <a class="indexterm" name="id2616575"></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="id26 09637"></a>PDM Data Shares</h4></div></div></div><p>313 <a class="indexterm" name="id26 09645"></a>314 <a class="indexterm" name="id26 09651"></a>315 <a class="indexterm" name="id26 09658"></a>316 <a class="indexterm" name="id26 09665"></a>317 <a class="indexterm" name="id26 09672"></a>312 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616594"></a>PDM Data Shares</h4></div></div></div><p> 313 <a class="indexterm" name="id2616601"></a> 314 <a class="indexterm" name="id2616608"></a> 315 <a class="indexterm" name="id2616615"></a> 316 <a class="indexterm" name="id2616622"></a> 317 <a class="indexterm" name="id2616629"></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="id26 09694"></a>Beware of Force User</h4></div></div></div><p>326 <a class="indexterm" name="id26 09702"></a>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 user325 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616651"></a>Beware of Force User</h4></div></div></div><p> 326 <a class="indexterm" name="id2616659"></a> 327 Samba includes an <code class="filename">smb.conf</code> parameter called <a class="link" href="smb.conf.5.html#FORCEUSER" target="_top">force user</a> that changes the user 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 329 329 enabled on a share, the change in user access causes an oplock break to be sent to the client, even if the … … 334 334 Avoid the combination of the following: 335 335 </p><div class="itemizedlist"><ul type="disc"><li><p> 336 <a class="link" href="smb.conf.5.html#FORCEUSER" >force user</a> in the <code class="filename">smb.conf</code> share configuration.336 <a class="link" href="smb.conf.5.html#FORCEUSER" target="_top">force user</a> in the <code class="filename">smb.conf</code> share configuration. 337 337 </p></li><li><p> 338 338 Slow or unreliable networks. 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="id26 09782"></a>Advanced Samba Oplocks Parameters</h4></div></div></div><p>342 <a class="indexterm" name="id26 09790"></a>343 <a class="indexterm" name="id26 09797"></a>344 <a class="indexterm" name="id26 09804"></a>341 </p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2616739"></a>Advanced Samba Oplocks Parameters</h4></div></div></div><p> 342 <a class="indexterm" name="id2616747"></a> 343 <a class="indexterm" name="id2616754"></a> 344 <a class="indexterm" name="id2616761"></a> 345 345 Samba provides oplock parameters that allow the 346 346 administrator to adjust various properties of the oplock mechanism to … … 348 348 versatility for implementing oplocks in environments where they would 349 349 likely cause problems. The parameters are 350 <a class="link" href="smb.conf.5.html#OPLOCKBREAKWAITTIME" >oplock break wait time</a>, and351 <a class="link" href="smb.conf.5.html#OPLOCKCONTENTIONLIMIT" >oplock contention limit</a>.352 </p><p> 353 <a class="indexterm" name="id26 09844"></a>350 <a class="link" href="smb.conf.5.html#OPLOCKBREAKWAITTIME" target="_top">oplock break wait time</a>, and 351 <a class="link" href="smb.conf.5.html#OPLOCKCONTENTIONLIMIT" target="_top">oplock contention limit</a>. 352 </p><p> 353 <a class="indexterm" name="id2616801"></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="id26 09861"></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="id2616818"></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="id26 09928"></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="id2616885"></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="id261 0022"></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="id2616979"></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="id261 0033"></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="id2616990"></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="id261 0060"></a><em class="parameter"><code>oplocks = False</code></em></td></tr><tr><td><a class="indexterm" name="id2610071"></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="id2617017"></a><em class="parameter"><code>oplocks = False</code></em></td></tr><tr><td><a class="indexterm" name="id2617028"></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="id261 0107"></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="id2617064"></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="id261 0128"></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="id2617085"></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="id261 0168"></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="id2617125"></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="id261 0244"></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="id2610266"></a><em class="parameter"><code>veto oplock files = /*.exe/filename.ext/</code></em></td></tr></table></div></div><p><br class="example-break">484 </p><p> 485 <a class="link" href="smb.conf.5.html#OPLOCKBREAKWAITTIME" >oplock break wait time</a> is an <code class="filename">smb.conf</code> parameter483 </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="id2617201"></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="id2617222"></a><em class="parameter"><code>veto oplock files = /*.exe/filename.ext/</code></em></td></tr></table></div></div><p><br class="example-break"> 484 </p><p> 485 <a class="link" href="smb.conf.5.html#OPLOCKBREAKWAITTIME" target="_top">oplock break wait time</a> is an <code class="filename">smb.conf</code> parameter 486 486 that adjusts the time interval for Samba to reply to an oplock break request. Samba recommends: 487 487 “<span class="quote">Do not change this parameter unless you have read and understood the Samba oplock code.</span>” 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="id261 0323"></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="id2617280"></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="id261 0397"></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="id2610418"></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="id261 0436"></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="id2617354"></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="id2617375"></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="id2617393"></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="id261 0468" href="#ftn.id2610468" class="footnote">5</a>]</sup>515 <sup>[<a name="id2617425" href="#ftn.id2617425" 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="id261 0623"></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="id2617580"></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="id261 0645"></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="id2617602"></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="id261 0711"></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="id2617668"></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="id261 0736"></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="id2617693"></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="id261 0804"></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="id2617761"></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="id261 0834"></a>Problems Saving Files in MS Office on Windows XP</h3></div></div></div><a class="indexterm" name="id2610841"></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="id2617791"></a>Problems Saving Files in MS Office on Windows XP</h3></div></div></div><a class="indexterm" name="id2617798"></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="id261 0859"></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="id2610871"></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="id2617816"></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="id2617828"></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="id261 0890"></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="id2617847"></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="id261 0928"></a>698 <a class="indexterm" name="id2617884"></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="id261 0952"></a>703 <a class="indexterm" name="id2617908"></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="id261 0976"></a>707 <a class="indexterm" name="id2617932"></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.id261 0468" href="#id2610468" 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.id2617425" href="#id2617425" 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
r226 r231 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.7 3.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#id2669206">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669234">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#id2669283">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2669434">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669443">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2670654">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#id2672049">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2672084">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673028">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2673264">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2673350">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2673583">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#id2674072">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2674197">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2674216">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#id2674854">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675005">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2675203">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2675216">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675277">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675379">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675435">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675491">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675554">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675598">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2675617">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.74.0"><link rel="home" 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#id2676196">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676224">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#id2676274">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676425">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676434">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2677644">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#id2679040">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2679075">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680020">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2680256">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2680342">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680575">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#id2681065">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2681190">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2681209">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#id2681846">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2681998">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2682196">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2682210">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682270">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682372">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682428">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682484">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682547">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682591">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682610">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
r226 r231 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.7 3.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>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 20. Hosting a Microsoft Distributed File System Tree</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="The Official Samba 3.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="orgname">Samba Team & Veritas Software</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#id2614436">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2614848">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2614881">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="id2614436"></a>Features and Benefits</h2></div></div></div><p>4 <a class="indexterm" name="id26 14444"></a>5 <a class="indexterm" name="id26 14454"></a>6 <a class="indexterm" name="id26 14461"></a>7 <a class="indexterm" name="id26 14468"></a>8 <a class="indexterm" name="id26 14475"></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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2621402">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2621814">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2621847">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="id2621402"></a>Features and Benefits</h2></div></div></div><p> 4 <a class="indexterm" name="id2621410"></a> 5 <a class="indexterm" name="id2621420"></a> 6 <a class="indexterm" name="id2621426"></a> 7 <a class="indexterm" name="id2621433"></a> 8 <a class="indexterm" name="id2621440"></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="id26 14490"></a>15 <a class="indexterm" name="id26 14496"></a>16 <a class="indexterm" name="id26 14503"></a>14 <a class="indexterm" name="id2621455"></a> 15 <a class="indexterm" name="id2621462"></a> 16 <a class="indexterm" name="id2621469"></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="id26 14523"></a>22 <a class="indexterm" name="id26 14530"></a>23 <a class="indexterm" name="id26 14537"></a>24 <a class="indexterm" name="id26 14544"></a>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>21 <a class="indexterm" name="id2621489"></a> 22 <a class="indexterm" name="id2621496"></a> 23 <a class="indexterm" name="id2621503"></a> 24 <a class="indexterm" name="id2621510"></a> 25 A Samba server can be made a DFS server by setting the global Boolean <a class="link" href="smb.conf.5.html#HOSTMSDFS" target="_top">host msdfs</a> 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 27 <a class="link" href="smb.conf.5.html#MSDFSROOT" >msdfs root</a> parameter. A DFS root directory on Samba hosts DFS links in the form of27 <a class="link" href="smb.conf.5.html#MSDFSROOT" target="_top">msdfs root</a> parameter. A DFS root directory on Samba hosts DFS links in the form of 28 28 symbolic links that point to other servers. For example, a symbolic link 29 29 <code class="filename">junction->msdfs:storage1\share1</code> in the share directory acts as the DFS junction. When … … 31 31 case, <em class="parameter"><code>\\storage1\share1</code></em>). 32 32 </p><p> 33 <a class="indexterm" name="id26 14606"></a>34 <a class="indexterm" name="id26 14612"></a>35 <a class="indexterm" name="id26 14619"></a>36 <a class="indexterm" name="id26 14626"></a>33 <a class="indexterm" name="id2621571"></a> 34 <a class="indexterm" name="id2621578"></a> 35 <a class="indexterm" name="id2621585"></a> 36 <a class="indexterm" name="id2621592"></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="id26 14735"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2614747"></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="id2614767"></a><em class="parameter"><code>path = /export/dfsroot</code></em></td></tr><tr><td><a class="indexterm" name="id2614779"></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="id26 14794"></a>50 <a class="indexterm" name="id26 14801"></a>51 <a class="indexterm" name="id26 14808"></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="id2621701"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2621713"></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="id2621734"></a><em class="parameter"><code>path = /export/dfsroot</code></em></td></tr><tr><td><a class="indexterm" name="id2621745"></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="id2621760"></a> 50 <a class="indexterm" name="id2621767"></a> 51 <a class="indexterm" name="id2621774"></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="id26 14825"></a>58 <a class="indexterm" name="id26 14832"></a>57 <a class="indexterm" name="id2621791"></a> 58 <a class="indexterm" name="id2621798"></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="id26 14848"></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="id2621814"></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="id26 14881"></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="id2621847"></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="id26 14922"></a><em class="parameter"><code>path = /export/home/Shares/public_share</code></em></td></tr><tr><td><a class="indexterm" name="id2614934"></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="id2621888"></a><em class="parameter"><code>path = /export/home/Shares/public_share</code></em></td></tr><tr><td><a class="indexterm" name="id2621900"></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
r226 r231 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.7 3.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="id2571565"></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.74.0"><link rel="home" 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="id2578477"></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#id257 1656">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2571667">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2571727">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572038">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572158">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572218">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2572339">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#id2572601">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2572785">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#id2573222">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2573858">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#id2574416">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#id2575350">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#id2575951">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576191">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576213">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576399">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576539">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2576632">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2576903">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577224">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577277">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577508">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577519">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577660">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2577863">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2577950">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578147">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2578398">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579412">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579438">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579511">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579559">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579606">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2579806">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#id2580290">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2580326">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2580510">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#id2581078">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2581598">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#id2582146">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2582558">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#id2582999">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#id2585535">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2585589">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585930">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2586088">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2588622">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588628">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588665">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#id2588916">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2589331">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2589667">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2589725">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590308">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2590548">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591171">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591248">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591260">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591432">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2591559">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2591572">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2591659">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#id2592053">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592347">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2592429">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2592587">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#id2593951">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#id2594163">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594211">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2594279">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2594363">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2594708">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2594723">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595092">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2595326">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2595554">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2595599">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595787">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2595818">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596440">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2596697">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596716">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596782">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596897">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2596915">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2596959">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2596994">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#id2597506">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2597531">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2597593">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598554">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2598788">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2598860">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2598923">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2599645">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600235">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2600820">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#id2601488">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2601763">Using the “<span class="quote">net rpc rights</span>” Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602108">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2602906">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2603084">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2603089">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#id2603587">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2603782">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2603797">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604132">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2604255">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2604921">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2604954">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605320">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2605656">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2605993">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606141">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2606488">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2606494">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606541">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606611">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606755">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2606970">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607127">Interaction with the Standard Samba “<span class="quote">create mask</span>” Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607496">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2607569">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2607981">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2607993">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2608315">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#id2608361">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#id2608588">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2608685">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2608943">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2609928">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610022">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610436">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610623">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610645">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610711">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2610736">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2610804">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610834">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2610859">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2610890">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#id2611065">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611164">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611310">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2611326">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611480">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611540">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#id2611890">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612034">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2612089">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2612133">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2612148">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612177">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#id2612737">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2612809">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613087">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613123">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613220">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2613305">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2613514">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#id2613854">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614050">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2614200">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614212">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2614258">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#id2614436">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2614848">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2614881">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#id2615079">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2615303">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615454">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2615513">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2615614">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2615897">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2616094">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2616494">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2616949">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#id2619662">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619832">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2619953">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620170">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2620490">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2620633">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2620726">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#id2622662">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622678">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#id2623255">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623374">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#id2623547">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623568">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623935">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624191">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624451">Error Message: “<span class="quote">Cannot connect under a different Name</span>”</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624564">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624873">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2624983">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625020">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625077">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625111">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625127">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625144">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2625278">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625549">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625587">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625736">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2625765">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2625771">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2625812">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#id2625955">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2625960">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626020">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2626139">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2626254">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626501">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2626746">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627122">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2627140">Central Spooling vs. “<span class="quote">Peer-to-Peer</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627190">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2627425">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#id2627712">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2627834">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#id2628025">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628203">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#id2628562">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628716">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628799">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2628918">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2628958">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2629194">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629622">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629829">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2629986">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630173">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630341">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630611">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630695">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2630915">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631254">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631489">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631502"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631571">“<span class="quote">Raw</span>” Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631679">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2631958">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632241"><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#id2632578">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633006">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633129">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633224">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633241">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633303">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633375">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633480">Network Printing (Windows Clients and UNIX/Samba Print5 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id26 33498">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633689">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633768">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633858">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633902">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633970">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633985">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#id26 34023">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634041">CUPS: A “<span class="quote">Magical Stone</span>”?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634084">PostScript Drivers with No Major Problems, Even in Kernel7 Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id26 34171">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634194"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634292">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#id2634572">CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634811">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634930">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634955">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635017">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635317">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635535">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635675">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635867">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636011">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636133">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636214">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636295">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#id2636530">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636704">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636876">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636981">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637113">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637337">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638296">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638439">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2638642">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638709">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638775">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638826">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2638946">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639121">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639948">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640421">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640456">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640510">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640551">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640692">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640836">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640902">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640942">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640956">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641173">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641249">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641334">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641472">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2641520">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641816">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2641927">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641933">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#id2642010">“<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#id2642048">“<span class="quote">cupsaddsmb</span>” Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642122">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642146">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642237">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642289">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642326">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#id2642362">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642397">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642430">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642471">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642496">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642543">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#id2642826">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642881"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642931">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#id2643029">Print Queue Called “<span class="quote">lp</span>” Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643098">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#id2643152">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#id2643339">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643377">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2643773">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2643778">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2643819">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644037">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#id2644363">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644760">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2644810">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2645716">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2645741">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645801">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2645840">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#id2646104">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646448">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646537">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646690">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646736">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2646861">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646911">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646998">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647046">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647278">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647433">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647509">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2647566">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2647572">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647686">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647838">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2650297">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2650345">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2650387">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2650424">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#id2650612">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650639">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2650782">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2650811">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651186">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2651371">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651597">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2651640">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#id2651782">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2651888">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2652077">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652214">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2652435">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2652884">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653111">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653123">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653205">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2653246">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2653311">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2653468">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2653480">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#id2653565">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2653614">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2653668">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2654273">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655618">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655652">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2655750">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2656102">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656242">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2656320">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2656351">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2656502">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657065">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2657570">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2657580">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657642">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657813">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2657977">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#id2658152">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2658783">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2658836">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2659834">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660140"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660221">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2660324">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2660718">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2660729">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660827">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#id2661049">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661070">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661198">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661272"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661460"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661496"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2661548"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2661671">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662106">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662192">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662365">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662393">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662420">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2662558">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662571">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662602">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2662644">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#id2662849">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2662901">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663035">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663171">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663202">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2663342">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2663994">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2664118">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2664264">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2664270">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#id2664377">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2664421">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2664519">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664690">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664860">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2664908">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#id2665004">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2665125">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2665159">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2665288">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666002">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666082">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666223">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2666260">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#id2666890">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2666899">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2667296">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2668310">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#id2578567">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2578579">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2578638">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2578950">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579071">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579131">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579252">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#id2579515">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579698">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#id2580138">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580775">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#id2581334">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#id2582267">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#id2582868">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583108">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583129">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583315">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583455">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2583548">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583820">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584141">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584194">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584425">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584436">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584578">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584781">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584868">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585064">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585316">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2586329">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586355">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586428">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586476">I Get an "Unable to browse the network" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586523">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586723">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#id2587207">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2587243">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2587426">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#id2587995">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588514">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#id2589063">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589476">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#id2589916">The smbpasswd Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The pdbedit Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2592457">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2592510">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592852">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593010">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2595544">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2595549">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595586">Configuration of auth methods</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="groupmapping.html">12. Group Mapping: MS Windows and UNIX</a></span></dt><dd><dl><dt><span class="sect1"><a href="groupmapping.html#id2595838">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2596254">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2596591">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2596648">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597232">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597472">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598097">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598174">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598186">Sample smb.conf Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598357">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598485">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598497">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598584">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#id2598978">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599273">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599354">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2599512">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#id2600875">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#id2601086">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601134">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601203">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2601286">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2601631">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2601646">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602015">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2602249">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2602477">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2602523">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602710">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602741">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603364">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2603620">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603639">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603705">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603820">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603838">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2603882">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603917">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#id2604437">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2604462">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2604524">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605485">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605720">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2605791">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2605854">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2606577">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607167">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607752">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#id2608421">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2608696">Using the net rpc rights Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609041">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2609839">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2610016">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2610022">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#id2610520">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2610715">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2610729">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611066">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611189">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2611855">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2611888">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612262">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612600">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2612937">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613086">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2613432">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613439">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613486">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613556">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613700">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613915">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614073">Interaction with the Standard Samba create mask Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614442">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614515">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2614928">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2614939">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615262">File Operations Done as root with force user Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615308">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#id2615535">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2615632">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2615890">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2616885">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2616979">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617393">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617580">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617602">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617668">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2617693">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617761">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617791">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617816">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617847">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#id2618022">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618120">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618267">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2618283">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618437">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618496">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#id2618847">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618991">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2619045">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2619089">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2619105">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619134">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#id2619694">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619766">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620044">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620080">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620177">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620262">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620471">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#id2620820">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621016">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621165">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621178">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621224">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#id2621402">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2621814">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2621847">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#id2622046">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2622269">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622420">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2622480">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2622580">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622864">Verifying Configuration with testparm</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623061">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623461">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623916">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#id2626632">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626801">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626923">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627139">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627460">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2627603">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2627696">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using rpcclient</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629628">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629645">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#id2630216">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630335">Always Make First Client Connection as root or printer admin</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2630508">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630529">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630896">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631152">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631412">Error Message: Cannot connect under a different Name</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631526">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631835">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631945">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2631982">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632038">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632072">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632088">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632106">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632239">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632512">The addprinter Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632551">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632700">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632729">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632735">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632776">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#id2632918">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2632924">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2632984">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633103">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633218">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633467">Simple smb.conf Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633711">More Complex CUPS smb.conf Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634088">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634106">Central Spooling vs. Peer-to-Peer Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634156">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634391">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634678">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634800">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#id2634992">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635170">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#id2635529">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635683">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635766">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635886">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2635925">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636161">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636590">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636798">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636955">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637143">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637311">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637580">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637665">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637884">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638223">The Role of cupsomatic/foomatic</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638458">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638471">mime.convs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638540">Raw Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638648">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638927">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639210">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639547">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639975">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640098">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640193">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640209">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640271">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640343">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640448">Network Printing (Windows Clients and UNIX/Samba Print 5 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640466">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640656">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640735">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640826">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640870">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640938">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640953">Printer Drivers Running in Kernel Mode Cause Many 6 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640991">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641009">CUPS: A Magical Stone?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641052">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#id2641139">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641162">cupsaddsmb: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641260">Prepare Your smb.conf for cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641541">CUPS PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641780">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641899">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641924">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641987">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642286">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642504">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642644">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642836">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642980">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643102">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643183">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643264">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#id2643499">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2643673">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643845">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643950">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644082">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644307">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645265">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645408">The Printing *.tdb Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2645611">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645679">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645745">Losing *.tdb Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645796">Using tdbbackup</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645915">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646091">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646918">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647391">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647427">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647481">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647521">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647662">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647807">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647873">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647913">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647927">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648144">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648220">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648305">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648444">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2648491">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648787">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648899">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648904">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop">cupsaddsmb Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648981">cupsaddsmb or rpcclient addriver Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649019">cupsaddsmb Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649093">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649118">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649209">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649260">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649298">Can't Use cupsaddsmb on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649333">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649368">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649401">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649442">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649468">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649514">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#id2649797">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649853">cupsaddsmb Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649902">Permissions on /var/spool/samba/ Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650001">Print Queue Called lp Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650070">Location of Adobe PostScript Driver Files for cupsaddsmb</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2650124">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#id2650312">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650350">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650745">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2650751">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2650792">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651009">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#id2651336">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651733">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651783">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2652691">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2652716">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652776">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652815">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#id2653079">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653423">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653512">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653665">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2653711">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2653836">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653887">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2653974">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654021">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654253">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654408">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654484">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2654541">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2654547">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654662">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654814">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2657273">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2657321">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2657363">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2657400">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#id2657588">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657615">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657758">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2657787">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658163">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2658348">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658573">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658616">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#id2658759">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2658865">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2659054">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659191">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659412">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2659861">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660088">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660101">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660183">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660223">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2660288">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660446">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660457">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#id2660542">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2660592">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2660646">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2661251">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662596">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662629">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662728">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2663080">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663220">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663298">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2663329">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2663480">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664042">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2664547">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2664558">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664620">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664791">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664955">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#id2665130">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2665761">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2665815">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2666814">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667121">smb.conf PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667201">Remote CIFS Authentication Using winbindd.so</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667309">Password Synchronization Using pam_smbpass.so</a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2667703">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2667714">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667812">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#id2668035">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668056">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668184">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668257">/etc/hosts</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668446">/etc/resolv.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668482">/etc/host.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668533">/etc/nsswitch.conf</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668657">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669092">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669185">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669356">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669384">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669412">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2669549">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669562">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669594">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669636">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#id2669841">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2669892">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670030">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670166">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670197">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2670337">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2670985">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671108">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2671255">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2671261">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#id2671368">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2671412">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2671510">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671681">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671850">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671899">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#id2671994">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2672115">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2672149">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2672279">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2672992">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673073">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673213">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673250">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#id2673881">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2673890">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2674287">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2675301">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
r226 r231 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.7 3.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#id2658152">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2658783">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2658836">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2659834">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660140"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660221">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2660324">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2660718">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2660729">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2660827">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 58076"></a>3 <a class="indexterm" name="id26 58083"></a>4 <a class="indexterm" name="id26 58090"></a>5 <a class="indexterm" name="id26 58097"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2665130">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2665761">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2665815">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2666814">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667121">smb.conf PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667201">Remote CIFS Authentication Using winbindd.so</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667309">Password Synchronization Using pam_smbpass.so</a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2667703">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2667714">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667812">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2665055"></a> 3 <a class="indexterm" name="id2665062"></a> 4 <a class="indexterm" name="id2665068"></a> 5 <a class="indexterm" name="id2665075"></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="id26 58114"></a>13 <a class="indexterm" name="id26 58121"></a>12 <a class="indexterm" name="id2665092"></a> 13 <a class="indexterm" name="id2665099"></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="id26 58152"></a>Features and Benefits</h2></div></div></div><p>20 <a class="indexterm" name="id26 58160"></a>21 <a class="indexterm" name="id26 58167"></a>22 <a class="indexterm" name="id26 58174"></a>23 <a class="indexterm" name="id26 58180"></a>24 <a class="indexterm" name="id26 58190"></a>25 <a class="indexterm" name="id26 58196"></a>26 <a class="indexterm" name="id26 58203"></a>27 <a class="indexterm" name="id26 58210"></a>19 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2665130"></a>Features and Benefits</h2></div></div></div><p> 20 <a class="indexterm" name="id2665138"></a> 21 <a class="indexterm" name="id2665145"></a> 22 <a class="indexterm" name="id2665152"></a> 23 <a class="indexterm" name="id2665159"></a> 24 <a class="indexterm" name="id2665168"></a> 25 <a class="indexterm" name="id2665175"></a> 26 <a class="indexterm" name="id2665182"></a> 27 <a class="indexterm" name="id2665188"></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="id26 58252"></a>37 <a class="indexterm" name="id26 58258"></a>38 <a class="indexterm" name="id26 58265"></a>39 <a class="indexterm" name="id26 58272"></a>36 <a class="indexterm" name="id2665230"></a> 37 <a class="indexterm" name="id2665237"></a> 38 <a class="indexterm" name="id2665244"></a> 39 <a class="indexterm" name="id2665250"></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="id26 58299"></a>46 <a class="indexterm" name="id26 58305"></a>45 <a class="indexterm" name="id2665277"></a> 46 <a class="indexterm" name="id2665284"></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="id26 58336"></a>55 <a class="indexterm" name="id26 58343"></a>56 <a class="indexterm" name="id26 58349"></a>57 <a class="indexterm" name="id26 58356"></a>58 <a class="indexterm" name="id26 58363"></a>59 <a class="indexterm" name="id26 58370"></a>54 <a class="indexterm" name="id2665314"></a> 55 <a class="indexterm" name="id2665321"></a> 56 <a class="indexterm" name="id2665328"></a> 57 <a class="indexterm" name="id2665334"></a> 58 <a class="indexterm" name="id2665341"></a> 59 <a class="indexterm" name="id2665348"></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="id26 58412"></a>65 <a class="indexterm" name="id26 58419"></a>66 <a class="indexterm" name="id26 58426"></a>67 <a class="indexterm" name="id26 58433"></a>68 <a class="indexterm" name="id26 58440"></a>64 <a class="indexterm" name="id2665391"></a> 65 <a class="indexterm" name="id2665398"></a> 66 <a class="indexterm" name="id2665404"></a> 67 <a class="indexterm" name="id2665411"></a> 68 <a class="indexterm" name="id2665418"></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="id26 58465"></a>74 <a class="indexterm" name="id26 58472"></a>75 <a class="indexterm" name="id26 58479"></a>76 <a class="indexterm" name="id26 58486"></a>77 <a class="indexterm" name="id26 58493"></a>78 <a class="indexterm" name="id26 58500"></a>73 <a class="indexterm" name="id2665444"></a> 74 <a class="indexterm" name="id2665450"></a> 75 <a class="indexterm" name="id2665457"></a> 76 <a class="indexterm" name="id2665464"></a> 77 <a class="indexterm" name="id2665471"></a> 78 <a class="indexterm" name="id2665478"></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="id26 58527"></a>84 <a class="indexterm" name="id26 58534"></a>85 <a class="indexterm" name="id26 58541"></a>86 <a class="indexterm" name="id26 58548"></a>83 <a class="indexterm" name="id2665505"></a> 84 <a class="indexterm" name="id2665512"></a> 85 <a class="indexterm" name="id2665519"></a> 86 <a class="indexterm" name="id2665526"></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="id26 58573"></a>91 <a class="indexterm" name="id26 58580"></a>92 <a class="indexterm" name="id26 58587"></a>90 <a class="indexterm" name="id2665551"></a> 91 <a class="indexterm" name="id2665558"></a> 92 <a class="indexterm" name="id2665565"></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="id26 58618"></a>97 <a class="indexterm" name="id26 58624"></a>96 <a class="indexterm" name="id2665596"></a> 97 <a class="indexterm" name="id2665603"></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="id26 58650"></a>102 <a class="indexterm" name="id26 58656"></a>103 <a class="indexterm" name="id26 58663"></a>104 <a class="indexterm" name="id26 58670"></a>101 <a class="indexterm" name="id2665628"></a> 102 <a class="indexterm" name="id2665635"></a> 103 <a class="indexterm" name="id2665642"></a> 104 <a class="indexterm" name="id2665649"></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="id26 58696"></a>109 <a class="indexterm" name="id2665675"></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="id26 58716"></a>116 <a class="indexterm" name="id26 58723"></a>115 <a class="indexterm" name="id2665694"></a> 116 <a class="indexterm" name="id2665701"></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="id26 58746"></a>121 <a class="indexterm" name="id26 58753"></a>122 <a class="indexterm" name="id26 58760"></a>123 <a class="indexterm" name="id26 58767"></a>120 <a class="indexterm" name="id2665725"></a> 121 <a class="indexterm" name="id2665732"></a> 122 <a class="indexterm" name="id2665739"></a> 123 <a class="indexterm" name="id2665746"></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="id26 58783"></a>Technical Discussion</h2></div></div></div><p>130 <a class="indexterm" name="id26 58791"></a>131 <a class="indexterm" name="id26 58797"></a>132 <a class="indexterm" name="id26 58804"></a>133 <a class="indexterm" name="id26 58811"></a>129 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2665761"></a>Technical Discussion</h2></div></div></div><p> 130 <a class="indexterm" name="id2665769"></a> 131 <a class="indexterm" name="id2665776"></a> 132 <a class="indexterm" name="id2665783"></a> 133 <a class="indexterm" name="id2665790"></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="id26 58836"></a>PAM Configuration Syntax</h3></div></div></div><p>140 <a class="indexterm" name="id26 58844"></a>141 <a class="indexterm" name="id26 58851"></a>139 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2665815"></a>PAM Configuration Syntax</h3></div></div></div><p> 140 <a class="indexterm" name="id2665823"></a> 141 <a class="indexterm" name="id2665830"></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="id26 58883"></a>152 <a class="indexterm" name="id26 58890"></a>151 <a class="indexterm" name="id2665861"></a> 152 <a class="indexterm" name="id2665868"></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="id26 58915"></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="id2665894"></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="id26 58941"></a>165 <a class="indexterm" name="id2665920"></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="id26 58986"></a>176 <a class="indexterm" name="id26 58993"></a>177 <a class="indexterm" name="id26 59000"></a>175 <a class="indexterm" name="id2665965"></a> 176 <a class="indexterm" name="id2665972"></a> 177 <a class="indexterm" name="id2665978"></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="id26 59068"></a>190 <a class="indexterm" name="id26 59075"></a>189 <a class="indexterm" name="id2666046"></a> 190 <a class="indexterm" name="id2666053"></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="id26 59104"></a>198 <a class="indexterm" name="id26 59111"></a>197 <a class="indexterm" name="id2666082"></a> 198 <a class="indexterm" name="id2666089"></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="id26 59138"></a>204 <a class="indexterm" name="id2666116"></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="id26 59159"></a>210 <a class="indexterm" name="id2666138"></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="id26 59224"></a>225 <a class="indexterm" name="id26 59231"></a>226 <a class="indexterm" name="id26 59238"></a>227 <a class="indexterm" name="id26 59244"></a>224 <a class="indexterm" name="id2666202"></a> 225 <a class="indexterm" name="id2666209"></a> 226 <a class="indexterm" name="id2666216"></a> 227 <a class="indexterm" name="id2666223"></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="id26 59834"></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="id2666814"></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="id26 59860"></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="id2666841"></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="id26 59888"></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="id2666869"></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="id266 0140"></a><code class="filename">smb.conf</code> PAM Configuration</h3></div></div></div><p>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>.459 </p></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2667121"></a><code class="filename">smb.conf</code> PAM Configuration</h3></div></div></div><p> 460 There is an option in <code class="filename">smb.conf</code> called <a class="link" href="smb.conf.5.html#OBEYPAMRESTRICTIONS" target="_top">obey pam restrictions</a>. 461 461 The following is from the online help for this option in SWAT: 462 462 </p><div class="blockquote"><blockquote class="blockquote"><p> … … 464 464 control whether or not Samba should obey PAM's account and session management directives. The default behavior 465 465 is to use PAM for clear-text authentication only and to ignore any account or session management. Samba always 466 ignores PAM for authentication in the case of <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" >encrypt passwords = yes</a>.466 ignores PAM for authentication in the case of <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" target="_top">encrypt passwords = yes</a>. 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="id2660221"></a>Remote CIFS Authentication Using <code class="filename">winbindd.so</code></h3></div></div></div><p>469 </p><p>Default: <a class="link" href="smb.conf.5.html#OBEYPAMRESTRICTIONS" target="_top">obey pam restrictions = no</a></p></blockquote></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2667201"></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). … … 485 485 </p><p> 486 486 The astute administrator will realize from this that the combination of <code class="filename">pam_smbpass.so</code>, 487 <code class="literal">winbindd</code>, and a distributed <a class="link" href="smb.conf.5.html#PASSDBBACKEND" >passdb backend</a>487 <code class="literal">winbindd</code>, and a distributed <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a> 488 488 such as <em class="parameter"><code>ldap</code></em> will allow the establishment of a centrally managed, distributed user/password 489 489 database that can also be used by all PAM-aware (e.g., Linux) programs and applications. This arrangement can have … … 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="id266 0324"></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="id2667309"></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="id266 0543"></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="id2667528"></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="id266 0588"></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="id2667574"></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="id266 0637"></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="id2667622"></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="id266 0676"></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="id2667662"></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="id266 0718"></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="id2667703"></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="id266 0729"></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="id2667714"></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="id266 0827"></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="id2667812"></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 614 <a class="link" href="smb.conf.5.html#IDMAPUID" >idmap uid = 12000</a>615 and <a class="link" href="smb.conf.5.html#IDMAPGID" >idmap gid = 3000-3500,</a>614 <a class="link" href="smb.conf.5.html#IDMAPUID" target="_top">idmap uid = 12000</a> 615 and <a class="link" href="smb.conf.5.html#IDMAPGID" target="_top">idmap gid = 3000-3500,</a> 616 616 and <code class="literal">winbind</code> is running. When I do the following it all works fine. 617 617 </span>” -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/passdb.html
r226 r231 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.7 3.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#id2580290">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2580326">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2580510">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#id2581078">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2581598">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#id2582146">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2582558">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#id2582999">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#id2585535">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2585589">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585665">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2585930">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2586088">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2588622">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588628">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588665">Configuration of <em class="parameter"><code>auth methods</code></em></a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id258 0093"></a>3 <a class="indexterm" name="id258 0100"></a>4 <a class="indexterm" name="id258 0106"></a>5 <a class="indexterm" name="id258 0113"></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.74.0"><link rel="home" 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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">SuSE</span> <span class="surname">Deschner</span></h3><span class="contrib">LDAP updates</span> <div class="affiliation"><span class="orgname">SuSE<br></span><div class="address"><p><code class="email"><<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="orgname">IDEALX</span> <span class="surname">Lemaire</span></h3><div class="affiliation"><span class="orgname">IDEALX<br></span><div class="address"><p><code class="email"><<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#id2587207">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2587243">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2587426">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#id2587995">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588514">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#id2589063">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589476">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#id2589916">The smbpasswd Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The pdbedit Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2592457">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2592510">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592586">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592852">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593010">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2595544">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2595549">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595586">Configuration of auth methods</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2587009"></a> 3 <a class="indexterm" name="id2587016"></a> 4 <a class="indexterm" name="id2587023"></a> 5 <a class="indexterm" name="id2587030"></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="id258 0128"></a>11 <a class="indexterm" name="id258 0134"></a>12 <a class="indexterm" name="id258 0141"></a>13 <a class="indexterm" name="id258 0148"></a>14 <a class="indexterm" name="id258 0155"></a>15 <a class="indexterm" name="id258 0162"></a>10 <a class="indexterm" name="id2587044"></a> 11 <a class="indexterm" name="id2587051"></a> 12 <a class="indexterm" name="id2587058"></a> 13 <a class="indexterm" name="id2587065"></a> 14 <a class="indexterm" name="id2587072"></a> 15 <a class="indexterm" name="id2587078"></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="id258 0232"></a>27 <a class="indexterm" name="id258 0239"></a>28 <a class="indexterm" name="id258 0246"></a>29 <a class="indexterm" name="id258 0253"></a>30 <a class="indexterm" name="id258 0260"></a>31 <a class="indexterm" name="id258 0267"></a>32 <a class="indexterm" name="id258 0274"></a>26 <a class="indexterm" name="id2587149"></a> 27 <a class="indexterm" name="id2587156"></a> 28 <a class="indexterm" name="id2587163"></a> 29 <a class="indexterm" name="id2587170"></a> 30 <a class="indexterm" name="id2587177"></a> 31 <a class="indexterm" name="id2587184"></a> 32 <a class="indexterm" name="id2587191"></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="id258 0290"></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="id2587207"></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="id258 0300"></a>42 <a class="indexterm" name="id258 0309"></a>43 <a class="indexterm" name="id258 0318"></a>44 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id258 0326"></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="id258 0344"></a>46 <a class="indexterm" name="id258 0350"></a>47 <a class="indexterm" name="id258 0357"></a>48 <a class="indexterm" name="id258 0364"></a>49 <a class="indexterm" name="id258 0371"></a>41 <a class="indexterm" name="id2587216"></a> 42 <a class="indexterm" name="id2587226"></a> 43 <a class="indexterm" name="id2587235"></a> 44 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2587243"></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="id2587260"></a> 46 <a class="indexterm" name="id2587267"></a> 47 <a class="indexterm" name="id2587274"></a> 48 <a class="indexterm" name="id2587281"></a> 49 <a class="indexterm" name="id2587288"></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="id258 0418"></a>58 <a class="indexterm" name="id258 0425"></a>59 <a class="indexterm" name="id258 0432"></a>60 <a class="indexterm" name="id258 0439"></a>57 <a class="indexterm" name="id2587335"></a> 58 <a class="indexterm" name="id2587341"></a> 59 <a class="indexterm" name="id2587348"></a> 60 <a class="indexterm" name="id2587355"></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="id258 0478"></a>73 <a class="indexterm" name="id258 0485"></a>74 <a class="indexterm" name="id258 0492"></a>72 <a class="indexterm" name="id2587394"></a> 73 <a class="indexterm" name="id2587401"></a> 74 <a class="indexterm" name="id2587408"></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="id258 0510"></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="id2587426"></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="id258 0519"></a>83 <a class="indexterm" name="id258 0528"></a>82 <a class="indexterm" name="id2587436"></a> 83 <a class="indexterm" name="id2587445"></a> 84 84 </p><div class="variablelist"><dl><dt><span class="term">tdbsam</span></dt><dd><p> 85 <a class="indexterm" name="id258 0550"></a>86 <a class="indexterm" name="id258 0557"></a>87 <a class="indexterm" name="id258 0563"></a>85 <a class="indexterm" name="id2587466"></a> 86 <a class="indexterm" name="id2587473"></a> 87 <a class="indexterm" name="id2587480"></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="id258 0576"></a>93 <a class="indexterm" name="id258 0583"></a>94 <a class="indexterm" name="id258 0590"></a>95 <a class="indexterm" name="id258 0597"></a>96 <a class="indexterm" name="id258 0604"></a>97 <a class="indexterm" name="id258 0611"></a>92 <a class="indexterm" name="id2587492"></a> 93 <a class="indexterm" name="id2587499"></a> 94 <a class="indexterm" name="id2587506"></a> 95 <a class="indexterm" name="id2587513"></a> 96 <a class="indexterm" name="id2587520"></a> 97 <a class="indexterm" name="id2587527"></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="id258 0634"></a>106 <a class="indexterm" name="id258 0641"></a>107 <a class="indexterm" name="id258 0648"></a>105 <a class="indexterm" name="id2587551"></a> 106 <a class="indexterm" name="id2587558"></a> 107 <a class="indexterm" name="id2587565"></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="id258 0676"></a>115 <a class="indexterm" name="id258 0684"></a>114 <a class="indexterm" name="id2587593"></a> 115 <a class="indexterm" name="id2587600"></a> 116 116 This provides a rich directory backend for distributed account installation. 117 117 </p><p> 118 <a class="indexterm" name="id258 0695"></a>119 <a class="indexterm" name="id258 0702"></a>120 <a class="indexterm" name="id258 0709"></a>121 <a class="indexterm" name="id258 0716"></a>122 <a class="indexterm" name="id258 0723"></a>118 <a class="indexterm" name="id2587612"></a> 119 <a class="indexterm" name="id2587619"></a> 120 <a class="indexterm" name="id2587626"></a> 121 <a class="indexterm" name="id2587632"></a> 122 <a class="indexterm" name="id2587639"></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="id258 0745"></a>128 <a class="indexterm" name="id258 0752"></a>129 <a class="indexterm" name="id258 0759"></a>130 <a class="indexterm" name="id258 0766"></a>131 <a class="indexterm" name="id258 0773"></a>127 <a class="indexterm" name="id2587661"></a> 128 <a class="indexterm" name="id2587668"></a> 129 <a class="indexterm" name="id2587675"></a> 130 <a class="indexterm" name="id2587682"></a> 131 <a class="indexterm" name="id2587689"></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="id258 0807"></a>139 <a class="indexterm" name="id258 0814"></a>138 <a class="indexterm" name="id2587724"></a> 139 <a class="indexterm" name="id2587730"></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="id258 0827"></a>144 <a class="indexterm" name="id258 0834"></a>145 <a class="indexterm" name="id258 0841"></a>146 <a class="indexterm" name="id258 0848"></a>143 <a class="indexterm" name="id2587744"></a> 144 <a class="indexterm" name="id2587751"></a> 145 <a class="indexterm" name="id2587758"></a> 146 <a class="indexterm" name="id2587764"></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="id258 0862"></a>152 <a class="indexterm" name="id258 0869"></a>151 <a class="indexterm" name="id2587779"></a> 152 <a class="indexterm" name="id2587786"></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="id258 0885"></a>159 <a class="indexterm" name="id258 0892"></a>160 <a class="indexterm" name="id258 0899"></a>161 <a class="indexterm" name="id258 0906"></a>158 <a class="indexterm" name="id2587802"></a> 159 <a class="indexterm" name="id2587809"></a> 160 <a class="indexterm" name="id2587816"></a> 161 <a class="indexterm" name="id2587823"></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, 164 164 the location where the user's profile is stored, and so on. Samba retrieves and stores this 165 information using a <a class="link" href="smb.conf.5.html#PASSDBBACKEND" >passdb backend</a>. Commonly available backends are LDAP,165 information using a <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a>. Commonly available backends are LDAP, 166 166 tdbsam, and plain text file. For more information, see the man page for <code class="filename">smb.conf</code> regarding the 167 <a class="link" href="smb.conf.5.html#PASSDBBACKEND" >passdb backend</a> parameter.167 <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">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 0996"></a>170 <a class="indexterm" name="id258 1002"></a>171 <a class="indexterm" name="id258 1009"></a>169 <a class="indexterm" name="id2587912"></a> 170 <a class="indexterm" name="id2587919"></a> 171 <a class="indexterm" name="id2587925"></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="id258 1078"></a>Important Notes About Security</h3></div></div></div><p>176 <a class="indexterm" name="id258 1086"></a>177 <a class="indexterm" name="id258 1093"></a>178 <a class="indexterm" name="id258 1100"></a>179 <a class="indexterm" name="id258 1107"></a>180 <a class="indexterm" name="id258 1114"></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="id2587995"></a>Important Notes About Security</h3></div></div></div><p> 176 <a class="indexterm" name="id2588003"></a> 177 <a class="indexterm" name="id2588010"></a> 178 <a class="indexterm" name="id2588017"></a> 179 <a class="indexterm" name="id2588024"></a> 180 <a class="indexterm" name="id2588031"></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="id258 1144"></a>195 <a class="indexterm" name="id258 1150"></a>196 <a class="indexterm" name="id258 1157"></a>194 <a class="indexterm" name="id2588060"></a> 195 <a class="indexterm" name="id2588067"></a> 196 <a class="indexterm" name="id2588073"></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="id258 1172"></a>202 <a class="indexterm" name="id258 1179"></a>201 <a class="indexterm" name="id2588089"></a> 202 <a class="indexterm" name="id2588096"></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="id258 1194"></a>208 <a class="indexterm" name="id258 1200"></a>207 <a class="indexterm" name="id2588110"></a> 208 <a class="indexterm" name="id2588117"></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="id258 1239"></a>213 <a class="indexterm" name="id258 1246"></a>214 <a class="indexterm" name="id258 1253"></a>212 <a class="indexterm" name="id2588156"></a> 213 <a class="indexterm" name="id2588162"></a> 214 <a class="indexterm" name="id2588169"></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="id258 1298"></a>220 <a class="indexterm" name="id258 1305"></a>221 <a class="indexterm" name="id258 1312"></a>222 <a class="indexterm" name="id258 1319"></a>223 <a class="indexterm" name="id258 1326"></a>224 <a class="indexterm" name="id258 1332"></a>219 <a class="indexterm" name="id2588215"></a> 220 <a class="indexterm" name="id2588221"></a> 221 <a class="indexterm" name="id2588228"></a> 222 <a class="indexterm" name="id2588235"></a> 223 <a class="indexterm" name="id2588242"></a> 224 <a class="indexterm" name="id2588249"></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="id258 1348"></a>232 <a class="indexterm" name="id258 1356"></a>233 <a class="indexterm" name="id258 1362"></a>234 <a class="indexterm" name="id258 1369"></a>235 <a class="indexterm" name="id258 1376"></a>231 <a class="indexterm" name="id2588265"></a> 232 <a class="indexterm" name="id2588272"></a> 233 <a class="indexterm" name="id2588279"></a> 234 <a class="indexterm" name="id2588286"></a> 235 <a class="indexterm" name="id2588293"></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="id258 1393"></a>Advantages of Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>243 <a class="indexterm" name="id258 1405"></a>244 <a class="indexterm" name="id258 1412"></a>245 <a class="indexterm" name="id258 1419"></a>242 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2588310"></a>Advantages of Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p> 243 <a class="indexterm" name="id2588321"></a> 244 <a class="indexterm" name="id2588328"></a> 245 <a class="indexterm" name="id2588335"></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="id258 1432"></a>250 <a class="indexterm" name="id258 1439"></a>251 <a class="indexterm" name="id258 1446"></a>249 <a class="indexterm" name="id2588349"></a> 250 <a class="indexterm" name="id2588356"></a> 251 <a class="indexterm" name="id2588363"></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="id258 1458"></a>255 <a class="indexterm" name="id258 1465"></a>256 <a class="indexterm" name="id258 1472"></a>257 <a class="indexterm" name="id258 1479"></a>254 <a class="indexterm" name="id2588375"></a> 255 <a class="indexterm" name="id2588382"></a> 256 <a class="indexterm" name="id2588389"></a> 257 <a class="indexterm" name="id2588396"></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="id258 1497"></a>264 <a class="indexterm" name="id258 1504"></a>263 <a class="indexterm" name="id2588413"></a> 264 <a class="indexterm" name="id2588420"></a> 265 265 Encrypted password support allows automatic share (resource) reconnects. 266 266 </p></li><li><p> 267 <a class="indexterm" name="id258 1516"></a>268 <a class="indexterm" name="id258 1523"></a>267 <a class="indexterm" name="id2588433"></a> 268 <a class="indexterm" name="id2588440"></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="id258 1534"></a>Advantages of Non-Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>271 <a class="indexterm" name="id258 1545"></a>270 </p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2588450"></a>Advantages of Non-Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p> 271 <a class="indexterm" name="id2588462"></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="id258 1558"></a>275 <a class="indexterm" name="id258 1565"></a>274 <a class="indexterm" name="id2588475"></a> 275 <a class="indexterm" name="id2588481"></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="id258 1577"></a>279 <a class="indexterm" name="id258 1584"></a>278 <a class="indexterm" name="id2588494"></a> 279 <a class="indexterm" name="id2588501"></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="id258 1598"></a>Mapping User Identifiers between MS Windows and UNIX</h3></div></div></div><p>283 <a class="indexterm" name="id258 1606"></a>284 <a class="indexterm" name="id258 1613"></a>285 <a class="indexterm" name="id258 1619"></a>282 </p></li></ul></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2588514"></a>Mapping User Identifiers between MS Windows and UNIX</h3></div></div></div><p> 283 <a class="indexterm" name="id2588523"></a> 284 <a class="indexterm" name="id2588529"></a> 285 <a class="indexterm" name="id2588536"></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="id258 1633"></a>291 <a class="indexterm" name="id258 1640"></a>292 <a class="indexterm" name="id258 1646"></a>293 <a class="indexterm" name="id258 1653"></a>294 <a class="indexterm" name="id258 1660"></a>290 <a class="indexterm" name="id2588550"></a> 291 <a class="indexterm" name="id2588557"></a> 292 <a class="indexterm" name="id2588563"></a> 293 <a class="indexterm" name="id2588570"></a> 294 <a class="indexterm" name="id2588577"></a> 295 295 First, all Samba SAM database accounts require a UNIX/Linux UID that the account will map to. As users are 296 added to the account information database, Samba will call the <a class="link" href="smb.conf.5.html#ADDUSERSCRIPT" >add user script</a>296 added to the account information database, Samba will call the <a class="link" href="smb.conf.5.html#ADDUSERSCRIPT" target="_top">add user script</a> 297 297 interface to add the account to the Samba host OS. In essence all accounts in the local SAM require a local 298 298 user account. 299 299 </p><p> 300 <a class="indexterm" name="id258 1689"></a>301 <a class="indexterm" name="id258 1695"></a>302 <a class="indexterm" name="id258 1702"></a>303 <a class="indexterm" name="id258 1708"></a>304 <a class="indexterm" name="id258 1715"></a>305 <a class="indexterm" name="id258 1722"></a>306 <a class="indexterm" name="id258 1729"></a>300 <a class="indexterm" name="id2588606"></a> 301 <a class="indexterm" name="id2588612"></a> 302 <a class="indexterm" name="id2588619"></a> 303 <a class="indexterm" name="id2588625"></a> 304 <a class="indexterm" name="id2588632"></a> 305 <a class="indexterm" name="id2588639"></a> 306 <a class="indexterm" name="id2588646"></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="id258 1768"></a>313 <a class="indexterm" name="id258 1775"></a>314 <a class="indexterm" name="id258 1781"></a>315 <a class="indexterm" name="id258 1788"></a>316 <a class="indexterm" name="id258 1795"></a>317 <a class="indexterm" name="id258 1801"></a>312 <a class="indexterm" name="id2588685"></a> 313 <a class="indexterm" name="id2588692"></a> 314 <a class="indexterm" name="id2588698"></a> 315 <a class="indexterm" name="id2588705"></a> 316 <a class="indexterm" name="id2588712"></a> 317 <a class="indexterm" name="id2588718"></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="id258 1825"></a>325 <a class="indexterm" name="id258 1831"></a>326 <a class="indexterm" name="id258 1838"></a>327 <a class="indexterm" name="id258 1844"></a>328 <a class="indexterm" name="id258 1851"></a>329 <a class="indexterm" name="id258 1858"></a>330 <a class="indexterm" name="id258 1865"></a>331 <a class="indexterm" name="id258 1872"></a>324 <a class="indexterm" name="id2588742"></a> 325 <a class="indexterm" name="id2588748"></a> 326 <a class="indexterm" name="id2588755"></a> 327 <a class="indexterm" name="id2588762"></a> 328 <a class="indexterm" name="id2588768"></a> 329 <a class="indexterm" name="id2588775"></a> 330 <a class="indexterm" name="id2588782"></a> 331 <a class="indexterm" name="id2588789"></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="id258 1901"></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="id2581935"></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="id2581951"></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="id258 1966"></a>340 <a class="indexterm" name="id258 1973"></a>338 </p><a class="indexterm" name="id2588817"></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="id2588851"></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="id2588867"></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="id2588882"></a> 340 <a class="indexterm" name="id2588889"></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="id258 1997"></a>346 <a class="indexterm" name="id258 2004"></a>347 <a class="indexterm" name="id258 2010"></a>348 <a class="indexterm" name="id258 2017"></a>349 <a class="indexterm" name="id258 2024"></a>350 <a class="indexterm" name="id258 2030"></a>351 <a class="indexterm" name="id258 2037"></a>352 <a class="indexterm" name="id258 2044"></a>345 <a class="indexterm" name="id2588913"></a> 346 <a class="indexterm" name="id2588920"></a> 347 <a class="indexterm" name="id2588926"></a> 348 <a class="indexterm" name="id2588933"></a> 349 <a class="indexterm" name="id2588940"></a> 350 <a class="indexterm" name="id2588947"></a> 351 <a class="indexterm" name="id2588954"></a> 352 <a class="indexterm" name="id2588960"></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="id258 2064"></a>358 <a class="indexterm" name="id258 2071"></a>359 <a class="indexterm" name="id258 2077"></a>360 <a class="indexterm" name="id258 2084"></a>357 <a class="indexterm" name="id2588980"></a> 358 <a class="indexterm" name="id2588987"></a> 359 <a class="indexterm" name="id2588994"></a> 360 <a class="indexterm" name="id2589000"></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="id258 2103"></a>365 <a class="indexterm" name="id258 2110"></a>366 <a class="indexterm" name="id258 2116"></a>367 <a class="indexterm" name="id258 2123"></a>364 <a class="indexterm" name="id2589019"></a> 365 <a class="indexterm" name="id2589026"></a> 366 <a class="indexterm" name="id2589033"></a> 367 <a class="indexterm" name="id2589040"></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="id258 2146"></a>Comments Regarding LDAP</h3></div></div></div><p>372 <a class="indexterm" name="id258 2154"></a>373 <a class="indexterm" name="id258 2164"></a>374 <a class="indexterm" name="id258 2171"></a>375 <a class="indexterm" name="id258 2177"></a>371 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2589063"></a>Comments Regarding LDAP</h3></div></div></div><p> 372 <a class="indexterm" name="id2589071"></a> 373 <a class="indexterm" name="id2589080"></a> 374 <a class="indexterm" name="id2589087"></a> 375 <a class="indexterm" name="id2589093"></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="id258 2195"></a>383 <a class="indexterm" name="id258 2202"></a>384 <a class="indexterm" name="id258 2209"></a>385 <a class="indexterm" name="id258 2215"></a>382 <a class="indexterm" name="id2589111"></a> 383 <a class="indexterm" name="id2589118"></a> 384 <a class="indexterm" name="id2589125"></a> 385 <a class="indexterm" name="id2589132"></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="id258 2232"></a>392 <a class="indexterm" name="id258 2239"></a>393 <a class="indexterm" name="id258 2246"></a>394 <a class="indexterm" name="id258 2253"></a>395 <a class="indexterm" name="id258 2260"></a>396 <a class="indexterm" name="id258 2266"></a>397 <a class="indexterm" name="id258 2273"></a>398 <a class="indexterm" name="id258 2280"></a>399 <a class="indexterm" name="id258 2287"></a>400 <a class="indexterm" name="id258 2294"></a>401 <a class="indexterm" name="id258 2301"></a>402 <a class="indexterm" name="id258 2308"></a>403 <a class="indexterm" name="id258 2315"></a>404 <a class="indexterm" name="id258 2322"></a>391 <a class="indexterm" name="id2589148"></a> 392 <a class="indexterm" name="id2589155"></a> 393 <a class="indexterm" name="id2589162"></a> 394 <a class="indexterm" name="id2589169"></a> 395 <a class="indexterm" name="id2589176"></a> 396 <a class="indexterm" name="id2589183"></a> 397 <a class="indexterm" name="id2589190"></a> 398 <a class="indexterm" name="id2589196"></a> 399 <a class="indexterm" name="id2589203"></a> 400 <a class="indexterm" name="id2589210"></a> 401 <a class="indexterm" name="id2589217"></a> 402 <a class="indexterm" name="id2589224"></a> 403 <a class="indexterm" name="id2589231"></a> 404 <a class="indexterm" name="id2589238"></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="id258 2342"></a>414 <a class="indexterm" name="id258 2348"></a>415 <a class="indexterm" name="id258 2355"></a>416 <a class="indexterm" name="id258 2362"></a>417 <a class="indexterm" name="id258 2368"></a>418 <a class="indexterm" name="id258 2375"></a>413 <a class="indexterm" name="id2589258"></a> 414 <a class="indexterm" name="id2589265"></a> 415 <a class="indexterm" name="id2589272"></a> 416 <a class="indexterm" name="id2589279"></a> 417 <a class="indexterm" name="id2589285"></a> 418 <a class="indexterm" name="id2589292"></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="id258 2394"></a>427 <a class="indexterm" name="id258 2401"></a>426 <a class="indexterm" name="id2589311"></a> 427 <a class="indexterm" name="id2589318"></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="id258 2421"></a>Caution Regarding LDAP and Samba</h4></div></div></div><p>435 <a class="indexterm" name="id258 2429"></a>436 <a class="indexterm" name="id258 2436"></a>437 <a class="indexterm" name="id258 2443"></a>438 <a class="indexterm" name="id258 2450"></a>439 <a class="indexterm" name="id258 2457"></a>440 <a class="indexterm" name="id258 2464"></a>441 <a class="indexterm" name="id258 2471"></a>434 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2589338"></a>Caution Regarding LDAP and Samba</h4></div></div></div><p> 435 <a class="indexterm" name="id2589346"></a> 436 <a class="indexterm" name="id2589353"></a> 437 <a class="indexterm" name="id2589360"></a> 438 <a class="indexterm" name="id2589367"></a> 439 <a class="indexterm" name="id2589374"></a> 440 <a class="indexterm" name="id2589381"></a> 441 <a class="indexterm" name="id2589388"></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="id258 2487"></a>448 <a class="indexterm" name="id258 2494"></a>449 <a class="indexterm" name="id258 2501"></a>447 <a class="indexterm" name="id2589405"></a> 448 <a class="indexterm" name="id2589412"></a> 449 <a class="indexterm" name="id2589419"></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="id258 2519"></a>456 <a class="indexterm" name="id2589436"></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="id258 2537"></a>465 <a class="indexterm" name="id258 2544"></a>464 <a class="indexterm" name="id2589454"></a> 465 <a class="indexterm" name="id2589461"></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="id258 2558"></a>LDAP Directories and Windows Computer Accounts</h3></div></div></div><p>470 <a class="indexterm" name="id258 2567"></a>471 <a class="indexterm" name="id258 2574"></a>472 <a class="indexterm" name="id258 2580"></a>469 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2589476"></a>LDAP Directories and Windows Computer Accounts</h3></div></div></div><p> 470 <a class="indexterm" name="id2589484"></a> 471 <a class="indexterm" name="id2589491"></a> 472 <a class="indexterm" name="id2589498"></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="id258 2596"></a>479 <a class="indexterm" name="id258 2603"></a>480 <a class="indexterm" name="id258 2610"></a>478 <a class="indexterm" name="id2589513"></a> 479 <a class="indexterm" name="id2589520"></a> 480 <a class="indexterm" name="id2589527"></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="id258 2622"></a>485 <a class="indexterm" name="id258 2629"></a>486 <a class="indexterm" name="id258 2636"></a>487 <a class="indexterm" name="id258 2643"></a>488 <a class="indexterm" name="id258 2650"></a>489 <a class="indexterm" name="id258 2657"></a>490 <a class="indexterm" name="id258 2664"></a>484 <a class="indexterm" name="id2589540"></a> 485 <a class="indexterm" name="id2589547"></a> 486 <a class="indexterm" name="id2589554"></a> 487 <a class="indexterm" name="id2589561"></a> 488 <a class="indexterm" name="id2589568"></a> 489 <a class="indexterm" name="id2589574"></a> 490 <a class="indexterm" name="id2589581"></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="id258 2680"></a>497 <a class="indexterm" name="id258 2687"></a>498 <a class="indexterm" name="id258 2694"></a>499 <a class="indexterm" name="id258 2701"></a>500 <a class="indexterm" name="id258 2707"></a>496 <a class="indexterm" name="id2589598"></a> 497 <a class="indexterm" name="id2589604"></a> 498 <a class="indexterm" name="id2589611"></a> 499 <a class="indexterm" name="id2589618"></a> 500 <a class="indexterm" name="id2589625"></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="id258 2722"></a>507 <a class="indexterm" name="id258 2729"></a>508 <a class="indexterm" name="id258 2736"></a>506 <a class="indexterm" name="id2589640"></a> 507 <a class="indexterm" name="id2589646"></a> 508 <a class="indexterm" name="id2589653"></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="id258 2751"></a>515 <a class="indexterm" name="id258 2757"></a>516 <a class="indexterm" name="id258 2764"></a>517 <a class="indexterm" name="id258 2771"></a>518 <a class="indexterm" name="id258 2778"></a>519 <a class="indexterm" name="id258 2784"></a>520 <a class="indexterm" name="id258 2791"></a>514 <a class="indexterm" name="id2589668"></a> 515 <a class="indexterm" name="id2589675"></a> 516 <a class="indexterm" name="id2589682"></a> 517 <a class="indexterm" name="id2589688"></a> 518 <a class="indexterm" name="id2589695"></a> 519 <a class="indexterm" name="id2589702"></a> 520 <a class="indexterm" name="id2589708"></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="id258 2819"></a>529 <a class="indexterm" name="id258 2826"></a>530 <a class="indexterm" name="id258 2833"></a>531 <a class="indexterm" name="id258 2839"></a>532 <a class="indexterm" name="id258 2846"></a>528 <a class="indexterm" name="id2589737"></a> 529 <a class="indexterm" name="id2589744"></a> 530 <a class="indexterm" name="id2589750"></a> 531 <a class="indexterm" name="id2589757"></a> 532 <a class="indexterm" name="id2589764"></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="id258 2877"></a>540 <a class="indexterm" name="id258 2883"></a>541 <a class="indexterm" name="id258 2890"></a>539 <a class="indexterm" name="id2589794"></a> 540 <a class="indexterm" name="id2589801"></a> 541 <a class="indexterm" name="id2589807"></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="id258 2913"></a>546 <a class="indexterm" name="id258 2920"></a>547 <a class="indexterm" name="id258 2927"></a>545 <a class="indexterm" name="id2589831"></a> 546 <a class="indexterm" name="id2589837"></a> 547 <a class="indexterm" name="id2589844"></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="id258 2947"></a>554 <a class="indexterm" name="id258 2954"></a>555 <a class="indexterm" name="id258 2961"></a>556 <a class="indexterm" name="id258 2968"></a>553 <a class="indexterm" name="id2589865"></a> 554 <a class="indexterm" name="id2589871"></a> 555 <a class="indexterm" name="id2589878"></a> 556 <a class="indexterm" name="id2589885"></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="id258 2999"></a>The <code class="literal">smbpasswd</code> Tool</h3></div></div></div><p>562 <a class="indexterm" name="id258 3012"></a>563 <a class="indexterm" name="id258 3019"></a>564 <a class="indexterm" name="id258 3026"></a>565 <a class="indexterm" name="id258 3033"></a>566 <a class="indexterm" name="id258 3040"></a>561 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2589916"></a>The <code class="literal">smbpasswd</code> Tool</h3></div></div></div><p> 562 <a class="indexterm" name="id2589930"></a> 563 <a class="indexterm" name="id2589937"></a> 564 <a class="indexterm" name="id2589944"></a> 565 <a class="indexterm" name="id2589950"></a> 566 <a class="indexterm" name="id2589957"></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="id25 83084"></a>574 <a class="indexterm" name="id25 83091"></a>573 <a class="indexterm" name="id2590001"></a> 574 <a class="indexterm" name="id2590008"></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="id25 83109"></a>579 <a class="indexterm" name="id25 83116"></a>578 <a class="indexterm" name="id2590026"></a> 579 <a class="indexterm" name="id2590033"></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="id25 83135"></a>585 <a class="indexterm" name="id25 83142"></a>584 <a class="indexterm" name="id2590052"></a> 585 <a class="indexterm" name="id2590059"></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="id25 83281"></a>604 <a class="indexterm" name="id2590199"></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="id25 83294"></a>609 <a class="indexterm" name="id25 83300"></a>608 <a class="indexterm" name="id2590211"></a> 609 <a class="indexterm" name="id2590218"></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="id25 83327"></a>616 <a class="indexterm" name="id25 83334"></a>617 <a class="indexterm" name="id25 83341"></a>618 <a class="indexterm" name="id25 83347"></a>615 <a class="indexterm" name="id2590245"></a> 616 <a class="indexterm" name="id2590252"></a> 617 <a class="indexterm" name="id2590258"></a> 618 <a class="indexterm" name="id2590265"></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="id25 83379"></a>624 <a class="indexterm" name="id2590296"></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="id25 83413"></a>629 <a class="indexterm" name="id25 83420"></a>630 <a class="indexterm" name="id25 83427"></a>631 <a class="indexterm" name="id25 83434"></a>628 <a class="indexterm" name="id2590331"></a> 629 <a class="indexterm" name="id2590338"></a> 630 <a class="indexterm" name="id2590344"></a> 631 <a class="indexterm" name="id2590351"></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="id25 83493"></a>636 <a class="indexterm" name="id2590411"></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="id25 83565"></a>643 <a class="indexterm" name="id25 83572"></a>642 <a class="indexterm" name="id2590483"></a> 643 <a class="indexterm" name="id2590490"></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="id25 83589"></a>650 <a class="indexterm" name="id25 83595"></a>651 <a class="indexterm" name="id25 83602"></a>652 <a class="indexterm" name="id25 83609"></a>653 <a class="indexterm" name="id25 83616"></a>649 <a class="indexterm" name="id2590506"></a> 650 <a class="indexterm" name="id2590513"></a> 651 <a class="indexterm" name="id2590520"></a> 652 <a class="indexterm" name="id2590526"></a> 653 <a class="indexterm" name="id2590533"></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="id25 83998"></a>664 <a class="indexterm" name="id25 84005"></a>665 <a class="indexterm" name="id25 84012"></a>666 <a class="indexterm" name="id25 84018"></a>663 <a class="indexterm" name="id2590916"></a> 664 <a class="indexterm" name="id2590923"></a> 665 <a class="indexterm" name="id2590930"></a> 666 <a class="indexterm" name="id2590937"></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="id25 84037"></a>672 <a class="indexterm" name="id25 84044"></a>673 <a class="indexterm" name="id25 84051"></a>671 <a class="indexterm" name="id2590956"></a> 672 <a class="indexterm" name="id2590963"></a> 673 <a class="indexterm" name="id2590970"></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="id25 84068"></a>User Account Management</h4></div></div></div><p>677 <a class="indexterm" name="id25 84076"></a>678 <a class="indexterm" name="id25 84082"></a>679 <a class="indexterm" name="id25 84089"></a>680 <a class="indexterm" name="id25 84096"></a>681 <a class="indexterm" name="id25 84103"></a>682 <a class="indexterm" name="id25 84110"></a>683 <a class="indexterm" name="id25 84117"></a>676 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2590986"></a>User Account Management</h4></div></div></div><p> 677 <a class="indexterm" name="id2590994"></a> 678 <a class="indexterm" name="id2591001"></a> 679 <a class="indexterm" name="id2591008"></a> 680 <a class="indexterm" name="id2591015"></a> 681 <a class="indexterm" name="id2591022"></a> 682 <a class="indexterm" name="id2591029"></a> 683 <a class="indexterm" name="id2591036"></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="id25 84161"></a>694 <a class="indexterm" name="id25 84168"></a>693 <a class="indexterm" name="id2591079"></a> 694 <a class="indexterm" name="id2591086"></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="id25 84184"></a>Listing User and Machine Accounts</h5></div></div></div><p>698 <a class="indexterm" name="id25 84192"></a>699 <a class="indexterm" name="id25 84199"></a>697 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2591103"></a>Listing User and Machine Accounts</h5></div></div></div><p> 698 <a class="indexterm" name="id2591111"></a> 699 <a class="indexterm" name="id2591118"></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="id25 84241"></a>726 <a class="indexterm" name="id2591160"></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="id25 84290"></a>752 <a class="indexterm" name="id25 84296"></a>753 <a class="indexterm" name="id25 84303"></a>754 <a class="indexterm" name="id25 84310"></a>755 <a class="indexterm" name="id25 84317"></a>756 <a class="indexterm" name="id25 84324"></a>751 <a class="indexterm" name="id2591208"></a> 752 <a class="indexterm" name="id2591215"></a> 753 <a class="indexterm" name="id2591222"></a> 754 <a class="indexterm" name="id2591228"></a> 755 <a class="indexterm" name="id2591235"></a> 756 <a class="indexterm" name="id2591242"></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="id25 84374"></a>761 <a class="indexterm" name="id25 84381"></a>760 <a class="indexterm" name="id2591293"></a> 761 <a class="indexterm" name="id2591300"></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="id25 84407"></a>765 <a class="indexterm" name="id2591326"></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="id25 84419"></a>Adding User Accounts</h5></div></div></div><p>769 <a class="indexterm" name="id25 84427"></a>770 <a class="indexterm" name="id25 84434"></a>771 <a class="indexterm" name="id25 84440"></a>772 <a class="indexterm" name="id25 84447"></a>773 <a class="indexterm" name="id25 84454"></a>768 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2591338"></a>Adding User Accounts</h5></div></div></div><p> 769 <a class="indexterm" name="id2591346"></a> 770 <a class="indexterm" name="id2591353"></a> 771 <a class="indexterm" name="id2591360"></a> 772 <a class="indexterm" name="id2591366"></a> 773 <a class="indexterm" name="id2591373"></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="id25 84506"></a>Deleting Accounts</h5></div></div></div><p>806 <a class="indexterm" name="id25 84514"></a>807 <a class="indexterm" name="id25 84521"></a>808 <a class="indexterm" name="id25 84528"></a>809 <a class="indexterm" name="id25 84535"></a>805 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2591425"></a>Deleting Accounts</h5></div></div></div><p> 806 <a class="indexterm" name="id2591433"></a> 807 <a class="indexterm" name="id2591440"></a> 808 <a class="indexterm" name="id2591447"></a> 809 <a class="indexterm" name="id2591454"></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="id25 84561"></a>818 <a class="indexterm" name="id25 84568"></a>817 <a class="indexterm" name="id2591480"></a> 818 <a class="indexterm" name="id2591487"></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="id25 84591"></a>Changing User Accounts</h5></div></div></div><p>822 <a class="indexterm" name="id25 84599"></a>821 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2591510"></a>Changing User Accounts</h5></div></div></div><p> 822 <a class="indexterm" name="id2591518"></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="id25 84616"></a>826 <a class="indexterm" name="id2591536"></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="id25 84644"></a>839 <a class="indexterm" name="id25 84650"></a>840 <a class="indexterm" name="id25 84657"></a>838 <a class="indexterm" name="id2591563"></a> 839 <a class="indexterm" name="id2591569"></a> 840 <a class="indexterm" name="id2591576"></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="id25 84686"></a>856 <a class="indexterm" name="id25 84693"></a>855 <a class="indexterm" name="id2591605"></a> 856 <a class="indexterm" name="id2591612"></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="id25 84757"></a>889 <a class="indexterm" name="id25 84764"></a>888 <a class="indexterm" name="id2591676"></a> 889 <a class="indexterm" name="id2591683"></a> 890 890 Refer to the strptime man page for specific time format information. 891 891 </p><p> 892 <a class="indexterm" name="id25 84775"></a>893 <a class="indexterm" name="id25 84782"></a>892 <a class="indexterm" name="id2591694"></a> 893 <a class="indexterm" name="id2591701"></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="id25 84803"></a>898 <a class="indexterm" name="id25 84810"></a>899 <a class="indexterm" name="id25 84820"></a>900 <a class="indexterm" name="id25 84826"></a>897 <a class="indexterm" name="id2591722"></a> 898 <a class="indexterm" name="id2591730"></a> 899 <a class="indexterm" name="id2591739"></a> 900 <a class="indexterm" name="id2591746"></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="id25 84841"></a>906 <a class="indexterm" name="id25 84848"></a>907 <a class="indexterm" name="id25 84854"></a>908 <a class="indexterm" name="id25 84861"></a>909 <a class="indexterm" name="id25 84868"></a>905 <a class="indexterm" name="id2591760"></a> 906 <a class="indexterm" name="id2591767"></a> 907 <a class="indexterm" name="id2591774"></a> 908 <a class="indexterm" name="id2591781"></a> 909 <a class="indexterm" name="id2591788"></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="id25 84891"></a>916 <a class="indexterm" name="id25 84898"></a>915 <a class="indexterm" name="id2591811"></a> 916 <a class="indexterm" name="id2591818"></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="id25 84914"></a>923 <a class="indexterm" name="id25 84921"></a>922 <a class="indexterm" name="id2591833"></a> 923 <a class="indexterm" name="id2591840"></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="id25 85149"></a>930 <a class="indexterm" name="id25 85156"></a>929 <a class="indexterm" name="id2592071"></a> 930 <a class="indexterm" name="id2592078"></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="id25 85211"></a>958 <a class="indexterm" name="id2592133"></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="id25 85249"></a>Domain Account Policy Managment</h5></div></div></div><p>986 <a class="indexterm" name="id25 85257"></a>987 <a class="indexterm" name="id25 85264"></a>985 </p></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2592170"></a>Domain Account Policy Managment</h5></div></div></div><p> 986 <a class="indexterm" name="id2592178"></a> 987 <a class="indexterm" name="id2592186"></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="id25 85410"></a>Account Import/Export</h4></div></div></div><p>1036 <a class="indexterm" name="id25 85418"></a>1037 <a class="indexterm" name="id25 85425"></a>1038 <a class="indexterm" name="id25 85432"></a>1035 </p></div></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2592332"></a>Account Import/Export</h4></div></div></div><p> 1036 <a class="indexterm" name="id2592340"></a> 1037 <a class="indexterm" name="id2592346"></a> 1038 <a class="indexterm" name="id2592354"></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="id25 85469"></a>1044 <a class="indexterm" name="id2592390"></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="id25 85498"></a>1049 <a class="indexterm" name="id2592420"></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="id25 85535"></a>Password Backends</h2></div></div></div><p>1053 <a class="indexterm" name="id25 85543"></a>1054 <a class="indexterm" name="id25 85550"></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="id2592457"></a>Password Backends</h2></div></div></div><p> 1053 <a class="indexterm" name="id2592464"></a> 1054 <a class="indexterm" name="id2592471"></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="id25 85566"></a>1061 <a class="indexterm" name="id25 85573"></a>1060 <a class="indexterm" name="id2592488"></a> 1061 <a class="indexterm" name="id2592495"></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="id25 85589"></a>Plaintext</h3></div></div></div><p>1068 <a class="indexterm" name="id25 85596"></a>1069 <a class="indexterm" name="id25 85603"></a>1070 <a class="indexterm" name="id25 85610"></a>1071 <a class="indexterm" name="id25 85617"></a>1072 <a class="indexterm" name="id25 85624"></a>1073 <a class="indexterm" name="id25 85631"></a>1067 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2592510"></a>Plaintext</h3></div></div></div><p> 1068 <a class="indexterm" name="id2592518"></a> 1069 <a class="indexterm" name="id2592525"></a> 1070 <a class="indexterm" name="id2592532"></a> 1071 <a class="indexterm" name="id2592539"></a> 1072 <a class="indexterm" name="id2592546"></a> 1073 <a class="indexterm" name="id2592553"></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="id25 85665"></a>smbpasswd: Encrypted Password Database</h3></div></div></div><p>1081 <a class="indexterm" name="id25 85673"></a>1082 <a class="indexterm" name="id25 85682"></a>1083 <a class="indexterm" name="id25 85689"></a>1084 <a class="indexterm" name="id25 85696"></a>1085 Traditionally, when configuring <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" >encrypt passwords = yes</a>1080 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2592586"></a>smbpasswd: Encrypted Password Database</h3></div></div></div><p> 1081 <a class="indexterm" name="id2592594"></a> 1082 <a class="indexterm" name="id2592604"></a> 1083 <a class="indexterm" name="id2592611"></a> 1084 <a class="indexterm" name="id2592618"></a> 1085 Traditionally, when configuring <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" target="_top">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, 1087 1087 password change times, and account flags have been stored in the <code class="filename">smbpasswd(5)</code> … … 1089 1089 (counted in the thousands). 1090 1090 </p><div class="itemizedlist"><ul type="disc"><li><p> 1091 <a class="indexterm" name="id25 85739"></a>1091 <a class="indexterm" name="id2592660"></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="id25 85757"></a>1099 <a class="indexterm" name="id25 85764"></a>1100 <a class="indexterm" name="id25 85770"></a>1101 <a class="indexterm" name="id25 85777"></a>1102 <a class="indexterm" name="id25 85784"></a>1098 <a class="indexterm" name="id2592678"></a> 1099 <a class="indexterm" name="id2592685"></a> 1100 <a class="indexterm" name="id2592692"></a> 1101 <a class="indexterm" name="id2592699"></a> 1102 <a class="indexterm" name="id2592705"></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="id25 85809"></a>1109 <a class="indexterm" name="id25 85816"></a>1110 <a class="indexterm" name="id25 85823"></a>1111 <a class="indexterm" name="id25 85830"></a>1112 <a class="indexterm" name="id25 85837"></a>1108 <a class="indexterm" name="id2592731"></a> 1109 <a class="indexterm" name="id2592738"></a> 1110 <a class="indexterm" name="id2592745"></a> 1111 <a class="indexterm" name="id2592752"></a> 1112 <a class="indexterm" name="id2592758"></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="id25 85854"></a>1118 <a class="indexterm" name="id25 85861"></a>1119 <a class="indexterm" name="id25 85868"></a>1120 <a class="indexterm" name="id25 85874"></a>1117 <a class="indexterm" name="id2592775"></a> 1118 <a class="indexterm" name="id2592782"></a> 1119 <a class="indexterm" name="id2592789"></a> 1120 <a class="indexterm" name="id2592796"></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="id25 85890"></a>1127 <a class="indexterm" name="id25 85897"></a>1128 <a class="indexterm" name="id25 85904"></a>1129 <a class="indexterm" name="id25 85911"></a>1130 <a class="indexterm" name="id25 85917"></a>1126 <a class="indexterm" name="id2592812"></a> 1127 <a class="indexterm" name="id2592818"></a> 1128 <a class="indexterm" name="id2592826"></a> 1129 <a class="indexterm" name="id2592832"></a> 1130 <a class="indexterm" name="id2592839"></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="id25 85930"></a>tdbsam</h3></div></div></div><p>1135 <a class="indexterm" name="id25 85938"></a>1136 <a class="indexterm" name="id25 85947"></a>1137 <a class="indexterm" name="id25 85956"></a>1134 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2592852"></a>tdbsam</h3></div></div></div><p> 1135 <a class="indexterm" name="id2592860"></a> 1136 <a class="indexterm" name="id2592869"></a> 1137 <a class="indexterm" name="id2592878"></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="id25 85974"></a>1143 <a class="indexterm" name="id25 85981"></a>1144 <a class="indexterm" name="id25 85987"></a>1145 <a class="indexterm" name="id25 85994"></a>1142 <a class="indexterm" name="id2592896"></a> 1143 <a class="indexterm" name="id2592902"></a> 1144 <a class="indexterm" name="id2592909"></a> 1145 <a class="indexterm" name="id2592916"></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="id25 86010"></a>1152 <a class="indexterm" name="id25 86017"></a>1153 <a class="indexterm" name="id25 86024"></a>1151 <a class="indexterm" name="id2592932"></a> 1152 <a class="indexterm" name="id2592939"></a> 1153 <a class="indexterm" name="id2592946"></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="id25 86039"></a>1160 <a class="indexterm" name="id25 86046"></a>1161 <a class="indexterm" name="id25 86053"></a>1162 <a class="indexterm" name="id25 86060"></a>1159 <a class="indexterm" name="id2592961"></a> 1160 <a class="indexterm" name="id2592968"></a> 1161 <a class="indexterm" name="id2592975"></a> 1162 <a class="indexterm" name="id2592982"></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="id25 86088"></a>ldapsam</h3></div></div></div><p>1171 <a class="indexterm" name="id25 86096"></a>1172 <a class="indexterm" name="id25 86103"></a>1173 <a class="indexterm" name="id25 86110"></a>1170 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2593010"></a>ldapsam</h3></div></div></div><p> 1171 <a class="indexterm" name="id2593018"></a> 1172 <a class="indexterm" name="id2593025"></a> 1173 <a class="indexterm" name="id2593031"></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="id25 86139"></a>1179 <a class="indexterm" name="id25 86145"></a>1180 <a class="indexterm" name="id25 86152"></a>1181 <a class="indexterm" name="id25 86158"></a>1178 <a class="indexterm" name="id2593060"></a> 1179 <a class="indexterm" name="id2593067"></a> 1180 <a class="indexterm" name="id2593074"></a> 1181 <a class="indexterm" name="id2593080"></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="id25 86189"></a>1188 <a class="indexterm" name="id25 86196"></a>1189 <a class="indexterm" name="id25 86203"></a>1187 <a class="indexterm" name="id2593111"></a> 1188 <a class="indexterm" name="id2593118"></a> 1189 <a class="indexterm" name="id2593125"></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="id25 86284"></a>1202 <a class="indexterm" name="id2593206"></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="id25 86303"></a>1207 <a class="indexterm" name="id25 86310"></a>1208 <a class="indexterm" name="id25 86317"></a>1206 <a class="indexterm" name="id2593225"></a> 1207 <a class="indexterm" name="id2593232"></a> 1208 <a class="indexterm" name="id2593239"></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="id25 86336"></a>Supported LDAP Servers</h4></div></div></div><p>1213 <a class="indexterm" name="id25 86344"></a>1214 <a class="indexterm" name="id25 86351"></a>1215 <a class="indexterm" name="id25 86357"></a>1216 <a class="indexterm" name="id25 86364"></a>1212 </p></li></ul></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2593258"></a>Supported LDAP Servers</h4></div></div></div><p> 1213 <a class="indexterm" name="id2593266"></a> 1214 <a class="indexterm" name="id2593272"></a> 1215 <a class="indexterm" name="id2593279"></a> 1216 <a class="indexterm" name="id2593286"></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="id25 86391"></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="id2593313"></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="id25 86436"></a>1240 <a class="indexterm" name="id25 86443"></a>1241 <a class="indexterm" name="id25 86450"></a>1239 <a class="indexterm" name="id2593358"></a> 1240 <a class="indexterm" name="id2593365"></a> 1241 <a class="indexterm" name="id2593372"></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="id25 86476"></a>1248 <a class="indexterm" name="id25 86483"></a>1249 <a class="indexterm" name="id25 86490"></a>1250 <a class="indexterm" name="id25 86497"></a>1251 <a class="indexterm" name="id25 86504"></a>1252 <a class="indexterm" name="id25 86510"></a>1253 <a class="indexterm" name="id25 86517"></a>1247 <a class="indexterm" name="id2593399"></a> 1248 <a class="indexterm" name="id2593405"></a> 1249 <a class="indexterm" name="id2593412"></a> 1250 <a class="indexterm" name="id2593419"></a> 1251 <a class="indexterm" name="id2593426"></a> 1252 <a class="indexterm" name="id2593433"></a> 1253 <a class="indexterm" name="id2593440"></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="id25 86546"></a>1263 <a class="indexterm" name="id25 86553"></a>1264 <a class="indexterm" name="id25 86560"></a>1265 <a class="indexterm" name="id25 86567"></a>1266 <a class="indexterm" name="id25 86574"></a>1267 <a class="indexterm" name="id25 86581"></a>1268 <a class="indexterm" name="id25 86587"></a>1269 <a class="indexterm" name="id25 86594"></a>1270 <a class="indexterm" name="id25 86601"></a>1262 <a class="indexterm" name="id2593468"></a> 1263 <a class="indexterm" name="id2593475"></a> 1264 <a class="indexterm" name="id2593482"></a> 1265 <a class="indexterm" name="id2593489"></a> 1266 <a class="indexterm" name="id2593496"></a> 1267 <a class="indexterm" name="id2593503"></a> 1268 <a class="indexterm" name="id2593510"></a> 1269 <a class="indexterm" name="id2593516"></a> 1270 <a class="indexterm" name="id2593523"></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="id25 86626"></a>OpenLDAP Configuration</h4></div></div></div><p>1280 <a class="indexterm" name="id25 86634"></a>1281 <a class="indexterm" name="id25 86641"></a>1282 <a class="indexterm" name="id25 86648"></a>1283 <a class="indexterm" name="id25 86655"></a>1279 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2593548"></a>OpenLDAP Configuration</h4></div></div></div><p> 1280 <a class="indexterm" name="id2593556"></a> 1281 <a class="indexterm" name="id2593563"></a> 1282 <a class="indexterm" name="id2593570"></a> 1283 <a class="indexterm" name="id2593577"></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="id25 86692"></a>1293 <a class="indexterm" name="id25 86698"></a>1294 <a class="indexterm" name="id25 86705"></a>1295 <a class="indexterm" name="id25 86712"></a>1296 <a class="indexterm" name="id25 86719"></a>1297 <a class="indexterm" name="id25 86726"></a>1298 <a class="indexterm" name="id25 86733"></a>1299 <a class="indexterm" name="id25 86740"></a>1292 <a class="indexterm" name="id2593614"></a> 1293 <a class="indexterm" name="id2593621"></a> 1294 <a class="indexterm" name="id2593628"></a> 1295 <a class="indexterm" name="id2593634"></a> 1296 <a class="indexterm" name="id2593641"></a> 1297 <a class="indexterm" name="id2593648"></a> 1298 <a class="indexterm" name="id2593655"></a> 1299 <a class="indexterm" name="id2593662"></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="id25 86808"></a>1320 <a class="indexterm" name="id25 86814"></a>1321 <a class="indexterm" name="id25 86821"></a>1322 <a class="indexterm" name="id25 86828"></a>1319 <a class="indexterm" name="id2593730"></a> 1320 <a class="indexterm" name="id2593737"></a> 1321 <a class="indexterm" name="id2593744"></a> 1322 <a class="indexterm" name="id2593750"></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="id25 86898"></a>Initialize the LDAP Database</h4></div></div></div><p>1361 <a class="indexterm" name="id25 86906"></a>1362 <a class="indexterm" name="id25 86913"></a>1363 <a class="indexterm" name="id25 86920"></a>1364 <a class="indexterm" name="id25 86927"></a>1360 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2593820"></a>Initialize the LDAP Database</h4></div></div></div><p> 1361 <a class="indexterm" name="id2593828"></a> 1362 <a class="indexterm" name="id2593835"></a> 1363 <a class="indexterm" name="id2593842"></a> 1364 <a class="indexterm" name="id2593849"></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="id25 86970"></a>1427 <a class="indexterm" name="id25 86976"></a>1426 <a class="indexterm" name="id2593892"></a> 1427 <a class="indexterm" name="id2593899"></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="id25 86994"></a>1431 <a class="indexterm" name="id25 87000"></a>1430 <a class="indexterm" name="id2593916"></a> 1431 <a class="indexterm" name="id2593923"></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="id25 87009"></a>1434 <a class="indexterm" name="id2593931"></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="id25 87041"></a>1442 <a class="indexterm" name="id2593963"></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="id25 87056"></a>1445 <a class="indexterm" name="id2593978"></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="id25 87083"></a>Configuring Samba</h4></div></div></div><p>1450 <a class="indexterm" name="id25 87091"></a>1451 <a class="indexterm" name="id25 87098"></a>1449 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2594006"></a>Configuring Samba</h4></div></div></div><p> 1450 <a class="indexterm" name="id2594014"></a> 1451 <a class="indexterm" name="id2594020"></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="id25 87155"></a><em class="parameter"><code>passdb backend = ldapsam:url</code></em></td></tr><tr><td><a class="indexterm" name="id2587167"></a></td></tr><tr><td><a class="indexterm" name="id2587174"></a></td></tr><tr><td><a class="indexterm" name="id2587180"></a></td></tr><tr><td><a class="indexterm" name="id2587187"></a></td></tr><tr><td><a class="indexterm" name="id2587194"></a></td></tr><tr><td><a class="indexterm" name="id2587201"></a></td></tr><tr><td><a class="indexterm" name="id2587208"></a></td></tr><tr><td><a class="indexterm" name="id2587215"></a></td></tr><tr><td><a class="indexterm" name="id2587222"></a></td></tr><tr><td><a class="indexterm" name="id2587229"></a></td></tr><tr><td><a class="indexterm" name="id2587236"></a></td></tr><tr><td><a class="indexterm" name="id2587243"></a></td></tr><tr><td><a class="indexterm" name="id2587250"></a></td></tr></table><p>1470 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2594077"></a><em class="parameter"><code>passdb backend = ldapsam:url</code></em></td></tr><tr><td><a class="indexterm" name="id2594089"></a></td></tr><tr><td><a class="indexterm" name="id2594096"></a></td></tr><tr><td><a class="indexterm" name="id2594103"></a></td></tr><tr><td><a class="indexterm" name="id2594110"></a></td></tr><tr><td><a class="indexterm" name="id2594116"></a></td></tr><tr><td><a class="indexterm" name="id2594123"></a></td></tr><tr><td><a class="indexterm" name="id2594130"></a></td></tr><tr><td><a class="indexterm" name="id2594137"></a></td></tr><tr><td><a class="indexterm" name="id2594144"></a></td></tr><tr><td><a class="indexterm" name="id2594151"></a></td></tr><tr><td><a class="indexterm" name="id2594158"></a></td></tr><tr><td><a class="indexterm" name="id2594165"></a></td></tr><tr><td><a class="indexterm" name="id2594172"></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="id25 87301"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2587313"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2587324"></a><em class="parameter"><code>netbios name = MORIA</code></em></td></tr><tr><td><a class="indexterm" name="id2587336"></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="id2587373"></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="id2587393"></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="id2587409"></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="id2587425"></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="id2587446"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2587458"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2587470"></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="id2587494"></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="id2587508"></a>Accounts and Groups Management</h4></div></div></div><p>1475 <a class="indexterm" name="id25 87516"></a>1476 <a class="indexterm" name="id25 87523"></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="id2594223"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2594235"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2594247"></a><em class="parameter"><code>netbios name = MORIA</code></em></td></tr><tr><td><a class="indexterm" name="id2594259"></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="id2594295"></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="id2594315"></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="id2594331"></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="id2594348"></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="id2594368"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2594380"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2594392"></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="id2594416"></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="id2594430"></a>Accounts and Groups Management</h4></div></div></div><p> 1475 <a class="indexterm" name="id2594438"></a> 1476 <a class="indexterm" name="id2594445"></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="id25 87539"></a>1481 <a class="indexterm" name="id25 87546"></a>1482 <a class="indexterm" name="id25 87553"></a>1480 <a class="indexterm" name="id2594461"></a> 1481 <a class="indexterm" name="id2594468"></a> 1482 <a class="indexterm" name="id2594475"></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="id25 87582"></a>1492 <a class="indexterm" name="id25 87589"></a>1493 <a class="indexterm" name="id25 87596"></a>1494 <a class="indexterm" name="id25 87603"></a>1491 <a class="indexterm" name="id2594504"></a> 1492 <a class="indexterm" name="id2594511"></a> 1493 <a class="indexterm" name="id2594518"></a> 1494 <a class="indexterm" name="id2594525"></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="id25 87621"></a>Security and sambaSamAccount</h4></div></div></div><p>1502 <a class="indexterm" name="id25 87629"></a>1501 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2594543"></a>Security and sambaSamAccount</h4></div></div></div><p> 1502 <a class="indexterm" name="id2594552"></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="id25 87648"></a>1506 <a class="indexterm" name="id2594570"></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="id25 87669"></a>1510 <a class="indexterm" name="id25 87676"></a>1511 <a class="indexterm" name="id25 87682"></a>1509 <a class="indexterm" name="id2594591"></a> 1510 <a class="indexterm" name="id2594598"></a> 1511 <a class="indexterm" name="id2594605"></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="id25 87704"></a>1518 <a class="indexterm" name="id25 87711"></a>1519 <a class="indexterm" name="id25 87718"></a>1520 <a class="indexterm" name="id25 87724"></a>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 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> when1517 <a class="indexterm" name="id2594626"></a> 1518 <a class="indexterm" name="id2594633"></a> 1519 <a class="indexterm" name="id2594640"></a> 1520 <a class="indexterm" name="id2594647"></a> 1521 To remedy the first security issue, the <a class="link" href="smb.conf.5.html#LDAPSSL" target="_top">ldap ssl</a> <code class="filename">smb.conf</code> 1522 parameter defaults to require an encrypted session (<a class="link" href="smb.conf.5.html#LDAPSSL" target="_top">ldap ssl = on</a>) using the default port of <code class="constant">636</code> when 1523 1523 contacting the directory server. When using an OpenLDAP server, it 1524 1524 is possible to use the StartTLS LDAP extended operation in the place of LDAPS. 1525 1525 In either case, you are strongly encouraged to use secure communications protocols 1526 (so do not set <a class="link" href="smb.conf.5.html#LDAPSSL" >ldap ssl = off</a>).1526 (so do not set <a class="link" href="smb.conf.5.html#LDAPSSL" target="_top">ldap ssl = off</a>). 1527 1527 </p><p> 1528 <a class="indexterm" name="id25 87785"></a>1529 <a class="indexterm" name="id25 87792"></a>1530 <a class="indexterm" name="id25 87798"></a>1528 <a class="indexterm" name="id2594708"></a> 1529 <a class="indexterm" name="id2594715"></a> 1530 <a class="indexterm" name="id2594721"></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="id25 87812"></a>1536 <a class="indexterm" name="id25 87820"></a>1537 <a class="indexterm" name="id25 87826"></a>1535 <a class="indexterm" name="id2594736"></a> 1536 <a class="indexterm" name="id2594743"></a> 1537 <a class="indexterm" name="id2594749"></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="id25 87856"></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="id2594779"></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 … … 1566 1566 smb.conf(5) man page for more information.</td></tr><tr><td align="left"><code class="constant">sambaLogonScript</code></td><td align="justify">The sambaLogonScript property specifies the path of 1567 1567 the user's logon script, .CMD, .EXE, or .BAT file. The string can be null. The path 1568 is relative to the netlogon share. Refer to the <a class="link" href="smb.conf.5.html#LOGONSCRIPT" >logon script</a> parameter in the1568 is relative to the netlogon share. Refer to the <a class="link" href="smb.conf.5.html#LOGONSCRIPT" target="_top">logon script</a> parameter in the 1569 1569 <code class="filename">smb.conf</code> man page for more information.</td></tr><tr><td align="left"><code class="constant">sambaProfilePath</code></td><td align="justify">Specifies a path to the user's profile. 1570 1570 This value can be a null string, a local absolute path, or a UNC path. Refer to the 1571 <a class="link" href="smb.conf.5.html#LOGONPATH" >logon path</a> parameter in the <code class="filename">smb.conf</code> man page for more information.</td></tr><tr><td align="left"><code class="constant">sambaHomePath</code></td><td align="justify">The sambaHomePath property specifies the path of1571 <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a> parameter in the <code class="filename">smb.conf</code> man page for more information.</td></tr><tr><td align="left"><code class="constant">sambaHomePath</code></td><td align="justify">The sambaHomePath property specifies the path of 1572 1572 the home directory for the user. The string can be null. If sambaHomeDrive is set and specifies 1573 1573 a drive letter, sambaHomePath should be a UNC path. The path must be a network … … 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="id25 88205"></a>1584 <a class="indexterm" name="id25 88212"></a>1583 <a class="indexterm" name="id2595128"></a> 1584 <a class="indexterm" name="id2595134"></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="id25 88234"></a><a class="indexterm" name="id2588241"></a><a class="indexterm" name="id2588248"></a><a class="indexterm" name="id2588254"></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="id25 88283"></a>1591 <a class="indexterm" name="id25 88290"></a>1592 <a class="indexterm" name="id25 88297"></a>1589 </p><div class="itemizedlist"><a class="indexterm" name="id2595156"></a><a class="indexterm" name="id2595163"></a><a class="indexterm" name="id2595170"></a><a class="indexterm" name="id2595177"></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="id2595206"></a> 1591 <a class="indexterm" name="id2595212"></a> 1592 <a class="indexterm" name="id2595219"></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 1595 configured as a PDC and that <a class="link" href="smb.conf.5.html#LOGONHOME" >logon home = \\%L\%u</a> was defined in1595 configured as a PDC and that <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home = \\%L\%u</a> was defined in 1596 1596 its <code class="filename">smb.conf</code> file. When a user named “<span class="quote">becky</span>” logs on to the domain, 1597 the <a class="link" href="smb.conf.5.html#LOGONHOME" >logon home</a> string is expanded to \\MORIA\becky.1597 the <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a> string is expanded to \\MORIA\becky. 1598 1598 If the smbHome attribute exists in the entry “<span class="quote">uid=becky,ou=People,dc=samba,dc=org</span>”, 1599 1599 this value is used. However, if this attribute does not exist, then the value 1600 of the <a class="link" href="smb.conf.5.html#LOGONHOME" >logon home</a> parameter is used in its place. Samba1600 of the <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a> parameter is used in its place. Samba 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="id25 88370"></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="id2595293"></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="id25 88418"></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="id2595340"></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. 1651 </p><p>The <a class="link" href="smb.conf.5.html#LDAPPASSWDSYNC" >ldap passwd sync</a> options can have the values shown in1651 </p><p>The <a class="link" href="smb.conf.5.html#LDAPPASSWDSYNC" target="_top">ldap passwd sync</a> options can have the values shown in 1652 1652 <a class="link" href="passdb.html#ldappwsync" title="Table 11.5. Possible ldap passwd sync Values">Possible <span class="emphasis"><em>ldap passwd sync</em></span> Values</a>.</p><div class="table"><a name="ldappwsync"></a><p class="title"><b>Table 11.5. Possible <em class="parameter"><code>ldap passwd sync</code></em> Values</b></p><div class="table-contents"><table summary="Possible ldap passwd sync Values" border="1"><colgroup><col align="left"><col align="justify"></colgroup><thead><tr><th align="left">Value</th><th align="center">Description</th></tr></thead><tbody><tr><td align="left">yes</td><td align="justify"><p>When the user changes his password, update 1653 1653 <code class="constant">SambaNTPassword</code>, <code class="constant">SambaLMPassword</code>, … … 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="id25 88571"></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="id2595492"></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="id25 88622"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2588628"></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="id25 88665"></a>Configuration of <em class="parameter"><code>auth methods</code></em></h3></div></div></div><p>1667 When explicitly setting an <a class="link" href="smb.conf.5.html#AUTHMETHODS" >auth methods</a> parameter,1665 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2595544"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2595549"></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" target="_top">passdb backend</a>. 1666 Read the <a class="link" href="passdb.html#acctmgmttools" title="Account Management Tools">Account Management Tools,</a> for details.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2595586"></a>Configuration of <em class="parameter"><code>auth methods</code></em></h3></div></div></div><p> 1667 When explicitly setting an <a class="link" href="smb.conf.5.html#AUTHMETHODS" target="_top">auth methods</a> parameter, 1668 1668 <em class="parameter"><code>guest</code></em> must be specified as the first entry on the line 1669 for example, <a class="link" href="smb.conf.5.html#AUTHMETHODS" >auth methods = guest sam</a>.1669 for example, <a class="link" href="smb.conf.5.html#AUTHMETHODS" target="_top">auth methods = guest sam</a>. 1670 1670 </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="NetworkBrowsing.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="groupmapping.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 10. Network Browsing </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 12. Group Mapping: MS Windows and UNIX</td></tr></table></div></body></html> -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/pr01.html
r226 r231 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.7 3.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="id2532688"></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.74.0"><link rel="home" 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="id2500842"></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
r226 r231 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.7 3.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="id2495838"></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.74.0"><link rel="home" 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="id2500910"></a>Attribution</h2></div></div></div><p><a class="link" href="install.html" title="Chapter 1. How to Install and Test SAMBA">How to Install and Test SAMBA</a> 2 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
r226 r231 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.7 3.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="id2543195"></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.74.0"><link rel="home" 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="id2550942"></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
r226 r231 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.7 3.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#id2677846">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2677898">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678154">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678204">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678348">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2678674">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678711">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678886">How to Get Off the Mailing Lists</a></span></dt></dl></div><p>2 <a class="indexterm" name="id26 77821"></a>3 <a class="indexterm" name="id26 77828"></a>4 <a class="indexterm" name="id26 77834"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Bannon</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Shearer</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2684841">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2684893">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685149">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685199">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685342">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2685668">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685705">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685880">How to Get Off the Mailing Lists</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2684815"></a> 3 <a class="indexterm" name="id2684822"></a> 4 <a class="indexterm" name="id2684828"></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="id26 77846"></a>Diagnostics Tools</h2></div></div></div><p>9 <a class="indexterm" name="id26 77854"></a>10 <a class="indexterm" name="id26 77861"></a>11 <a class="indexterm" name="id26 77867"></a>12 <a class="indexterm" name="id26 77874"></a>13 <a class="indexterm" name="id26 77881"></a>8 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2684841"></a>Diagnostics Tools</h2></div></div></div><p> 9 <a class="indexterm" name="id2684848"></a> 10 <a class="indexterm" name="id2684855"></a> 11 <a class="indexterm" name="id2684862"></a> 12 <a class="indexterm" name="id2684869"></a> 13 <a class="indexterm" name="id2684876"></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="id26 77898"></a>Debugging with Samba Itself</h3></div></div></div><p>19 <a class="indexterm" name="id26 77906"></a>20 <a class="indexterm" name="id26 77913"></a>21 <a class="indexterm" name="id26 77920"></a>22 <a class="indexterm" name="id26 77927"></a>23 <a class="indexterm" name="id26 77934"></a>24 <a class="indexterm" name="id26 77941"></a>25 <a class="indexterm" name="id26 77947"></a>18 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2684893"></a>Debugging with Samba Itself</h3></div></div></div><p> 19 <a class="indexterm" name="id2684901"></a> 20 <a class="indexterm" name="id2684908"></a> 21 <a class="indexterm" name="id2684914"></a> 22 <a class="indexterm" name="id2684921"></a> 23 <a class="indexterm" name="id2684928"></a> 24 <a class="indexterm" name="id2684935"></a> 25 <a class="indexterm" name="id2684942"></a> 26 26 One of the best diagnostic tools for debugging problems is Samba itself. You can use the <code class="option">-d 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.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" target="_top">debug level</a> at which to run. 28 28 See the man pages for <code class="literal">smbd, nmbd</code>, and <code class="filename">smb.conf</code> for more information regarding debugging 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="id26 78002"></a>32 <a class="indexterm" name="id26 78008"></a>33 <a class="indexterm" name="id26 78015"></a>34 <a class="indexterm" name="id26 78022"></a>35 <a class="indexterm" name="id26 78029"></a>36 <a class="indexterm" name="id26 78036"></a>37 <a class="indexterm" name="id26 78043"></a>31 <a class="indexterm" name="id2684996"></a> 32 <a class="indexterm" name="id2685003"></a> 33 <a class="indexterm" name="id2685010"></a> 34 <a class="indexterm" name="id2685017"></a> 35 <a class="indexterm" name="id2685024"></a> 36 <a class="indexterm" name="id2685030"></a> 37 <a class="indexterm" name="id2685037"></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="id26 78112"></a>50 <a class="indexterm" name="id26 78118"></a>49 <a class="indexterm" name="id2685106"></a> 50 <a class="indexterm" name="id2685113"></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="id26 78154"></a>Tcpdump</h3></div></div></div><p>56 <a class="indexterm" name="id26 78162"></a>57 <a class="indexterm" name="id26 78168"></a>58 <a class="indexterm" name="id26 78175"></a>55 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2685149"></a>Tcpdump</h3></div></div></div><p> 56 <a class="indexterm" name="id2685156"></a> 57 <a class="indexterm" name="id2685163"></a> 58 <a class="indexterm" name="id2685170"></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="id26 78204"></a>Ethereal</h3></div></div></div><p>64 <a class="indexterm" name="id26 78212"></a>63 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2685199"></a>Ethereal</h3></div></div></div><p> 64 <a class="indexterm" name="id2685207"></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="id26 78275"></a>69 <a class="indexterm" name="id2685270"></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="id26 78348"></a>The Windows Network Monitor</h3></div></div></div><p>75 <a class="indexterm" name="id26 78356"></a>76 <a class="indexterm" name="id26 78362"></a>77 <a class="indexterm" name="id26 78369"></a>78 <a class="indexterm" name="id26 78376"></a>79 <a class="indexterm" name="id26 78383"></a>80 <a class="indexterm" name="id26 78390"></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="id2685342"></a>The Windows Network Monitor</h3></div></div></div><p> 75 <a class="indexterm" name="id2685350"></a> 76 <a class="indexterm" name="id2685357"></a> 77 <a class="indexterm" name="id2685364"></a> 78 <a class="indexterm" name="id2685371"></a> 79 <a class="indexterm" name="id2685378"></a> 80 <a class="indexterm" name="id2685385"></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="id26 78407"></a>Installing Network Monitor on an NT Workstation</h4></div></div></div><p>88 <a class="indexterm" name="id26 78416"></a>87 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2685402"></a>Installing Network Monitor on an NT Workstation</h4></div></div></div><p> 88 <a class="indexterm" name="id2685410"></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="id26 78433"></a>94 <a class="indexterm" name="id2685427"></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="id26 78651"></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="id2685645"></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="id26 78674"></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="id2685668"></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="id26 78711"></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="id2685705"></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="id26 78767"></a>133 <a class="indexterm" name="id2685761"></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="id26 78785"></a>138 <a class="indexterm" name="id2685779"></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="id26 78838"></a>153 <a class="indexterm" name="id2685832"></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="id26 78886"></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="id2685880"></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
r226 r231 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.7 3.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#id2601488">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2601763">Using the “<span class="quote">net rpc rights</span>” Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602108">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2602419">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2602906">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2603084">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2603089">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id260 1205"></a>3 <a class="indexterm" name="id260 1212"></a>4 <a class="indexterm" name="id260 1218"></a>5 <a class="indexterm" name="id260 1225"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2608421">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2608696">Using the net rpc rights Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609041">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609351">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2609839">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2610016">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2610022">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2608137"></a> 3 <a class="indexterm" name="id2608144"></a> 4 <a class="indexterm" name="id2608151"></a> 5 <a class="indexterm" name="id2608158"></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="id260 1242"></a>14 <a class="indexterm" name="id260 1249"></a>15 <a class="indexterm" name="id260 1256"></a>16 <a class="indexterm" name="id260 1263"></a>13 <a class="indexterm" name="id2608174"></a> 14 <a class="indexterm" name="id2608181"></a> 15 <a class="indexterm" name="id2608188"></a> 16 <a class="indexterm" name="id2608195"></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="id260 1277"></a>23 <a class="indexterm" name="id260 1284"></a>24 <a class="indexterm" name="id260 1291"></a>25 <a class="indexterm" name="id260 1298"></a>26 <a class="indexterm" name="id260 1305"></a>27 <a class="indexterm" name="id260 1311"></a>22 <a class="indexterm" name="id2608209"></a> 23 <a class="indexterm" name="id2608216"></a> 24 <a class="indexterm" name="id2608223"></a> 25 <a class="indexterm" name="id2608230"></a> 26 <a class="indexterm" name="id2608237"></a> 27 <a class="indexterm" name="id2608244"></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="id260 1352"></a>38 <a class="indexterm" name="id260 1359"></a>39 <a class="indexterm" name="id260 1366"></a>40 <a class="indexterm" name="id260 1373"></a>41 <a class="indexterm" name="id260 1380"></a>37 <a class="indexterm" name="id2608284"></a> 38 <a class="indexterm" name="id2608291"></a> 39 <a class="indexterm" name="id2608298"></a> 40 <a class="indexterm" name="id2608305"></a> 41 <a class="indexterm" name="id2608312"></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="id260 1399"></a>51 <a class="indexterm" name="id260 1406"></a>52 <a class="indexterm" name="id260 1413"></a>53 <a class="indexterm" name="id260 1420"></a>50 <a class="indexterm" name="id2608331"></a> 51 <a class="indexterm" name="id2608338"></a> 52 <a class="indexterm" name="id2608345"></a> 53 <a class="indexterm" name="id2608352"></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="id260 1442"></a>61 <a class="indexterm" name="id260 1449"></a>62 <a class="indexterm" name="id260 1456"></a>63 <a class="indexterm" name="id260 1463"></a>60 <a class="indexterm" name="id2608374"></a> 61 <a class="indexterm" name="id2608381"></a> 62 <a class="indexterm" name="id2608388"></a> 63 <a class="indexterm" name="id2608395"></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="id260 1488"></a>Rights Management Capabilities</h2></div></div></div><p>74 <a class="indexterm" name="id260 1496"></a>75 <a class="indexterm" name="id260 1503"></a>76 <a class="indexterm" name="id260 1510"></a>77 <a class="indexterm" name="id260 1517"></a>73 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2608421"></a>Rights Management Capabilities</h2></div></div></div><p> 74 <a class="indexterm" name="id2608429"></a> 75 <a class="indexterm" name="id2608436"></a> 76 <a class="indexterm" name="id2608443"></a> 77 <a class="indexterm" name="id2608450"></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 80 this feature, <a class="link" href="smb.conf.5.html#ENABLEPRIVILEGES" >enable privileges = yes</a>80 this feature, <a class="link" href="smb.conf.5.html#ENABLEPRIVILEGES" target="_top">enable privileges = yes</a> 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="id260 1556"></a>84 <a class="indexterm" name="id260 1563"></a>85 <a class="indexterm" name="id260 1570"></a>83 <a class="indexterm" name="id2608488"></a> 84 <a class="indexterm" name="id2608495"></a> 85 <a class="indexterm" name="id2608502"></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="id260 1586"></a><a class="indexterm" name="id2601593"></a><a class="indexterm" name="id2601600"></a><a class="indexterm" name="id2601607"></a><a class="indexterm" name="id2601614"></a><a class="indexterm" name="id2601621"></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="id2601763"></a>Using the “<span class="quote">net rpc rights</span>” Utility</h3></div></div></div><p>89 <a class="indexterm" name="id260 1774"></a>90 <a class="indexterm" name="id260 1781"></a>91 <a class="indexterm" name="id260 1788"></a>92 <a class="indexterm" name="id260 1795"></a>93 <a class="indexterm" name="id260 1802"></a>88 </p><a class="indexterm" name="id2608519"></a><a class="indexterm" name="id2608526"></a><a class="indexterm" name="id2608533"></a><a class="indexterm" name="id2608540"></a><a class="indexterm" name="id2608547"></a><a class="indexterm" name="id2608554"></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="id2608696"></a>Using the “<span class="quote">net rpc rights</span>” Utility</h3></div></div></div><p> 89 <a class="indexterm" name="id2608707"></a> 90 <a class="indexterm" name="id2608714"></a> 91 <a class="indexterm" name="id2608721"></a> 92 <a class="indexterm" name="id2608728"></a> 93 <a class="indexterm" name="id2608735"></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="id260 1845"></a>105 <a class="indexterm" name="id260 1856"></a>106 <a class="indexterm" name="id260 1863"></a>107 <a class="indexterm" name="id260 1870"></a>104 <a class="indexterm" name="id2608778"></a> 105 <a class="indexterm" name="id2608789"></a> 106 <a class="indexterm" name="id2608796"></a> 107 <a class="indexterm" name="id2608803"></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="id260 1909"></a>117 <a class="indexterm" name="id260 1916"></a>118 <a class="indexterm" name="id260 1923"></a>119 <a class="indexterm" name="id260 1930"></a>116 <a class="indexterm" name="id2608842"></a> 117 <a class="indexterm" name="id2608849"></a> 118 <a class="indexterm" name="id2608856"></a> 119 <a class="indexterm" name="id2608863"></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="id260 1956"></a>129 <a class="indexterm" name="id2608888"></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="id260 2011"></a>143 <a class="indexterm" name="id260 2017"></a>144 <a class="indexterm" name="id260 2024"></a>142 <a class="indexterm" name="id2608943"></a> 143 <a class="indexterm" name="id2608950"></a> 144 <a class="indexterm" name="id2608957"></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="id260 2043"></a>152 <a class="indexterm" name="id260 2050"></a>153 <a class="indexterm" name="id260 2057"></a>154 <a class="indexterm" name="id260 2064"></a>151 <a class="indexterm" name="id2608976"></a> 152 <a class="indexterm" name="id2608982"></a> 153 <a class="indexterm" name="id2608989"></a> 154 <a class="indexterm" name="id2608996"></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="id260 2085"></a>161 <a class="indexterm" name="id260 2091"></a>162 <a class="indexterm" name="id260 2098"></a>160 <a class="indexterm" name="id2609017"></a> 161 <a class="indexterm" name="id2609024"></a> 162 <a class="indexterm" name="id2609031"></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="id260 2108"></a>Description of Privileges</h3></div></div></div><p>165 <a class="indexterm" name="id260 2116"></a>166 <a class="indexterm" name="id260 2123"></a>167 <a class="indexterm" name="id260 2130"></a>164 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2609041"></a>Description of Privileges</h3></div></div></div><p> 165 <a class="indexterm" name="id2609049"></a> 166 <a class="indexterm" name="id2609056"></a> 167 <a class="indexterm" name="id2609063"></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="id260 2156"></a>175 <a class="indexterm" name="id260 2163"></a>176 <a class="indexterm" name="id260 2170"></a>174 <a class="indexterm" name="id2609089"></a> 175 <a class="indexterm" name="id2609096"></a> 176 <a class="indexterm" name="id2609102"></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="id260 2201"></a>183 <a class="indexterm" name="id260 2208"></a>184 <a class="indexterm" name="id260 2215"></a>182 <a class="indexterm" name="id2609134"></a> 183 <a class="indexterm" name="id2609141"></a> 184 <a class="indexterm" name="id2609148"></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="id260 2248"></a>192 <a class="indexterm" name="id260 2255"></a>193 <a class="indexterm" name="id260 2262"></a>191 <a class="indexterm" name="id2609181"></a> 192 <a class="indexterm" name="id2609188"></a> 193 <a class="indexterm" name="id2609195"></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="id260 2281"></a>198 <a class="indexterm" name="id260 2288"></a>199 <a class="indexterm" name="id260 2295"></a>200 <a class="indexterm" name="id260 2302"></a>201 <a class="indexterm" name="id260 2309"></a>202 This privilege operates identically to the <a class="link" href="smb.conf.5.html#PRINTERADMIN" >printer admin</a>197 <a class="indexterm" name="id2609214"></a> 198 <a class="indexterm" name="id2609221"></a> 199 <a class="indexterm" name="id2609228"></a> 200 <a class="indexterm" name="id2609234"></a> 201 <a class="indexterm" name="id2609242"></a> 202 This privilege operates identically to the <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">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>) 204 204 except that it is a global right (not on a per-printer basis). … … 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="id260 2363"></a>211 <a class="indexterm" name="id260 2370"></a>212 <a class="indexterm" name="id260 2377"></a>210 <a class="indexterm" name="id2609296"></a> 211 <a class="indexterm" name="id2609303"></a> 212 <a class="indexterm" name="id2609310"></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="id260 2399"></a>220 <a class="indexterm" name="id260 2406"></a>219 <a class="indexterm" name="id2609332"></a> 220 <a class="indexterm" name="id2609339"></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="id260 2419"></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="id2609351"></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="id260 2429"></a>226 <a class="indexterm" name="id260 2436"></a>227 <a class="indexterm" name="id260 2444"></a>228 <a class="indexterm" name="id260 2451"></a>229 <a class="indexterm" name="id260 2458"></a>230 <a class="indexterm" name="id260 2465"></a>231 <a class="indexterm" name="id260 2472"></a>232 <a class="indexterm" name="id260 2479"></a>233 <a class="indexterm" name="id260 2486"></a>234 <a class="indexterm" name="id260 2493"></a>235 <a class="indexterm" name="id260 2500"></a>236 <a class="indexterm" name="id260 2507"></a>237 <a class="indexterm" name="id260 2514"></a>238 <a class="indexterm" name="id260 2521"></a>239 <a class="indexterm" name="id260 2528"></a>240 <a class="indexterm" name="id260 2535"></a>241 <a class="indexterm" name="id260 2542"></a>242 <a class="indexterm" name="id260 2549"></a>243 <a class="indexterm" name="id260 2556"></a>244 <a class="indexterm" name="id260 2563"></a>245 <a class="indexterm" name="id260 2570"></a>246 <a class="indexterm" name="id260 2577"></a>247 <a class="indexterm" name="id260 2584"></a>225 <a class="indexterm" name="id2609362"></a> 226 <a class="indexterm" name="id2609369"></a> 227 <a class="indexterm" name="id2609376"></a> 228 <a class="indexterm" name="id2609383"></a> 229 <a class="indexterm" name="id2609390"></a> 230 <a class="indexterm" name="id2609398"></a> 231 <a class="indexterm" name="id2609404"></a> 232 <a class="indexterm" name="id2609411"></a> 233 <a class="indexterm" name="id2609418"></a> 234 <a class="indexterm" name="id2609426"></a> 235 <a class="indexterm" name="id2609433"></a> 236 <a class="indexterm" name="id2609440"></a> 237 <a class="indexterm" name="id2609447"></a> 238 <a class="indexterm" name="id2609454"></a> 239 <a class="indexterm" name="id2609461"></a> 240 <a class="indexterm" name="id2609468"></a> 241 <a class="indexterm" name="id2609475"></a> 242 <a class="indexterm" name="id2609482"></a> 243 <a class="indexterm" name="id2609489"></a> 244 <a class="indexterm" name="id2609496"></a> 245 <a class="indexterm" name="id2609503"></a> 246 <a class="indexterm" name="id2609510"></a> 247 <a class="indexterm" name="id2609517"></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="id260 2622"></a>275 <a class="indexterm" name="id260 2628"></a>276 <a class="indexterm" name="id260 2636"></a>277 <a class="indexterm" name="id260 2643"></a>278 <a class="indexterm" name="id260 2650"></a>279 <a class="indexterm" name="id260 2657"></a>280 <a class="indexterm" name="id260 2664"></a>281 <a class="indexterm" name="id260 2671"></a>282 <a class="indexterm" name="id260 2678"></a>283 <a class="indexterm" name="id260 2685"></a>284 <a class="indexterm" name="id260 2692"></a>285 <a class="indexterm" name="id260 2699"></a>286 <a class="indexterm" name="id260 2706"></a>287 <a class="indexterm" name="id260 2713"></a>288 <a class="indexterm" name="id260 2720"></a>289 <a class="indexterm" name="id260 2727"></a>290 <a class="indexterm" name="id260 2734"></a>291 <a class="indexterm" name="id260 2741"></a>292 <a class="indexterm" name="id260 2748"></a>293 <a class="indexterm" name="id260 2755"></a>294 <a class="indexterm" name="id260 2762"></a>295 <a class="indexterm" name="id260 2769"></a>296 <a class="indexterm" name="id260 2776"></a>297 <a class="indexterm" name="id260 2783"></a>298 <a class="indexterm" name="id260 2790"></a>299 <a class="indexterm" name="id260 2797"></a>300 <a class="indexterm" name="id260 2804"></a>301 <a class="indexterm" name="id260 2812"></a>302 <a class="indexterm" name="id260 2819"></a>274 <a class="indexterm" name="id2609555"></a> 275 <a class="indexterm" name="id2609561"></a> 276 <a class="indexterm" name="id2609568"></a> 277 <a class="indexterm" name="id2609575"></a> 278 <a class="indexterm" name="id2609582"></a> 279 <a class="indexterm" name="id2609590"></a> 280 <a class="indexterm" name="id2609596"></a> 281 <a class="indexterm" name="id2609603"></a> 282 <a class="indexterm" name="id2609610"></a> 283 <a class="indexterm" name="id2609618"></a> 284 <a class="indexterm" name="id2609625"></a> 285 <a class="indexterm" name="id2609632"></a> 286 <a class="indexterm" name="id2609639"></a> 287 <a class="indexterm" name="id2609646"></a> 288 <a class="indexterm" name="id2609653"></a> 289 <a class="indexterm" name="id2609660"></a> 290 <a class="indexterm" name="id2609667"></a> 291 <a class="indexterm" name="id2609674"></a> 292 <a class="indexterm" name="id2609681"></a> 293 <a class="indexterm" name="id2609688"></a> 294 <a class="indexterm" name="id2609695"></a> 295 <a class="indexterm" name="id2609702"></a> 296 <a class="indexterm" name="id2609709"></a> 297 <a class="indexterm" name="id2609716"></a> 298 <a class="indexterm" name="id2609723"></a> 299 <a class="indexterm" name="id2609730"></a> 300 <a class="indexterm" name="id2609737"></a> 301 <a class="indexterm" name="id2609744"></a> 302 <a class="indexterm" name="id2609751"></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="id260 2893"></a>335 <a class="indexterm" name="id2609826"></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="id260 2906"></a>The Administrator Domain SID</h2></div></div></div><p>339 <a class="indexterm" name="id260 2915"></a>340 <a class="indexterm" name="id260 2922"></a>341 <a class="indexterm" name="id260 2929"></a>342 <a class="indexterm" name="id260 2936"></a>343 <a class="indexterm" name="id260 2942"></a>338 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609839"></a>The Administrator Domain SID</h2></div></div></div><p> 339 <a class="indexterm" name="id2609847"></a> 340 <a class="indexterm" name="id2609854"></a> 341 <a class="indexterm" name="id2609862"></a> 342 <a class="indexterm" name="id2609868"></a> 343 <a class="indexterm" name="id2609875"></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="id260 2976"></a>353 <a class="indexterm" name="id2609909"></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="id260 2990"></a>356 <a class="indexterm" name="id2609923"></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="id260 3014"></a>362 <a class="indexterm" name="id260 3021"></a>363 <a class="indexterm" name="id260 3028"></a>364 <a class="indexterm" name="id260 3035"></a>361 <a class="indexterm" name="id2609947"></a> 362 <a class="indexterm" name="id2609954"></a> 363 <a class="indexterm" name="id2609960"></a> 364 <a class="indexterm" name="id2609968"></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="id260 3049"></a>370 <a class="indexterm" name="id260 3057"></a>371 <a class="indexterm" name="id260 3064"></a>372 <a class="indexterm" name="id26 03071"></a>369 <a class="indexterm" name="id2609982"></a> 370 <a class="indexterm" name="id2609989"></a> 371 <a class="indexterm" name="id2609997"></a> 372 <a class="indexterm" name="id2610004"></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="id26 03084"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2603089"></a>What Rights and Privileges Will Permit Windows Client Administration?</h3></div></div></div><p>377 <a class="indexterm" name="id26 03098"></a>378 <a class="indexterm" name="id26 03105"></a>379 <a class="indexterm" name="id26 03112"></a>380 <a class="indexterm" name="id26 03119"></a>376 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2610016"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2610022"></a>What Rights and Privileges Will Permit Windows Client Administration?</h3></div></div></div><p> 377 <a class="indexterm" name="id2610031"></a> 378 <a class="indexterm" name="id2610038"></a> 379 <a class="indexterm" name="id2610045"></a> 380 <a class="indexterm" name="id2610052"></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="id26 03151"></a>387 <a class="indexterm" name="id26 03158"></a>388 <a class="indexterm" name="id26 03166"></a>389 <a class="indexterm" name="id26 03172"></a>390 <a class="indexterm" name="id26 03179"></a>386 <a class="indexterm" name="id2610084"></a> 387 <a class="indexterm" name="id2610091"></a> 388 <a class="indexterm" name="id2610098"></a> 389 <a class="indexterm" name="id2610105"></a> 390 <a class="indexterm" name="id2610112"></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="id26 03207"></a>397 <a class="indexterm" name="id26 03214"></a>398 <a class="indexterm" name="id26 03222"></a>399 <a class="indexterm" name="id26 03228"></a>396 <a class="indexterm" name="id2610140"></a> 397 <a class="indexterm" name="id2610147"></a> 398 <a class="indexterm" name="id2610154"></a> 399 <a class="indexterm" name="id2610161"></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="id26 03256"></a>405 <a class="indexterm" name="id26 03263"></a>406 <a class="indexterm" name="id26 03269"></a>404 <a class="indexterm" name="id2610189"></a> 405 <a class="indexterm" name="id2610195"></a> 406 <a class="indexterm" name="id2610202"></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
r226 r231 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.7 3.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#id2558887">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2559293">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560037">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560401">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560460">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560550">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561233">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2561690">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561733">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561788">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561843">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561948">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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Lendecke</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">SuSE</span> <span class="surname">Deschner</span></h3><span class="contrib">LDAP updates</span> <div class="affiliation"><span class="orgname">SuSE<br></span><div class="address"><p><code class="email"><<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#id2565798">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2566203">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2566948">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567313">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567371">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567462">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568144">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2568602">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568645">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568700">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568755">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568860">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="id25 58887"></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="id2565798"></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="id25 58913"></a>12 <a class="indexterm" name="id25 58922"></a>13 <a class="indexterm" name="id25 58928"></a>14 <a class="indexterm" name="id25 58935"></a>15 <a class="indexterm" name="id25 58944"></a>11 <a class="indexterm" name="id2565824"></a> 12 <a class="indexterm" name="id2565833"></a> 13 <a class="indexterm" name="id2565840"></a> 14 <a class="indexterm" name="id2565846"></a> 15 <a class="indexterm" name="id2565855"></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="id25 58969"></a>25 <a class="indexterm" name="id25 58978"></a>26 <a class="indexterm" name="id25 58987"></a>27 <a class="indexterm" name="id25 58996"></a>24 <a class="indexterm" name="id2565880"></a> 25 <a class="indexterm" name="id2565889"></a> 26 <a class="indexterm" name="id2565898"></a> 27 <a class="indexterm" name="id2565907"></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="id25 59012"></a>34 <a class="indexterm" name="id25 59022"></a>35 <a class="indexterm" name="id25 59031"></a>36 <a class="indexterm" name="id25 59042"></a>37 <a class="indexterm" name="id25 59049"></a>38 <a class="indexterm" name="id25 59056"></a>39 <a class="indexterm" name="id25 59063"></a>33 <a class="indexterm" name="id2565924"></a> 34 <a class="indexterm" name="id2565933"></a> 35 <a class="indexterm" name="id2565942"></a> 36 <a class="indexterm" name="id2565954"></a> 37 <a class="indexterm" name="id2565960"></a> 38 <a class="indexterm" name="id2565967"></a> 39 <a class="indexterm" name="id2565974"></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="id25 59084"></a>50 <a class="indexterm" name="id25 59093"></a>51 <a class="indexterm" name="id25 59102"></a>52 <a class="indexterm" name="id25 59111"></a>49 <a class="indexterm" name="id2565995"></a> 50 <a class="indexterm" name="id2566004"></a> 51 <a class="indexterm" name="id2566013"></a> 52 <a class="indexterm" name="id2566022"></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="id25 59293"></a>Essential Background Information</h2></div></div></div><p>74 <a class="indexterm" name="id25 59301"></a>75 <a class="indexterm" name="id25 59308"></a>76 <a class="indexterm" name="id25 59315"></a>77 <a class="indexterm" name="id25 59322"></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="id2566203"></a>Essential Background Information</h2></div></div></div><p> 74 <a class="indexterm" name="id2566212"></a> 75 <a class="indexterm" name="id2566218"></a> 76 <a class="indexterm" name="id2566225"></a> 77 <a class="indexterm" name="id2566232"></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="id25 59336"></a>83 <a class="indexterm" name="id25 59348"></a>82 <a class="indexterm" name="id2566247"></a> 83 <a class="indexterm" name="id2566258"></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="id25 59363"></a>MS Windows NT4-style Domain Control</h3></div></div></div><p>90 <a class="indexterm" name="id25 59371"></a>91 <a class="indexterm" name="id25 59378"></a>92 <a class="indexterm" name="id25 59385"></a>93 <a class="indexterm" name="id25 59392"></a>94 <a class="indexterm" name="id25 59398"></a>95 <a class="indexterm" name="id25 59405"></a>96 <a class="indexterm" name="id25 59414"></a>89 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2566273"></a>MS Windows NT4-style Domain Control</h3></div></div></div><p> 90 <a class="indexterm" name="id2566281"></a> 91 <a class="indexterm" name="id2566288"></a> 92 <a class="indexterm" name="id2566295"></a> 93 <a class="indexterm" name="id2566302"></a> 94 <a class="indexterm" name="id2566309"></a> 95 <a class="indexterm" name="id2566316"></a> 96 <a class="indexterm" name="id2566325"></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="id25 59434"></a>105 <a class="indexterm" name="id25 59441"></a>106 <a class="indexterm" name="id25 59448"></a>107 <a class="indexterm" name="id25 59455"></a>108 <a class="indexterm" name="id25 59462"></a>104 <a class="indexterm" name="id2566345"></a> 105 <a class="indexterm" name="id2566352"></a> 106 <a class="indexterm" name="id2566359"></a> 107 <a class="indexterm" name="id2566366"></a> 108 <a class="indexterm" name="id2566373"></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="id25 59486"></a>121 <a class="indexterm" name="id25 59495"></a>122 <a class="indexterm" name="id25 59502"></a>123 <a class="indexterm" name="id25 59509"></a>124 <a class="indexterm" name="id25 59516"></a>120 <a class="indexterm" name="id2566397"></a> 121 <a class="indexterm" name="id2566406"></a> 122 <a class="indexterm" name="id2566413"></a> 123 <a class="indexterm" name="id2566420"></a> 124 <a class="indexterm" name="id2566426"></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="id25 59552"></a>135 <a class="indexterm" name="id25 59558"></a>134 <a class="indexterm" name="id2566462"></a> 135 <a class="indexterm" name="id2566469"></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="id25 59573"></a>140 <a class="indexterm" name="id2566484"></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="id25 59593"></a>148 <a class="indexterm" name="id25 59599"></a>149 <a class="indexterm" name="id25 59606"></a>150 <a class="indexterm" name="id25 59613"></a>151 <a class="indexterm" name="id25 59619"></a>147 <a class="indexterm" name="id2566503"></a> 148 <a class="indexterm" name="id2566510"></a> 149 <a class="indexterm" name="id2566516"></a> 150 <a class="indexterm" name="id2566523"></a> 151 <a class="indexterm" name="id2566530"></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="id25 59643"></a>164 <a class="indexterm" name="id25 59652"></a>165 <a class="indexterm" name="id25 59661"></a>166 <a class="indexterm" name="id25 59668"></a>163 <a class="indexterm" name="id2566554"></a> 164 <a class="indexterm" name="id2566563"></a> 165 <a class="indexterm" name="id2566572"></a> 166 <a class="indexterm" name="id2566578"></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="id25 59683"></a>173 <a class="indexterm" name="id25 59689"></a>172 <a class="indexterm" name="id2566593"></a> 173 <a class="indexterm" name="id2566600"></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="id25 59703"></a>179 <a class="indexterm" name="id25 59709"></a>180 <a class="indexterm" name="id25 59716"></a>178 <a class="indexterm" name="id2566613"></a> 179 <a class="indexterm" name="id2566620"></a> 180 <a class="indexterm" name="id2566626"></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="id25 59735"></a>188 <a class="indexterm" name="id25 59742"></a>189 <a class="indexterm" name="id25 59749"></a>190 <a class="indexterm" name="id25 59756"></a>187 <a class="indexterm" name="id2566646"></a> 188 <a class="indexterm" name="id2566653"></a> 189 <a class="indexterm" name="id2566659"></a> 190 <a class="indexterm" name="id2566666"></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="id25 59786"></a>Example PDC Configuration</h4></div></div></div><p>198 <a class="indexterm" name="id25 59794"></a>199 <a class="indexterm" name="id25 59801"></a>197 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2566696"></a>Example PDC Configuration</h4></div></div></div><p> 198 <a class="indexterm" name="id2566704"></a> 199 <a class="indexterm" name="id2566711"></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="id25 59854"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2559866"></a><em class="parameter"><code>passdb backend = ldapsam://localhost:389</code></em></td></tr><tr><td><a class="indexterm" name="id2559878"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2559890"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2559901"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2559913"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2559925"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2559937"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2559949"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2559961"></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="id25 59977"></a>206 <a class="indexterm" name="id25 59984"></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="id2566765"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2566776"></a><em class="parameter"><code>passdb backend = ldapsam://localhost:389</code></em></td></tr><tr><td><a class="indexterm" name="id2566789"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566800"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566812"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2566824"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2566836"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2566848"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2566860"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2566872"></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="id2566887"></a> 206 <a class="indexterm" name="id2566894"></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="id256 0037"></a>LDAP Configuration Notes</h3></div></div></div><p>215 <a class="indexterm" name="id256 0045"></a>216 <a class="indexterm" name="id256 0054"></a>217 <a class="indexterm" name="id256 0063"></a>214 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2566948"></a>LDAP Configuration Notes</h3></div></div></div><p> 215 <a class="indexterm" name="id2566956"></a> 216 <a class="indexterm" name="id2566965"></a> 217 <a class="indexterm" name="id2566974"></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="id256 0080"></a>225 <a class="indexterm" name="id256 0090"></a>226 <a class="indexterm" name="id256 0099"></a>227 <a class="indexterm" name="id256 0105"></a>228 <a class="indexterm" name="id256 0112"></a>224 <a class="indexterm" name="id2566991"></a> 225 <a class="indexterm" name="id2567000"></a> 226 <a class="indexterm" name="id2567010"></a> 227 <a class="indexterm" name="id2567016"></a> 228 <a class="indexterm" name="id2567023"></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="id256 0136"></a>236 <a class="indexterm" name="id256 0142"></a>237 <a class="indexterm" name="id256 0149"></a>238 <a class="indexterm" name="id256 0156"></a>239 <a class="indexterm" name="id256 0165"></a>240 <a class="indexterm" name="id256 0172"></a>241 <a class="indexterm" name="id256 0179"></a>235 <a class="indexterm" name="id2567047"></a> 236 <a class="indexterm" name="id2567053"></a> 237 <a class="indexterm" name="id2567060"></a> 238 <a class="indexterm" name="id2567067"></a> 239 <a class="indexterm" name="id2567076"></a> 240 <a class="indexterm" name="id2567083"></a> 241 <a class="indexterm" name="id2567090"></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="id256 0219"></a>251 <a class="indexterm" name="id256 0225"></a>252 <a class="indexterm" name="id256 0232"></a>253 <a class="indexterm" name="id256 0239"></a>254 <a class="indexterm" name="id256 0246"></a>255 <a class="indexterm" name="id256 0253"></a>250 <a class="indexterm" name="id2567130"></a> 251 <a class="indexterm" name="id2567137"></a> 252 <a class="indexterm" name="id2567144"></a> 253 <a class="indexterm" name="id2567151"></a> 254 <a class="indexterm" name="id2567157"></a> 255 <a class="indexterm" name="id2567164"></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 … … 259 259 therefore gives an error message on the client machine about not being able to set up account credentials. The 260 260 machine account is created on the LDAP server, but the password fields will be empty. Unfortunately, some 261 sites are unable to avoid such configurations, and these sites should review the <a class="link" href="smb.conf.5.html#LDAPREPLICATIONSLEEP" >ldap replication sleep</a> parameter, intended to slow down Samba sufficiently for the replication to catch up.261 sites are unable to avoid such configurations, and these sites should review the <a class="link" href="smb.conf.5.html#LDAPREPLICATIONSLEEP" target="_top">ldap replication sleep</a> parameter, intended to slow down Samba sufficiently for the replication to catch up. 262 262 This is a kludge, and one that the administrator must manually duplicate in any scripts (such as the 263 <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" >add machine script</a>) that they use.263 <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" target="_top">add machine script</a>) that they use. 264 264 </p><p> 265 265 Possible PDC/BDC plus LDAP configurations include: … … 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="id256 0387"></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="id2560401"></a>Active Directory Domain Control</h3></div></div></div><p>283 <a class="indexterm" name="id256 0409"></a>284 <a class="indexterm" name="id256 0416"></a>285 <a class="indexterm" name="id256 0423"></a>286 <a class="indexterm" name="id256 0430"></a>287 <a class="indexterm" name="id256 0437"></a>288 <a class="indexterm" name="id256 0443"></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="id2567298"></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="id2567313"></a>Active Directory Domain Control</h3></div></div></div><p> 283 <a class="indexterm" name="id2567321"></a> 284 <a class="indexterm" name="id2567328"></a> 285 <a class="indexterm" name="id2567335"></a> 286 <a class="indexterm" name="id2567342"></a> 287 <a class="indexterm" name="id2567348"></a> 288 <a class="indexterm" name="id2567355"></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="id256 0460"></a>What Qualifies a Domain Controller on the Network?</h3></div></div></div><p>295 <a class="indexterm" name="id256 0468"></a>296 <a class="indexterm" name="id256 0474"></a>297 <a class="indexterm" name="id256 0481"></a>298 <a class="indexterm" name="id256 0488"></a>294 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2567371"></a>What Qualifies a Domain Controller on the Network?</h3></div></div></div><p> 295 <a class="indexterm" name="id2567379"></a> 296 <a class="indexterm" name="id2567386"></a> 297 <a class="indexterm" name="id2567392"></a> 298 <a class="indexterm" name="id2567399"></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="id256 0510"></a>307 <a class="indexterm" name="id256 0516"></a>308 <a class="indexterm" name="id256 0523"></a>306 <a class="indexterm" name="id2567421"></a> 307 <a class="indexterm" name="id2567428"></a> 308 <a class="indexterm" name="id2567435"></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="id256 0550"></a>How Does a Workstation find its Domain Controller?</h3></div></div></div><p>313 <a class="indexterm" name="id256 0559"></a>314 <a class="indexterm" name="id256 0566"></a>312 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2567462"></a>How Does a Workstation find its Domain Controller?</h3></div></div></div><p> 313 <a class="indexterm" name="id2567470"></a> 314 <a class="indexterm" name="id2567477"></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="id256 0579"></a>320 <a class="indexterm" name="id256 0586"></a>319 <a class="indexterm" name="id2567491"></a> 320 <a class="indexterm" name="id2567497"></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="id256 0607"></a>NetBIOS Over TCP/IP Enabled</h4></div></div></div><p>326 <a class="indexterm" name="id256 0615"></a>327 <a class="indexterm" name="id256 0622"></a>328 <a class="indexterm" name="id256 0629"></a>329 <a class="indexterm" name="id256 0636"></a>325 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2567518"></a>NetBIOS Over TCP/IP Enabled</h4></div></div></div><p> 326 <a class="indexterm" name="id2567526"></a> 327 <a class="indexterm" name="id2567533"></a> 328 <a class="indexterm" name="id2567540"></a> 329 <a class="indexterm" name="id2567547"></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="id256 0673"></a>NetBIOS Over TCP/IP Disabled</h4></div></div></div><p>338 <a class="indexterm" name="id256 0681"></a>339 <a class="indexterm" name="id256 0688"></a>340 <a class="indexterm" name="id256 0695"></a>341 <a class="indexterm" name="id256 0702"></a>337 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2567584"></a>NetBIOS Over TCP/IP Disabled</h4></div></div></div><p> 338 <a class="indexterm" name="id2567592"></a> 339 <a class="indexterm" name="id2567599"></a> 340 <a class="indexterm" name="id2567606"></a> 341 <a class="indexterm" name="id2567613"></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="id256 0732"></a>Backup Domain Controller Configuration</h2></div></div></div><p>347 <a class="indexterm" name="id256 0740"></a>346 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2567643"></a>Backup Domain Controller Configuration</h2></div></div></div><p> 347 <a class="indexterm" name="id2567651"></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="id256 0761"></a>352 <a class="indexterm" name="id256 0767"></a>353 <a class="indexterm" name="id256 0774"></a>354 <a class="indexterm" name="id256 0780"></a>355 <a class="indexterm" name="id256 0787"></a>356 <a class="indexterm" name="id256 0794"></a>351 <a class="indexterm" name="id2567672"></a> 352 <a class="indexterm" name="id2567678"></a> 353 <a class="indexterm" name="id2567685"></a> 354 <a class="indexterm" name="id2567691"></a> 355 <a class="indexterm" name="id2567698"></a> 356 <a class="indexterm" name="id2567705"></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="id256 0825"></a>365 <a class="indexterm" name="id256 0832"></a>366 <a class="indexterm" name="id256 0838"></a>367 <a class="indexterm" name="id256 0845"></a>368 <a class="indexterm" name="id256 0851"></a>364 <a class="indexterm" name="id2567736"></a> 365 <a class="indexterm" name="id2567743"></a> 366 <a class="indexterm" name="id2567749"></a> 367 <a class="indexterm" name="id2567756"></a> 368 <a class="indexterm" name="id2567762"></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="id256 0892"></a>375 <a class="indexterm" name="id256 0898"></a>376 <a class="indexterm" name="id256 0905"></a>377 Specification of the <a class="link" href="smb.conf.5.html#LDAPADMINDN" >ldap admin dn</a> is obligatory.374 <a class="indexterm" name="id2567803"></a> 375 <a class="indexterm" name="id2567809"></a> 376 <a class="indexterm" name="id2567816"></a> 377 Specification of the <a class="link" href="smb.conf.5.html#LDAPADMINDN" target="_top">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> 379 379 using the <code class="literal">smbpasswd -w <em class="replaceable"><code>mysecret</code></em></code>. 380 380 </p></li><li><p> 381 The <a class="link" href="smb.conf.5.html#LDAPSUFFIX" >ldap suffix</a> parameter and the <a class="link" href="smb.conf.5.html#LDAPIDMAPSUFFIX">ldap idmap suffix</a>381 The <a class="link" href="smb.conf.5.html#LDAPSUFFIX" target="_top">ldap suffix</a> parameter and the <a class="link" href="smb.conf.5.html#LDAPIDMAPSUFFIX" target="_top">ldap idmap suffix</a> 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="id256 0980"></a>385 <a class="indexterm" name="id256 0988"></a>386 <a class="indexterm" name="id256 0995"></a>387 <a class="indexterm" name="id256 1002"></a>384 <a class="indexterm" name="id2567891"></a> 385 <a class="indexterm" name="id2567900"></a> 386 <a class="indexterm" name="id2567907"></a> 387 <a class="indexterm" name="id2567914"></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="id256 1035"></a>399 <a class="indexterm" name="id256 1042"></a>400 <a class="indexterm" name="id256 1049"></a>401 <a class="indexterm" name="id256 1055"></a>402 <a class="indexterm" name="id256 1062"></a>403 <a class="indexterm" name="id256 1069"></a>404 <a class="indexterm" name="id256 1076"></a>405 <a class="indexterm" name="id256 1082"></a>398 <a class="indexterm" name="id2567947"></a> 399 <a class="indexterm" name="id2567954"></a> 400 <a class="indexterm" name="id2567960"></a> 401 <a class="indexterm" name="id2567967"></a> 402 <a class="indexterm" name="id2567973"></a> 403 <a class="indexterm" name="id2567980"></a> 404 <a class="indexterm" name="id2567987"></a> 405 <a class="indexterm" name="id2567994"></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="id256 1128"></a>421 <a class="indexterm" name="id256 1135"></a>422 <a class="indexterm" name="id256 1142"></a>423 <a class="indexterm" name="id256 1148"></a>420 <a class="indexterm" name="id2568040"></a> 421 <a class="indexterm" name="id2568046"></a> 422 <a class="indexterm" name="id2568053"></a> 423 <a class="indexterm" name="id2568060"></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="id256 1165"></a>430 <a class="indexterm" name="id256 1172"></a>431 <a class="indexterm" name="id256 1179"></a>432 <a class="indexterm" name="id256 1185"></a>433 <a class="indexterm" name="id256 1192"></a>434 <a class="indexterm" name="id256 1199"></a>429 <a class="indexterm" name="id2568076"></a> 430 <a class="indexterm" name="id2568083"></a> 431 <a class="indexterm" name="id2568090"></a> 432 <a class="indexterm" name="id2568096"></a> 433 <a class="indexterm" name="id2568103"></a> 434 <a class="indexterm" name="id2568110"></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="id256 1233"></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="id2568144"></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="id256 1279"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2561291"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://slave-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2561303"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2561315"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561327"></a><em class="parameter"><code>ldap suffix = dc=abmas,dc=biz</code></em></td></tr><tr><td><a class="indexterm" name="id2561339"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2561351"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2561363"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2561375"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2561387"></a><em class="parameter"><code>ldap admin dn = cn=sambadmin,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2561399"></a><em class="parameter"><code>idmap backend = ldap:ldap://master-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2561411"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2561423"></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="id2568190"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2568202"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://slave-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2568214"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2568226"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568238"></a><em class="parameter"><code>ldap suffix = dc=abmas,dc=biz</code></em></td></tr><tr><td><a class="indexterm" name="id2568249"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2568261"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2568273"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2568285"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2568297"></a><em class="parameter"><code>ldap admin dn = cn=sambadmin,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2568310"></a><em class="parameter"><code>idmap backend = ldap:ldap://master-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2568322"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2568334"></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="id256 1454"></a>451 <a class="indexterm" name="id256 1460"></a>452 <a class="indexterm" name="id256 1467"></a>453 <a class="indexterm" name="id256 1474"></a>450 <a class="indexterm" name="id2568365"></a> 451 <a class="indexterm" name="id2568371"></a> 452 <a class="indexterm" name="id2568378"></a> 453 <a class="indexterm" name="id2568385"></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 456 than one machine. The parameter <a class="link" href="smb.conf.5.html#DOMAINMASTER" >domain master = no</a> forces the BDC not to456 than one machine. The parameter <a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master = no</a> forces the BDC not to 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="id256 1506"></a>460 <a class="indexterm" name="id256 1513"></a>461 <a class="indexterm" name="id256 1520"></a>462 <a class="indexterm" name="id256 1526"></a>463 <a class="indexterm" name="id256 1533"></a>464 <a class="indexterm" name="id256 1540"></a>465 <a class="indexterm" name="id256 1547"></a>466 <a class="indexterm" name="id256 1553"></a>467 <a class="indexterm" name="id256 1560"></a>459 <a class="indexterm" name="id2568417"></a> 460 <a class="indexterm" name="id2568424"></a> 461 <a class="indexterm" name="id2568430"></a> 462 <a class="indexterm" name="id2568437"></a> 463 <a class="indexterm" name="id2568444"></a> 464 <a class="indexterm" name="id2568451"></a> 465 <a class="indexterm" name="id2568458"></a> 466 <a class="indexterm" name="id2568465"></a> 467 <a class="indexterm" name="id2568471"></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="id256 1593"></a>474 <a class="indexterm" name="id256 1602"></a>475 <a class="indexterm" name="id256 1609"></a>476 <a class="indexterm" name="id256 1616"></a>473 <a class="indexterm" name="id2568504"></a> 474 <a class="indexterm" name="id2568514"></a> 475 <a class="indexterm" name="id2568520"></a> 476 <a class="indexterm" name="id2568528"></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="id256 1646"></a>485 <a class="indexterm" name="id256 1653"></a>486 <a class="indexterm" name="id256 1660"></a>487 The use of the <a class="link" href="smb.conf.5.html#IDMAPBACKEND" >idmap backend = ldap:ldap://master.quenya.org</a>484 <a class="indexterm" name="id2568557"></a> 485 <a class="indexterm" name="id2568564"></a> 486 <a class="indexterm" name="id2568571"></a> 487 The use of the <a class="link" href="smb.conf.5.html#IDMAPBACKEND" target="_top">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 489 489 also to allow a domain member (without its own passdb backend) to use winbindd to resolve Windows network users 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="id256 1690"></a>Common Errors</h2></div></div></div><p>493 <a class="indexterm" name="id256 1697"></a>492 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2568602"></a>Common Errors</h2></div></div></div><p> 493 <a class="indexterm" name="id2568609"></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="id256 1733"></a>Machine Accounts Keep Expiring</h3></div></div></div><p>501 <a class="indexterm" name="id256 1741"></a>502 <a class="indexterm" name="id256 1748"></a>503 <a class="indexterm" name="id256 1755"></a>504 <a class="indexterm" name="id256 1762"></a>500 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2568645"></a>Machine Accounts Keep Expiring</h3></div></div></div><p> 501 <a class="indexterm" name="id2568653"></a> 502 <a class="indexterm" name="id2568660"></a> 503 <a class="indexterm" name="id2568667"></a> 504 <a class="indexterm" name="id2568674"></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="id256 1788"></a>Can Samba Be a Backup Domain Controller to an NT4 PDC?</h3></div></div></div><p>517 <a class="indexterm" name="id256 1797"></a>518 <a class="indexterm" name="id256 1806"></a>516 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2568700"></a>Can Samba Be a Backup Domain Controller to an NT4 PDC?</h3></div></div></div><p> 517 <a class="indexterm" name="id2568709"></a> 518 <a class="indexterm" name="id2568718"></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="id256 1817"></a>522 <a class="indexterm" name="id256 1823"></a>523 <a class="indexterm" name="id256 1830"></a>521 <a class="indexterm" name="id2568729"></a> 522 <a class="indexterm" name="id2568735"></a> 523 <a class="indexterm" name="id2568742"></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="id256 1843"></a>How Do I Replicate the smbpasswd File?</h3></div></div></div><p>529 <a class="indexterm" name="id256 1851"></a>530 <a class="indexterm" name="id256 1860"></a>531 <a class="indexterm" name="id256 1867"></a>528 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2568755"></a>How Do I Replicate the smbpasswd File?</h3></div></div></div><p> 529 <a class="indexterm" name="id2568763"></a> 530 <a class="indexterm" name="id2568772"></a> 531 <a class="indexterm" name="id2568779"></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="id256 1881"></a>537 <a class="indexterm" name="id256 1888"></a>538 <a class="indexterm" name="id256 1895"></a>536 <a class="indexterm" name="id2568793"></a> 537 <a class="indexterm" name="id2568800"></a> 538 <a class="indexterm" name="id2568807"></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="id256 1925"></a>546 <a class="indexterm" name="id256 1932"></a>545 <a class="indexterm" name="id2568837"></a> 546 <a class="indexterm" name="id2568844"></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="id256 1948"></a>Can I Do This All with LDAP?</h3></div></div></div><p>551 <a class="indexterm" name="id256 1956"></a>552 <a class="indexterm" name="id256 1963"></a>550 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2568860"></a>Can I Do This All with LDAP?</h3></div></div></div><p> 551 <a class="indexterm" name="id2568868"></a> 552 <a class="indexterm" name="id2568875"></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
r226 r231 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.7 3.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#id2554346">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2555580">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2555600">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2556104">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557356">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557408">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2557428">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2558291">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2558297">“<span class="quote">$</span>” Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558397">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558461">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558538">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558657">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558684">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558703">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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Bannon</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">SuSE</span> <span class="surname">Deschner</span></h3><span class="contrib">LDAP updates</span> <div class="affiliation"><span class="orgname">SuSE<br></span><div class="address"><p><code class="email"><<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#id2561252">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2562486">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2562506">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2563011">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564264">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564317">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2564336">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2565201">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2565206">$ Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565307">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565372">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565448">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565568">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565595">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565614">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="id25 54208"></a>7 <a class="indexterm" name="id2561114"></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="id25 54346"></a>Features and Benefits</h2></div></div></div><p>36 <a class="indexterm" name="id25 54354"></a>35 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2561252"></a>Features and Benefits</h2></div></div></div><p> 36 <a class="indexterm" name="id2561260"></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="id25 54368"></a>40 <a class="indexterm" name="id25 54377"></a>41 <a class="indexterm" name="id25 54384"></a>42 <a class="indexterm" name="id25 54391"></a>39 <a class="indexterm" name="id2561274"></a> 40 <a class="indexterm" name="id2561283"></a> 41 <a class="indexterm" name="id2561290"></a> 42 <a class="indexterm" name="id2561297"></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="id25 54419"></a>51 <a class="indexterm" name="id25 54425"></a>52 <a class="indexterm" name="id25 54432"></a>53 <a class="indexterm" name="id25 54441"></a>54 <a class="indexterm" name="id25 54450"></a>50 <a class="indexterm" name="id2561325"></a> 51 <a class="indexterm" name="id2561332"></a> 52 <a class="indexterm" name="id2561339"></a> 53 <a class="indexterm" name="id2561348"></a> 54 <a class="indexterm" name="id2561357"></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="id25 54469"></a>61 <a class="indexterm" name="id2561376"></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="id25 54484"></a>67 <a class="indexterm" name="id25 54490"></a>66 <a class="indexterm" name="id2561391"></a> 67 <a class="indexterm" name="id2561397"></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="id25 54537"></a>86 <a class="indexterm" name="id25 54546"></a>87 <a class="indexterm" name="id25 54553"></a>85 <a class="indexterm" name="id2561444"></a> 86 <a class="indexterm" name="id2561453"></a> 87 <a class="indexterm" name="id2561460"></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="id25 54587"></a>95 <a class="indexterm" name="id2561494"></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="id25 54604"></a>101 <a class="indexterm" name="id25 54610"></a>102 <a class="indexterm" name="id25 54617"></a>103 <a class="indexterm" name="id25 54624"></a>104 <a class="indexterm" name="id25 54631"></a>100 <a class="indexterm" name="id2561511"></a> 101 <a class="indexterm" name="id2561517"></a> 102 <a class="indexterm" name="id2561524"></a> 103 <a class="indexterm" name="id2561531"></a> 104 <a class="indexterm" name="id2561538"></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="id25 54645"></a>109 <a class="indexterm" name="id25 54657"></a>110 <a class="indexterm" name="id25 54666"></a>108 <a class="indexterm" name="id2561552"></a> 109 <a class="indexterm" name="id2561564"></a> 110 <a class="indexterm" name="id2561573"></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="id25 54682"></a>116 <a class="indexterm" name="id25 54688"></a>117 <a class="indexterm" name="id25 54695"></a>118 <a class="indexterm" name="id25 54702"></a>119 <a class="indexterm" name="id25 54711"></a>120 <a class="indexterm" name="id25 54721"></a>115 <a class="indexterm" name="id2561589"></a> 116 <a class="indexterm" name="id2561595"></a> 117 <a class="indexterm" name="id2561602"></a> 118 <a class="indexterm" name="id2561609"></a> 119 <a class="indexterm" name="id2561618"></a> 120 <a class="indexterm" name="id2561628"></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="id25 54739"></a>126 <a class="indexterm" name="id25 54746"></a>127 <a class="indexterm" name="id25 54753"></a>125 <a class="indexterm" name="id2561646"></a> 126 <a class="indexterm" name="id2561653"></a> 127 <a class="indexterm" name="id2561660"></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="id25 54768"></a>132 <a class="indexterm" name="id2561675"></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="id25 54805"></a>143 <a class="indexterm" name="id25 54812"></a>142 <a class="indexterm" name="id2561712"></a> 143 <a class="indexterm" name="id2561719"></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="id25 54828"></a>149 <a class="indexterm" name="id25 54834"></a>148 <a class="indexterm" name="id2561735"></a> 149 <a class="indexterm" name="id2561741"></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="id25 54854"></a>157 <a class="indexterm" name="id25 54860"></a>158 <a class="indexterm" name="id25 54867"></a>156 <a class="indexterm" name="id2561761"></a> 157 <a class="indexterm" name="id2561767"></a> 158 <a class="indexterm" name="id2561774"></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="id25 54885"></a>164 <a class="indexterm" name="id25 54892"></a>163 <a class="indexterm" name="id2561792"></a> 164 <a class="indexterm" name="id2561799"></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="id25 54909"></a>170 <a class="indexterm" name="id2561816"></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="id25 54933"></a>176 <a class="indexterm" name="id25 54940"></a>177 <a class="indexterm" name="id25 54949"></a>175 <a class="indexterm" name="id2561840"></a> 176 <a class="indexterm" name="id2561847"></a> 177 <a class="indexterm" name="id2561856"></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="id25 54980"></a>Single Sign-On and Domain Security</h2></div></div></div><p>184 <a class="indexterm" name="id25 54988"></a>185 <a class="indexterm" name="id25 54997"></a>186 <a class="indexterm" name="id25 55003"></a>187 <a class="indexterm" name="id25 55010"></a>188 <a class="indexterm" name="id25 55017"></a>189 <a class="indexterm" name="id25 55024"></a>190 <a class="indexterm" name="id25 55031"></a>183 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2561886"></a>Single Sign-On and Domain Security</h2></div></div></div><p> 184 <a class="indexterm" name="id2561894"></a> 185 <a class="indexterm" name="id2561903"></a> 186 <a class="indexterm" name="id2561910"></a> 187 <a class="indexterm" name="id2561917"></a> 188 <a class="indexterm" name="id2561924"></a> 189 <a class="indexterm" name="id2561930"></a> 190 <a class="indexterm" name="id2561937"></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="id25 55054"></a>200 <a class="indexterm" name="id2561961"></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="id25 55072"></a>208 <a class="indexterm" name="id25 55079"></a>209 <a class="indexterm" name="id25 55086"></a>207 <a class="indexterm" name="id2561979"></a> 208 <a class="indexterm" name="id2561986"></a> 209 <a class="indexterm" name="id2561993"></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="id25 55108"></a>219 <a class="indexterm" name="id25 55116"></a>220 <a class="indexterm" name="id25 55125"></a>221 <a class="indexterm" name="id25 55134"></a>222 <a class="indexterm" name="id25 55141"></a>218 <a class="indexterm" name="id2562015"></a> 219 <a class="indexterm" name="id2562022"></a> 220 <a class="indexterm" name="id2562032"></a> 221 <a class="indexterm" name="id2562041"></a> 222 <a class="indexterm" name="id2562048"></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="id25 55189"></a>236 <a class="indexterm" name="id25 55196"></a>237 <a class="indexterm" name="id25 55203"></a>238 <a class="indexterm" name="id25 55210"></a>239 <a class="indexterm" name="id25 55217"></a>240 <a class="indexterm" name="id25 55224"></a>241 <a class="indexterm" name="id25 55231"></a>242 <a class="indexterm" name="id25 55238"></a>235 <a class="indexterm" name="id2562096"></a> 236 <a class="indexterm" name="id2562103"></a> 237 <a class="indexterm" name="id2562109"></a> 238 <a class="indexterm" name="id2562117"></a> 239 <a class="indexterm" name="id2562124"></a> 240 <a class="indexterm" name="id2562131"></a> 241 <a class="indexterm" name="id2562137"></a> 242 <a class="indexterm" name="id2562144"></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="id25 55259"></a>252 <a class="indexterm" name="id25 55269"></a>253 <a class="indexterm" name="id25 55279"></a>254 <a class="indexterm" name="id25 55288"></a>251 <a class="indexterm" name="id2562166"></a> 252 <a class="indexterm" name="id2562176"></a> 253 <a class="indexterm" name="id2562185"></a> 254 <a class="indexterm" name="id2562195"></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="id25 55307"></a>262 <a class="indexterm" name="id25 55316"></a>263 <a class="indexterm" name="id25 55324"></a>264 <a class="indexterm" name="id25 55330"></a>265 <a class="indexterm" name="id25 55337"></a>266 <a class="indexterm" name="id25 55343"></a>261 <a class="indexterm" name="id2562214"></a> 262 <a class="indexterm" name="id2562223"></a> 263 <a class="indexterm" name="id2562230"></a> 264 <a class="indexterm" name="id2562237"></a> 265 <a class="indexterm" name="id2562244"></a> 266 <a class="indexterm" name="id2562250"></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="id25 55379"></a>277 <a class="indexterm" name="id25 55386"></a>278 <a class="indexterm" name="id25 55393"></a>279 <a class="indexterm" name="id25 55400"></a>280 <a class="indexterm" name="id25 55406"></a>276 <a class="indexterm" name="id2562286"></a> 277 <a class="indexterm" name="id2562293"></a> 278 <a class="indexterm" name="id2562299"></a> 279 <a class="indexterm" name="id2562306"></a> 280 <a class="indexterm" name="id2562313"></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="id25 55431"></a>290 <a class="indexterm" name="id25 55438"></a>291 <a class="indexterm" name="id25 55444"></a>289 <a class="indexterm" name="id2562338"></a> 290 <a class="indexterm" name="id2562344"></a> 291 <a class="indexterm" name="id2562351"></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="id25 55462"></a>298 <a class="indexterm" name="id25 55468"></a>299 <a class="indexterm" name="id25 55475"></a>300 <a class="indexterm" name="id25 55482"></a>301 <a class="indexterm" name="id25 55489"></a>302 <a class="indexterm" name="id25 55496"></a>297 <a class="indexterm" name="id2562369"></a> 298 <a class="indexterm" name="id2562375"></a> 299 <a class="indexterm" name="id2562382"></a> 300 <a class="indexterm" name="id2562389"></a> 301 <a class="indexterm" name="id2562396"></a> 302 <a class="indexterm" name="id2562403"></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="id25 55521"></a>311 <a class="indexterm" name="id25 55528"></a>312 <a class="indexterm" name="id25 55535"></a>310 <a class="indexterm" name="id2562428"></a> 311 <a class="indexterm" name="id2562435"></a> 312 <a class="indexterm" name="id2562442"></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="id25 55552"></a>319 <a class="indexterm" name="id25 55559"></a>320 <a class="indexterm" name="id25 55566"></a>318 <a class="indexterm" name="id2562459"></a> 319 <a class="indexterm" name="id2562466"></a> 320 <a class="indexterm" name="id2562472"></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="id25 55580"></a>Basics of Domain Control</h2></div></div></div><p>325 <a class="indexterm" name="id25 55588"></a>324 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2562486"></a>Basics of Domain Control</h2></div></div></div><p> 325 <a class="indexterm" name="id2562494"></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="id25 55600"></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="id25 55625"></a>330 <a class="indexterm" name="id25 55632"></a>331 <a class="indexterm" name="id25 55639"></a>332 <a class="indexterm" name="id25 55648"></a>328 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2562506"></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="id2562532"></a> 330 <a class="indexterm" name="id2562539"></a> 331 <a class="indexterm" name="id2562545"></a> 332 <a class="indexterm" name="id2562555"></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="id25 55676"></a>341 <a class="indexterm" name="id25 55682"></a>342 <a class="indexterm" name="id25 55689"></a>343 <a class="indexterm" name="id25 55696"></a>344 <a class="indexterm" name="id25 55703"></a>340 <a class="indexterm" name="id2562583"></a> 341 <a class="indexterm" name="id2562589"></a> 342 <a class="indexterm" name="id2562596"></a> 343 <a class="indexterm" name="id2562603"></a> 344 <a class="indexterm" name="id2562610"></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="id25 55721"></a>351 <a class="indexterm" name="id25 55732"></a>352 <a class="indexterm" name="id25 55739"></a>353 <a class="indexterm" name="id25 55748"></a>350 <a class="indexterm" name="id2562627"></a> 351 <a class="indexterm" name="id2562639"></a> 352 <a class="indexterm" name="id2562646"></a> 353 <a class="indexterm" name="id2562655"></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="id25 55766"></a>361 <a class="indexterm" name="id25 55773"></a>360 <a class="indexterm" name="id2562672"></a> 361 <a class="indexterm" name="id2562679"></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="id25 55782" href="#ftn.id2555782" class="footnote">1</a>]</sup>364 </p><p> 365 <a class="indexterm" name="id25 55798"></a>366 <a class="indexterm" name="id25 55804"></a>367 <a class="indexterm" name="id25 55811"></a>368 <a class="indexterm" name="id25 55818"></a>369 <a class="indexterm" name="id25 55825"></a>370 <a class="indexterm" name="id25 55832"></a>363 database (one of the registry files)<sup>[<a name="id2562689" href="#ftn.id2562689" class="footnote">1</a>]</sup> 364 </p><p> 365 <a class="indexterm" name="id2562705"></a> 366 <a class="indexterm" name="id2562711"></a> 367 <a class="indexterm" name="id2562718"></a> 368 <a class="indexterm" name="id2562724"></a> 369 <a class="indexterm" name="id2562731"></a> 370 <a class="indexterm" name="id2562738"></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="id25 55862"></a>383 <a class="indexterm" name="id25 55869"></a>382 <a class="indexterm" name="id2562768"></a> 383 <a class="indexterm" name="id2562775"></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="id25 55884"></a>388 <a class="indexterm" name="id2562791"></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="id25 55953"></a>396 <a class="indexterm" name="id2562860"></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="id25 55973"></a>401 <a class="indexterm" name="id25 55984"></a>400 <a class="indexterm" name="id2562879"></a> 401 <a class="indexterm" name="id2562891"></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="id25 56004"></a>406 <a class="indexterm" name="id2562911"></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="id25 56023"></a>412 <a class="indexterm" name="id25 56032"></a>411 <a class="indexterm" name="id2562929"></a> 412 <a class="indexterm" name="id2562938"></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="id25 56048"></a>417 <a class="indexterm" name="id2562954"></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="id25 56104"></a>Preparing for Domain Control</h3></div></div></div><p>426 <a class="indexterm" name="id25 56112"></a>427 <a class="indexterm" name="id25 56119"></a>428 <a class="indexterm" name="id25 56126"></a>429 <a class="indexterm" name="id25 56133"></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="id2563011"></a>Preparing for Domain Control</h3></div></div></div><p> 426 <a class="indexterm" name="id2563019"></a> 427 <a class="indexterm" name="id2563026"></a> 428 <a class="indexterm" name="id2563033"></a> 429 <a class="indexterm" name="id2563040"></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="id25 56158"></a>436 <a class="indexterm" name="id25 56165"></a>437 <a class="indexterm" name="id25 56174"></a>435 <a class="indexterm" name="id2563065"></a> 436 <a class="indexterm" name="id2563072"></a> 437 <a class="indexterm" name="id2563081"></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="id25 56197"></a>446 <a class="indexterm" name="id25 56204"></a>447 <a class="indexterm" name="id25 56214"></a>445 <a class="indexterm" name="id2563104"></a> 446 <a class="indexterm" name="id2563111"></a> 447 <a class="indexterm" name="id2563120"></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="id25 56232"></a>454 <a class="indexterm" name="id2563139"></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="id2556288" href="#ftn.id2556288" 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" target="_top">security = user</a>).</p></li><li><p>Consistent configuration of name resolution.<sup>[<a name="id2563195" href="#ftn.id2563195" 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 </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 domain465 </p><div class="itemizedlist"><ul type="disc"><li><p>Configuration of basic TCP/IP and MS Windows networking.</p></li><li><p>Correct designation of the server role (<a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>).</p></li><li><p>Network logon configuration (since Windows 9x/Me/XP Home are not technically domain 466 466 members, they do not really participate in the security aspects of Domain logons as such).</p></li><li><p>Roaming profile configuration.</p></li><li><p>Configuration of system policy handling.</p></li><li><p>Installation of the network driver “<span class="quote">Client for MS Windows Networks</span>” and configuration 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="id25 56410"></a>470 <a class="indexterm" name="id25 56416"></a>469 <a class="indexterm" name="id2563317"></a> 470 <a class="indexterm" name="id2563323"></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="id25 56452"></a>479 <a class="indexterm" name="id25 56461"></a>480 <a class="indexterm" name="id25 56468"></a>481 <a class="indexterm" name="id25 56475"></a>482 <a class="indexterm" name="id25 56481"></a>478 <a class="indexterm" name="id2563359"></a> 479 <a class="indexterm" name="id2563368"></a> 480 <a class="indexterm" name="id2563375"></a> 481 <a class="indexterm" name="id2563382"></a> 482 <a class="indexterm" name="id2563389"></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="id25 56497"></a>488 <a class="indexterm" name="id25 56503"></a>487 <a class="indexterm" name="id2563404"></a> 488 <a class="indexterm" name="id2563411"></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="id25 56524"></a>496 <a class="indexterm" name="id25 56536"></a>497 <a class="indexterm" name="id25 56547"></a>498 <a class="indexterm" name="id25 56554"></a>499 <a class="indexterm" name="id25 56560"></a>495 <a class="indexterm" name="id2563431"></a> 496 <a class="indexterm" name="id2563443"></a> 497 <a class="indexterm" name="id2563455"></a> 498 <a class="indexterm" name="id2563462"></a> 499 <a class="indexterm" name="id2563468"></a> 500 500 It is rather easy to configure Samba to provide these. Each Samba domain controller must provide the NETLOGON 501 service that Samba calls the <a class="link" href="smb.conf.5.html#DOMAINLOGONS" >domain logons</a> functionality (after the name of the501 service that Samba calls the <a class="link" href="smb.conf.5.html#DOMAINLOGONS" target="_top">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="id25 56591" href="#ftn.id2556591" class="footnote">3</a>]</sup> This causes the PDC to claim a domain-specific NetBIOS name that identifies503 domain master browser.<sup>[<a name="id2563500" href="#ftn.id2563500" 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="id25 56614"></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="id2563522"></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="id25 56668"></a></td></tr><tr><td><a class="indexterm" name="id2556675"></a></td></tr><tr><td><a class="indexterm" name="id2556682"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2556694"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2556705"></a><em class="parameter"><code>preferred master = auto</code></em></td></tr><tr><td><a class="indexterm" name="id2556717"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556729"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556740"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2556752"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556764"></a><em class="parameter"><code>logon path = \\%N\profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2556776"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2556787"></a><em class="parameter"><code>logon home = \\homeserver\%U\winprofile</code></em></td></tr><tr><td><a class="indexterm" name="id2556799"></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="id2556820"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2556832"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556844"></a></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2556859"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2556871"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2556883"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2556894"></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="id2563577"></a></td></tr><tr><td><a class="indexterm" name="id2563584"></a></td></tr><tr><td><a class="indexterm" name="id2563590"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2563602"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2563614"></a><em class="parameter"><code>preferred master = auto</code></em></td></tr><tr><td><a class="indexterm" name="id2563626"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563637"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563649"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2563661"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563672"></a><em class="parameter"><code>logon path = \\%N\profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2563684"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2563696"></a><em class="parameter"><code>logon home = \\homeserver\%U\winprofile</code></em></td></tr><tr><td><a class="indexterm" name="id2563708"></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="id2563729"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2563741"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563752"></a></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2563768"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2563780"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2563791"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2563803"></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="id25 56929"></a>516 <a class="indexterm" name="id25 56938"></a>517 <a class="indexterm" name="id25 56944"></a>518 <a class="indexterm" name="id25 56951"></a>519 <a class="indexterm" name="id25 56958"></a>520 <a class="indexterm" name="id25 56965"></a>515 <a class="indexterm" name="id2563837"></a> 516 <a class="indexterm" name="id2563846"></a> 517 <a class="indexterm" name="id2563853"></a> 518 <a class="indexterm" name="id2563860"></a> 519 <a class="indexterm" name="id2563867"></a> 520 <a class="indexterm" name="id2563874"></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="id25 56986"></a>526 <a class="indexterm" name="id25 56993"></a>527 <a class="indexterm" name="id25 57000"></a>528 <a class="indexterm" name="id25 57007"></a>525 <a class="indexterm" name="id2563895"></a> 526 <a class="indexterm" name="id2563902"></a> 527 <a class="indexterm" name="id2563909"></a> 528 <a class="indexterm" name="id2563915"></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="id25 57028"></a>534 <a class="indexterm" name="id25 57034"></a>535 <a class="indexterm" name="id25 57041"></a>536 <a class="indexterm" name="id25 57048"></a>533 <a class="indexterm" name="id2563936"></a> 534 <a class="indexterm" name="id2563943"></a> 535 <a class="indexterm" name="id2563950"></a> 536 <a class="indexterm" name="id2563957"></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="id25 57071"></a>542 <a class="indexterm" name="id25 57077"></a>541 <a class="indexterm" name="id2563980"></a> 542 <a class="indexterm" name="id2563986"></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="id25 57115"></a>550 <a class="indexterm" name="id25 57121"></a>551 <a class="indexterm" name="id25 57128"></a>552 <a class="indexterm" name="id25 57135"></a>549 <a class="indexterm" name="id2564023"></a> 550 <a class="indexterm" name="id2564030"></a> 551 <a class="indexterm" name="id2564037"></a> 552 <a class="indexterm" name="id2564044"></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="id25 57164"></a>559 <a class="indexterm" name="id25 57171"></a>560 <a class="indexterm" name="id25 57178"></a>561 <a class="indexterm" name="id25 57185"></a>562 <a class="indexterm" name="id25 57192"></a>563 <a class="indexterm" name="id25 57199"></a>558 <a class="indexterm" name="id2564073"></a> 559 <a class="indexterm" name="id2564080"></a> 560 <a class="indexterm" name="id2564087"></a> 561 <a class="indexterm" name="id2564094"></a> 562 <a class="indexterm" name="id2564101"></a> 563 <a class="indexterm" name="id2564108"></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="id25 57222"></a>570 <a class="indexterm" name="id25 57229"></a>571 <a class="indexterm" name="id25 57236"></a>572 <a class="indexterm" name="id25 57242"></a>573 <a class="indexterm" name="id25 57249"></a>569 <a class="indexterm" name="id2564131"></a> 570 <a class="indexterm" name="id2564138"></a> 571 <a class="indexterm" name="id2564144"></a> 572 <a class="indexterm" name="id2564151"></a> 573 <a class="indexterm" name="id2564158"></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="id25 57290"></a><em class="parameter"><code>netbios name = BELERIAND</code></em></td></tr><tr><td><a class="indexterm" name="id2557301"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2557313"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557325"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557337"></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="id2564198"></a><em class="parameter"><code>netbios name = BELERIAND</code></em></td></tr><tr><td><a class="indexterm" name="id2564210"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2564222"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564234"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564245"></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="id25 57356"></a>Samba ADS Domain Control</h2></div></div></div><p>588 <a class="indexterm" name="id25 57364"></a>587 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2564264"></a>Samba ADS Domain Control</h2></div></div></div><p> 588 <a class="indexterm" name="id2564272"></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="id25 57385"></a>598 <a class="indexterm" name="id25 57392"></a>597 <a class="indexterm" name="id2564294"></a> 598 <a class="indexterm" name="id2564301"></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="id25 57408"></a>Domain and Network Logon Configuration</h2></div></div></div><p>605 <a class="indexterm" name="id25 57417"></a>604 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2564317"></a>Domain and Network Logon Configuration</h2></div></div></div><p> 605 <a class="indexterm" name="id2564325"></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="id25 57428"></a>Domain Network Logon Service</h3></div></div></div><p>609 <a class="indexterm" name="id25 57436"></a>608 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2564336"></a>Domain Network Logon Service</h3></div></div></div><p> 609 <a class="indexterm" name="id2564344"></a> 610 610 All domain controllers must run the netlogon service (<span class="emphasis"><em>domain logons</em></span> 611 in Samba). One domain controller must be configured with <a class="link" href="smb.conf.5.html#DOMAINMASTER" >domain master = Yes</a>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="id25 57475"></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="id2557504"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557516"></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="id2557536"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2557548"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2557560"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557571"></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="id2557585"></a>The Special Case of MS Windows XP Home Edition</h4></div></div></div><p>614 <a class="indexterm" name="id25 57593"></a>611 in Samba). One domain controller must be configured with <a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master = Yes</a> 612 (the PDC); on all BDCs set the parameter <a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master = No</a>. 613 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2564384"></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="id2564413"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564425"></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="id2564445"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2564457"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2564469"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564481"></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="id2564494"></a>The Special Case of MS Windows XP Home Edition</h4></div></div></div><p> 614 <a class="indexterm" name="id2564503"></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="id25 57624"></a>The Special Case of Windows 9x/Me</h4></div></div></div><p>629 <a class="indexterm" name="id25 57632"></a>630 <a class="indexterm" name="id25 57638"></a>631 <a class="indexterm" name="id25 57645"></a>632 <a class="indexterm" name="id25 57652"></a>633 <a class="indexterm" name="id25 57659"></a>628 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2564533"></a>The Special Case of Windows 9x/Me</h4></div></div></div><p> 629 <a class="indexterm" name="id2564541"></a> 630 <a class="indexterm" name="id2564548"></a> 631 <a class="indexterm" name="id2564555"></a> 632 <a class="indexterm" name="id2564562"></a> 633 <a class="indexterm" name="id2564568"></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="id25 57676"></a>641 <a class="indexterm" name="id2564585"></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="id25 57692"></a>649 <a class="indexterm" name="id25 57699"></a>650 <a class="indexterm" name="id25 57706"></a>648 <a class="indexterm" name="id2564601"></a> 649 <a class="indexterm" name="id2564608"></a> 650 <a class="indexterm" name="id2564615"></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="id25 57720"></a>656 <a class="indexterm" name="id2564629"></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="id25 57766"></a>673 <a class="indexterm" name="id25 57773"></a>672 <a class="indexterm" name="id2564676"></a> 673 <a class="indexterm" name="id2564683"></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="id25 57815"></a>683 <a class="indexterm" name="id25 57821"></a>684 <a class="indexterm" name="id25 57828"></a>682 <a class="indexterm" name="id2564724"></a> 683 <a class="indexterm" name="id2564731"></a> 684 <a class="indexterm" name="id2564738"></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="id25 57844"></a>688 <a class="indexterm" name="id2564754"></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="id25 57869"></a>697 <a class="indexterm" name="id25 57876"></a>696 <a class="indexterm" name="id2564779"></a> 697 <a class="indexterm" name="id2564786"></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="id25 57895"></a>704 <a class="indexterm" name="id2564804"></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="id25 57918"></a>710 <a class="indexterm" name="id2564828"></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="id25 57947"></a>718 <a class="indexterm" name="id25 57956"></a>717 <a class="indexterm" name="id2564857"></a> 718 <a class="indexterm" name="id2564866"></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="id25 57979"></a>724 <a class="indexterm" name="id2564889"></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="id25 57992"></a>727 <a class="indexterm" name="id2564902"></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="id25 58006"></a>731 <a class="indexterm" name="id2564916"></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="id25 58018"></a>Security Mode and Master Browsers</h3></div></div></div><p>735 <a class="indexterm" name="id25 58026"></a>736 <a class="indexterm" name="id25 58033"></a>737 <a class="indexterm" name="id25 58040"></a>734 </p></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2564928"></a>Security Mode and Master Browsers</h3></div></div></div><p> 735 <a class="indexterm" name="id2564936"></a> 736 <a class="indexterm" name="id2564943"></a> 737 <a class="indexterm" name="id2564950"></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="id25 58057"></a>744 <a class="indexterm" name="id25 58064"></a>745 <a class="indexterm" name="id25 58071"></a>746 <a class="indexterm" name="id25 58078"></a>747 <a class="indexterm" name="id25 58084"></a>748 <a class="indexterm" name="id25 58091"></a>749 <a class="indexterm" name="id25 58098"></a>743 <a class="indexterm" name="id2564967"></a> 744 <a class="indexterm" name="id2564974"></a> 745 <a class="indexterm" name="id2564981"></a> 746 <a class="indexterm" name="id2564987"></a> 747 <a class="indexterm" name="id2564994"></a> 748 <a class="indexterm" name="id2565001"></a> 749 <a class="indexterm" name="id2565008"></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="id25 58152"></a>761 <a class="indexterm" name="id25 58158"></a>762 <a class="indexterm" name="id25 58165"></a>763 <a class="indexterm" name="id25 58172"></a>764 <a class="indexterm" name="id25 58179"></a>760 <a class="indexterm" name="id2565062"></a> 761 <a class="indexterm" name="id2565068"></a> 762 <a class="indexterm" name="id2565075"></a> 763 <a class="indexterm" name="id2565082"></a> 764 <a class="indexterm" name="id2565089"></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 … … 771 771 other. 772 772 </p></div><p> 773 Now back to the issue of configuring a Samba domain controller to use a mode other than <a class="link" href="smb.conf.5.html#SECURITY" >security = user</a>. If a Samba host is configured to use another SMB server or domain773 Now back to the issue of configuring a Samba domain controller to use a mode other than <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>. If a Samba host is configured to use another SMB server or domain 774 774 controller in order to validate user connection requests, it is a fact that some other machine on the network 775 (the <a class="link" href="smb.conf.5.html#PASSWORDSERVER" >password server</a>) knows more about the user than the Samba host. About 99 percent775 (the <a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server</a>) knows more about the user than the Samba host. About 99 percent 776 776 of the time, this other host is a domain controller. Now to operate in domain mode security, the 777 <a class="link" href="smb.conf.5.html#WORKGROUP" >workgroup</a> parameter must be set to the name of the Windows NT domain (which already777 <a class="link" href="smb.conf.5.html#WORKGROUP" target="_top">workgroup</a> parameter must be set to the name of the Windows NT domain (which already 778 778 has a domain controller). If the domain does not already have a domain controller, you do not yet have a 779 779 domain. … … 781 781 Configuring a Samba box as a domain controller for a domain that already by definition has a 782 782 PDC is asking for trouble. Therefore, you should always configure the Samba domain controller 783 to be the DMB for its domain and set <a class="link" href="smb.conf.5.html#SECURITY" >security = user</a>.783 to be the DMB for its domain and set <a class="link" href="smb.conf.5.html#SECURITY" target="_top">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="id25 58291"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2558297"></a>“<span class="quote">$</span>” Cannot Be Included in Machine Name</h3></div></div></div><p>786 <a class="indexterm" name="id25 58307"></a>787 <a class="indexterm" name="id25 58313"></a>788 <a class="indexterm" name="id25 58320"></a>785 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2565201"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565206"></a>“<span class="quote">$</span>” Cannot Be Included in Machine Name</h3></div></div></div><p> 786 <a class="indexterm" name="id2565217"></a> 787 <a class="indexterm" name="id2565223"></a> 788 <a class="indexterm" name="id2565230"></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="id25 58346"></a>793 <a class="indexterm" name="id2565256"></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="id25 58397"></a>Joining Domain Fails Because of Existing Machine Account</h3></div></div></div><p>802 <a class="indexterm" name="id25 58405"></a>801 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565307"></a>Joining Domain Fails Because of Existing Machine Account</h3></div></div></div><p> 802 <a class="indexterm" name="id2565316"></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="id25 58461"></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="id2565372"></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="id25 58482"></a>822 <a class="indexterm" name="id2565393"></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="id25 58538"></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="id2565448"></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>” 842 842 </p><p> 843 843 This problem is caused by the PDC not having a suitable Machine Trust Account. If you are using the 844 <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" >add machine script</a> method to create accounts, then this would indicate that it has not844 <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" target="_top">add machine script</a> method to create accounts, then this would indicate that it has not 845 845 worked. Ensure the domain admin user system is working. 846 846 </p><p> … … 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="id25 58657"></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="id2565568"></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="id25 58684"></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="id2565595"></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="id25 58703"></a>Cannot Log onto Domain Member Workstation After Joining Domain</h3></div></div></div><p>869 <a class="indexterm" name="id25 58712"></a>870 <a class="indexterm" name="id25 58718"></a>868 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565614"></a>Cannot Log onto Domain Member Workstation After Joining Domain</h3></div></div></div><p> 869 <a class="indexterm" name="id2565622"></a> 870 <a class="indexterm" name="id2565629"></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.id25 55782" href="#id2555782" 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.id25 56288" href="#id2556288" 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.id25 56591" href="#id2556591" 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.id2562689" href="#id2562689" 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.id2563195" href="#id2563195" 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.id2563500" href="#id2563500" 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
r226 r231 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.7 3.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#id2611065">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611164">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2611310">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2611326">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611480">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2611540">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#id2611890">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612034">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2612089">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2612133">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2612148">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2612177">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="id2611065"></a>Introduction</h2></div></div></div><p>2 <a class="indexterm" name="id261 1073"></a>3 <a class="indexterm" name="id261 1080"></a>4 <a class="indexterm" name="id261 1087"></a>5 <a class="indexterm" name="id261 1094"></a>6 <a class="indexterm" name="id261 1101"></a>7 <a class="indexterm" name="id261 1108"></a>8 <a class="indexterm" name="id261 1114"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2618022">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618120">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618267">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2618283">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618437">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618496">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#id2618847">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618991">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2619045">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2619089">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2619105">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619134">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="id2618022"></a>Introduction</h2></div></div></div><p> 2 <a class="indexterm" name="id2618030"></a> 3 <a class="indexterm" name="id2618036"></a> 4 <a class="indexterm" name="id2618044"></a> 5 <a class="indexterm" name="id2618050"></a> 6 <a class="indexterm" name="id2618057"></a> 7 <a class="indexterm" name="id2618064"></a> 8 <a class="indexterm" name="id2618071"></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="id261 1164"></a>Features and Benefits</h2></div></div></div><p>26 <a class="indexterm" name="id261 1172"></a>27 <a class="indexterm" name="id261 1179"></a>28 <a class="indexterm" name="id261 1186"></a>29 <a class="indexterm" name="id261 1193"></a>25 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2618120"></a>Features and Benefits</h2></div></div></div><p> 26 <a class="indexterm" name="id2618128"></a> 27 <a class="indexterm" name="id2618135"></a> 28 <a class="indexterm" name="id2618142"></a> 29 <a class="indexterm" name="id2618149"></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="id261 1213"></a>38 <a class="indexterm" name="id261 1220"></a>39 <a class="indexterm" name="id261 1227"></a>37 <a class="indexterm" name="id2618170"></a> 38 <a class="indexterm" name="id2618177"></a> 39 <a class="indexterm" name="id2618184"></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="id261 1274"></a>47 <a class="indexterm" name="id261 1283"></a>48 <a class="indexterm" name="id261 1290"></a>46 <a class="indexterm" name="id2618231"></a> 47 <a class="indexterm" name="id2618240"></a> 48 <a class="indexterm" name="id2618247"></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="id261 1310"></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="id2618267"></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="id261 1326"></a>Using Host-Based Protection</h3></div></div></div><p>59 <a class="indexterm" name="id261 1334"></a>60 <a class="indexterm" name="id261 1340"></a>61 <a class="indexterm" name="id261 1347"></a>58 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2618283"></a>Using Host-Based Protection</h3></div></div></div><p> 59 <a class="indexterm" name="id2618291"></a> 60 <a class="indexterm" name="id2618297"></a> 61 <a class="indexterm" name="id2618304"></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="id261 1362"></a>69 <a class="indexterm" name="id261 1369"></a>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> and71 <a class="link" href="smb.conf.5.html#HOSTSDENY" >hosts deny</a> options in the Samba <code class="filename">smb.conf</code> configuration file to68 <a class="indexterm" name="id2618319"></a> 69 <a class="indexterm" name="id2618326"></a> 70 One of the simplest fixes in this case is to use the <a class="link" href="smb.conf.5.html#HOSTSALLOW" target="_top">hosts allow</a> and 71 <a class="link" href="smb.conf.5.html#HOSTSDENY" target="_top">hosts deny</a> options in the Samba <code class="filename">smb.conf</code> configuration file to 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="id261 1416"></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="id2611428"></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="id261 1443"></a>76 <a class="indexterm" name="id261 1450"></a>77 <a class="indexterm" name="id261 1457"></a>73 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2618373"></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="id2618385"></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="id2618400"></a> 76 <a class="indexterm" name="id2618407"></a> 77 <a class="indexterm" name="id2618414"></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="id261 1480"></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="id2618437"></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="id261 1508"></a><em class="parameter"><code>valid users = @smbusers, jacko</code></em></td></tr></table><p>86 </p><p> 87 <a class="indexterm" name="id261 1523"></a>85 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2618464"></a><em class="parameter"><code>valid users = @smbusers, jacko</code></em></td></tr></table><p> 86 </p><p> 87 <a class="indexterm" name="id2618480"></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="id261 1540"></a>Using Interface Protection</h3></div></div></div><p>91 <a class="indexterm" name="id261 1548"></a>92 <a class="indexterm" name="id261 1554"></a>93 <a class="indexterm" name="id261 1561"></a>90 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2618496"></a>Using Interface Protection</h3></div></div></div><p> 91 <a class="indexterm" name="id2618504"></a> 92 <a class="indexterm" name="id2618511"></a> 93 <a class="indexterm" name="id2618518"></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="id261 1582"></a><em class="parameter"><code>interfaces = eth* lo</code></em></td></tr><tr><td><a class="indexterm" name="id2611594"></a><em class="parameter"><code>bind interfaces only = yes</code></em></td></tr></table><p>101 </p><p> 102 <a class="indexterm" name="id261 1609"></a>103 <a class="indexterm" name="id261 1616"></a>104 <a class="indexterm" name="id261 1623"></a>105 <a class="indexterm" name="id261 1630"></a>100 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2618539"></a><em class="parameter"><code>interfaces = eth* lo</code></em></td></tr><tr><td><a class="indexterm" name="id2618551"></a><em class="parameter"><code>bind interfaces only = yes</code></em></td></tr></table><p> 101 </p><p> 102 <a class="indexterm" name="id2618566"></a> 103 <a class="indexterm" name="id2618573"></a> 104 <a class="indexterm" name="id2618580"></a> 105 <a class="indexterm" name="id2618587"></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="id261 1659"></a>112 <a class="indexterm" name="id261 1666"></a>113 <a class="indexterm" name="id261 1673"></a>114 <a class="indexterm" name="id261 1680"></a>111 <a class="indexterm" name="id2618616"></a> 112 <a class="indexterm" name="id2618623"></a> 113 <a class="indexterm" name="id2618629"></a> 114 <a class="indexterm" name="id2618636"></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="id261 1701"></a>122 <a class="indexterm" name="id261 1708"></a>123 <a class="indexterm" name="id261 1714"></a>124 <a class="indexterm" name="id261 1721"></a>125 <a class="indexterm" name="id261 1728"></a>121 <a class="indexterm" name="id2618657"></a> 122 <a class="indexterm" name="id2618664"></a> 123 <a class="indexterm" name="id2618671"></a> 124 <a class="indexterm" name="id2618678"></a> 125 <a class="indexterm" name="id2618685"></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="id261 1757"></a>133 <a class="indexterm" name="id261 1764"></a>134 <a class="indexterm" name="id261 1771"></a>132 <a class="indexterm" name="id2618714"></a> 133 <a class="indexterm" name="id2618720"></a> 134 <a class="indexterm" name="id2618727"></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="id261 1788"></a>142 <a class="indexterm" name="id261 1794"></a>143 <a class="indexterm" name="id261 1801"></a>144 <a class="indexterm" name="id261 1808"></a>145 <a class="indexterm" name="id261 1815"></a>141 <a class="indexterm" name="id2618744"></a> 142 <a class="indexterm" name="id2618751"></a> 143 <a class="indexterm" name="id2618758"></a> 144 <a class="indexterm" name="id2618765"></a> 145 <a class="indexterm" name="id2618772"></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="id261 1850"></a>147 <a class="indexterm" name="id2618806"></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="id261 1862"></a>152 <a class="indexterm" name="id261 1870"></a>153 <a class="indexterm" name="id261 1876"></a>151 <a class="indexterm" name="id2618819"></a> 152 <a class="indexterm" name="id2618826"></a> 153 <a class="indexterm" name="id2618833"></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="id261 1890"></a>Using IPC$ Share-Based Denials </h3></div></div></div><p>158 <a class="indexterm" name="id261 1898"></a>159 <a class="indexterm" name="id261 1905"></a>160 <a class="indexterm" name="id261 1912"></a>157 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2618847"></a>Using IPC$ Share-Based Denials </h3></div></div></div><p> 158 <a class="indexterm" name="id2618855"></a> 159 <a class="indexterm" name="id2618862"></a> 160 <a class="indexterm" name="id2618868"></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="id261 1942"></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="id2611954"></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="id261 1969"></a>169 <a class="indexterm" name="id261 1976"></a>170 <a class="indexterm" name="id261 1983"></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="id2618898"></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="id2618910"></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="id2618925"></a> 169 <a class="indexterm" name="id2618932"></a> 170 <a class="indexterm" name="id2618939"></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 2000"></a>177 <a class="indexterm" name="id261 2007"></a>178 <a class="indexterm" name="id261 2014"></a>176 <a class="indexterm" name="id2618956"></a> 177 <a class="indexterm" name="id2618963"></a> 178 <a class="indexterm" name="id2618970"></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="id261 2034"></a>NTLMv2 Security</h3></div></div></div><p>184 <a class="indexterm" name="id261 2042"></a>183 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2618991"></a>NTLMv2 Security</h3></div></div></div><p> 184 <a class="indexterm" name="id2618998"></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="id261 2089"></a>Upgrading Samba</h2></div></div></div><p>205 <a class="indexterm" name="id261 2097"></a>206 <a class="indexterm" name="id261 2104"></a>207 <a class="indexterm" name="id261 2111"></a>204 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2619045"></a>Upgrading Samba</h2></div></div></div><p> 205 <a class="indexterm" name="id2619053"></a> 206 <a class="indexterm" name="id2619060"></a> 207 <a class="indexterm" name="id2619067"></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="id261 2133"></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="id2619089"></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="id261 2148"></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="id2619105"></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="id261 2177"></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="id2619134"></a>Why Can Users Access Other Users' Home Directories?</h3></div></div></div><p> 226 226 “<span class="quote"> 227 <a class="indexterm" name="id261 2188"></a>228 <a class="indexterm" name="id261 2195"></a>227 <a class="indexterm" name="id2619144"></a> 228 <a class="indexterm" name="id2619151"></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="id261 2216"></a>237 <a class="indexterm" name="id261 2223"></a>236 <a class="indexterm" name="id2619173"></a> 237 <a class="indexterm" name="id2619180"></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="id261 2238"></a>243 <a class="indexterm" name="id261 2245"></a>242 <a class="indexterm" name="id2619195"></a> 243 <a class="indexterm" name="id2619202"></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="id261 2282"></a>249 <a class="indexterm" name="id261 2289"></a>248 <a class="indexterm" name="id2619239"></a> 249 <a class="indexterm" name="id2619246"></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. 252 252 </p><p> 253 Samba allows the behavior you require. Simply put the <a class="link" href="smb.conf.5.html#ONLYUSER" >only user = %S</a>253 Samba allows the behavior you require. Simply put the <a class="link" href="smb.conf.5.html#ONLYUSER" target="_top">only user = %S</a> 254 254 option in the <em class="parameter"><code>[homes]</code></em> share definition. 255 255 </p><p> 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>,256 The <a class="link" href="smb.conf.5.html#ONLYUSER" target="_top">only user</a> works in conjunction with the <a class="link" href="smb.conf.5.html#USERS" target="_top">users = list</a>, 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="id261 2355"></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="id2619312"></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="id261 2372"></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="id2619330"></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
r226 r231 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.7 3.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#id2683686">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683724">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683821">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683865">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683913">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2683938">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684004">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684056">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684080">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684101">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684192">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2684288">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="id2683686"></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.74.0"><link rel="home" 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="orgname">Dundee Limb Fitting Centre</span> <span class="surname">Cochrane</span></h3><div class="affiliation"><span class="orgname">Dundee Limb Fitting Centre<br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2690682">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690720">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690817">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690862">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690909">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690934">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691000">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691053">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691076">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691097">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691189">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691284">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="id2690682"></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="id26 83724"></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="id2690720"></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. … … 28 28 line with the <code class="option">-O</code> option and in the <code class="filename">smb.conf</code> file. 29 29 </p><p> 30 The <a class="link" href="smb.conf.5.html#SOCKETOPTIONS" >socket options</a> section of the <code class="filename">smb.conf</code> manual page describes how30 The <a class="link" href="smb.conf.5.html#SOCKETOPTIONS" target="_top">socket options</a> section of the <code class="filename">smb.conf</code> manual page describes how 31 31 to set these and gives recommendations. 32 32 </p><p> … … 37 37 The socket option TCP_NODELAY is the one that seems to make the biggest single difference 38 38 for most networks. Many people report that adding 39 <a class="link" href="smb.conf.5.html#SOCKETOPTIONS" >socket options = TCP_NODELAY</a>39 <a class="link" href="smb.conf.5.html#SOCKETOPTIONS" target="_top">socket options = TCP_NODELAY</a> 40 40 doubles the read performance of a Samba drive. The best explanation I have seen for 41 41 this is that the Microsoft TCP/IP stack is slow in sending TCP ACKs. … … 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="id26 83821"></a>Read Size</h2></div></div></div><p>48 The option <a class="link" href="smb.conf.5.html#READSIZE" >read size</a> affects the overlap of disk47 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690817"></a>Read Size</h2></div></div></div><p> 48 The option <a class="link" href="smb.conf.5.html#READSIZE" target="_top">read size</a> affects the overlap of disk 49 49 reads/writes with network reads/writes. If the amount of data being 50 50 transferred in several of the SMB commands (currently SMBwrite, SMBwriteX, and … … 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="id26 83865"></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="id2690862"></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 67 maximum size that Samba will negotiate using the <a class="link" href="smb.conf.5.html#MAXXMIT" >max xmit</a> option67 maximum size that Samba will negotiate using the <a class="link" href="smb.conf.5.html#MAXXMIT" target="_top">max xmit</a> option 68 68 in <code class="filename">smb.conf</code>. Note that this is the maximum size of SMB requests that 69 69 Samba will accept, but not the maximum size that the client will accept. … … 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="id26 83913"></a>Log Level</h2></div></div></div><p>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,77 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690909"></a>Log Level</h2></div></div></div><p> 78 If you set the log level (also known as <a class="link" href="smb.conf.5.html#DEBUGLEVEL" target="_top">debug level</a>) higher than 2, 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="id26 83938"></a>Read Raw</h2></div></div></div><p>83 The <a class="link" href="smb.conf.5.html#READRAW" >read raw</a> operation is designed to be an optimized, low-latency82 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690934"></a>Read Raw</h2></div></div></div><p> 83 The <a class="link" href="smb.conf.5.html#READRAW" target="_top">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, 85 however, and Samba makes support for <a class="link" href="smb.conf.5.html#READRAW" >read raw</a> optional, with it85 however, and Samba makes support for <a class="link" href="smb.conf.5.html#READRAW" target="_top">read raw</a> optional, with it 86 86 being enabled by default. 87 87 </p><p> 88 In some cases clients do not handle <a class="link" href="smb.conf.5.html#READRAW" >read raw</a> very well and actually88 In some cases clients do not handle <a class="link" href="smb.conf.5.html#READRAW" target="_top">read raw</a> very well and actually 89 89 get lower performance using it than they get using the conventional 90 read operations, so you might like to try <a class="link" href="smb.conf.5.html#READRAW" >read raw = no</a> and see what happens on your90 read operations, so you might like to try <a class="link" href="smb.conf.5.html#READRAW" target="_top">read raw = no</a> and see what happens on your 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="id26 84004"></a>Write Raw</h2></div></div></div><p>94 The <a class="link" href="smb.conf.5.html#WRITERAW" >write raw</a> operation is designed to be an optimized, low-latency93 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691000"></a>Write Raw</h2></div></div></div><p> 94 The <a class="link" href="smb.conf.5.html#WRITERAW" target="_top">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 96 <a class="link" href="smb.conf.5.html#WRITERAW" >write raw</a> optional, with it being enabled by default.96 <a class="link" href="smb.conf.5.html#WRITERAW" target="_top">write raw</a> optional, with it being enabled by default. 97 97 </p><p> 98 Some machines may find <a class="link" href="smb.conf.5.html#WRITERAW" >write raw</a> slower than normal write, in which98 Some machines may find <a class="link" href="smb.conf.5.html#WRITERAW" target="_top">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="id26 84056"></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="id2691053"></a>Slow Logins</h2></div></div></div><p> 101 101 Slow logins are almost always due to the password checking time. Using 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="id26 84080"></a>Client Tuning</h2></div></div></div><p>102 the lowest practical <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" target="_top">password level</a> will improve things. 103 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691076"></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="id26 84101"></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="id2691097"></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="id26 84115"></a>112 <a class="indexterm" name="id26 84122"></a>111 <a class="indexterm" name="id2691112"></a> 112 <a class="indexterm" name="id2691118"></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="id26 84164"></a>124 <a class="indexterm" name="id26 84171"></a>125 <a class="indexterm" name="id26 84178"></a>123 <a class="indexterm" name="id2691161"></a> 124 <a class="indexterm" name="id2691168"></a> 125 <a class="indexterm" name="id2691174"></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="id26 84192"></a>Corrupt tdb Files</h2></div></div></div><p>130 <a class="indexterm" name="id26 84200"></a>131 <a class="indexterm" name="id26 84207"></a>132 <a class="indexterm" name="id26 84214"></a>129 </p></blockquote></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691189"></a>Corrupt tdb Files</h2></div></div></div><p> 130 <a class="indexterm" name="id2691196"></a> 131 <a class="indexterm" name="id2691203"></a> 132 <a class="indexterm" name="id2691210"></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="id26 84245"></a>142 <a class="indexterm" name="id26 84252"></a>141 <a class="indexterm" name="id2691241"></a> 142 <a class="indexterm" name="id2691248"></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="id26 84288"></a>Samba Performance is Very Slow</h2></div></div></div><p>150 <a class="indexterm" name="id26 84296"></a>149 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691284"></a>Samba Performance is Very Slow</h2></div></div></div><p> 150 <a class="indexterm" name="id2691292"></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="id26 84309"></a>156 <a class="indexterm" name="id26 84316"></a>155 <a class="indexterm" name="id2691306"></a> 156 <a class="indexterm" name="id2691312"></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="id26 84329"></a>162 <a class="indexterm" name="id26 84336"></a>161 <a class="indexterm" name="id2691326"></a> 162 <a class="indexterm" name="id2691333"></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
r226 r231 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.7 3.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#id2679886">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2680347">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="id2679886"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26 79894"></a>3 <a class="indexterm" name="id26 79900"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2686880">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2687342">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="id2686880"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2686888"></a> 3 <a class="indexterm" name="id2686895"></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="id26 79917"></a>10 <a class="indexterm" name="id26 79923"></a>11 <a class="indexterm" name="id26 79930"></a>12 <a class="indexterm" name="id26 79937"></a>9 <a class="indexterm" name="id2686912"></a> 10 <a class="indexterm" name="id2686918"></a> 11 <a class="indexterm" name="id2686925"></a> 12 <a class="indexterm" name="id2686932"></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="id268 0347"></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="id2687342"></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
r226 r231 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.7 3.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#id2675751">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2675790">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2676083">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#id2677846">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2677898">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678154">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678204">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2678348">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2678674">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678711">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2678886">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#id2679017">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679107">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#id2679342">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2679544">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679677">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2679802">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#id2679886">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2680347">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.74.0"><link rel="home" 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#id2682745">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2682784">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2683077">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#id2684841">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2684893">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685149">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685199">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685342">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2685668">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685705">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685880">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#id2686011">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686101">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#id2686336">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2686538">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686672">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686797">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#id2686880">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2687342">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
r226 r231 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.7 3.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="id2551608"></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.74.0"><link rel="home" 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="id2558692"></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#id255 1752">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2551919">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2552079">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2552253">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552427">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2552634">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553169">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553326">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2553624">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2553829">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2553852">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553888">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553932">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2553964">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2554021">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#id2554346">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2554980">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2555580">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2555600">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2556104">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2556614">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557356">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2557408">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2557428">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558018">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2558291">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2558297">“<span class="quote">$</span>” Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558397">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558461">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558538">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558657">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558684">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2558703">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#id2558887">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2559293">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2559363">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560037">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560401">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560460">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2560550">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2560732">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561233">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2561690">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2561733">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561788">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561843">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2561948">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#id2562192">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#id2562879">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563315">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563595">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2563701">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#id2564166">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2564901">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#id2565183">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2565374">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#id2566469">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2566541">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2566747">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2566787">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2566863">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2567099">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#id2567225">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567320">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567521">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#id2568504">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#id2568572">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2568632">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2568676">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570446">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2570974">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2571418">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#id2558828">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2558987">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2559132">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2559294">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559457">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559649">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560144">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560287">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2560562">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2560749">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2560772">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560804">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560842">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560869">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560927">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#id2561252">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2561886">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2562486">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2562506">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2563011">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2563522">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564264">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564317">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2564336">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2564928">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2565201">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2565206">$ Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565307">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565372">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565448">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565568">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565595">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565614">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#id2565798">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2566203">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2566273">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2566948">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567313">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567371">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567462">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2567643">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568144">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2568602">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568645">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568700">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568755">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568860">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#id2569104">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#id2569791">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570227">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570508">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570614">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#id2571079">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2571815">Why Is This Better Than security = server?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2572097">Configure smb.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2572288">Configure /etc/krb5.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573382">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2573454">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2573660">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2573700">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573776">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2574012">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#id2574139">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574233">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574434">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#id2575417">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#id2575484">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2575545">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2575588">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577360">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577886">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2578330">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
r226 r231 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.7 3.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#id2662849">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2662901">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663035">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663171">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2663202">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2663342">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2663994">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2664118">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2664264">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2664270">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="id2662849"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id266 2857"></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.74.0"><link rel="home" 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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2669841">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2669892">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670030">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670166">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670197">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2670337">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2670985">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671108">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2671255">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2671261">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="id2669841"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2669849"></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="id266 2886"></a>14 <a class="indexterm" name="id2669877"></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="id266 2901"></a>What Are Charsets and Unicode?</h2></div></div></div><p>19 <a class="indexterm" name="id266 2909"></a>18 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669892"></a>What Are Charsets and Unicode?</h2></div></div></div><p> 19 <a class="indexterm" name="id2669900"></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="id266 2926"></a>26 <a class="indexterm" name="id266 2933"></a>25 <a class="indexterm" name="id2669918"></a> 26 <a class="indexterm" name="id2669924"></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="id266 2951"></a>35 <a class="indexterm" name="id266 2958"></a>34 <a class="indexterm" name="id2669942"></a> 35 <a class="indexterm" name="id2669949"></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="id266 2980"></a>42 <a class="indexterm" name="id2669971"></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="id266 3000"></a>49 <a class="indexterm" name="id266 3007"></a>50 <a class="indexterm" name="id26 63014"></a>48 <a class="indexterm" name="id2669991"></a> 49 <a class="indexterm" name="id2669998"></a> 50 <a class="indexterm" name="id2670005"></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="id26 63035"></a>Samba and Charsets</h2></div></div></div><p>57 <a class="indexterm" name="id26 63042"></a>58 <a class="indexterm" name="id26 63049"></a>56 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2670030"></a>Samba and Charsets</h2></div></div></div><p> 57 <a class="indexterm" name="id2670038"></a> 58 <a class="indexterm" name="id2670045"></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 </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="id26 63082"></a>63 <a class="indexterm" name="id26 63088"></a>61 </p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#UNIXCHARSET" target="_top">unix charset</a></span></dt><dd><p> 62 <a class="indexterm" name="id2670077"></a> 63 <a class="indexterm" name="id2670083"></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 … … 67 67 in previous Samba releases was to save filenames in the encoding of the 68 68 clients for example, CP850 for Western European countries. 69 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#DISPLAYCHARSET" >display charset</a></span></dt><dd><p>This is the charset Samba uses to print messages69 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#DISPLAYCHARSET" target="_top">display charset</a></span></dt><dd><p>This is the charset Samba uses to print messages 70 70 on your screen. It should generally be the same as the <em class="parameter"><code>unix charset</code></em>. 71 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#DOSCHARSET" >dos charset</a></span></dt><dd><p>This is the charset Samba uses when communicating with71 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#DOSCHARSET" target="_top">dos charset</a></span></dt><dd><p>This is the charset Samba uses when communicating with 72 72 DOS and Windows 9x/Me clients. It will talk Unicode to all newer clients. 73 73 The default depends on the charsets you have installed on your system. 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="id26 63171"></a>Conversion from Old Names</h2></div></div></div><p>77 <a class="indexterm" name="id26 63179"></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="id2670166"></a>Conversion from Old Names</h2></div></div></div><p> 77 <a class="indexterm" name="id2670174"></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="id26 63202"></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="id2670197"></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="id26 63218"></a>86 <a class="indexterm" name="id2670213"></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="id26 63233"></a>92 <a class="indexterm" name="id26 63240"></a>93 <a class="indexterm" name="id26 63247"></a>94 <a class="indexterm" name="id26 63253"></a>95 <a class="indexterm" name="id26 63260"></a>91 <a class="indexterm" name="id2670228"></a> 92 <a class="indexterm" name="id2670235"></a> 93 <a class="indexterm" name="id2670242"></a> 94 <a class="indexterm" name="id2670249"></a> 95 <a class="indexterm" name="id2670255"></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="id26 63309"></a>116 <a class="indexterm" name="id26 63316"></a>117 <a class="indexterm" name="id26 63323"></a>118 <a class="indexterm" name="id26 63330"></a>115 <a class="indexterm" name="id2670305"></a> 116 <a class="indexterm" name="id2670312"></a> 117 <a class="indexterm" name="id2670318"></a> 118 <a class="indexterm" name="id2670325"></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="id26 63342"></a>Basic Parameter Setting</h3></div></div></div><p>123 <a class="indexterm" name="id26 63349"></a>124 The <a class="link" href="smb.conf.5.html#DOSCHARSET" >dos charset</a> and125 <a class="link" href="smb.conf.5.html#DISPLAYCHARSET" >display charset</a>122 </p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2670337"></a>Basic Parameter Setting</h3></div></div></div><p> 123 <a class="indexterm" name="id2670344"></a> 124 The <a class="link" href="smb.conf.5.html#DOSCHARSET" target="_top">dos charset</a> and 125 <a class="link" href="smb.conf.5.html#DISPLAYCHARSET" target="_top">display charset</a> 126 126 should be set to the locale compatible with the character set 127 127 and encoding method used on Windows. This is usually CP932 128 128 but sometimes has a different name. 129 129 </p><p> 130 <a class="indexterm" name="id26 63385"></a>131 <a class="indexterm" name="id26 63392"></a>132 <a class="indexterm" name="id26 63398"></a>133 The <a class="link" href="smb.conf.5.html#UNIXCHARSET" >unix charset</a> can be either Shift_JIS series,130 <a class="indexterm" name="id2670381"></a> 131 <a class="indexterm" name="id2670387"></a> 132 <a class="indexterm" name="id2670394"></a> 133 The <a class="link" href="smb.conf.5.html#UNIXCHARSET" target="_top">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 135 135 and the name itself depends on the system. 136 136 </p><p> 137 137 Additionally, you can consider using the Shift_JIS series as the 138 value of the <a class="link" href="smb.conf.5.html#UNIXCHARSET" >unix charset</a>138 value of the <a class="link" href="smb.conf.5.html#UNIXCHARSET" target="_top">unix charset</a> 139 139 parameter by using the vfs_cap module, which does the same thing as 140 140 setting “<span class="quote">coding system = CAP</span>” in the Samba 2.2 series. 141 141 </p><p> 142 Where to set <a class="link" href="smb.conf.5.html#UNIXCHARSET" >unix charset</a>142 Where to set <a class="link" href="smb.conf.5.html#UNIXCHARSET" target="_top">unix charset</a> 143 143 to is a difficult question. Here is a list of details, advantages, and 144 144 disadvantages of using a certain value. … … 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="id26 63538"></a>170 <a class="indexterm" name="id26 63545"></a>169 <a class="indexterm" name="id2670528"></a> 170 <a class="indexterm" name="id2670535"></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="id26 63569"></a>180 <a class="indexterm" name="id26 63576"></a>181 <a class="indexterm" name="id26 63583"></a>182 <a class="indexterm" name="id26 63590"></a>183 <a class="indexterm" name="id26 63597"></a>184 <a class="indexterm" name="id26 63603"></a>185 <a class="indexterm" name="id26 63610"></a>186 <a class="indexterm" name="id26 63617"></a>187 <a class="indexterm" name="id26 63624"></a>188 <a class="indexterm" name="id26 63630"></a>179 <a class="indexterm" name="id2670560"></a> 180 <a class="indexterm" name="id2670567"></a> 181 <a class="indexterm" name="id2670573"></a> 182 <a class="indexterm" name="id2670580"></a> 183 <a class="indexterm" name="id2670587"></a> 184 <a class="indexterm" name="id2670594"></a> 185 <a class="indexterm" name="id2670601"></a> 186 <a class="indexterm" name="id2670607"></a> 187 <a class="indexterm" name="id2670614"></a> 188 <a class="indexterm" name="id2670621"></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="id26 63663"></a>201 <a class="indexterm" name="id2670654"></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="id26 63744"></a>227 <a class="indexterm" name="id26 63751"></a>228 <a class="indexterm" name="id26 63757"></a>226 <a class="indexterm" name="id2670735"></a> 227 <a class="indexterm" name="id2670742"></a> 228 <a class="indexterm" name="id2670749"></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="id26 63774"></a>236 <a class="indexterm" name="id2670766"></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="id26 63796"></a>242 <a class="indexterm" name="id26 63803"></a>243 <a class="indexterm" name="id26 63809"></a>241 <a class="indexterm" name="id2670786"></a> 242 <a class="indexterm" name="id2670793"></a> 243 <a class="indexterm" name="id2670800"></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="id26 63908"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2663920"></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="id2663941"></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="id26 63956"></a>274 <a class="indexterm" name="id26 63962"></a>275 <a class="indexterm" name="id26 63969"></a>276 <a class="indexterm" name="id26 63976"></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="id2670899"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2670911"></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="id2670932"></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="id2670946"></a> 274 <a class="indexterm" name="id2670953"></a> 275 <a class="indexterm" name="id2670960"></a> 276 <a class="indexterm" name="id2670967"></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="id26 63994"></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="id2670985"></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="id26 64071"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2664082"></a><em class="parameter"><code>unix charset = CP932 / eucJP-ms / UTF-8</code></em></td></tr><tr><td><a class="indexterm" name="id2664095"></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="id2671062"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2671073"></a><em class="parameter"><code>unix charset = CP932 / eucJP-ms / UTF-8</code></em></td></tr><tr><td><a class="indexterm" name="id2671085"></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="id26 64118"></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="id2671108"></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 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>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" target="_top">unix charset</a> parameter. <a class="link" href="unicode.html#japancharsets" title="Table 30.1. Japanese Character Sets in Samba-2.2 and Samba-3">Japanese Character Sets in Samba-2.2 and Samba-3</a> 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="id26 64213" href="#ftn.id2664213" 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="id2664244" href="#ftn.id2664244" 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.id2664213" href="#id2664213" class="para">a</a>] </sup>Only exists in Japanese Samba version</p></div><div class="footnote"><p><sup>[<a name="ftn.id2664244" href="#id2664244" 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="id2664264"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664270"></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 CP850 is the default <a class="link" href="smb.conf.5.html#DOSCHARSET" >dos charset</a>.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.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="id2671204" href="#ftn.id2671204" 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="id2671235" href="#ftn.id2671235" 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.id2671204" href="#id2671204" class="para">a</a>] </sup>Only exists in Japanese Samba version</p></div><div class="footnote"><p><sup>[<a name="ftn.id2671235" href="#id2671235" 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="id2671255"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671261"></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 CP850 is the default <a class="link" href="smb.conf.5.html#DOSCHARSET" target="_top">dos charset</a>. 312 The <a class="link" href="smb.conf.5.html#DOSCHARSET" target="_top">dos charset</a> is used to convert data to the codepage used by your DOS clients. 313 313 If you do not have any DOS clients, you can safely ignore this message. </p><p> 314 314 CP850 should be supported by your local iconv implementation. Make sure you have all the required packages installed. -
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/upgrading-to-3.0.html
r226 r231 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.7 3.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#id2669206">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669234">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#id2669283">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2669434">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669443">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2669454">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2670654">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.74.0"><link rel="home" 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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2676196">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676224">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#id2676274">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676425">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676434">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676444">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2677644">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="id26 69206"></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="id2676196"></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="id26 69234"></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="id2676224"></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="id26 69257"></a>19 <a class="indexterm" name="id26 69263"></a>20 <a class="indexterm" name="id26 69270"></a>18 <a class="indexterm" name="id2676247"></a> 19 <a class="indexterm" name="id2676254"></a> 20 <a class="indexterm" name="id2676261"></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="id26 69283"></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="id2676274"></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 The default behavior when the new parameter <a class="link" href="smb.conf.5.html#PASSDBBACKEND" >passdb backend</a>26 The default behavior when the new parameter <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a> 27 27 is not defined in the <code class="filename">smb.conf</code> file provides the same default behavior as Samba-2.2.x 28 with <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" >encrypt passwords = Yes</a> and28 with <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS" target="_top">encrypt passwords = Yes</a> and 29 29 will use the <code class="filename">smbpasswd</code> database. 30 30 </p><p> 31 <a class="indexterm" name="id26 69334"></a>32 <a class="indexterm" name="id26 69341"></a>31 <a class="indexterm" name="id2676324"></a> 32 <a class="indexterm" name="id2676331"></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="id26 69361"></a>40 <a class="indexterm" name="id26 69368"></a>41 <a class="indexterm" name="id26 69375"></a>42 <a class="indexterm" name="id26 69382"></a>39 <a class="indexterm" name="id2676352"></a> 40 <a class="indexterm" name="id2676358"></a> 41 <a class="indexterm" name="id2676365"></a> 42 <a class="indexterm" name="id2676372"></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 database, then make sure that <a class="link" href="smb.conf.5.html#PASSDBBACKEND" >passdb backend = ldapsam_compat</a>44 database, then make sure that <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend = ldapsam_compat</a> 45 45 is specified in the <code class="filename">smb.conf</code> file. For the rest, behavior should remain more or less the same. 46 46 At a later date, when there is time to implement a new Samba-3-compatible LDAP backend, it is possible 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="id26 69434"></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="id26 69443"></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="id26 69454"></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="id2676425"></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="id2676434"></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="id2676444"></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="id26 69476"></a>55 <a class="indexterm" name="id26 69482"></a>54 <a class="indexterm" name="id2676466"></a> 55 <a class="indexterm" name="id2676472"></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="id26 69495"></a>60 <a class="indexterm" name="id26 69502"></a>59 <a class="indexterm" name="id2676486"></a> 60 <a class="indexterm" name="id2676492"></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="id26 69516"></a>65 <a class="indexterm" name="id2676507"></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="id26 69531"></a>70 <a class="indexterm" name="id2676521"></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="id26 69545"></a>75 <a class="indexterm" name="id2676535"></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="id26 69572"></a>81 <a class="indexterm" name="id2676563"></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="id26 69586"></a>85 <a class="indexterm" name="id2676576"></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="id26 69599"></a>90 <a class="indexterm" name="id26 69606"></a>91 <a class="indexterm" name="id26 69613"></a>89 <a class="indexterm" name="id2676589"></a> 90 <a class="indexterm" name="id2676596"></a> 91 <a class="indexterm" name="id2676603"></a> 92 92 New loadable RPC modules for passdb backends and character sets. 93 93 </p></li><li><p> 94 <a class="indexterm" name="id26 69625"></a>94 <a class="indexterm" name="id2676616"></a> 95 95 New default dual-daemon winbindd support for better performance. 96 96 </p></li><li><p> 97 <a class="indexterm" name="id26 69638"></a>98 <a class="indexterm" name="id26 69645"></a>99 <a class="indexterm" name="id26 69652"></a>97 <a class="indexterm" name="id2676628"></a> 98 <a class="indexterm" name="id2676635"></a> 99 <a class="indexterm" name="id2676642"></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="id26 69664"></a>104 <a class="indexterm" name="id26 69671"></a>103 <a class="indexterm" name="id2676655"></a> 104 <a class="indexterm" name="id2676662"></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="id26 69684"></a>109 <a class="indexterm" name="id26 69691"></a>110 <a class="indexterm" name="id26 69698"></a>108 <a class="indexterm" name="id2676674"></a> 109 <a class="indexterm" name="id2676681"></a> 110 <a class="indexterm" name="id2676688"></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="id26 69717"></a>117 <a class="indexterm" name="id26 69723"></a>116 <a class="indexterm" name="id2676706"></a> 117 <a class="indexterm" name="id2676713"></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="id26 69738"></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="id2676728"></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="id26 69783"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id2669789"></a><p>133 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2676773"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id2676779"></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="id26 69954"></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="id2669968"></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="id2670519"></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="id2670654"></a>New Functionality</h3></div></div></div><p>136 <a class="indexterm" name="id267 0662"></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="id2676944"></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="id2676958"></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="id2677509"></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="id2677644"></a>New Functionality</h3></div></div></div><p> 136 <a class="indexterm" name="id2677652"></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="id267 0680"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id2670686"></a><p>141 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2677671"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id2677677"></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="id267 0716"></a>146 <a class="indexterm" name="id2677707"></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="id267 0731"></a>151 <a class="indexterm" name="id2677722"></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="id267 1032"></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="id2678023"></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="id267 1053"></a>159 <a class="indexterm" name="id267 1060"></a>160 <a class="indexterm" name="id267 1067"></a>158 <a class="indexterm" name="id2678044"></a> 159 <a class="indexterm" name="id2678051"></a> 160 <a class="indexterm" name="id2678058"></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="id267 1091"></a>167 <a class="indexterm" name="id267 1098"></a>166 <a class="indexterm" name="id2678082"></a> 167 <a class="indexterm" name="id2678089"></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="id267 1128"></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="id2678119"></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="id267 1149"></a>178 <a class="indexterm" name="id2678140"></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="id267 1175"></a>186 <a class="indexterm" name="id267 1181"></a>187 <a class="indexterm" name="id267 1188"></a>188 Inclusion of new <a class="link" href="smb.conf.5.html#SECURITY" >security = ads</a> option for integration185 <a class="indexterm" name="id2678166"></a> 186 <a class="indexterm" name="id2678172"></a> 187 <a class="indexterm" name="id2678179"></a> 188 Inclusion of new <a class="link" href="smb.conf.5.html#SECURITY" target="_top">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="id267 1214"></a>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 to191 <a class="indexterm" name="id2678205"></a> 192 Samba-3 also includes the possibility of setting up chains of authentication methods (<a class="link" href="smb.conf.5.html#AUTHMETHODS" target="_top">auth methods</a>) and account storage backends (<a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a>). Please refer to 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 194 194 details. While both parameters assume sane default values, it is likely that you will need to understand what 195 195 the values actually mean in order to ensure Samba operates correctly. 196 196 </p><p> 197 <a class="indexterm" name="id267 1265"></a>198 <a class="indexterm" name="id267 1272"></a>199 <a class="indexterm" name="id267 1279"></a>197 <a class="indexterm" name="id2678256"></a> 198 <a class="indexterm" name="id2678263"></a> 199 <a class="indexterm" name="id2678269"></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="id267 1313"></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="id2678303"></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="id267 1323"></a>New Schema</h5></div></div></div><p>206 <a class="indexterm" name="id267 1331"></a>207 <a class="indexterm" name="id267 1338"></a>208 <a class="indexterm" name="id267 1344"></a>209 <a class="indexterm" name="id267 1351"></a>205 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2678314"></a>New Schema</h5></div></div></div><p> 206 <a class="indexterm" name="id2678321"></a> 207 <a class="indexterm" name="id2678328"></a> 208 <a class="indexterm" name="id2678335"></a> 209 <a class="indexterm" name="id2678342"></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="id267 1367"></a>217 <a class="indexterm" name="id2678358"></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="id267 1399"></a>222 <a class="indexterm" name="id2678390"></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="id267 1426"></a>227 <a class="indexterm" name="id2678417"></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="id267 1438"></a>231 <a class="indexterm" name="id2678428"></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="id267 1464"></a>237 <a class="indexterm" name="id267 1471"></a>238 <a class="indexterm" name="id267 1478"></a>239 <a class="indexterm" name="id267 1485"></a>236 <a class="indexterm" name="id2678455"></a> 237 <a class="indexterm" name="id2678462"></a> 238 <a class="indexterm" name="id2678468"></a> 239 <a class="indexterm" name="id2678476"></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="id267 1532"></a>250 <a class="indexterm" name="id267 1539"></a>251 <a class="indexterm" name="id267 1546"></a>252 <a class="indexterm" name="id267 1552"></a>253 <a class="indexterm" name="id267 1559"></a>254 <a class="indexterm" name="id267 1566"></a>249 <a class="indexterm" name="id2678523"></a> 250 <a class="indexterm" name="id2678529"></a> 251 <a class="indexterm" name="id2678536"></a> 252 <a class="indexterm" name="id2678543"></a> 253 <a class="indexterm" name="id2678550"></a> 254 <a class="indexterm" name="id2678556"></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="id267 1596"></a>262 <a class="indexterm" name="id267 1603"></a>263 <a class="indexterm" name="id267 1610"></a>261 <a class="indexterm" name="id2678587"></a> 262 <a class="indexterm" name="id2678594"></a> 263 <a class="indexterm" name="id2678601"></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="id267 1635"></a>270 <a class="indexterm" name="id267 1642"></a>271 <a class="indexterm" name="id267 1649"></a>272 <a class="indexterm" name="id267 1656"></a>269 <a class="indexterm" name="id2678626"></a> 270 <a class="indexterm" name="id2678633"></a> 271 <a class="indexterm" name="id2678640"></a> 272 <a class="indexterm" name="id2678646"></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="id267 1687"></a>278 <a class="indexterm" name="id267 1694"></a>277 <a class="indexterm" name="id2678678"></a> 278 <a class="indexterm" name="id2678685"></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="id267 1716"></a>New Suffix for Searching</h5></div></div></div><p>283 <a class="indexterm" name="id267 1723"></a>284 <a class="indexterm" name="id267 1730"></a>285 <a class="indexterm" name="id267 1737"></a>286 <a class="indexterm" name="id267 1744"></a>287 <a class="indexterm" name="id267 1751"></a>288 <a class="indexterm" name="id267 1758"></a>289 <a class="indexterm" name="id267 1765"></a>282 </p></li></ul></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2678706"></a>New Suffix for Searching</h5></div></div></div><p> 283 <a class="indexterm" name="id2678714"></a> 284 <a class="indexterm" name="id2678721"></a> 285 <a class="indexterm" name="id2678728"></a> 286 <a class="indexterm" name="id2678735"></a> 287 <a class="indexterm" name="id2678742"></a> 288 <a class="indexterm" name="id2678748"></a> 289 <a class="indexterm" name="id2678755"></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="id267 1834"></a>295 <a class="indexterm" name="id267 1840"></a>294 <a class="indexterm" name="id2678824"></a> 295 <a class="indexterm" name="id2678831"></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="id267 1881"></a>IdMap LDAP Support</h5></div></div></div><p>304 <a class="indexterm" name="id267 1889"></a>303 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2678872"></a>IdMap LDAP Support</h5></div></div></div><p> 304 <a class="indexterm" name="id2678880"></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="id267 1922"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id2671934"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2671946"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id2671958"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p>309 <a class="indexterm" name="id267 1972"></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="id2678913"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id2678925"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2678937"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id2678948"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p> 309 <a class="indexterm" name="id2678962"></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
r226 r231 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.7 3.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#id2646104">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646448">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2646537">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646690">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646736">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2646861">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2646911">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2646998">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647046">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647278">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647433">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647509">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2647566">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2647572">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647686">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2647838">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2650297">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2650345">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2650387">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2650424">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="id2646104"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26 46112"></a>3 <a class="indexterm" name="id26 46119"></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.74.0"><link rel="home" 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="orgname">Samba Team</span> <span class="surname">Potter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">SNAP</span> <span class="surname">Trostel</span></h3><div class="affiliation"><span class="orgname">SNAP<br></span><div class="address"><p><code class="email"><<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="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2653079">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653423">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653512">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653665">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2653711">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2653836">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653887">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2653974">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654021">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654253">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654408">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654484">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2654541">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2654547">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654662">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654814">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2657273">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2657321">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2657363">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2657400">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="id2653079"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2653087"></a> 3 <a class="indexterm" name="id2653094"></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="id26 46136"></a>9 <a class="indexterm" name="id26 46143"></a>10 <a class="indexterm" name="id26 46150"></a>11 <a class="indexterm" name="id26 46156"></a>8 <a class="indexterm" name="id2653110"></a> 9 <a class="indexterm" name="id2653117"></a> 10 <a class="indexterm" name="id2653124"></a> 11 <a class="indexterm" name="id2653131"></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="id26 46171"></a>18 <a class="indexterm" name="id26 46181"></a>19 <a class="indexterm" name="id26 46188"></a>20 <a class="indexterm" name="id26 46194"></a>17 <a class="indexterm" name="id2653146"></a> 18 <a class="indexterm" name="id2653155"></a> 19 <a class="indexterm" name="id2653162"></a> 20 <a class="indexterm" name="id2653169"></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="id26 46222"></a>31 <a class="indexterm" name="id26 46229"></a>30 <a class="indexterm" name="id2653197"></a> 31 <a class="indexterm" name="id2653203"></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="id26 46243"></a>37 <a class="indexterm" name="id26 46250"></a>36 <a class="indexterm" name="id2653218"></a> 37 <a class="indexterm" name="id2653225"></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="id26 46263"></a>41 <a class="indexterm" name="id26 46269"></a>42 <a class="indexterm" name="id26 46276"></a>43 <a class="indexterm" name="id26 46282"></a>44 <a class="indexterm" name="id26 46289"></a>45 <a class="indexterm" name="id26 46296"></a>46 <a class="indexterm" name="id26 46303"></a>40 <a class="indexterm" name="id2653237"></a> 41 <a class="indexterm" name="id2653244"></a> 42 <a class="indexterm" name="id2653250"></a> 43 <a class="indexterm" name="id2653257"></a> 44 <a class="indexterm" name="id2653264"></a> 45 <a class="indexterm" name="id2653270"></a> 46 <a class="indexterm" name="id2653277"></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="id26 46332"></a>56 <a class="indexterm" name="id26 46339"></a>57 <a class="indexterm" name="id26 46348"></a>58 <a class="indexterm" name="id26 46355"></a>59 <a class="indexterm" name="id26 46362"></a>60 <a class="indexterm" name="id26 46369"></a>55 <a class="indexterm" name="id2653307"></a> 56 <a class="indexterm" name="id2653314"></a> 57 <a class="indexterm" name="id2653323"></a> 58 <a class="indexterm" name="id2653330"></a> 59 <a class="indexterm" name="id2653337"></a> 60 <a class="indexterm" name="id2653344"></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="id26 46448"></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="id2653423"></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="id26 46463"></a>71 <a class="indexterm" name="id26 46470"></a>70 <a class="indexterm" name="id2653438"></a> 71 <a class="indexterm" name="id2653445"></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="id26 46514"></a>85 <a class="indexterm" name="id26 46521"></a>84 <a class="indexterm" name="id2653489"></a> 85 <a class="indexterm" name="id2653496"></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="id26 46537"></a>What Winbind Provides</h2></div></div></div><p>93 <a class="indexterm" name="id26 46545"></a>94 <a class="indexterm" name="id26 46552"></a>95 <a class="indexterm" name="id26 46559"></a>96 <a class="indexterm" name="id26 46566"></a>92 problem.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653512"></a>What Winbind Provides</h2></div></div></div><p> 93 <a class="indexterm" name="id2653520"></a> 94 <a class="indexterm" name="id2653527"></a> 95 <a class="indexterm" name="id2653534"></a> 96 <a class="indexterm" name="id2653541"></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="id26 46585"></a>104 <a class="indexterm" name="id26 46592"></a>105 <a class="indexterm" name="id26 46599"></a>106 <a class="indexterm" name="id26 46605"></a>103 <a class="indexterm" name="id2653560"></a> 104 <a class="indexterm" name="id2653567"></a> 105 <a class="indexterm" name="id2653574"></a> 106 <a class="indexterm" name="id2653580"></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="id26 46623"></a>116 <a class="indexterm" name="id26 46630"></a>115 <a class="indexterm" name="id2653598"></a> 116 <a class="indexterm" name="id2653605"></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="id26 46647"></a>121 <a class="indexterm" name="id2653622"></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="id26 46670"></a>128 <a class="indexterm" name="id26 46677"></a>127 <a class="indexterm" name="id2653645"></a> 128 <a class="indexterm" name="id2653652"></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="id26 46690"></a>Target Uses</h3></div></div></div><p>134 <a class="indexterm" name="id26 46698"></a>133 location (on the domain controller).</p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2653665"></a>Target Uses</h3></div></div></div><p> 134 <a class="indexterm" name="id2653673"></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="id26 46715"></a>143 <a class="indexterm" name="id26 46722"></a>142 <a class="indexterm" name="id2653690"></a> 143 <a class="indexterm" name="id2653697"></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="id26 46736"></a>Handling of Foreign SIDs</h3></div></div></div><p>149 <a class="indexterm" name="id26 46744"></a>148 the appliance into the domain.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2653711"></a>Handling of Foreign SIDs</h3></div></div></div><p> 149 <a class="indexterm" name="id2653719"></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="id26 46762"></a>155 <a class="indexterm" name="id2653737"></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="id26 46774"></a>159 <a class="indexterm" name="id2653749"></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="id26 46791"></a>165 <a class="indexterm" name="id26 46797"></a>166 <a class="indexterm" name="id26 46804"></a>164 <a class="indexterm" name="id2653766"></a> 165 <a class="indexterm" name="id2653772"></a> 166 <a class="indexterm" name="id2653779"></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="id26 46820"></a>173 <a class="indexterm" name="id26 46827"></a>174 <a class="indexterm" name="id26 46834"></a>175 <a class="indexterm" name="id26 46840"></a>172 <a class="indexterm" name="id2653795"></a> 173 <a class="indexterm" name="id2653802"></a> 174 <a class="indexterm" name="id2653809"></a> 175 <a class="indexterm" name="id2653816"></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="id26 46861"></a>How Winbind Works</h2></div></div></div><p>185 <a class="indexterm" name="id26 46869"></a>186 <a class="indexterm" name="id26 46876"></a>187 <a class="indexterm" name="id26 46883"></a>188 <a class="indexterm" name="id26 46889"></a>184 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653836"></a>How Winbind Works</h2></div></div></div><p> 185 <a class="indexterm" name="id2653844"></a> 186 <a class="indexterm" name="id2653851"></a> 187 <a class="indexterm" name="id2653858"></a> 188 <a class="indexterm" name="id2653865"></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="id26 46911"></a>Microsoft Remote Procedure Calls</h3></div></div></div><p>195 <a class="indexterm" name="id26 46920"></a>196 <a class="indexterm" name="id26 46929"></a>197 <a class="indexterm" name="id26 46936"></a>198 <a class="indexterm" name="id26 46943"></a>199 <a class="indexterm" name="id26 46950"></a>194 in detail below.</p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2653887"></a>Microsoft Remote Procedure Calls</h3></div></div></div><p> 195 <a class="indexterm" name="id2653895"></a> 196 <a class="indexterm" name="id2653905"></a> 197 <a class="indexterm" name="id2653911"></a> 198 <a class="indexterm" name="id2653918"></a> 199 <a class="indexterm" name="id2653925"></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="id26 46969"></a>207 <a class="indexterm" name="id26 46975"></a>208 <a class="indexterm" name="id26 46982"></a>206 <a class="indexterm" name="id2653944"></a> 207 <a class="indexterm" name="id2653951"></a> 208 <a class="indexterm" name="id2653958"></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="id26 46998"></a>Microsoft Active Directory Services</h3></div></div></div><p>214 <a class="indexterm" name="id26 47006"></a>215 <a class="indexterm" name="id26 47013"></a>216 <a class="indexterm" name="id26 47020"></a>217 <a class="indexterm" name="id26 47027"></a>213 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2653974"></a>Microsoft Active Directory Services</h3></div></div></div><p> 214 <a class="indexterm" name="id2653982"></a> 215 <a class="indexterm" name="id2653989"></a> 216 <a class="indexterm" name="id2653995"></a> 217 <a class="indexterm" name="id2654002"></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="id26 47046"></a>Name Service Switch</h3></div></div></div><p>223 <a class="indexterm" name="id26 47054"></a>224 <a class="indexterm" name="id26 47060"></a>225 <a class="indexterm" name="id26 47067"></a>226 <a class="indexterm" name="id26 47074"></a>222 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654021"></a>Name Service Switch</h3></div></div></div><p> 223 <a class="indexterm" name="id2654029"></a> 224 <a class="indexterm" name="id2654036"></a> 225 <a class="indexterm" name="id2654043"></a> 226 <a class="indexterm" name="id2654049"></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="id26 47092"></a>236 <a class="indexterm" name="id26 47099"></a>237 <a class="indexterm" name="id26 47106"></a>238 <a class="indexterm" name="id26 47113"></a>239 <a class="indexterm" name="id26 47120"></a>235 <a class="indexterm" name="id2654068"></a> 236 <a class="indexterm" name="id2654074"></a> 237 <a class="indexterm" name="id2654081"></a> 238 <a class="indexterm" name="id2654088"></a> 239 <a class="indexterm" name="id2654095"></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="id26 47139"></a>247 <a class="indexterm" name="id26 47145"></a>248 <a class="indexterm" name="id26 47152"></a>246 <a class="indexterm" name="id2654114"></a> 247 <a class="indexterm" name="id2654121"></a> 248 <a class="indexterm" name="id2654128"></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="id26 47188"></a>258 <a class="indexterm" name="id26 47195"></a>259 <a class="indexterm" name="id26 47202"></a>257 <a class="indexterm" name="id2654163"></a> 258 <a class="indexterm" name="id2654170"></a> 259 <a class="indexterm" name="id2654177"></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="id26 47229"></a>266 <a class="indexterm" name="id26 47236"></a>267 <a class="indexterm" name="id26 47243"></a>265 <a class="indexterm" name="id2654205"></a> 266 <a class="indexterm" name="id2654211"></a> 267 <a class="indexterm" name="id2654218"></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="id26 47278"></a>Pluggable Authentication Modules</h3></div></div></div><p>273 <a class="indexterm" name="id26 47286"></a>274 <a class="indexterm" name="id26 47293"></a>275 <a class="indexterm" name="id26 47300"></a>276 <a class="indexterm" name="id26 47307"></a>272 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654253"></a>Pluggable Authentication Modules</h3></div></div></div><p> 273 <a class="indexterm" name="id2654262"></a> 274 <a class="indexterm" name="id2654268"></a> 275 <a class="indexterm" name="id2654275"></a> 276 <a class="indexterm" name="id2654282"></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="id26 47326"></a>284 <a class="indexterm" name="id26 47332"></a>285 <a class="indexterm" name="id26 47339"></a>286 <a class="indexterm" name="id26 47346"></a>287 <a class="indexterm" name="id26 47353"></a>283 <a class="indexterm" name="id2654301"></a> 284 <a class="indexterm" name="id2654308"></a> 285 <a class="indexterm" name="id2654314"></a> 286 <a class="indexterm" name="id2654321"></a> 287 <a class="indexterm" name="id2654328"></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="id26 47368"></a>294 <a class="indexterm" name="id26 47375"></a>295 <a class="indexterm" name="id26 47382"></a>296 <a class="indexterm" name="id26 47389"></a>293 <a class="indexterm" name="id2654344"></a> 294 <a class="indexterm" name="id2654350"></a> 295 <a class="indexterm" name="id2654357"></a> 296 <a class="indexterm" name="id2654364"></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="id26 47433"></a>User and Group ID Allocation</h3></div></div></div><p>305 <a class="indexterm" name="id26 47441"></a>306 <a class="indexterm" name="id26 47447"></a>307 <a class="indexterm" name="id26 47454"></a>304 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654408"></a>User and Group ID Allocation</h3></div></div></div><p> 305 <a class="indexterm" name="id2654417"></a> 306 <a class="indexterm" name="id2654423"></a> 307 <a class="indexterm" name="id2654430"></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="id26 47477"></a>317 <a class="indexterm" name="id26 47484"></a>318 <a class="indexterm" name="id26 47490"></a>319 <a class="indexterm" name="id26 47497"></a>316 <a class="indexterm" name="id2654452"></a> 317 <a class="indexterm" name="id2654459"></a> 318 <a class="indexterm" name="id2654466"></a> 319 <a class="indexterm" name="id2654472"></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="id26 47509"></a>Result Caching</h3></div></div></div><p>323 <a class="indexterm" name="id26 47517"></a>324 <a class="indexterm" name="id26 47523"></a>325 <a class="indexterm" name="id26 47530"></a>326 <a class="indexterm" name="id26 47537"></a>327 <a class="indexterm" name="id26 47543"></a>322 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654484"></a>Result Caching</h3></div></div></div><p> 323 <a class="indexterm" name="id2654492"></a> 324 <a class="indexterm" name="id2654499"></a> 325 <a class="indexterm" name="id2654506"></a> 326 <a class="indexterm" name="id2654512"></a> 327 <a class="indexterm" name="id2654519"></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="id26 47566"></a>Installation and Configuration</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647572"></a>Introduction</h3></div></div></div><p>336 <a class="indexterm" name="id26 47580"></a>337 <a class="indexterm" name="id26 47586"></a>338 <a class="indexterm" name="id26 47593"></a>335 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2654541"></a>Installation and Configuration</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654547"></a>Introduction</h3></div></div></div><p> 336 <a class="indexterm" name="id2654555"></a> 337 <a class="indexterm" name="id2654562"></a> 338 <a class="indexterm" name="id2654568"></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="id26 47619"></a>346 <a class="indexterm" name="id26 47626"></a>347 <a class="indexterm" name="id26 47633"></a>348 <a class="indexterm" name="id26 47640"></a>345 <a class="indexterm" name="id2654594"></a> 346 <a class="indexterm" name="id2654601"></a> 347 <a class="indexterm" name="id2654608"></a> 348 <a class="indexterm" name="id2654615"></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="id26 47664"></a>356 <a class="indexterm" name="id26 47671"></a>355 <a class="indexterm" name="id2654640"></a> 356 <a class="indexterm" name="id2654646"></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="id26 47686"></a>Requirements</h3></div></div></div><p>361 <a class="indexterm" name="id26 47694"></a>362 <a class="indexterm" name="id26 47700"></a>363 <a class="indexterm" name="id26 47707"></a>360 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654662"></a>Requirements</h3></div></div></div><p> 361 <a class="indexterm" name="id2654669"></a> 362 <a class="indexterm" name="id2654676"></a> 363 <a class="indexterm" name="id2654683"></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="id26 47737"></a>369 <a class="indexterm" name="id26 47744"></a>370 <a class="indexterm" name="id26 47751"></a>368 <a class="indexterm" name="id2654712"></a> 369 <a class="indexterm" name="id2654719"></a> 370 <a class="indexterm" name="id2654726"></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="id26 47772"></a>377 <a class="indexterm" name="id26 47778"></a>376 <a class="indexterm" name="id2654747"></a> 377 <a class="indexterm" name="id2654754"></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="id26 47798"></a>382 <a class="indexterm" name="id26 47805"></a>383 <a class="indexterm" name="id26 47812"></a>384 <a class="indexterm" name="id26 47818"></a>381 <a class="indexterm" name="id2654773"></a> 382 <a class="indexterm" name="id2654780"></a> 383 <a class="indexterm" name="id2654787"></a> 384 <a class="indexterm" name="id2654794"></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="id26 47838"></a>Testing Things Out</h3></div></div></div><p>390 <a class="indexterm" name="id26 47846"></a>391 <a class="indexterm" name="id26 47853"></a>392 <a class="indexterm" name="id26 47860"></a>393 <a class="indexterm" name="id26 47866"></a>394 <a class="indexterm" name="id26 47873"></a>389 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654814"></a>Testing Things Out</h3></div></div></div><p> 390 <a class="indexterm" name="id2654821"></a> 391 <a class="indexterm" name="id2654828"></a> 392 <a class="indexterm" name="id2654835"></a> 393 <a class="indexterm" name="id2654842"></a> 394 <a class="indexterm" name="id2654849"></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="id26 47925"></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="id26 47940"></a>404 <a class="indexterm" name="id26 47946"></a>405 <a class="indexterm" name="id26 47953"></a>406 <a class="indexterm" name="id26 47960"></a>402 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2654900"></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="id2654915"></a> 404 <a class="indexterm" name="id2654922"></a> 405 <a class="indexterm" name="id2654928"></a> 406 <a class="indexterm" name="id2654935"></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="id26 47999"></a>416 <a class="indexterm" name="id2654975"></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="id26 48047"></a>425 <a class="indexterm" name="id2655022"></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="id26 48096"></a>432 <a class="indexterm" name="id2655072"></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="id26 48132"></a>441 <a class="indexterm" name="id26 48139"></a>442 <a class="indexterm" name="id26 48146"></a>443 <a class="indexterm" name="id26 48153"></a>444 <a class="indexterm" name="id26 48160"></a>440 <a class="indexterm" name="id2655108"></a> 441 <a class="indexterm" name="id2655115"></a> 442 <a class="indexterm" name="id2655121"></a> 443 <a class="indexterm" name="id2655128"></a> 444 <a class="indexterm" name="id2655135"></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="id26 48223"></a>457 <a class="indexterm" name="id26 48230"></a>458 <a class="indexterm" name="id26 48237"></a>459 <a class="indexterm" name="id26 48244"></a>460 <a class="indexterm" name="id26 48251"></a>456 <a class="indexterm" name="id2655199"></a> 457 <a class="indexterm" name="id2655206"></a> 458 <a class="indexterm" name="id2655213"></a> 459 <a class="indexterm" name="id2655220"></a> 460 <a class="indexterm" name="id2655227"></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="id26 48323"></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="id26 48335"></a>485 <a class="indexterm" name="id26 48342"></a>486 <a class="indexterm" name="id26 48348"></a>487 <a class="indexterm" name="id26 48355"></a>488 <a class="indexterm" name="id26 48362"></a>489 <a class="indexterm" name="id26 48370"></a>483 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2655298"></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="id2655310"></a> 485 <a class="indexterm" name="id2655317"></a> 486 <a class="indexterm" name="id2655324"></a> 487 <a class="indexterm" name="id2655331"></a> 488 <a class="indexterm" name="id2655338"></a> 489 <a class="indexterm" name="id2655345"></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="id26 48436"></a>Configure smb.conf</h4></div></div></div><p>508 <a class="indexterm" name="id26 48444"></a>509 <a class="indexterm" name="id26 48451"></a>510 <a class="indexterm" name="id26 48458"></a>507 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2655412"></a>Configure smb.conf</h4></div></div></div><p> 508 <a class="indexterm" name="id2655420"></a> 509 <a class="indexterm" name="id2655427"></a> 510 <a class="indexterm" name="id2655433"></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="id26 48531"></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="id2648547"></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="id2648563"></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="id2648579"></a><em class="parameter"><code>winbind enum users = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2648591"></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="id2648607"></a><em class="parameter"><code>template homedir = /home/winnt/%D/%U</code></em></td></tr><tr><td><a class="indexterm" name="id2648620"></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="id2648634"></a>Join the Samba Server to the PDC Domain</h4></div></div></div><p>514 <a class="indexterm" name="id26 48642"></a>515 <a class="indexterm" name="id26 48649"></a>516 <a class="indexterm" name="id26 48655"></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="id2655507"></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="id2655523"></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="id2655539"></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="id2655555"></a><em class="parameter"><code>winbind enum users = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2655566"></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="id2655583"></a><em class="parameter"><code>template homedir = /home/winnt/%D/%U</code></em></td></tr><tr><td><a class="indexterm" name="id2655595"></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="id2655609"></a>Join the Samba Server to the PDC Domain</h4></div></div></div><p> 514 <a class="indexterm" name="id2655617"></a> 515 <a class="indexterm" name="id2655624"></a> 516 <a class="indexterm" name="id2655631"></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="id26 48667"></a>521 <a class="indexterm" name="id26 48674"></a>522 <a class="indexterm" name="id26 48681"></a>523 <a class="indexterm" name="id26 48692"></a>524 <a class="indexterm" name="id26 48699"></a>525 <a class="indexterm" name="id26 48705"></a>526 <a class="indexterm" name="id26 48712"></a>527 <a class="indexterm" name="id26 48719"></a>528 <a class="indexterm" name="id26 48726"></a>520 <a class="indexterm" name="id2655643"></a> 521 <a class="indexterm" name="id2655650"></a> 522 <a class="indexterm" name="id2655656"></a> 523 <a class="indexterm" name="id2655668"></a> 524 <a class="indexterm" name="id2655674"></a> 525 <a class="indexterm" name="id2655681"></a> 526 <a class="indexterm" name="id2655688"></a> 527 <a class="indexterm" name="id2655695"></a> 528 <a class="indexterm" name="id2655701"></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="id26 48754"></a>536 <a class="indexterm" name="id26 48760"></a>537 <a class="indexterm" name="id26 48767"></a>535 <a class="indexterm" name="id2655729"></a> 536 <a class="indexterm" name="id2655736"></a> 537 <a class="indexterm" name="id2655743"></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="id26 48789"></a>543 <a class="indexterm" name="id26 48796"></a>544 <a class="indexterm" name="id26 48802"></a>545 <a class="indexterm" name="id26 48809"></a>542 <a class="indexterm" name="id2655764"></a> 543 <a class="indexterm" name="id2655771"></a> 544 <a class="indexterm" name="id2655778"></a> 545 <a class="indexterm" name="id2655784"></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="id26 48823"></a>550 <a class="indexterm" name="id2655799"></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="id26 48871"></a>Starting and Testing the <code class="literal">winbindd</code> Daemon</h4></div></div></div><p>559 <a class="indexterm" name="id26 48885"></a>560 <a class="indexterm" name="id26 48892"></a>561 <a class="indexterm" name="id26 48899"></a>558 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2655847"></a>Starting and Testing the <code class="literal">winbindd</code> Daemon</h4></div></div></div><p> 559 <a class="indexterm" name="id2655861"></a> 560 <a class="indexterm" name="id2655868"></a> 561 <a class="indexterm" name="id2655874"></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="id26 48938"></a>571 <a class="indexterm" name="id26 48945"></a>570 <a class="indexterm" name="id2655914"></a> 571 <a class="indexterm" name="id2655921"></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="id26 48971"></a>577 <a class="indexterm" name="id26 48978"></a>576 <a class="indexterm" name="id2655946"></a> 577 <a class="indexterm" name="id2655953"></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="id26 49005"></a>583 <a class="indexterm" name="id2655981"></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="id26 49023"></a>590 <a class="indexterm" name="id26 49030"></a>589 <a class="indexterm" name="id2655998"></a> 590 <a class="indexterm" name="id2656005"></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"> … … 603 603 CEO\TsInternetUser 604 604 </pre><p> 605 Obviously, I have named my domain “<span class="quote">CEO</span>” and my <a class="link" href="smb.conf.5.html#WINBINDSEPARATOR" >winbind separator</a> is605 Obviously, I have named my domain “<span class="quote">CEO</span>” and my <a class="link" href="smb.conf.5.html#WINBINDSEPARATOR" target="_top">winbind separator</a> is 606 606 “<span class="quote">\</span>”. 607 607 </p><p> 608 <a class="indexterm" name="id26 49088"></a>609 <a class="indexterm" name="id26 49094"></a>608 <a class="indexterm" name="id2656063"></a> 609 <a class="indexterm" name="id2656070"></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="id26 49124"></a>624 <a class="indexterm" name="id26 49131"></a>625 <a class="indexterm" name="id26 49138"></a>626 <a class="indexterm" name="id26 49144"></a>627 <a class="indexterm" name="id26 49151"></a>628 <a class="indexterm" name="id26 49157"></a>629 <a class="indexterm" name="id26 49164"></a>623 <a class="indexterm" name="id2656100"></a> 624 <a class="indexterm" name="id2656106"></a> 625 <a class="indexterm" name="id2656113"></a> 626 <a class="indexterm" name="id2656120"></a> 627 <a class="indexterm" name="id2656126"></a> 628 <a class="indexterm" name="id2656133"></a> 629 <a class="indexterm" name="id2656140"></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="id26 49226"></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="id2649232"></a>Linux</h5></div></div></div><p>644 <a class="indexterm" name="id26 49240"></a>645 <a class="indexterm" name="id26 49247"></a>646 <a class="indexterm" name="id26 49254"></a>647 <a class="indexterm" name="id26 49261"></a>648 <a class="indexterm" name="id26 49268"></a>649 <a class="indexterm" name="id26 49275"></a>650 <a class="indexterm" name="id26 49282"></a>651 <a class="indexterm" name="id26 49287"></a>652 <a class="indexterm" name="id26 49293"></a>643 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2656202"></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="id2656208"></a>Linux</h5></div></div></div><p> 644 <a class="indexterm" name="id2656216"></a> 645 <a class="indexterm" name="id2656223"></a> 646 <a class="indexterm" name="id2656229"></a> 647 <a class="indexterm" name="id2656236"></a> 648 <a class="indexterm" name="id2656243"></a> 649 <a class="indexterm" name="id2656250"></a> 650 <a class="indexterm" name="id2656257"></a> 651 <a class="indexterm" name="id2656263"></a> 652 <a class="indexterm" name="id2656268"></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 … … 686 686 687 687 </p><pre class="programlisting"> 688 daemon /usr/local/samba/sbin/winbindd - B688 daemon /usr/local/samba/sbin/winbindd -D 689 689 </pre><p>. 690 690 </p><p> … … 711 711 return $RETVAL 712 712 } 713 </pre></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id26 49438"></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="id2656413"></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="id26 49459"></a>718 <a class="indexterm" name="id26 49466"></a>719 <a class="indexterm" name="id26 49473"></a>720 <a class="indexterm" name="id26 49480"></a>721 <a class="indexterm" name="id26 49486"></a>722 <a class="indexterm" name="id26 49493"></a>717 <a class="indexterm" name="id2656434"></a> 718 <a class="indexterm" name="id2656441"></a> 719 <a class="indexterm" name="id2656448"></a> 720 <a class="indexterm" name="id2656455"></a> 721 <a class="indexterm" name="id2656462"></a> 722 <a class="indexterm" name="id2656469"></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 … … 779 779 in the script above with: 780 780 </p><pre class="programlisting"> 781 /usr/local/samba/sbin/winbindd - B782 </pre><p> 783 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id26 49582"></a>Restarting</h5></div></div></div><p>784 <a class="indexterm" name="id26 49590"></a>785 <a class="indexterm" name="id26 49597"></a>781 /usr/local/samba/sbin/winbindd -D 782 </pre><p> 783 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2656558"></a>Restarting</h5></div></div></div><p> 784 <a class="indexterm" name="id2656565"></a> 785 <a class="indexterm" name="id2656572"></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="id26 49627"></a>Configure Winbind and PAM</h4></div></div></div><p>790 <a class="indexterm" name="id26 49635"></a>791 <a class="indexterm" name="id26 49642"></a>792 <a class="indexterm" name="id26 49649"></a>793 <a class="indexterm" name="id26 49655"></a>789 </p></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2656602"></a>Configure Winbind and PAM</h4></div></div></div><p> 790 <a class="indexterm" name="id2656610"></a> 791 <a class="indexterm" name="id2656617"></a> 792 <a class="indexterm" name="id2656624"></a> 793 <a class="indexterm" name="id2656631"></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="id26 49682"></a>800 <a class="indexterm" name="id26 49689"></a>801 <a class="indexterm" name="id26 49696"></a>802 <a class="indexterm" name="id26 49703"></a>803 <a class="indexterm" name="id26 49710"></a>804 <a class="indexterm" name="id26 49716"></a>799 <a class="indexterm" name="id2656658"></a> 800 <a class="indexterm" name="id2656664"></a> 801 <a class="indexterm" name="id2656671"></a> 802 <a class="indexterm" name="id2656678"></a> 803 <a class="indexterm" name="id2656685"></a> 804 <a class="indexterm" name="id2656692"></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="id26 49793"></a>Linux/FreeBSD-Specific PAM Configuration</h5></div></div></div><p>818 <a class="indexterm" name="id26 49801"></a>817 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2656769"></a>Linux/FreeBSD-Specific PAM Configuration</h5></div></div></div><p> 818 <a class="indexterm" name="id2656777"></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="id26 49826"></a>825 <a class="indexterm" name="id26 49833"></a>826 <a class="indexterm" name="id26 49840"></a>827 <a class="indexterm" name="id26 49846"></a>828 <a class="indexterm" name="id26 49853"></a>829 <a class="indexterm" name="id26 49860"></a>830 <a class="indexterm" name="id26 49867"></a>831 <a class="indexterm" name="id26 49874"></a>832 <a class="indexterm" name="id26 49881"></a>824 <a class="indexterm" name="id2656801"></a> 825 <a class="indexterm" name="id2656808"></a> 826 <a class="indexterm" name="id2656815"></a> 827 <a class="indexterm" name="id2656822"></a> 828 <a class="indexterm" name="id2656829"></a> 829 <a class="indexterm" name="id2656836"></a> 830 <a class="indexterm" name="id2656842"></a> 831 <a class="indexterm" name="id2656849"></a> 832 <a class="indexterm" name="id2656856"></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="id26 49933"></a>847 <a class="indexterm" name="id26 49940"></a>848 <a class="indexterm" name="id26 49947"></a>846 <a class="indexterm" name="id2656909"></a> 847 <a class="indexterm" name="id2656916"></a> 848 <a class="indexterm" name="id2656923"></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 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>.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" target="_top">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="id26 49983"></a>854 The directory in <a class="link" href="smb.conf.5.html#TEMPLATEHOMEDIR" >template homedir</a> is not created automatically! Use pam_mkhomedir or853 <a class="indexterm" name="id2656959"></a> 854 The directory in <a class="link" href="smb.conf.5.html#TEMPLATEHOMEDIR" target="_top">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="id265 0007"></a>858 <a class="indexterm" name="id265 0014"></a>859 <a class="indexterm" name="id265 0021"></a>857 <a class="indexterm" name="id2656983"></a> 858 <a class="indexterm" name="id2656990"></a> 859 <a class="indexterm" name="id2656996"></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="id265 0057"></a>872 <a class="indexterm" name="id2657033"></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="id265 0087"></a>887 <a class="indexterm" name="id265 0094"></a>888 <a class="indexterm" name="id265 0101"></a>886 <a class="indexterm" name="id2657063"></a> 887 <a class="indexterm" name="id2657070"></a> 888 <a class="indexterm" name="id2657077"></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="id265 0139"></a>Solaris-Specific Configuration</h5></div></div></div><p>895 <a class="indexterm" name="id265 0147"></a>896 <a class="indexterm" name="id265 0154"></a>894 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2657115"></a>Solaris-Specific Configuration</h5></div></div></div><p> 895 <a class="indexterm" name="id2657123"></a> 896 <a class="indexterm" name="id2657130"></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="id265 0266"></a>963 <a class="indexterm" name="id2657242"></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="id265 0297"></a>Conclusion</h2></div></div></div><p>970 <a class="indexterm" name="id265 0304"></a>971 <a class="indexterm" name="id265 0311"></a>972 <a class="indexterm" name="id265 0318"></a>973 <a class="indexterm" name="id265 0324"></a>974 <a class="indexterm" name="id265 0331"></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="id2657273"></a>Conclusion</h2></div></div></div><p> 970 <a class="indexterm" name="id2657280"></a> 971 <a class="indexterm" name="id2657287"></a> 972 <a class="indexterm" name="id2657294"></a> 973 <a class="indexterm" name="id2657300"></a> 974 <a class="indexterm" name="id2657307"></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="id265 0345"></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="id2657321"></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="id265 0387"></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="id2657363"></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="id265 0424"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p>“<span class="quote">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 and <a class="link" href="smb.conf.5.html#IDMAPGID" >idmap gid = 3000-3500</a> and <code class="literal">winbind</code> is running.999 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2657400"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p>“<span class="quote"> 1000 My <code class="filename">smb.conf</code> file is correctly configured. I have specified <a class="link" href="smb.conf.5.html#IDMAPUID" target="_top">idmap uid = 12000</a>, 1001 and <a class="link" href="smb.conf.5.html#IDMAPGID" target="_top">idmap gid = 3000-3500</a> and <code class="literal">winbind</code> is running. 1002 1002 When I do the following, it all works fine. 1003 1003 </span>”</p><pre class="screen">
Note:
See TracChangeset
for help on using the changeset viewer.